@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
  --azure: #0e74bc;
  --warm-orange: #e09f3e;
  --cyan-blue: #00609e;
  --dark: #0f0f0f;
  --gray: #d3d3d3;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

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

/* ===== STICKY TAB ===== */
.sticky-update-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1a365d;
  color: white;
  padding: 15px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: all 0.3s ease;
  cursor: pointer;
}

.sticky-update-tab span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sticky-update-tab i {
  font-size: 18px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #38a169;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #38a169;
  border-radius: 50%;
  z-index: -1;
  animation: stickyPulse 2s infinite;
}

@keyframes stickyPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(3);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.sticky-update-tab:hover {
  padding-right: 20px;
  background-color: #2d3748;
}

@media (max-width: 480px) {
  .sticky-update-tab {
    padding: 10px 8px;
  }
  .sticky-update-tab span {
    display: none;
  }
}

/* ===== HEADER ===== */
.header-top {
  padding: 15px 0;
  background: #fff;
  text-align: center;
}

.header-top .logo-centered p {
  text-align: center;
  font-weight: 600;
  color: var(--cyan-blue);
}

.school-logo-img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.header-bottom {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 5px 0;
}

.nav-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
}

.desktop-only {
  display: none !important;
}

/* ===== NAVIGATION ===== */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 17px;
  font-weight: 700;
  padding: 10px 15px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--warm-orange);
}

.nav-divider {
  width: 1px;
  height: 18px;
  background-color: #e0e0e0;
  margin: 0;
}

.hamburger-menu {
  font-size: 22px;
  cursor: pointer;
  display: none;
}

.nav-right-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 150px;
}

.admission-btn {
  background-color: var(--cyan-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    0.5s ease-out,
    background-color 0.5s ease-out;
}

.admission-btn:hover {
  background-color: var(--warm-orange);
}

/* ===== DROPDOWN ===== */
.nav-menu li.dropdown {
  position: relative;
}

.nav-menu li.dropdown .fa-chevron-down {
  font-size: 10px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 200px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
  border-top: 3px solid #f9c74f;
  padding: 10px 0;
  z-index: 9999;
  list-style: none;
  margin: 0;
  border-radius: 0 0 5px 5px;
}

.dropdown-content li {
  width: 100%;
  padding: 0;
}

.dropdown-content li a {
  color: #333 !important;
  padding: 12px 20px;
  display: block;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: left;
}

.dropdown-content li a:hover {
  background-color: #f8f9fa;
  color: #003366 !important;
  padding-left: 25px;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeInDown 0.3s ease;
}

.dropdown:hover .fa-chevron-down {
  transform: rotate(180deg);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    background: #f1f1f1;
    padding-left: 20px;
  }
  .dropdown.active .dropdown-content {
    display: block;
  }
}

/* ===== HERO SLIDER ===== */
.hero-viewport {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  background-color: #000;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

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

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

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

.dot.active {
  background: #ffcc00;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero-viewport {
    height: 100vw;
    min-height: 320px;
    max-height: 520px;
  }
  .hero-slider {
    height: 100%;
  }
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .dot {
    width: 8px;
    height: 8px;
  }
}

/* ===== HOME ABOUT SECTION ===== */
.home-about-split-section {
  padding: 100px 0;
  background: #fff;
}

.home-about-row {
  display: flex;
  gap: 60px;
  align-items: center;
}

.home-about-image {
  flex: 0 0 45%;
}

.home-about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.home-about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-about-label {
  display: inline-block;
  color: var(--warm-orange);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.home-about-heading {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.home-about-intro {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
}

.home-about-cta {
  display: inline-block;
  padding: 12px 32px;
  background: var(--cyan-blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.home-about-cta:hover {
  background: var(--warm-orange);
  color: #000;
}

@media (max-width: 900px) {
  .home-about-row {
    flex-direction: column;
    gap: 36px;
  }
  .home-about-image {
    flex: none;
    width: 100%;
  }
  .home-about-image img {
    height: 280px;
  }
}

/* ===== NEWS SECTION ===== */
.revamped-news-section {
  padding: 100px 0;
  background-color: rgba(211, 211, 211, 0.2);
}

.news-flex-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
}

.news-left-content {
  flex: 0 0 38%;
}

.follow-social-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.follow-icon.linkedin {
  grid-column: span 2;
}

.follow-icon {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.follow-icon:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.follow-icon i {
  font-size: 18px;
  width: 22px;
  text-align: center;
}

.follow-icon.facebook {
  background: #1877f2;
}
.follow-icon.instagram {
  background: linear-gradient(
    135deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}
.follow-icon.youtube {
  background: #ff0000;
}
.follow-icon.whatsapp {
  background: #25d366;
}
.follow-icon.linkedin {
  background: #0a66c2;
}

.news-right-heading {
  margin-bottom: 20px;
}

.news-sub {
  color: var(--warm-orange);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2.5px;
  display: block;
  margin-bottom: 15px;
}

.news-title {
  font-size: 35px;
  color: var(--dark);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
}

.news-para {
  color: var(--dark);
  font-size: 16px;
  line-height: 1.4;
}

.news-right-component {
  flex: 1;
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  height: auto;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}

.news-category-pills {
  display: flex;
  background-color: #f7fafc;
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.pill-btn {
  flex: 1;
  padding: 12px;
  border: none;
  background: none;
  font-weight: 700;
  color: #718096;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
}

.pill-btn.active {
  background-color: #1a365d;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
}

.news-feed-container {
  flex: 1;
  overflow-y: auto;
  padding-right: 15px;
  max-height: 450px;
}

.news-feed-container::-webkit-scrollbar {
  width: 5px;
}
.news-feed-container::-webkit-scrollbar-track {
  background: transparent;
}
.news-feed-container::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 10px;
}

.news-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  border-radius: 16px;
  background: #fcfcfc;
  border: 1px solid #f1f1f1;
  margin-bottom: 20px;
  transition: 0.3s;
}

.news-card:hover {
  border-color: #1a365d;
  transform: translateY(-3px);
}

.card-meta {
  font-size: 11px;
  font-weight: 800;
  color: #a0aec0;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 19px;
  color: #1a365d;
  margin-bottom: 8px;
  font-weight: 700;
}

.news-card p {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.5;
}

.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.apply-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--warm-orange);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.apply-link i {
  font-size: 15px;
  transition: transform 0.3s ease;
}
.apply-link:hover {
  color: var(--cyan-blue);
}
.apply-link:hover i {
  transform: translate(3px, -3px);
}

/* NEW badge on advertisement cards */
.news-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.news-card-top-row .card-meta {
  margin-bottom: 0;
}

.new-badge {
  display: inline-block;
  background: linear-gradient(135deg, #e53e3e, #fc8181);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(229, 62, 62, 0.35);
  animation: pulse-badge 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-badge {
  0%,
  100% {
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.35);
  }
  50% {
    box-shadow: 0 2px 16px rgba(229, 62, 62, 0.65);
  }
}

.news-card--highlight {
  border-left: 3px solid #e53e3e;
  background: #fff9f9;
}

@media (max-width: 992px) {
  .news-flex-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  .news-left-content {
    width: 100%;
    text-align: center;
  }
}

/* ===== SERVICES SECTION ===== */
.services-ui-section {
  padding: 100px 0 120px 0;
  background-color: #fff;
  color: #1a202c;
}

.s-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s-sub {
  display: block;
  color: var(--warm-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 10px;
  text-align: center;
}

.s-title {
  font-size: 35px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
  text-align: center;
}

.s-desc {
  font-size: 18px;
  color: var(--dark);
  max-width: 650px;
  margin: 0 0 30px 0;
  line-height: 1.4;
  text-align: center;
}

.s-grid {
  display: grid;
  grid-template-columns: 1fr 280px 1fr;
  gap: 0;
  align-items: center;
  margin-top: 20px;
}

.s-col {
  padding: 40px 30px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.s-edu-bg {
  background: #f0f7ff;
  border: 1px solid #c3dafe;
  margin-right: 24px;
}

.s-found-bg {
  background: #f0fff4;
  border: 1px solid #c6f6d5;
  margin-left: 24px;
}

.s-col-head {
  text-align: center;
  margin-bottom: 25px;
  flex-shrink: 0;
}

.s-col-head h2 {
  font-size: 22px;
  color: #2d3748;
  font-weight: 700;
  margin-top: 15px;
}

.main-i-blue {
  font-size: 45px;
  color: var(--cyan-blue);
}
.main-i-green {
  font-size: 45px;
  color: var(--warm-orange);
}

.s-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.card-i-blue {
  color: var(--cyan-blue);
  font-size: 18px;
  margin-top: 3px;
}
.card-i-green {
  color: var(--warm-orange);
  font-size: 18px;
  margin-top: 3px;
}

.card-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #2d3748;
  font-weight: 600;
}
.card-info p {
  font-size: 13px;
  color: #718096;
  line-height: 1.5;
}

/* Center contact card */
.s-center-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.contact-card-center {
  background: #fff;
  border-radius: 20px;
  border: 2px solid #e09f3e;
  padding: 28px 22px;
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.org-badge-pill {
  background: #0b0b0b;
  color: #e09f3e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
}

.org-initials-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e09f3e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 22px;
  font-weight: 900;
  color: #000;
}

.org-card-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f0f0f;
}
.org-card-sub {
  font-size: 11px;
  color: #718096;
  margin-bottom: 12px;
}
.card-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 10px 0;
}

.cinfo-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  text-align: left;
  justify-content: center;
}

.cinfo-row i {
  color: #e09f3e;
  font-size: 12px;
  margin-top: 2px;
}
.cinfo-row span {
  font-size: 11px;
  color: #4a5568;
  line-height: 1.4;
}

.contact-cta-btn {
  display: inline-block;
  margin-top: 12px;
  background: #00609e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
}

.contact-cta-btn:hover {
  background: #e09f3e;
  color: #000;
}

@media (max-width: 992px) {
  .s-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
  }
  .s-edu-bg {
    margin-right: 0;
    order: 1;
  }
  .s-found-bg {
    margin-left: 0;
    order: 2;
  }
  .s-center-wrap {
    order: 3;
  }
}

/* ===== ADMISSIONS SECTION ===== */
.stepper-section {
  padding: 80px 0;
  background: #0b0b0b;
  color: #ffffff;
  width: 100%;
}

.stepper-title {
  font-size: 35px;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  letter-spacing: -1px;
}

.stepper-para {
  font-size: 16px;
  color: var(--white);
  text-align: center;
  margin-bottom: 50px;
  margin-top: 10px;
}

.highlight-boxes-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.highlight-box {
  background: #1a1a1a;
  border: 1px solid rgba(211, 211, 211, 0.2);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
  overflow: hidden;
}

.highlight-box:hover {
  border-color: var(--warm-orange);
  transform: translateY(-4px);
}

.highlight-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.highlight-box h3 {
  font-size: 18px;
  color: var(--white);
  line-height: 1.5;
  margin-top: 5px;
  margin-bottom: -10px;
}

.highlight-box p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.5;
  flex: 1;
}

.highlight-enquire-btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--warm-orange);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  margin-top: 10px;
}

.highlight-enquire-btn:hover {
  background: #fff;
  color: #000;
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .highlight-boxes-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .highlight-boxes-row {
    grid-template-columns: 1fr;
  }
  .stepper-title {
    font-size: 26px;
  }
}

/* ===== FAQ ===== */
.faq-section {
  padding: 80px 0 100px 0;
  background-color: var(--white);
}

.section-heading {
  font-size: 40px;
  color: var(--dark);
  margin-bottom: 40px;
  font-weight: 800;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-btn {
  font-family: "DM Sans", sans-serif;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: white;
  border: 1px solid #eee;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #003366;
  text-align: left;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease-out,
    padding 0.3s ease;
  padding: 0 20px;
  background: #f9f9f9;
}

.faq-item.active .faq-content {
  max-height: 500px;
  padding: 20px;
  border: 1px solid #eee;
  border-top: none;
}

.faq-item.active .fa-chevron-down {
  transform: rotate(180deg);
  transition: 0.3s;
}

.faq-content ul {
  list-style-position: inside;
  padding-left: 0;
  margin-top: 10px;
}

.faq-content li {
  margin-bottom: 8px;
  line-height: 1.5;
  display: list-item;
}

@media (max-width: 480px) {
  .section-heading {
    font-size: 30px;
    margin-bottom: 25px;
  }
  .faq-section {
    padding: 70px 0;
  }
}

/* ===== FOOTER ===== */
.main-footer {
  background-color: var(--cyan-blue);
  color: var(--white);
  padding: 80px 0 40px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px; /* ADD this */
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 25px;
  color: var(--white);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--white);
  opacity: 0.8;
}

.footer-links,
.contact-list {
  list-style: none;
}

.link-header,
.footer-links {
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-links li a {
  text-decoration: none;
  color: var(--white);
  transition: 0.3s;
  font-family: "DM Sans", sans-serif;
  opacity: 0.8;
  position: relative;
}

.footer-links li a:hover {
  opacity: 1;
  padding-left: 2px;
  color: var(--warm-orange);
}

.footer-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--warm-orange);
  transition: width 0.3s ease;
}

.footer-links li a:hover::after {
  width: 100%;
}

.footer-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  padding-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
}
.contact-list li i {
  font-size: 16px;
  min-width: 20px;
  margin-right: 5px;
  text-align: center;
  color: var(--warm-orange);
}

.contact-text {
  color: #d1d1d1;
  font-size: 14px;
  line-height: 1;
}
.contact-text a {
  display: block;
  color: #d1d1d1;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-bottom: 5px;
}
.contact-text a:hover {
  color: var(--warm-orange);
}
.emails {
  margin-top: 0px;
}

.contact-list li .emails {
  display: flex;
  align-items: flex-start;
  gap: 8px; /* ADD gap so icon and text don't overlap */
}

.org-name {
  display: block;
  color: #ffffff;
  font-weight: 700;
}
.org-name p {
  margin: 0;
}
.school-addr {
  font-size: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-box {
  background-color: #ffffff; /* CHANGE from lightgray */
  border-radius: 20px;
  padding: 35px 45px;
  color: var(--dark);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.logo-square {
  background: var(--dark);
  color: var(--warm-orange);
  padding: 8px;
  border-radius: 6px;
  margin-right: 10px;
  font-size: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.cta-nav {
  display: flex;
}
.cta-nav .nav-link {
  color: var(--dark);
  text-decoration: none;
  margin-left: 25px;
  font-size: 16px;
  font-weight: 600;
  position: relative;
}

.cta-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--warm-orange);
  transition: width 0.3s ease;
}
.cta-nav .nav-link:hover::after {
  width: 100%;
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(15, 15, 15, 0.15);
  margin: 25px 0;
}
.site-url {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.copyright {
  font-size: 13px;
}

.social-icons {
  display: flex;
  gap: 20px;
}
.cta-bottom .social-icons a {
  color: var(--cyan-blue);
  background: #f1f1f1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex; /* Already fixes baseline gap */
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1; /* ADD this as extra safety */
  transition: background 0.3s;
  text-decoration: none;
}
.cta-bottom .social-icons a i {
  display: block; /* ADD this — prevents icon itself from creating baseline */
  line-height: 1;
}
.cta-bottom .social-icons a:hover {
  background: var(--warm-orange);
  color: #fff;
}

/* FIX 5: Missing flex-between utility class */
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 992px) {
  .link-header,
  .footer-links {
    padding-left: 0;
  }
  .footer-cta-box {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 60px 0 30px 0;
  }
  .footer-col,
  .link-header,
  .footer-links,
  .contact-list {
    text-align: center;
  }
  .contact-list li {
    display: block;
    justify-content: center;
  }
  .footer-grid {
    gap: 30px;
    margin-bottom: 40px;
  }
  .cta-nav {
    flex-wrap: wrap;
    gap: 15px;
  }
  .cta-nav .nav-link {
    margin-left: 0;
    margin-right: 15px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-cta-box {
    padding: 25px 20px;
  }
  .cta-nav {
    flex-direction: column;
    align-items: center;
  }
  .cta-nav .nav-link {
    margin-right: 0;
  }
  .site-url {
    font-size: 14px;
  }
  .contact-list li .emails {
    display: block;
  }
  .emails {
    margin-top: 20px;
  }
}

/* ===== POPUP ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s ease-in-out;
  padding: 0;
}

.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

.styled-card {
  background: #ffffff;
  width: 440px;
  max-height: 80vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.card-image-wrap {
  width: 100%;
  height: 270px;
  overflow: hidden;
}
.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 40px 30px;
}
.card-category {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.card-main-title {
  font-family: "DM Sans", sans-serif;
  color: var(--cyan-blue);
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.card-location-text {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}

@media (max-width: 992px) {
  .popup-overlay {
    padding: 0 20px;
  }
}

/* ===== FLOATING BUTTONS ===== */
.fixed-contact-left {
  position: fixed;
  bottom: 30px;
  left: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.btn-float {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  text-decoration: none;
}

.btn-float.whatsapp {
  background-color: var(--warm-orange);
}
.btn-float.call {
  background-color: var(--cyan-blue);
}
.btn-float:hover {
  transform: scale(1.1);
  color: white;
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 25px;
  width: 50px;
  height: 50px;
  background-color: #f9c74f;
  color: #003366;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}
.scroll-top-btn:hover {
  background-color: #003366;
  color: white;
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .btn-float {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  .scroll-top-btn {
    width: 45px;
    height: 45px;
  }
}

/* ===== NAV RESPONSIVE ===== */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }
  .nav-menu.active {
    display: flex;
  }
  .hamburger-menu {
    display: block;
  }
  .nav-divider {
    display: none;
  }
  .nav-right-side {
    display: flex;
    justify-content: space-between;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .school-logo-img {
    height: 50px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stepper-section {
    padding: 70px 0;
  }
  .footer-cta-box {
    padding: 20px;
  }
}

/* ===== FOOTER MOBILE FIX ===== */
@media (max-width: 600px) {
  /* Stack logo and nav vertically */
  .cta-top.flex-between {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Nav links stacked vertically, centered */
  .cta-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .cta-nav .nav-link {
    margin-left: 0;
    margin-right: 0;
  }

  /* Stack copyright / site url / icons vertically */
  .cta-bottom.flex-between {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  /* Center social icons */
  .cta-bottom .social-icons {
    justify-content: center;
  }

  /* Center footer logo */
  .footer-logo {
    justify-content: center;
  }
}

/* ===== FOOTER MOBILE FIX ===== */
@media (max-width: 600px) {
  /* Stack logo and nav vertically */
  .cta-top.flex-between {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Nav links stacked vertically, centered */
  .cta-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .cta-nav .nav-link {
    margin-left: 0;
    margin-right: 0;
  }

  /* Stack copyright / site url / icons vertically */
  .cta-bottom.flex-between {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  /* Center social icons */
  .cta-bottom .social-icons {
    justify-content: center;
  }

  /* Center footer logo */
  .footer-logo {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-right-side {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    gap: 12px; /* CHANGE from 240px */
    flex: 1 !important;
  }
  .admission-btn {
    order: 1;
    padding: 8px 16px;
    font-size: 14px;
  }
  .hamburger-menu {
    order: 2;
    font-size: 22px;
    cursor: pointer;
    color: var(--cyan-blue);
  }
}

/* ============================================================
   COMPREHENSIVE MOBILE FIXES — index.php all sections
   ============================================================ */

/* --- Global container padding on small screens --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ===== HERO SLIDER ===== */
@media (max-width: 480px) {
  .hero-viewport {
    height: 56vw;
    min-height: 200px;
    max-height: 300px;
  }
  .slider-dots {
    bottom: 14px;
    gap: 10px;
  }
  .dot {
    width: 8px;
    height: 8px;
  }
}

/* ===== ABOUT SECTION ===== */
@media (max-width: 600px) {
  .home-about-split-section {
    padding: 50px 0;
  }
  .home-about-row {
    flex-direction: column;
    gap: 24px;
  }
  .home-about-image {
    flex: none;
    width: 100%;
  }
  .home-about-image img {
    height: 220px;
    border-radius: 14px;
  }
  .home-about-heading {
    font-size: 24px;
  }
  .home-about-intro {
    font-size: 14px;
  }
  .home-about-cta {
    width: 100%;
    text-align: center;
  }
}

/* ===== NEWS SECTION ===== */
@media (max-width: 768px) {
  .revamped-news-section {
    padding: 50px 0;
  }
  .news-flex-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .news-left-content {
    flex: none;
    width: 100%;
    text-align: center;
    order: 2;
  }
  .follow-social-icons {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
  }
  .follow-icon.linkedin {
    grid-column: span 2;
  }
  .news-right-component {
    width: 100%;
    padding: 20px 16px;
    border-radius: 16px;
  }
  .news-title {
    font-size: 26px;
  }
  .news-feed-container {
    max-height: none;
    padding-right: 0;
  }
  .news-card {
    padding: 18px;
  }
  .pill-btn {
    padding: 10px 6px;
    font-size: 13px;
  }
}

/* ===== SERVICES SECTION ===== */
@media (max-width: 768px) {
  .services-ui-section {
    padding: 50px 0 60px 0;
  }
  .s-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .s-edu-bg,
  .s-found-bg {
    margin: 0;
    width: 100%;
  }
  .s-col {
    padding: 24px 16px;
    border-radius: 14px;
  }
  .s-center-wrap {
    order: 3; /* contact card goes below both service boxes on mobile */
  }
  .contact-card-center {
    width: 100%;
    max-width: 100%;
    padding: 22px 16px;
    border-radius: 16px;
  }
  .s-title {
    font-size: 26px;
  }
  .s-desc {
    font-size: 15px;
    padding: 0 4px;
  }
  .s-card {
    padding: 14px;
    gap: 12px;
  }
}

/* ===== ADMISSIONS SECTION ===== */
@media (max-width: 768px) {
  .stepper-section {
    padding: 50px 0;
  }
  .stepper-title {
    font-size: 26px;
  }
  .stepper-para {
    margin-bottom: 30px;
    font-size: 14px;
  }
  .highlight-boxes-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .highlight-box {
    padding: 16px 12px;
    gap: 10px;
    border-radius: 12px;
  }
  .highlight-img {
    height: 120px;
    border-radius: 8px;
  }
  .highlight-box h3 {
    font-size: 15px;
    margin-bottom: -4px;
  }
  .highlight-box p {
    font-size: 12px;
    line-height: 1.4;
  }
  .highlight-enquire-btn {
    padding: 8px 18px;
    font-size: 12px;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .highlight-boxes-row {
    grid-template-columns: 1fr;
  }
  .highlight-img {
    height: 150px;
  }
}

/* ===== FAQ SECTION ===== */
@media (max-width: 600px) {
  .faq-section {
    padding: 50px 0 60px 0;
  }
  .section-heading {
    font-size: 26px;
    margin-bottom: 24px;
  }
  .faq-btn {
    font-size: 14px;
    padding: 16px 14px;
    gap: 10px;
  }
  .faq-content p,
  .faq-content li {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* ===== PREVENT ANY HORIZONTAL OVERFLOW ===== */
@media (max-width: 600px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
  section {
    overflow-x: hidden;
  }
  img {
    max-width: 100%;
    height: auto;
  }
}

/* ===== ABOUT SECTION — MOBILE LAYOUT ===== */

/* Hide mobile-only image on desktop */
.home-about-mobile-img2 {
  display: none;
}

@media (max-width: 600px) {
  /* Hide the original left-column image on mobile */
  .home-about-image {
    display: none;
  }

  /* Stack content vertically */
  .home-about-row {
    flex-direction: column;
    gap: 0;
  }

  /* Show mobile-only image: after heading, before paragraphs */
  .home-about-mobile-img2 {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin: 0 0 18px 0;
  }

  .home-about-content {
    gap: 0;
  }

  .home-about-label {
    margin-bottom: 0;
  }

  .home-about-heading {
    font-size: 22px;
    margin-bottom: 10px;
  }
}
