/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Poppins;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}


/* Special Admissions Dropdown */
.admissions-dropdown {
  min-width: 320px;
  padding: 1rem;
}

.admissions-col {
  width: 100%;
}

.admissions-title {
  font-weight: bold;
  color: #2c5aa0;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.badge-new {
  background: #ff4757;
  color: white;
  font-size: 0.65rem;
  padding: 2px 5px;
  border-radius: 8px;
  margin-left: 5px;
  font-weight: normal;
}

.admissions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}


/* Responsive Design */
@media (max-width: 1400px) {
  .nav-link {
    padding: 0.7rem 0.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 1200px) {
  .nav-link {
    padding: 0.65rem 0.4rem;
    font-size: 0.75rem;
  }
  
  .dropdown-menu {
    min-width: 220px;
  }
}

@media (max-width: 1024px) {
  .nav-list {
    justify-content: center; /* Center items when wrapping */
  }
  
  .nav-link {
    padding: 0.6rem 0.35rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0;
  }
  
  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  
  .nav-link {
    padding: 1rem;
    font-size: 0.9rem;
    text-align: left;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
    background: #f8f9fa;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  
  .dropdown:hover .dropdown-menu {
    max-height: 600px;
  }
  
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.15);
    background: #e9ecef;
    max-height: 0;
    overflow: hidden;
    margin-left: 1rem;
  }
  
  .has-submenu:hover .submenu {
    max-height: 400px;
  }
}

/* Fix for empty href attributes */
.dropdown-menu a[href="#"], 
.dropdown-menu a:not([href]) {
  cursor: pointer;
}

/* New Header Section Styles */
.logo-sect.NewHeaderDiv {
  background: #fff;
  padding: 0.5rem 0; /* Reduced padding */
  border-bottom: 1px solid #e0e0e0;
}


.col-new.Flogo,
.col-new.Llogo {
  flex: 0 0 auto;
  
}

.col-new.FText {
  flex: 1;
  max-width: 741px;
}

.col-new.Flogo img,
.col-new.Llogo img {
 max-width: 125px;
  
  transition: transform 0.3s ease;

}


.col-new.FText strong {
  font-size: 1rem; /* Smaller font */
  color: #2c5aa0;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem; /* Reduced margin */
}

.col-new.FText strong span {
  color: #ff6b35;
  font-size: 0.9rem; /* Smaller font */
}

.textbold {
  font-weight: 700;
  color: #333;
  font-size: 0.85rem; /* Smaller font */
  margin: 0.3rem 0; /* Reduced margin */
}

.col-new.FText small {
  font-size: 0.75rem; /* Smaller font */
  color: #666;
}

.smallline {
  width: 50px; /* Smaller line */
  height: 2px;
  background: linear-gradient(135deg, #2c5aa0, #ff6b35);
  border: none;
  margin: 0.3rem auto; /* Reduced margin */
  border-radius: 2px;
}

.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section  */
.hero {
  margin-top: 0; 
  padding-top: 8rem; 
  padding-bottom: 8rem;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50; /* Lower than header */
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(57, 115, 36, 0.5), rgba(48, 106, 27, 0.5));
  /* background: linear-gradient(135deg, rgba(202, 243, 97, 0.5), rgba(44, 90, 160, 0.6)); */
  /* background: linear-gradient(135deg, #daffd2, #daffd2); */
 
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

/* Left Side - Hero Text */
/* Parent hero container (if present) */
.hero-layout {
  display: flex;                 /* or keep existing layout */
  justify-content: flex-start;   /* items start at the left */
  align-items: flex-start;       /* align to top/left in cross axis */
  text-align: left;              /* left-align inline content */
}

/* Text column */
.hero-text {
  color: white;
  text-align: left;              /* ensure left alignment */
  margin: 0;                     /* no centering margins */
  padding: 0;
}

/* Headings and copy */
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  font-family: Poppins;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;          /* remove right offset */
  color: #ffd700;
  animation: fadeInUp 1s ease-out 0.2s both;
  font-family: Poppins;
}

.hero-description {
  font-size: 1.2rem;
  margin: 0 0 2.5rem 0;          /* remove right offset */
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.4s both;
  color: rgb(255, 255, 255);
  font-family: Poppins;
}

/* Buttons row */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
  margin: 0;                     /* remove left offset */
  justify-content: flex-start;   /* keep buttons flush left */
  font-family: Poppins;
}
.hero-buttons a{
  background-color:  #91c34c;
}


.hero-form {
  background:white; 
  backdrop-filter: blur(12px);          /* keeps glass effect */
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  animation: fadeInUp 1s ease-out 0.8s both;
  max-width: 340px;      
  margin: 0 auto;
  margin-top: 60px; 
  width: 60%;
}

.form-header {
 background-color: #ad0000;
 color: white;
  padding: 1rem;        
  text-align: center;
  border-radius: 12px 12px 0 0;
  font-family: Poppins;
}


.form-header h3 {
  font-size: 1.1rem;     
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: Poppins;
    /* text-shadow: 1px 1px 2px rgb(235, 232, 232); */
}

.form-header p {
  font-size: 0.8rem;     
  opacity: 0.9;
  margin: 0;
  font-family: Poppins;
}

.hero-admission-form {
  padding: 1rem;        
}

.hero-admission-form .form-group {
  margin-bottom: 0.8rem;
  font-family: Poppins;
}

.hero-admission-form input,
.hero-admission-form select {
  width: 100%;
  padding: 0.6rem;       
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.85rem;    
  transition: all 0.3s ease;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.85); /* slightly transparent inputs */
  font-family: Poppins;
}

.hero-admission-form input:focus,
.hero-admission-form select:focus {
  outline: none;
  border-color: #2c5aa0;
  box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.1);
}
.custom-btn{
background-color: #ad0000 !important;
  border-color: #ad0000 !important;
}
.custom-btn:hover {
  background-color: #8f0000 !important;
  border-color: #8f0000 !important;
}
.btn-form-submit {
  width: 100%;
  background: #91c34c;
  color: white;
  border: none;
  padding: 0.8rem;       
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;     
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
  font-family: Poppins;
}

.btn-form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
  background: linear-gradient(135deg, #f7931e, #ff6b35);
}

.form-note {
  text-align: center;
  font-size: 0.75rem;    
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  font-family: Poppins;
  
}

.form-note  i {
  color: #2c5aa0;
  font-family: Poppins;
}



.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  
}
.customprimarybutton:hover{
  background: #efcf5f  !important;
  color: #5e8921 !important;

}
.btn-primary {
  background: #ad0000;
  color: white;
  border-color: white;
}

.btn-primary:hover {
  background: transparent;
  color: #ad0000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(173, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-secondary:hover {
  background: white;
  color: #ad0000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 15;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: white;
  transform: scale(1.2);
}

/* Responsive Design for Hero */
@media (max-width: 1200px) {
  .hero-layout {
    grid-template-columns: 1fr 350px;
    gap: 3rem;
  }

  .hero-title {
    font-size: 3rem;
     
  }
  .hero-title h1{
    font-family: Poppins;
  }

  .hero-subtitle {
    font-size: 1.5rem;
    color: #efcf5f;
  }
}
/* =======================
   MOBILE RESPONSIVE DESIGN
   ======================= */

@media (max-width: 992px) {
  /* Hero layout - stack vertically */
  .hero-layout {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    padding: 0 1rem;
  }

  /* Text section */
  .hero-text {
    text-align: center;
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Buttons */
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Form - center below hero text */
  .hero-form {
    width: 90%;
    max-width: 350px;
    margin: 1.5rem auto 0 auto;
  }

  /* Background slider adjusts height */
  .hero {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  /* Adjust dots */
  .slider-dots {
    bottom: 15px;
  }
}

/* For smaller phones (≤640px) */
@media (max-width: 640px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    width: 80%;
    text-align: center;
  }

  .hero-form {
    width: 95%;
  }

  .form-header h3 {
    font-size: 1rem;
  }

  .form-header p {
    font-size: 0.75rem;
  }

  .hero-admission-form input,
  .hero-admission-form select {
    font-size: 0.8rem;
  }

  .btn-form-submit {
    font-size: 0.85rem;
    padding: 0.7rem;
  }
}

/* For ultra-small screens (≤400px) */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .btn {
    width: 100%;
  }
}


section {
 
  position: relative;
}

section:first-of-type {
  padding-top: 0;
}

.stats {
  background: #f8f9fa;
  /* background: #73b715; */
  padding: 6rem 0; 
  margin-top: -100px; 
  position: relative;
  z-index: 60; 
  margin-top: 10px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
  text-align: center;
 
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #91c34c;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
}

/* Section Styles */

.section-header {
  text-align: center;
  margin-bottom: 0rem;
  margin-top: 26px;
}

.section-tag {
  display: inline-block;
  background: #e3f2fd;
  color: #2c5aa0;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-family: Poppins;

}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  font-family: poppins;
}

.section-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.3;
}
/* Placement-stats */
  :root{
    --brand:#ff0000;
    --text:#333;
  }
  
  .stats{
    max-width:1400px;
    margin:80px auto;
    padding:0 20px;
    display:flex;
    gap:60px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
  }
  @media (max-width:1200px){ .stats{gap: 40px;} }
  @media (max-width:900px){ .stats{flex-wrap: wrap; gap: 50px;} }
  @media (max-width:520px){ .stats{flex-direction: column; gap: 40px;} }

  .stat{
    text-align:center;
    display:flex; 
    flex-direction:column;
    align-items:center;
    gap:15px;
    flex-shrink: 0;
    min-width: 200px;
  }
  .icon{
    width:200px;
    height:112px;
    border-radius:999px;
    background:var(--brand);
    display:grid;
    place-items:center; 
    color:#fff; 
    font-size:40px; 
    user-select:none;
  }
/* //news and event mycss */

.news-events {
  padding: 90px 6%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.news-events::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,245,0.88);
}

.news-events > * {
  position: relative;
  z-index: 1;
}

/* Header */
.news-header {
  text-align: center;
  margin-bottom: 40px;
}

.news-header .badge {
  background: #8bb24c;
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 14px;
}

.news-header h2 {
  font-size: 42px;
  color: #6b1f2b;
  margin-bottom: 8px;
}

.news-header p {
  color: #555;
  font-size: 17px;
}

/* Filters */
.news-filters {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 50px;
}

.news-filters button {
  padding: 10px 22px;
  border-radius: 25px;
  border: none;
  background: #f0f0f0;
  cursor: pointer;
  font-weight: 500;
}

.news-filters .active {
  background: #6b1f2b;
  color: #fff;
}

/* Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}


 .news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
 
}
.news-card.default-featured {
  grid-column: span 2;
}

.news-card:hover {
  grid-column: span 2;
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.18);
  z-index: 3;
}
.news-grid:hover .news-card:not(:hover) {
  opacity: 2;
}
.news-grid:has(.news-card:hover)
  .news-card.default-featured:not(:hover) {
  grid-column: span 1;
}


/* Featured */
.news-card.featured {
  grid-column: span 2;
}

/* Image */
.news-image {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
}

/* Tags */
.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: #fff;
  z-index: 2;
}

.tag.achievement { background: #7a2633; }
.tag.event { background: #6aa84f; }
.tag.academic { background: #3c78d8; }
.tag.visit { background: #c9a227; }
.tag.upcoming { background: #b45f06; }

.date {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
}

/* Content */
.news-content {
  padding: 22px;
}

.small-date {
  font-size: 13px;
  color: #6aa84f;
  font-weight: 600;
}

.news-content h3 {
  font-size: 19px;
  margin: 8px 0;
  color: #222;
}

.news-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

.news-content a {
  display: inline-block;
  margin-top: 10px;
  color: #6b1f2b;
  font-weight: 600;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card.featured {
    grid-column: span 1;
  }

  .news-header h2 {
    font-size: 32px;
  }
}
@media (max-width: 768px) {
  .news-card,
  .news-card.default-featured,
  .news-card:hover {
    grid-column: span 1 !important;
    transform: none;
  }
}

/* //legacy section mycss */

/* SECTION BACKGROUND */
.legacy-section {
  padding: 90px 6%;
  background: 
    linear-gradient(
      rgba(255,255,255,0.88),
      rgba(255,255,255,0.88)
    ),
    url("images/legacy-bg.jpg") center/cover no-repeat;
}

/* TITLE */
.section-title {
  text-align: center;
  font-size: 38px;
  color: #6b1f2b; /* wine red */
  margin-bottom: 60px;
}

/* GRID */
.legacy-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* GLASS CARD */
.glass {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 35px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

/* BADGE */
.badge {
  display: inline-block;
  padding: 6px 18px;
  background: linear-gradient(135deg, #6b1f2b, #8b2d3b);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 18px;
}

/* TEXT */
.legacy-card p {
  color: #333;
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* LIST */
.legacy-list {
  list-style: none;
  padding: 0;
  
}

.legacy-list li {
  position: relative;
  margin-bottom: 12px;
  font-size: 15px;
  ;
  
}

.legacy-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  color: #6b1f2b;
}

/* CERTIFICATE */
.certificate-card {
  position: relative;
  padding: 20px;
  text-align: center;
}

.certificate-card img {
  width: 100%;
  border-radius: 14px;
}

/* SLIDER BUTTONS */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #6b1f2b;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.nav.prev { left: 37px; }
.nav.next { right: 47px; }

/* ACADEMIC IMAGE */
.academic-image {
  position: relative;
  max-width: 75%;
  margin: 40px auto;
  padding: 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,249,250,0.9));
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.academic-image h2 {
  margin-bottom: 40px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.academic-image img {
  width: 100%;
  max-width: 77%;
  height: 48%;
  object-fit: cover;
  border-radius: 15px;
  margin: 0 auto 30px;
  display: block;
  box-shadow: 0 12px 30px rgba(107, 31, 43, 0.15);
  transition: all 0.4s ease;
  border: 3px solid rgba(255,255,255,0.8);
}

.academic-image img:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(107, 31, 43, 0.25);
}

.academic-image .nav {
  width: 45px;
  height: 45px;
  font-size: 20px;
  background: rgba(107, 31, 43, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(107, 31, 43, 0.3);
  transition: all 0.3s ease;
}

.academic-image .nav:hover {
  background: #6b1f2b;
  transform: scale(1.1);
}

.academic-image .nav.prev {
  left: 30px;
}

.academic-image .nav.next {
  right: 30px;
}

/* Mobile responsive styles for academic image */
@media (max-width: 768px) {
  .academic-image {
    padding: 20px 15px;
    margin: 20px auto;
    background: rgba(255,255,255,0.95);
  }
  
  .academic-image h2 {
    font-size: 20px;
    margin-bottom: 25px;
    padding: 0 10px;
  }
  
  .academic-image img {
    max-width: 100%;
    height: 250px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid rgba(255,255,255,0.8);
  }
  
  .academic-image .nav {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .academic-image .nav.prev {
    left: 15px;
  }
  
  .academic-image .nav.next {
    right: 15px;
  }
}

@media (max-width: 480px) {
  .academic-image {
    padding: 15px 10px;
    margin: 15px auto;
  }
  
  .academic-image h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .academic-image img {
    height: 200px;
    border-radius: 10px;
    margin-bottom: 15px;
  }
  
  .academic-image .nav {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .academic-image .nav.prev {
    left: 10px;
  }
  
  .academic-image .nav.next {
    right: 10px;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .legacy-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 30px;
  }
}


  /* //career section mycss */
  /* ===== Career WBAT Section ===== */
.career-wbat {
  position: relative;
  padding: 90px 6%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* overlay for readability */
.career-wbat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 245, 0.85);
  z-index: 0;
}

.career-wbat > * {
  position: relative;
  z-index: 1;
}

/* ===== Headings ===== */
.career-wbat h2 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: #6b1f2b; /* wine red */
  margin-bottom: 12px;
}

.career-wbat .subtitle {
  text-align: center;
  font-size: 18px;
  color: #444;
  max-width: 760px;
  margin: 0 auto 60px;
}

/* ===== Cards Grid ===== */
.career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ===== Card ===== */
.career-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 28px 38px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.career-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.15);
}

/* ===== Icon Circle ===== */
.career-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #eaf5d9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.career-icon img,
.career-icon svg {
  width: 38px;
  height: 38px;
  fill: #5e8f2d;
}

/* ===== Card Text ===== */
.career-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.career-card .tagline {
  font-size: 15px;
  font-style: italic;
  color: #6aa84f;
  margin-bottom: 14px;
}

.career-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: #555;
}

/* ===== Industry Strip ===== */
.career-strip {
  margin: 50px auto 35px;
  max-width: 900px;
  padding: 14px 26px;
  border-radius: 40px;
  background: #eef7dc;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 15px;
  color: #2f4f1f;
}

.career-strip span::before {
  content: "\2714";
  margin-right: 6px;
  color: #7bb13c;
  font-weight: 700;
}

/* ===== CTA Button ===== */
.career-cta {
  display: flex;
  justify-content: center;
}

.career-cta a {
  margin-top: 20px;
  padding: 16px 38px;
  background: linear-gradient(135deg, #7a2633, #5b1822);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 14px 30px rgba(122,38,51,0.35);
}

.career-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(122,38,51,0.5);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .career-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .career-grid {
    grid-template-columns: 1fr;
  }

  .career-wbat h2 {
    font-size: 32px;
  }
}




   /* stats  */
  .value{
    font-weight:1000; 
    font-size:45px; 
    letter-spacing:1.3px;
    color: #91c34c;
  }
  .value data-suffix{
    color: red;
  }
  .heading{
    font-size:23px; 
    font-weight:700; 
    margin:0;
    color:#6b1f2b;
  }
  .desc{
    margin:0; 
    line-height:1.35; 
    color:#555}

@media (max-width: 768px) {
  .value {
    font-size: 22px;
    letter-spacing: 0.2px;
  }

  .heading {
    font-size: 15px;
  }

  .desc {
    font-size: 13px;
    line-height: 1.4;
  }
}
@media (max-width: 480px) {
  .value {
    font-size: 18px;
  }

  .heading {
    font-size: 13px;
  }

  .desc {
    font-size: 12px;
    line-height: 1.45;
  }
}
/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  color: #333;
}

.feature i {
  color: #2c5aa0;
  font-size: 1.2rem;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Principal's Message */
.principal-message {
  background: #f8f9fa;
}

.message-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
}

.principal-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.message-text h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
}

.message-text blockquote {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2rem;
}

.message-text blockquote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  color: #2c5aa0;
  opacity: 0.3;
}

.message-text cite {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c5aa0;
}

/* Departments Section */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.department-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.department-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: #2c5aa0;
}

.dept-icon {
  width: 80px;
  height: 80px;
  background: #e3f2fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.department-card:hover .dept-icon {
  background: #2c5aa0;
  color: white;
}

.dept-icon i {
  font-size: 2rem;
  color: #2c5aa0;
  transition: color 0.3s ease;
}

.department-card:hover .dept-icon i {
  color: white;
}

.department-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.department-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.dept-link {
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.dept-link:hover {
  gap: 1rem;
}

/* Facilities Section */
.facilities {
  /* background: linear-gradient(135deg, #29552d 0%, #c8e6c9 50%, #a5d6a7 100%); */
  background: #ffffff;
  padding: 80px 20px;
}

.facilities .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.facilities .section-tag {
  display: inline-block;
  background: linear-gradient(135deg, #66bb6a, #43a047);
  color: rgb(184, 12, 12);
  padding: 10px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(67, 160, 71, 0.3);
}

.facilities .section-title {
  font-size: 42px;
  font-weight: 700;
  color: #6b1f2b;
  margin: 19 0px -2px;
}

.facilities .section-description {
  font-size: 18px;
  color: #ffffff;
  max-width: 650px;
  margin: 0 auto 50px;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto 50px;
}

.facility-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.facility-card.hidden {
  display: none;
}

.facility-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(67, 160, 71, 0.25);
}

.facility-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-card:hover img {
  transform: scale(1.08);
}

.facility-content {
  padding: 25px;
  text-align: center;
}

.facility-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: black;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.facility-card:hover h4 {
  color: #91c34c;
}

.facility-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.facilities a {
  text-decoration: none;
  color: inherit;
}

.facilities-cta {
  text-align: center;
  margin-top: 40px;
}

.btn-facilities {
  display: inline-block;
  background: linear-gradient(135deg,  #7a2633, #5b1822);
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(67, 160, 71, 0.3);
}

.btn-facilities:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(67, 160, 71, 0.4);
}

@media (max-width: 1024px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .facilities {
    padding: 60px 15px;
  }
  
  .facilities .section-title {
    font-size: 32px;
  }
  
  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .facility-card img {
    height: 200px;
  }
  
  .facility-content {
    padding: 20px;
  }
}
.faculty-contact {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
  padding: 0 0.5rem;
  background: #f2f4f8;
  border-top: 1px solid #ddd;
}

.faculty-contact a {
  margin: 10px;
  font-size: 18px;
  color: #2c5aa0;
  transition: color 0.3s ease;
}

.faculty-contact a:hover {
  color: #ff6b35;
}

/* Show contact section on hover */
.faculty-card:hover .faculty-contact {
  max-height: 80px;
  opacity: 1;
  padding: 10px 0.5rem;
}


/* Student Life Section */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.activity-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.activity-icon {
  width: 80px;
  height: 80px;
  background: #fff3e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.activity-icon i {
  font-size: 2rem;
  color: #ff6b35;
}

.activity-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.activity-card p {
  color: #666;
  line-height: 1.6;
}

/* News & Events */
.news-events {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 20px;
  font-family: Poppins, sans-serif;
}

.news-events .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.news-events .section-tag {
  display: inline-block;
  background: linear-gradient(135deg, #91c34c, #7ab03c);
  color: white;
  padding: 8px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(145, 195, 76, 0.3);
}

.news-events .section-title {
  font-size: 42px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.news-events .section-description {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.news-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  display: block;
}

.news-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(145, 195, 76, 0.25);
}

.news-card a {
  text-decoration: none;
  color: inherit;
}

.news-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover img {
  transform: scale(1.1);
}

.news-content {
  padding: 25px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.news-date {
  color: #91c34c;
  font-size: 14px;
  font-weight: 600;
}

.news-category {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #91c34c, #7ab03c);
  color: white;
}

.news-content h4 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-card:hover .news-content h4 {
  color: #91c34c;
}

.news-content p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
/** Campus-life **/

.campus-life {
  text-align: center;
  padding: 40px 20px;
}

.campus-life h2 {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: bold;
  position: relative;
  font-family: Poppins;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.life-of-Gargi {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  position: relative;
}

.life-of-Gargi:hover {
  transform: translateY(-5px);
}

.life-of-Gargi img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.life-of-Gargi p {
  font-size: 16px;
  font-weight: bold;
  margin: 12px 0;
  padding: 0 10px 15px;
}
.life-of-Gargi .icon{
  background-color: #91c34c;
}
.life-of-Gargi.icon {
  position: absolute;
  top: 0;
  left: 0;
  background: #000000;
  color: #fff;
  padding: 12px;
  font-size: 20px;
  border-bottom-right-radius: 12px;

}
.life-of-Gargi.icon i{
  color: #91c34c;
}

/* Testimonials */
.testimonial-section {
  text-align: center;
  padding: 40px 20px;
}

.testimonial-section h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  position: relative;
  color: #072f58;
}


.card-container {
display: flex;
overflow-x: scroll;
scroll-snap-type: x mandatory; 
-webkit-overflow-scrolling: touch; 
scrollbar-width: none; 
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari) */
.card-container::-webkit-scrollbar {
display: none;
}

.card {
flex-shrink: 0; 
width: 300px; 
margin-right: 20px; 
scroll-snap-align: start; 
}

.dots-container {
text-align: center;
margin-top: 20px;
}

.dots-container .t-dot {
height: 10px;
width: 10px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
margin: 0 5px;
cursor: pointer;
}
.t-dot.active {
background-color: #717171;
}

.dot.active, .t-dot.active {
background-color: #717171;
}

.card {
  background-color: #072f58;
  border-radius: 8px;
  width: 180px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
  display: inline-block;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: 220px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.card .name {
  font-weight: bold;
  font-size: 1rem;
  margin-top: 10px;
  color: white;
}

.card .course {
  font-size: 0.9rem;
  font-style: italic;
  color: yellow;
  margin-bottom: 10px;
}

/* CTA Button */
.cta-button {
  margin-top: 20px;
}

.cta-button button {
  background-color: #072f58;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button button:hover {
  background-color: #0c3f75;
}



.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #ffcd00;
}



/* Placements Section */
.placements {
  background: #f8f9fa;
}

.placement-content {
  display: grid;
  gap: 3rem;
}

.placement-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-box {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-box h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2c5aa0;
  margin-bottom: 0.5rem;
}

.stat-box p {
  color: #666;
  font-weight: 500;
}

.recruiters {
  text-align: center;
}

.recruiters h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2rem;
}

.recruiter-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  align-items: center;
}

.recruiter-logos img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.recruiter-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #e3f2fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: #2c5aa0;
  font-size: 1.2rem;
}

.contact-details h4 {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: #666;
  line-height: 1.6;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family:Poppins;
  
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2c5aa0;
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 2% auto;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  color: #2c5aa0;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.close {
  color: #aaa;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #2c5aa0;
}

.modal-body {
  padding: 2rem;
}

/* Admission Form Styles */
.admission-form {
  display: grid;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2c5aa0;
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* Footer */




/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Faculty Profiles Section */
.faculty-profiles {
  background: #f8f9fa;
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faculty-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.faculty-image {
  position: relative;
  overflow: hidden;
}

.faculty-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-image img {
  transform: scale(1.05);
}

.faculty-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.8), rgba(44, 90, 160, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faculty-card:hover .faculty-overlay {
  opacity: 1;
}

.faculty-social {
  display: flex;
  gap: 1rem;
}

.faculty-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.faculty-social a:hover {
  background: white;
  color: #2c5aa0;
  transform: scale(1.1);
}

.faculty-info {
  padding: 1.5rem;
}

.faculty-info h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.faculty-designation {
  color: #2c5aa0;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.faculty-department {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.faculty-qualification {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.faculty-details {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.faculty-details p {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.faculty-details strong {
  color: #333;
}

/* Photo Gallery Section */
.photo-gallery {
  background: white;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid #e0e0e0;
  background: white;
  color: #666;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: #2c5aa0;
  color: white;
  border-color: #2c5aa0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.8), rgba(44, 90, 160, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-content {
  text-align: center;
  color: white;
  padding: 1rem;
}

.gallery-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.gallery-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.gallery-btn:hover {
  background: white;
  color: #2c5aa0;
  transform: scale(1.1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  margin: auto;
  display: block;
  width: 90%;
  max-width: 800px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: #ff6b35;
}

/* Gallery Filter Animation */
.gallery-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
}
   
/* Career Opportunities */
:root {
  --bg: #f7f7f6;
  --text: #1f2937;
  --muted: #6b7280;
  --card: #ffffff;
  --brand: #b54834;  /* red-orange circle color */
  --ring: #e5e5e5;
  --radius: 12px;
  --shadow: 0 8px 16px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.career-wbat{
  background-image: url('images/Homepage/bgCareer.png');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  position: relative;
}

.career-wbat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

.career-wbat > * {
  position: relative;
  z-index: 1;
}

.careers {
  padding: 60px 20px;
  text-align: justify;
  background-image: url('images/Homepage/bgCareer.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.careers::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(240, 235, 235, 0.486);
  z-index: 0;
}

.careers > * {
  position: relative;
  z-index: 1;
}

.careers-wbat {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.careers-commerce {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.careers-cs {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}
.careers h2{
 text-align: center;
}

.wrap {
  max-width: 1140px;
  margin: auto;
}
.wrap title{
  color: wine-red;
}
.title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
  font-family: poppins;
}

.subtitle {
  text-align: justify;
  color: #202020;
  margin: 0 auto 40px;
  max-width: 850px;
  font-size: 16px;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.Careers-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  transition: all 0.35s ease;
}
.career-card.hidden-card {
  display: none;
}


.Careers-card:hover {
 
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #91c34c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon i {
  color: #fff;
  font-size: 30px;
}

.Careers-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

@media (max-width: 768px) {
  .career-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .Careers-card {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .career-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 6rem;
    min-height: calc(100vh - 40px);
  }
  .NewHeader {
    flex-direction: column;
    gap: 1rem;
    padding: 0.8rem 0;
    margin-left: 0px !important;
  }

  .col-new.FText strong {
    font-size: 1.1rem;
  }

  .nav-list {
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .message-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-form {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: auto;
  }

  .stats {
    margin-top: -80px;
    padding: 4rem 0;
  }
  .nav {
    display: none;
    width: 100%;
  }

 
  .nav.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    padding: 2rem 0.5rem 2rem 0.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  @media (max-width: 767px) {

    .header-logos {
        display: flex;
        justify-content: space-between;   /* दोन्ही बाजूंना */
        align-items: center;              /* vertical center */
        padding: 10px 15px;
        width: 100%;
    }

    .header-logos img {
        max-width: 120px;
        height: auto;
    }

    .Flogo, .Llogo {
        width: 50%;
        display: flex;
        justify-content: center;
    }
}


  
  .col-new.FText strong {
    font-size: 0.9rem;
  }

  .textbold {
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-content {
    align-items: flex-start;
    padding-top: 1rem;
  }

  section {
    padding: 4rem 0;
  }

  .stats {
    margin-top: 
    60px;
    padding: 3rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem;
  }

  .departments-grid {
    grid-template-columns: 1fr;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .placement-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .recruiter-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .prev-btn {
    left: 15px;
  }

  .next-btn {
    right: 15px;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .btn-admission {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
  }

  .modal-header,
  .modal-body {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .faculty-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filters {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .Flogo img,
.Llogo img {
  max-width: 98px !important;
  height: auto;
}

  .stats {
    margin-top: -60px;
    padding: 3rem 0;
  }
  .NewHeader {
    gap: 0.5rem;
    padding: 0.5rem 0;
  }

  .col-new.FText strong {
    font-size: 0.8rem;
  }

  .col-new.FText strong span {
    font-size: 0.75rem;
  }

  .textbold {
    font-size: 0.75rem;
  }

  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  section {
    padding: 3rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .placement-stats {
    grid-template-columns: 1fr;
  }

  .recruiter-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .btn-admission span {
    display: none;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .gallery-filters {
    flex-direction: column;
    align-items: center;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
 
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #2c5aa0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e3d6f;
}

/* Header Actions positioned to the right */
.header-actions {
  display: none; /* Hide on desktop */
}

/* Center and restrict the width of header content */
.NewHeader {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px; 
  margin-left: 190px;
}

/* Make logo columns flex nicely */
.col-new {
  flex: 1;
  text-align: center;
}

/* Adjust logo sizes */
.Flogo img,
.Llogo img {
  max-width: 125px;
  height: auto;
}

/* Adjust text column */
.FText {
  flex: 3;
}

.FText .text-center {
  text-align: center;
}

.FText .text-center strong{
font-family: league Spartan;
color: #000000;
font-size: 147%;

}
.FText .text-center strong span{
  color: #ad0000;
  font-size: 90%;

}
.FText .text-center .textbold{
  font-family: Bricolage Grotesque;
  font-size: 95%;
  
}
.FText .text-center .text-last{
  font-family: Bricolage Grotesque;
  color: orangered;
  font-size: 140%;
  }

  
/* Small horizontal line style */
.smallline {
  border: none;
  height: 1px;
  background: #ccc;
  width: 80%;
  margin: 8px auto;
}

/* Optional: reduce vertical spacing between lines */
.FText strong, 
.FText span, 
.FText .textbold, 
.FText small {
  display: block;
  margin-bottom: 4px;
  line-height: 1.2;
}
.top-marquee {
  width: 100%;
  overflow: hidden;
  background-color: #333333;
  color: hsl(90, 100%, 51%);
  padding: 8px 0;
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
}

.marquee-content {
  display: block;
  white-space: normal;
  padding-left: 0;
  animation: none;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

@keyframes scrollText {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.top-info-bar {
  width: 100%;
  background: #2c5aa0;
  padding: 6px 0;
  border-bottom: 1px solid #ddd;
  background-color: #91c34c;
}

.top-info-links {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  
}

.top-info-links a {
  color: #fff;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-info-links a:hover {
  color: #1100ff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .top-info-links {
    gap: 10px;
    padding: 0 10px;
    justify-content: center;
  }
  .FText .text-center strong{
font-family: league Spartan;
    color: #000000;
    font-size: 131%;
  
    padding-bottom: 23px;
    margin: -26px;
}

  .top-info-links a {
    font-size: 12px;
  }
}
/* Reset and basic setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  /* background-color: #e5f4d0;  */
  /* background-color: #edffd4 !important;  */
  background-color: #ffffff; 
}

/* Container */
.container {
  width: 100%;
  margin: 0 auto;
}

/* Header */


.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo img {
  width: 70px;
  height: auto;
}

.header-text {
  text-align: center;
}

.header-text strong {
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

.header-text span {
  font-weight: 600;
  font-size: 16px;
  color: #f1c40f;
}

.header-text div {
  margin-top: 4px;
  font-size: 14px;
  color: #ecf0f1;
}

.header-text small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #ccc;
}

/* Hero Section */
.hero {
  background: url('images/1.jpg') no-repeat center center/cover;
  padding: 70px 0;
  color: #000000;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero .tagline {
  font-size: 20px;
  color: #ff6b35;
}

/* About Section */
.about-section {
  padding: 60px 0;
}

.about-section h2 {
  font-size: 32px;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  color: black;
}

.about-section h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background: #f1c40f;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.about-section p {
  font-size: 17px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}



/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  .header .logo img {
    margin: 10px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .about-section h2 {
    font-size: 26px;
  }
}

/* --- Custom sections for history.html --- */
.core-values-section {
  background: #f8f9fa;
  padding: 60px 0;
}
.core-values-section h2 {
  color: #2c5aa0;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.core-values-list {
  list-style: disc inside;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 0;
}
.core-values-list li {
  margin-bottom: 1.2rem;
  font-size: 1.08rem;
  line-height: 1.7;
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 8px rgba(44,90,160,0.04);
}
.secretory-message-section, .principal-message-section {
  background: #fff;
  padding: 60px 0;
}
.secretory-message-section h2, .principal-message-section h2 {
  color: #2c5aa0;
  font-size: 2rem;
  margin-bottom: 1.2rem;
  text-align: center;
}
.secretory-message-section blockquote, .principal-message-section blockquote {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.8;
  background: #f8f9fa;
  border-left: 5px solid #2c5aa0;
  padding: 2rem 2.5rem;
  border-radius: 8px;
  color: #333;
}
.secretory-message-section blockquote span, .principal-message-section blockquote span {
  display: block;
  margin-top: 1.5rem;
  color: #2c5aa0;
  font-size: 1.1rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .core-values-section, .secretory-message-section, .principal-message-section {
    padding: 30px 0;
  }
  .core-values-list li, .secretory-message-section blockquote, .principal-message-section blockquote {
    padding: 1rem;
  }
}

/* --- Enhanced styles for message sections --- */
.message-flex {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(44,90,160,0.07);
  padding: 2.5rem 2rem;
  flex-wrap: wrap;
}
.message-photo {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}
.message-photo img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(44,90,160,0.10);
  border: 5px solid #f8f9fa;
  background: #f8f9fa;
}
.message-name {
  margin-top: 1.2rem;
  text-align: center;
  font-weight: 600;
  color: #2c5aa0;
  font-size: 1.1rem;
}
.message-name span {
  display: block;
  font-size: 0.98rem;
  color: #666;
  font-weight: 400;
}
.message-text {
  flex: 1 1 350px;
  font-size: 1.13rem;
  line-height: 1.8;
  background: #f8f9fa;
  border-left: 5px solid #2c5aa0;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  color: #333;
  margin: 0;
}
@media (max-width: 900px) {
  .message-flex {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 0.5rem;
  }
  .message-photo {
    margin-bottom: 0.5rem;
  }
  .message-text {
    padding: 1.2rem 1rem;
    font-size: 1.05rem;
  }
}

.admissions-dropdown {
  min-width: 320px;
  width: 720px !important;
  gap: 18px;
  padding: 1.2rem 1rem !important;
}
.admissions-col {
  min-width: 140px;
  width: 50%;
}
.admissions-title {
  font-size: 1.13rem;
  font-weight: 700;
  color: #2f3ad3;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.badge-new {
  display: inline-block;
  background: #ffeb3b;
  color: #2f66d3;
  font-size: 0.85em;
  font-weight: bold;
  border-radius: 8px;
  padding: 2px 8px;
  margin-left: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  letter-spacing: 1px;
  vertical-align: middle;
}
.admissions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.admissions-list li {
  margin-bottom: 0.5rem;
}
.admissions-list a {
  color: #222;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.admissions-list a:hover {
  color: #0d47a1;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .admissions-dropdown {
    flex-direction: column;
    min-width: 220px;
    padding: 1rem 0.5rem;
    gap: 10px;
  }
  .admissions-col {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  .nav-link {
    width: 100%;
    padding: 1rem 0.5rem;
    font-size: 1.1rem;
    justify-content: flex-start;
  }
  .dropdown-menu,
  .admissions-dropdown {
    position: static !important;
    min-width: 0 !important;
    width: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0.5rem 0.5rem !important;
    background: #f9f9f9 !important;
    display: none;
  }
  .dropdown.open > .dropdown-menu,
  .dropdown.open > .admissions-dropdown {
    display: block;
  }
  .dropdown-menu li,
  .admissions-list li {
    width: 100%;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
  }
  .admissions-col {
    min-width: 0;
    width: 100%;
    margin-bottom: 1rem;
  }
  .admissions-dropdown {
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
    padding: 0.5rem 0.2rem !important;
  }
  .admissions-title {
    font-size: 1.05rem;
    padding: 0.5rem 0;
  }
}

/* --- Admissions Dropdown: Single Column Adjustment --- */
.admissions-dropdown {
  width: 320px !important;
  display: block !important;
  padding: 1.5rem 1.5rem !important;
  gap: 0 !important;
  justify-content: center !important;
}
.admissions-col {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}
/* --- End Admissions Dropdown: Single Column Adjustment --- */

/* --- Academics Dropdown: Black Text, Blue on Hover (No BG Change) --- */

.nav-list > li.dropdown:nth-child(3) > .dropdown-menu,
.nav-list > li.dropdown:nth-child(3) .submenu {
  background: #fff;
  color: #111;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(44,90,160,0.10);
  min-width: 270px;
  padding: 0.5rem 0;
  border: none;
}

.nav-list > li.dropdown:nth-child(3) .dropdown-menu li,
.nav-list > li.dropdown:nth-child(3) .submenu li {
  padding: 0;
}

.nav-list > li.dropdown:nth-child(3) .dropdown-menu a,
.nav-list > li.dropdown:nth-child(3) .submenu a {
  color: #111;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 50;
  border-radius: 8px;
  transition: color 0.25s, padding-left 0.25s;
  display: block;
  background: #fff;
}

.nav-list > li.dropdown:nth-child(3) .dropdown-menu a:hover,
.nav-list > li.dropdown:nth-child(3) .submenu a:hover {
  color: #2563eb;
  background: #fff;
  padding-left: 2.5rem;
}

/* Submenu positioning and style */
.nav-list > li.dropdown:nth-child(3) .has-submenu {
  position: relative;
}

.nav-list > li.dropdown:nth-child(3) .has-submenu {
  opacity: 1;
  /* visibility: hidden; */
  transform: translateY(10px);

}

/* On hover — show instantly */
.nav-list > li.dropdown:nth-child(3) .has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}


.nav-list > li.dropdown:nth-child(3) .submenu {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 8px;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 300;
  box-shadow: 0 8px 32px rgba(44,90,160,0.10);
  border-left: 3px solid #2563eb;
}

.nav-list > li.dropdown:nth-child(3) .has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Add a small arrow for submenus */
.nav-list > li.dropdown:nth-child(3) .has-submenu > a::after {
  content: '\25B6';
  font-size: 0.7em;
  margin-left: 8px;
  color: #ffffff;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .nav-list > li.dropdown:nth-child(3) .submenu {
    position: static;
    left: 0;
    top: auto;
    margin-left: 0;
    border-left: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: #fff;
  }
}

/*-- About us --*/

.banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-text {
  position: absolute;
  top: 30%;
  left: 5%;
  color: white;
  font-family: Poppins;
}

.banner-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.3;
  font-family: Poppins;
}

.banner-text h1 span {
  color: orange;
  
}

.five-pillars img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 25px;
}
.curriculum {
  padding: 40px;
  background-color: #f5f5f5;
  font-family: Poppins;
  text-align: center;

}

.curriculum h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
font-family: Poppins;
}

.curriculum h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 2px;
  background-color: red;
  margin: 5px auto 0;
  font-family: Poppins;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 100fr));
  gap: 20px;
  
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0,0,0,0.1);
  transition: 0.3s;
  font-family: Poppins;
}
.card:hover {
  transform: translateY(-5px);
}

.card img {
 width: 100%; 
  height: 220px;
  object-fit: cover;
}

.card p {
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  border-top: 2px solid red;
}
.global-exposure {
  padding: 40px;
  text-align: center;
  font-family: Poppins;
}

.global-exposure h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  font-family: Poppins;
}

.global-exposure h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: red;
  margin: 8px auto 0;
  font-family: Poppins;
}

.exposure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
  font-family: Poppins;
}
.box {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-family: Poppins;
}

.box:hover {
  transform: scale(1.2); /* bigger pop */
  box-shadow: 0 16px 40px rgba(0,0,0,0.3); /* deeper, more dramatic shadow */
}

  

.box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.caption {
  background-color: #f2f2f2;
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  font-family: Poppins;
}

.caption::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-top: 30px solid #ffc107; /* yellow corner */
  border-left: 30px solid transparent;
  font-family: Poppins;
}
/* beyond class room */


.highlight h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
  font-family: Poppins;
  
}

.highlight {
 
  display: inline-block;
  padding-bottom: 5px;
  margin-top: 25px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: auto;
 
}

.grid-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}
.grid-item:hover {
  transform: scale(1.2); /* bigger pop */
  box-shadow: 0 16px 40px rgba(0,0,0,0.3); /* deeper, more dramatic shadow */
}

.grid-item img {
  width: 100%;
  height: auto;
}

 .grid-item caption {
  padding: 15px;
  font-weight: bold;
  font-size: 16px;
  background-color: #f2f2f2;
  border-top: 2px solid #e0e0e0;
  font-family: Poppins;
}



.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 90%;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);
  border-radius: 0px;
  list-style-type: none;
  padding: 0.4rem 0;
  z-index: 999;
}

.has-submenu:hover > .submenu {
  display: block;
}

#placement-stats {
  /* background-color: #edffd4; */
  background-color: #ffffff;
}
/* Leading Women's section  */
.legacy-section {
  max-width: 100%;
  margin: auto;
  padding: 50px 20px;
  text-align: center;
  font-family: Poppins;
}

.legacy-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 700;
  font-family: Poppins;
}

.legacy-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}

.legacy-container.reverse {
  flex-direction: row-reverse;
}

.legacy-text {
  flex: 1;
  text-align: left;
  font-family: Poppins;
}

.legacy-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: Poppins;
}

.legacy-text p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #444;
  font-family: Poppins;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

.features div {
  font-size: 0.9rem;
  color: #333;
}

.features i {
  color: #91c34c;
  margin-right: 8px;
}

.legacy-img {
  flex: 1;
}

.legacy-img img {
  width: 100%;
  border-radius: 8px;
}

/* Read More Button */
.readmore {
  text-align: center;
  margin-top: 20px;
}

.btn {
  display: inline-block;
  background: #91c34c;
  color: #fff;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
  font-family: Poppins;
}

.btn:hover {
  background: #91c34c;
}
.placed-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 20px;
  text-align: center;
}

.placed-section .section-header {
  margin-bottom: 50px;
}

.placed-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.students-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.student-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.student-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(145, 195, 76, 0.3);
}

.student-img-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #91c34c, #7ab03c);
}

.student-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.student-card:hover .student-img-wrapper img {
  transform: scale(1.1);
}

.student-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(145, 195, 76, 0.9), rgba(122, 176, 60, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.student-card:hover .student-overlay {
  opacity: 1;
}

.student-overlay i {
  font-size: 50px;
  color: white;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.student-info {
  padding: 25px 20px;
  text-align: left;
}

.student-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.student-role {
  font-size: 16px;
  font-weight: 600;
  color: #91c34c;
  margin-bottom: 8px;
}

.student-company,
.student-location {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.student-company i,
.student-location i {
  color: #91c34c;
  font-size: 12px;
}

@media (max-width: 768px) {
  .students-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .placed-section h2 {
    font-size: 28px;
  }
  
  .student-img-wrapper {
    height: 220px;
  }
}
  /* Tablets and small screens */
@media (max-width: 992px) {
  .legacy-container {
    flex-direction: column;
    text-align: center;
  }

  .legacy-text {
    text-align: center;
  }

  .features {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .legacy-text h3 {
    font-size: 1.2rem;
  }

  .legacy-text p {
    font-size: 0.9rem;
  }

  .legacy-img {
    width: 100%;
  }

  .placed-section h2 {
    margin-left: 0;
    text-align: center;
  }
}

/* Phones */
@media (max-width: 768px) {
  .legacy-section {
    padding: 40px 15px;
  }

  .legacy-section h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .legacy-container {
    flex-direction: column;
    gap: 25px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .legacy-text h3 {
    font-size: 1.1rem;
  }

  .legacy-text p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .placed-section h2 {
    font-size: 24px;
    text-align: center;
    margin: 30px 0;
  }
}

/* Small Phones (≤480px) */
@media (max-width: 480px) {
  .legacy-section {
    padding: 30px 10px;
  }

  .legacy-section h2 {
    font-size: 22px;
  }

  .legacy-text h3 {
    font-size: 1rem;
  }

  .legacy-text p {
    font-size: 0.85rem;
  }

  .btn {
    width: 100%;
    max-width: 250px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .features div {
    font-size: 0.85rem;
  }

  .placed-section h2 {
    font-size: 22px;
  }
}
/* --- Responsive Code for Tablets --- */
@media (max-width: 768px) {
  .legacy-container,
  .legacy-container.reverse {
    flex-direction: column;
    gap: 2rem; 
  }
}
  .legacy-text {
    text-align: center; 
  }

  .legacy-text h3 {
    font-size: 1.2rem;
  }

  .legacy-text p {
    font-size: 0.9rem;
  }
   
  .features {
    grid-template-columns: 1fr;
    text-align: left; 
    max-width: 300px; 
    margin: 0 auto; 
    }


/* --- Responsive Code for Mobiles --- */
@media (max-width: 480px) {
  .legacy-text h3 {
    font-size: 1.1rem;
  }

  .legacy-text p {
    font-size: 0.85rem;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
}
/* Students Section */
.students-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.student-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.student-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(145, 195, 76, 0.3);
}

.student-img-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #91c34c, #7ab03c);
}

.student-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.student-card:hover .student-img-wrapper img {
  transform: scale(1.1);
}

.student-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(145, 195, 76, 0.9), rgba(122, 176, 60, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.student-card:hover .student-overlay {
  opacity: 1;
}

.student-overlay i {
  font-size: 50px;
  color: white;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.student-info {
  padding: 25px 20px;
  text-align: left;
}

.student-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.student-role {
  font-size: 16px;
  font-weight: 600;
  color: #91c34c;
  margin-bottom: 8px;
}

.student-company,
.student-location {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.student-company i,
.student-location i {
  color: #91c34c;
  font-size: 12px;
}

/* Recruiters Section */

.recruiters-section h2 {
  text-align: center;
  font-size: 36px;
  margin: 20px 0 50px;
}

.recruiters-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
}

.recruiters-slider-wrapper {
  overflow: hidden;
  position: relative;
}

.recruiters-slide {
  display: none;
  animation: recruiters-fade 0.5s ease-in-out;
}

.recruiters-slide.recruiters-active {
  display: inline-block;
}

.recruiters-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
  padding: 20px 0;
}

.recruiters-logo-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.recruiters-logo-item img {
  max-height: 105px;
  max-width: 100%;
  object-fit: contain;
  /* filter: grayscale(100%); */
  opacity: 0.7;
  transition: all 0.3s ease;
}

.recruiters-logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Dot Navigation */
.recruiters-dots {
  text-align: center;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.recruiters-dot {
  height: 12px;
  width: 12px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.recruiters-dot:hover {
  background-color: #717171;
}

.recruiters-dot.recruiters-active {
  background-color: #333;
  width: 30px;
  border-radius: 6px;
}

/* Fade Animation */
@keyframes recruiters-fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 992px) {
  .recruiters-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .recruiters-logo-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  
  .recruiters-section h2 {
    font-size: 24px;
  }
}

/* --- Photo gallery */
.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    font-family: poppins;
        }

        .gallery-header {
            text-align: center;
            margin-bottom: 3rem;
            color: black;
        }

        .gallery-header h1 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            font-family: poppins;
        }

        .gallery-header p {
            font-size: 1.2rem;
            opacity: 0.9;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            padding: 1rem;
        }

        .gallery-card {
            position: relative;
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            height: 300px;
        }

        .gallery-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
        }

        .card-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .gallery-card:hover .card-image {
            transform: scale(1.1);
        }

        .card-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: white;
            padding: 2rem 1.5rem 1.5rem;
            transform: translateY(0);
            transition: all 0.4s ease;
        }

        .card-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        }

        .card-description {
            font-size: 1rem;
            transform: translateY(20px);
            transition: all 0.4s ease 0.1s;
            line-height: 1.5;
        }

        .gallery-card:hover .card-description {
            opacity: 1;
            transform: translateY(0);
        }

        .card-category {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(255, 255, 255, 0.9);
            color: #333;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            backdrop-filter: blur(10px);
            opacity: 0;
            transform: translateX(30px);
            transition: all 0.4s ease 0.2s;
        }

        .gallery-card:hover .card-category {
            opacity: 1;
            transform: translateX(0);
        }

        .expand-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            background: rgba(255, 255, 255, 0.95);
            border: none;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            font-size: 1.2rem;
            color: #333;
            cursor: pointer;
            transition: all 0.4s ease 0.1s;
            backdrop-filter: blur(10px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        }

        .gallery-card:hover .expand-btn {
            transform: translate(-50%, -50%) scale(1);
        }

        .expand-btn:hover {
            background: #667eea;
            color: white;
            transform: translate(-50%, -50%) scale(1.1);
        }

        /* Category-specific colors */
        .category-campus { border-left: 5px solid #91c34c; }
        .category-facilities { border-left: 5px solid #91c34c; }
        .category-events { border-left: 5px solid #91c34c; }
        .category-academics { border-left: 5px solid #91c34c; }
        .category-students { border-left: 5px solid #91c34c; }

        /* Responsive Design */
        @media (max-width: 768px) {
            .gallery-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .gallery-header h1 {
                font-size: 2rem;
            }
            
            .gallery-card {
                height: 280px;
            }
        }

        /* Lightbox styles */
        .lightbox {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(5px);
        }

        .lightbox-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-width: 90%;
            max-height: 90%;
        }

        .lightbox img {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }

        .close {
            position: absolute;
            top: 20px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
        }





/* Hide student overlay icon */
.student-overlay {
  display: none !important;
}


/* Additional spacing for placed section */
.placed-section {
  margin: 60px 0 !important;
  padding: 100px 40px !important;
}

.placed-section .section-header {
  margin-bottom: 60px !important;
  padding: 0 20px;
}

.students-container {
  padding: 20px 40px !important;
}

@media (max-width: 768px) {
  .placed-section {
    padding: 60px 20px !important;
  }
  
  .students-container {
    padding: 10px 20px !important;
  }
}


/* Additional spacing for hero section */
.hero {
  margin: 0 !important;
  padding: 120px 40px 100px 40px !important;
}

.hero-content {
  padding: 40px 20px !important;
}

.hero-layout {
  padding: 20px !important;
}

@media (max-width: 992px) {
  .hero {
    padding: 80px 20px 60px 20px !important;
  }
  
  .hero-content {
    padding: 20px 10px !important;
  }
}


/* Reduce hero section height */
.hero {
  min-height: 70vh !important;
  padding-top: 60px !important;
  padding-bottom: 40px !important;
}

.hero-content {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

@media (max-width: 992px) {
  .hero {
    min-height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 30px !important;
  }
}


/* Additional spacing for News & Events section */
.news-events {
  margin: 0px 0 !important;
  padding: 50px 40px !important;
}

.news-events .section-header {
  margin-bottom: 10px !important;
  padding: 0 20px;
}

.news-grid {
  padding: 17px !important;
}

@media (max-width: 768px) {
  .news-events {
    padding: 60px 20px !important;
  }
  
  .news-grid {
    padding: 10px !important;
  }
}


/* Additional spacing for Student Life section */
.student-life {
  margin: 60px 0 !important;
  padding: 80px 40px !important;
}

.student-life .section-header {
  margin-bottom: 50px !important;
  padding: 0 20px;
}

.activities-grid {
  padding: 20px !important;
}

@media (max-width: 768px) {
  .student-life {
    padding: 60px 20px !important;
  }
  
  .activities-grid {
    padding: 10px !important;
  }
}

/* Feature List - Icon + Text Layout */
.features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.features div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.features i {
  flex-shrink: 0;
  margin-top: 0.2rem;
}


/* Placed Students Image Slider */
.placed-students-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
}

.placed-students-section .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.placed-students-section .section-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.testimonial-slider { position: relative; max-width: 800px; margin: 0 auto; min-height: 400px;
}

.testimonial-slider .slide { display: none;
}

.testimonial-slider .slide.active { display: block;
}

.testimonial-slider .slide img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-slider .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(145, 195, 76, 0.9);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.testimonial-slider .nav-btn:hover {
  background: #91c34c;
  transform: translateY(-50%) scale(1.1);
}

.testimonial-slider .prev {
  left: 20px;
}

.testimonial-slider .next {
  right: 20px;
}

@media (max-width: 768px) {
  .testimonial-slider .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .testimonial-slider .prev {
    left: 10px;
  }
  
  .testimonial-slider .next {
    right: 10px;
  }
}





/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ======================================== */

/* Base responsive adjustments */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-description {
    font-size: 1rem;
  }
}

/* Tablet and Mobile - 768px and below */
@media (max-width: 768px) {
  /* Typography */
  body {
    font-size: 14px;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.1rem; }
  
  /* Header adjustments */
  .NewHeader {
    flex-direction: column;
    padding: 10px;
    margin-left: 0 !important;
  }
  
  .col-new.Flogo img,
  .col-new.Llogo img {
    max-width: 80px;
  }
  
  .col-new.FText strong {
    font-size: 0.9rem;
  }
  
  .textbold {
    font-size: 0.75rem;
  }
  
  /* Stats section */
  .stats {
    padding: 3rem 0;
    margin-top: 0;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  /* About section */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  /* Departments */
  .departments-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Facilities */
  .facilities {
    padding: 40px 15px;
  }
  
  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .facility-card img {
    height: 200px;
  }
  
  /* Career opportunities */
  .career-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .Careers-card {
    padding: 20px 15px;
  }
  
  /* News & Events */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .news-card img {
    height: 200px;
  }
  
  /* Campus Life */
  .grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Testimonials */
  .card-container {
    gap: 15px;
  }
  
  .card {
    width: 250px;
  }
  
  /* Placed Students */
  .students-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .student-img-wrapper {
    height: 250px;
  }
  
  /* Recruiters */
  .recruiters-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .gallery-card {
    height: 250px;
  }
  
  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    width: 95%;
    margin: 5% auto;
  }
  
  /* Buttons */
  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
  
  /* Legacy section */
 
/*----Nurture photo end----*/
/* Mobile - 480px and below */
@media (max-width: 480px) {
  /* Container */
  .container {
    padding: 0 10px;
  }
  
  /* Typography */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  h4 { font-size: 1rem; }
  
  .section-title {
    font-size: 24px;
  }
  
  .section-description {
    font-size: 0.9rem;
  }
  
  /* Header */
  .col-new.Flogo img,
  .col-new.Llogo img {
    max-width: 70px;
  }
  
  .col-new.FText strong {
    font-size: 0.8rem;
  }
  
  /* Hero section */
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-description {
    font-size: 0.85rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  /* Stats */
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
  
  /* Cards */
  .department-card,
  .facility-card,
  .news-card,
  .activity-card {
    padding: 15px;
  }
  
  /* Images */
  .facility-card img,
  .news-card img,
  .gallery-card img {
    height: 180px;
  }
  
  /* Career cards */
  .Careers-card {
    padding: 15px 10px;
  }
  
  .icon {
    width: 60px;
    height: 60px;
  }
  
  .icon i {
    font-size: 24px;
  }
  
  /* Recruiters */
  .recruiters-logo-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  /* Forms */
  .hero-form {
    width: 100%;
    max-width: 100%;
  }
  
  .form-header h3 {
    font-size: 1rem;
  }
  
  .form-header p {
    font-size: 0.75rem;
  }
  
  .hero-admission-form input,
  .hero-admission-form select {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
  
  .btn-form-submit {
    font-size: 0.85rem;
    padding: 0.6rem;
  }
  
  /* Navigation dots */
  .slider-dots,
  .career-dots {
    bottom: 10px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  /* Testimonials */
  .card {
    width: 200px;
  }
  
  .card-img {
    height: 180px;
  }
  
  /* Placed students slider */
  .testimonial-slider .nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .testimonial-slider .prev {
    left: 5px;
  }
  
  .testimonial-slider .next {
    right: 5px;
  }
}

/* Extra small devices - 360px and below */
@media (max-width: 360px) {
  .section-title {
    font-size: 20px;
  }
  
  .hero-title {
    font-size: 1.3rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .icon {
    width: 50px;
    height: 50px;
  }
  
  .icon i {
    font-size: 20px;
  }
  
  .card {
    width: 180px;
  }
}

/* Landscape orientation fixes */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 40px 20px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
}

/* Fix overflow issues */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  
  .container,
  .wrap,
  .news-grid,
  .facilities-grid,
  .career-grid,
  .students-container {
    overflow-x: hidden;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  .placed-students-section {
    padding: 40px 15px;
    overflow-x: hidden;
  }
  
  .testimonial-slider {
    overflow-x: hidden;
    width: 100%;
  }
  
  .testimonial-slider .slide img {
    max-width: 100%;
    width: 100%;
  }
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .nav-link,
  .filter-btn,
  .gallery-btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* Print styles */
@media print {
  .nav,
  .hero-form,
  .slider-dots,
  .nav-btn,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
  }
  
  .container {
    max-width: 100%;
  }
}
