/* Basic Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  padding-top: 100px; /* enough space for both bars */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}
h2, h3, h4, h6 {
  font-size: 20px;
  color: #036300;
}

    a {
      text-decoration: none;
      color: rgb(0, 0, 0);
    }
  .announcement-bar {
  background: #ffefc2;
  color: #b91c1c;
  padding: 6px 20px;
  font-size: 15px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #facc15;
  /* remove fixed if it exists */
  position: static;
  top: auto;
}

    .announcement-container {
      display: flex;
      align-items: center;
      gap: 10px;
      overflow: hidden;
      white-space: nowrap;
      width: 100%;
    }
    .announcement-icon {
      width: 22px;
      height: 22px;
    }
    .announcement-label {
      font-weight: bold;
    }
    .announcement-text {
      animation: scroll-left 20s linear infinite;
    }
    @keyframes scroll-left {
      0% { transform: translateX(100%); }
      100% { transform: translateX(-100%); }
    }
.slider-section {
  width: 100%;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slider-container {
  display: flex;
  width: 100%;
  transition: transform 1s ease-in-out;
}

.slide {
  min-width: 100%;
  cursor: pointer;
}

.slide img {
  width: 100%;
  display: block;
  border-radius: 12px;
}
   .main-navbar {
  background: linear-gradient(to right, #930065, #b2348b);
  padding: 10px 24px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: static;
  top: auto;
}

    .navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
    .logo img {
      height: 45px;
      border-radius: 8px;
    }
 .nav-links {
  display: flex;
  flex: 1;
  gap: 20px;
  align-items: center;
}
.nav-links a,
.nav-links .nav-dropdown-button {
  color: white;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.nav-links a:hover,
.nav-links .nav-dropdown-button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.logo {
  order: 2; /* logo pushed to right */
  margin-left: auto;
}

.logo img {
  height: 46px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}
    .dropdown {
      position: relative;
    }
   .nav-dropdown-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
    .nav-dropdown-button:hover {
      background: white;
      color: #ffffff;
    }

    .dropdown-content {
      position: absolute;
      top: 100%;
      left: 0;
      background: #ffffff;
      color: white;
      padding: 12px;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.25);
      display: none;
      flex-direction: column;
      min-width: 220px;
      z-index: 1000;
    }
    .dropdown:hover .dropdown-content {
      display: flex;
    }

    .dropdown-submenu {
      position: relative;
      background-color: #ffffff;
    }
    .dropdown-submenu > button {
      background: none;
      color: rgb(0, 0, 26);
      border: none;
      padding: 8px;
      width: 100%;
      text-align: left;
      cursor: pointer;
      font-weight: 500;
      border-radius: 4px;
      transition: background 0.3s;
    }
    .dropdown-submenu > button:hover {
      background: #ffffff;
    }

    .dropdown-subcontent {
      position: absolute;
      left: 100%;
      top: 0;
      background: #ffffff;
      padding: 10px;
      border-radius: 6px;
      display: none;
      min-width: 200px;
      z-index: 1000;
    }
    .dropdown-submenu:hover > .dropdown-subcontent {
      display: block;
    }

    .dropdown-subcontent a {
      display: block;
      padding: 6px 10px;
      color: rgb(0, 0, 0);
      border-radius: 4px;
      transition: background 0.3s;
    }
    .dropdown-subcontent a:hover {
      background: #ffffff;
    }

    @media (max-width: 768px) {
      .nav-links {
        flex-direction: column;
        align-items: flex-start;
      }
      .dropdown-content,
      .dropdown-subcontent {
        position: static;
        background: #333;
        box-shadow: none;
        min-width: auto;
      }
    .dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  min-width: 240px;
  z-index: 2000;
  padding: 12px;
}
      .dropdown:hover .dropdown-content {
        display: flex;
      }
      .dropdown-subcontent {
        display: none;
        margin-left: 10px;
      }
      .dropdown-submenu:hover .dropdown-subcontent {
        display: flex;
        flex-direction: column;
      }
      .dropdown-submenu > button {
        padding-left: 12px;
      }
    }
/* === SECTION SPECIFIC STYLES === */
.dropdown-content .class-vi {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  margin-bottom: 10px;
  border-left: 4px solid #ffcc00;
  border-radius: 6px;
}

.dropdown-content .class-vii {
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  margin-bottom: 12px;
  border-left: 4px solid #00ccff;
  border-radius: 6px;
}

.dropdown-content .class-viii {
  background: rgba(255, 255, 255, 0.07);
  padding: 14px 18px;
  margin-bottom: 14px;
  border-left: 4px solid #99ff99;
  border-radius: 6px;
}
.dropdown-content .class-ix {
  background: rgba(255, 255, 255, 0.07);
  padding: 14px 18px;
  margin-bottom: 14px;
  border-left: 4px solid #99ff99;
  border-radius: 6px;
}
.dropdown-content .class-x {
  background: rgba(255, 255, 255, 0.07);
  padding: 14px 18px;
  margin-bottom: 14px;
  border-left: 4px solid #99ff99;
  border-radius: 6px;
}
.dropdown-content .class-xi {
  background: rgba(255, 255, 255, 0.07);
  padding: 14px 18px;
  margin-bottom: 14px;
  border-left: 4px solid #99ff99;
  border-radius: 6px;
}
.dropdown-content .class-xii {
  background: rgba(255, 255, 255, 0.07);
  padding: 14px 18px;
  margin-bottom: 14px;
  border-left: 4px solid #99ff99;
  border-radius: 6px;
}
.dropdown-content .class-xii+ {
  background: rgba(255, 255, 255, 0.07);
  padding: 14px 18px;
  margin-bottom: 14px;
  border-left: 4px solid #99ff99;
  border-radius: 6px;
}
/* Typewriter */
/* Section background */
.hero {
  background-color: #008286;
  padding: 60px 20px;
  color: white; /* Optional: makes text easier to read */
}

/* Card styling */
.anup-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;

  background-color: #008286; /* Matches section */
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.hero-content {
  max-width: 800px;
  margin: auto;
}

.anup-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.anup-image {
  width: 150px;
  height: auto;
  border-radius: 50%;
  border: 3px solid #efff11;
}

.anup-info {
  text-align: left;
}

.highlight {
  color: #e1ff00;
  font-weight: bold;
}

.collage-name {
  color: #00ffff;
  font-weight: bold;
  font-size: 16px;
  margin-top: 8px;
}

.main-heading {
  font-size: 2rem;
  color: #333;
  margin-top: 20px;
}

.typewriter-text {
  font-family: 'Courier New', Courier, monospace;
  font-size: 3rem;
  color: #00ff0a;
  border-right: 2px solid #4e003b;
  padding-right: 20px;
  white-space: nowrap;
  overflow: hidden;
}

.sub-heading {
  font-size: 1.2rem;
  margin-top: 10px;
}

#typewriter::after {
  content: '|';
  animation: blink 0.7s infinite;
}

#typewriter {
  display: inline;
  font-family: 'Courier New', monospace;
  white-space: nowrap;
}

.typewriter-cursor {
  display: inline-block;
  color: #5900ff;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

@media (max-width: 768px) {
  .typewriter-text {
    font-size: 1.4rem;
    word-break: break-word;
    padding: 0 10px;
  }
}
/* @keyframes gradientChange {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
} */
.special-course-btn {
  display: inline-block;
  margin: 20px 0;
  padding: 14px 24px;
  background: linear-gradient(45deg, #ff6a00, #ee0979);
  color: white;
  font-size: 18px;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: all 0.3s;
}
.special-course-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #ee0979, #2196f3);
}
 /* page 2  */
.learn-anup-section {
  background-color: #008286; /* Matches .anup-card */
  padding: 50px 20px;
  text-align: center;
}

  .anup-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: auto;
    background-color: #008286;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  }
  
  .anup-image {
    width: 300px;
    height: 300px;
    border-radius: 100%;
    object-fit: cover;
  }
  
  .anup-info h2 {
    font-size: 79px;
    color: #ffffff;
    margin-bottom: 12px;
  }
  
  .anup-info .highlight {
    color: #4b0983;
  }
  
  .anup-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  
  .anup-info li {
    font-size: 25px;
    color: #ffffff;
    margin-bottom: 6px;
  }
  
  .results-section {
    background-color: #7b297d;;
    padding: 80px 20px;
    text-align: center;
  }
  
  .result-card {
    max-width: 900px;
    margin: auto;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background-color: #feff00;
  }
  
  .result-image {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 30px;
  }
  
  .small-tag {
    display: inline-block;
    background-color: #ffe6ec;
    color: #ff0059;
    font-weight: bold;
    font-size: 25px;
    padding: 5px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
  }
  
  .result-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0a0909;
  }
  
  .result-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .stat-box {
    flex: 1;
    min-width: 220px;
  }
  
  .stat-box h3 {
    font-size: 80px;
    color: #000000;
    margin-bottom: 10px;
  }
  
  .stat-box p {
    font-size: 30px;
    color: #1a1818;
  }
  
  .stat-box .highlight {
    color: #004cff;
    font-weight: bold;
  }
 /* page 3   */
 .testimonial-section {
    background-color: #e7b62e;
    padding: 60px 20px;
  }
  
  .testimonial-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .testimonial-text {
    flex: 1;
    min-width: 250px;
    font-size: 20px;
    font-weight: 500;
    color: #222;
  }
  
  .testimonial-text .highlight {
    color: #000000;
    font-weight: bold;
  }
  
  .testimonial-list {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .testimonial-card {
    background: #098d7c;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    max-width: 600px;
  }
  
  .testimonial-card video {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  
  .testimonial-card p {
    font-size: 14px;
    margin: 10px 0;
    color: #a9fff8;
  }
  
  .testimonial-card strong {
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
  }
  
  .student-badge {
    font-size: 12px;
    color: #ffffff;
    font-weight: bold;
  }
/* ====== Section Base Styling ====== */
section {
  padding: 60px 20px;
  text-align: center;
}

.section-label {
  color: #FF9F00;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
}

.section-title .highlight {
  color: #CB0404;
}

/* ====== Container Grid Styling ====== */
/* COURSE / TEST SERIES CARD SECTION */
/* === Common Layout === */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-items: center;
  padding: 20px 0;
}

/* === Course & Test Cards === */
.course-card {
  background: rgba(255, 230, 0, 0.95);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 320px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.course-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.course-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
  color: #222;
  text-align: center;
}

.course-card p {
  font-size: 14px;
  color: #444;
  margin-bottom: 15px;
  text-align: center;
}

/* === Badge === */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #130081;
  color: #fff;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 2;
}

.badge.red {
  background-color: #CB0404;
}

/* === Dropdown (Renamed: course-menu) === */
.course-menu {
  position: relative;
  width: 100%;
  z-index: 10;
}

.course-menu-btn {
  background-color: #3498db;
  color: white;
  padding: 10px 16px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  width: 100%;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.course-menu-btn:hover {
  background-color: #2980b9;
}

.course-menu-content {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #fffed7;
  border: 1px solid #ccc;
  border-radius: 8px;
  z-index: 999;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.course-menu:hover .course-menu-content {
  display: block;
}

.course-menu-content a {
  display: block;
  padding: 12px 16px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.course-menu-content a:hover {
  background-color: #ffec75;
  color: #000;
}

/* === Responsive === */
@media screen and (max-width: 1024px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .card-container {
    grid-template-columns: 1fr;
  }
}
.testseries-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  padding: 50px;
  width: 279px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  position: relative;
  text-align: center;
  z-index: 1;
}

.testseries-card .badge {
  background-color: #b30000;
  color: #fff;
  font-size: 12px;
  padding: 1px 20px;
  border-radius: 20px;
  margin-bottom: 12px;
  display: inline-block;
  text-transform: uppercase;
}

.testseries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;
}

.testseries-dropdown {
  position: relative;
  width: 100%;
  z-index: 1000;
}

.testseries-dropdown-button {
  background-color: #3498db;
  color: white;
  padding: 10px 16px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  width: 100%;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.testseries-dropdown-button:hover {
  background-color: #2980b9;
  transform: scale(1.02);
}

.testseries-dropdown-content {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #fffcee, #fff6b3);
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  overflow: hidden;
}

.testseries-dropdown-content a {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.testseries-dropdown-content a:hover {
  background-color: #ffec75;
  color: #000;
}

.testseries-dropdown:hover .testseries-dropdown-content {
  display: block;
}

/* page 5    */
/* Section Style */
.study-section {
    padding: 60px 20px;
    text-align: center;
  }
  
  .section-label {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: #f94144;
    margin-bottom: 10px;
  }
  
  .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 40px;
  }
  
  .section-title .highlight {
    color: #f94144;
  }
  
  /* Card Grid */
  .material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
  }
  
  /* Material Card */
  .material-card {
    background: #008286;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(167, 0, 0, 0.08);
    padding: 20px;
    text-align: left;
    position: relative;
  }
  
  .material-card h3 {
    font-size: 30px;
    margin-top: 10px;
    color: #ffffff;
  }
  
  .material-card p {
    font-size: 20px;
    color: #ffee00;
  }
  
  .material-card a {
    color: #000000;
    font-weight: bold;
    text-decoration: none;
  }
  
  /* Icon Styles */
  .icon {
    font-size: 32px;
    margin-bottom: 10px;
  }
  .icon.blue { color: #3f51b5; }
  .icon.red { color: #e63946; }
  .icon.green { color: #2a9d8f; }
  .icon.orange { color: #f4a261; }
  
  /* Footer */
  .site-footer {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
    color: #444;
    margin-top: 60px;
  }
  
  .footer-logo {
    font-size: 24px;
    font-weight: bold;
  }
  
  .hashtag {
    margin: 8px 0;
    font-weight: 500;
    color: #1d3557;
  }
  
  .footer-links {
    margin-top: 10px;
  }
  
  .footer-links a {
    margin: 0 10px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
  }
  .footer-links a:hover {
    color: #000;
  }
  .socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
  }
  
  .social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #03dac5;
    color: black;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .social-btn img {
    width: 22px;
    height: 22px;
  }
  
  .social-btn:hover {
    background: #00bfa5;
    transform: scale(1.05);
  }
  
  .referral-btn {
    background: linear-gradient(45deg, #ff6f00, #ff9100);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.4s, transform 0.3s;
  }
  
  .referral-btn:hover {
    background: linear-gradient(45deg, #ff9100, #ff6f00);
    transform: scale(1.1);
  }
  @media screen and (max-width: 600px) {
    .hero h1 {
      font-size: 1.8rem;
    }
  
    .hero h2 {
      font-size: 1.3rem;
    }
  
    .insta-logo {
      width: 60px;
      height: 60px;
    }
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
/* Container for profile image button */
.profile-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Circular profile image */
.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e85d04; /* Matches your theme */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

/* Hover effect */
.profile-icon:hover {
  transform: scale(1.1);
}
/* style.css */
.course-detail {
  background: #fff8dc;
  padding: 40px;
  max-width: 600px;
  margin: 50px auto;
  border-radius: 15px;
  text-align: center;
}

.subscribe-button {
  background-color: #e85d04;
  border: none;
  padding: 12px 30px;
  color: white;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
}
body {
  font-family: Arial, sans-serif;
  background: #fff8e1;
  margin: 0;
  padding: 0;
}

.form-container {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

h2 {
  text-align: center;
  color: #ffffff;
}

input, select, button {
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

button {
  background: #e85d04;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

button:hover {
  background: #c44d02;
}

.payment-options a {
  display: inline-block;
  margin: 10px;
  padding: 10px 15px;
  background: #f2f2f2;
  border-radius: 6px;
  text-decoration: none;
  color: #222;
  font-weight: bold;
}
/* ========== FIX: Padding bug in navbar ========== */
.navbar {
  padding: 25px 26px; /* Fixed: previously had -1px which is invalid */
}

/* ========== Responsive Layout Adjustments ========== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #101820;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    z-index: 99;
  }

  .nav-links.open {
    max-height: 400px; /* allow room for links */
    padding: 10px 20px;
  }

  .nav-links a {
    padding: 10px 20px;
    width: 100%;
    display: block;
  }

  .hamburger {
    display: block;
  }

  /* Hero adjustments */
  .hero {
    padding: 80px 20px;
  }

  .anup-card {
    flex-direction: column;
    text-align: center;
  }

  .anup-info {
    text-align: center;
  }

  .main-heading, .typewriter-text {
    font-size: 1.5rem;
  }

  .sub-heading {
    font-size: 1rem;
  }
}

/* ========== Tablets ========== */
@media (max-width: 1024px) {
  .nav-links a {
    padding: 8px 20px;
  }

  .anup-image {
    width: 120px;
  }

  .main-heading {
    font-size: 1.8rem;
  }

  .typewriter-text {
    font-size: 1.6rem;
  }
}
/* === Student Highlight Section === */
.student-highlight-section {
  background-color: #008286;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden; /* Important to hide overflow */
}

.highlight-title {
  font-size: 36px;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: bold;
}

.highlight-carousel {
  display: flex;
  gap: 20px;
  animation: scroll 60s linear infinite;
}

.highlight-carousel:hover {
  animation-play-state: paused; /* Optional: Pause when user hovers */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.highlight-card {
  flex: 0 0 auto;
  width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: scale(1.05);
}

.highlight-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.highlight-details {
  padding: 16px;
}

.highlight-name {
  font-size: 22px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 6px;
}

.highlight-rank {
  font-size: 18px;
  color: #d35400;
  margin-bottom: 4px;
}

.highlight-year {
  font-size: 16px;
  color: #555;
  margin-bottom: 12px;
}

.highlight-note img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

