:root {
  --primary: #ffffff;
  --secondary: #2a52e8;
  --dark: #111827;
  --text: #4b5563;
  --muted: #6b7280;
  --border: #d5d9e5;

  --max-width: 1440px;
  --section-padding-x: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--primary);
  overflow-x: hidden !important;
}

a {
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--section-padding-x);
  padding-right: var(--section-padding-x);
}

/* Header */

.site-header {
  width: 100%;
  background: var(--primary);
  height: 78px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 50;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 42px;
}

.desktop-nav a {
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
}

.nav-btn {
  background: var(--secondary);
  color: #fff !important;
  padding: 16px 28px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(42, 82, 232, 0.25);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 28px;
  cursor: pointer;
}

/* Mobile Menu */

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 40;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.mobile-menu a {
  display: block;
  margin-bottom: 18px;
  color: var(--dark);
  font-weight: 700;
}

/* Hero */

.hero-section {
  position: relative;
  min-height: calc(100vh - 78px);
  background-image: url("assets/hero_bg.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.55) 48%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.hero-content {
  color: #fff;
  animation: fadeUp 0.8s ease forwards;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 15px 26px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  font-size: 12px;
  /* font-weight: 800; */
  letter-spacing: 0.8px;
  margin-bottom: 34px;
}

.flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
}

.hero-content h1 {
  max-width: 710px;
  font-size: clamp(25px, 5vw, 50px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 32px;
}
.hero-content h1 span {
  font-weight: 900;
  /* color: var(--secondary); */
}

.hero-text {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.point {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
}

.point-icon {
  width: 30px;
  height: 30px;
  background: rgba(42, 82, 232, 0.85);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
}

.desktop-contact-buttons {
  display: flex;
  gap: 14px;
  margin: 22px 0 30px;
}

.contact-btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  color: #fff;
  transition: 0.25s ease;
}

.whatsapp-btn {
  background: #25d366;
}

.call-btn {
  background: var(--secondary);
}

.contact-btn:hover {
  transform: translateY(-3px);
}

.student-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars img,
.avatars span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
}

.avatars img:first-child {
  margin-left: 0;
}

.avatars span {
  background: var(--secondary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}

.student-proof p {
  font-size: 15px;
  font-weight: 600;
}

/* Form */

.hero-form-wrapper {
  max-width: 500px;
  width: 100%;
  margin-left: auto;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  animation: fadeIn 0.9s ease forwards;
}
.form-success {
  background: rgba(37, 211, 102, 0.12);
  color: #128c3a;
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.form-top {
  background: var(--secondary);
  color: #fff;
  padding: 26px 30px;
}

.form-top h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-top p {
  font-size: 15px;
  font-weight: 700;
}

.hero-form {
  padding: 30px;
}

.hero-form input,
.hero-form select {
  width: 100%;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 20px;
  margin-bottom: 18px;
  font-size: 16px;
  color: var(--dark);
  outline: none;
}

.hero-form input:focus,
.hero-form select:focus {
  border-color: var(--secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hero-form button {
  width: 100%;
  height: 62px;
  border: none;
  border-radius: 8px;
  background: var(--secondary);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(42, 82, 232, 0.3);
  transition: 0.25s ease;
}

.hero-form button:hover {
  transform: translateY(-2px);
}

/* Animations */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(35px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* counter section  */

.counter-section {
  /* background: var(--secondary); */
  padding: 20px 0 55px;
}

.counter-box {
  background: var(--secondary);
  padding: 42px 40px;
  display: grid;
  border-radius: 20px;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.counter-item {
  text-align: center;
}

.counter-item h3 {
  color: var(--primary);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1;
  font-weight: 400;
  margin-bottom: 18px;
}

.counter-item h3 small {
  font-size: 54%;
  font-weight: 500;
  margin-left: 4px;
}

.counter-item p {
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Tablet */
@media (max-width: 991px) {
  .counter-box {
    grid-template-columns: repeat(2, 1fr);
    padding: 36px 24px;
    gap: 36px 20px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .counter-section {
    padding-bottom: 40px;
  }

  .counter-box {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 16px;
    gap: 30px 12px;
  }

  .counter-item h3 {
    font-size: 42px;
    margin-bottom: 12px;
  }

  .counter-item p {
    font-size: 12px;
  }
}

/* ===========================
   WHY SIO SECTION
=========================== */

.why-sio-section {
  padding: 80px 0;
  background: var(--primary);
  overflow: hidden;
}

.why-sio-heading {
  text-align: center;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 70px;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

/* ===========================
   DESKTOP TIMELINE (Horizontal)
=========================== */

.timeline-desktop {
  display: block;
}

.timeline-mobile {
  display: none;
}

.timeline-track {
  display: flex;
  align-items: stretch; /* changed from center */
  position: relative;
  min-height: 420px; /* fixed total height */
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--secondary) 5%,
    var(--secondary) 95%,
    transparent
  );
  transform: translateY(-50%);
  z-index: 0;
}

.timeline-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 10px solid var(--secondary);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.timeline-item {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto 1fr; /* top-space | dot | bottom-space */
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Dot */
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 3px var(--secondary);
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 5px rgba(42, 82, 232, 0.25);
}

/* Card Top — sits in row 1 (above dot) */
.card-top {
  grid-row: 1;
  align-self: end; /* sticks to the dot from above */
  margin-bottom: 30px;
}

.timeline-spacer {
  grid-row: 1;
}

/* Card Bottom — sits in row 3 (below dot) */
.card-bottom {
  grid-row: 3;
  align-self: start; /* sticks to the dot from below */
  margin-top: 30px;
}
/* Connector line between card and dot */
.timeline-card {
  background: var(--primary);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 20px 16px;
  width: 100%;
  max-width: 260px;
  text-align: center;
  position: relative;
  transition:
    transform 0.35s ease,
    border-color 0.3s ease,
    box-shadow 0.35s ease;
  cursor: default;
}

.timeline-card::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--border);
  transition: background 0.3s ease;
}

.card-top::after {
  bottom: -30px;
  height: 30px;
}

.card-bottom::after {
  top: -30px;
  height: 30px;
}

.timeline-item:hover .timeline-card {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: 0 8px 30px rgba(42, 82, 232, 0.12);
}

.timeline-item:hover .card-bottom {
  transform: translateY(6px);
}

.timeline-item:hover .timeline-card::after {
  background: var(--secondary);
}

.card-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
  transition: transform 0.3s ease;
}

.timeline-item:hover .card-icon {
  transform: scale(1.15);
}

.timeline-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.timeline-card p {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

/* Animate cards on load */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dotPop {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.timeline-item .card-top {
  opacity: 0;
  animation: fadeSlideDown 0.5s ease forwards;
}

.timeline-item .card-bottom {
  opacity: 0;
  animation: fadeSlideUp 0.5s ease forwards;
}
/* Dot — always in row 2 (the middle) */
.timeline-dot {
  grid-row: 2;
  justify-self: center;
}

.timeline-item {
  opacity: 0;
  animation: dotPop 0.4s ease forwards;
}

.timeline-item[data-index="1"] .card-top,
.timeline-item[data-index="1"] .timeline-dot {
  animation-delay: 0.1s;
}
.timeline-item[data-index="2"] .card-bottom,
.timeline-item[data-index="2"] .timeline-dot {
  animation-delay: 0.2s;
}
.timeline-item[data-index="3"] .card-top,
.timeline-item[data-index="3"] .timeline-dot {
  animation-delay: 0.3s;
}
.timeline-item[data-index="4"] .card-bottom,
.timeline-item[data-index="4"] .timeline-dot {
  animation-delay: 0.4s;
}
.timeline-item[data-index="5"] .card-top,
.timeline-item[data-index="5"] .timeline-dot {
  animation-delay: 0.5s;
}
.timeline-item[data-index="6"] .card-bottom,
.timeline-item[data-index="6"] .timeline-dot {
  animation-delay: 0.6s;
}

/* Animate line on load */
@keyframes lineGrow {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.timeline-line {
  animation: lineGrow 0.8s ease forwards;
}

/* Why Study in UK */

.why-uk-section {
  background: #ffffff;
  padding: 0px;
}

.why-uk-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.why-uk-image {
  /* height: 520px; */
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(42, 82, 232, 0.14);
}

.why-uk-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-uk-content {
  background: rgba(42, 82, 232, 0.04);
  border: 1px solid rgba(42, 82, 232, 0.1);
  border-radius: 24px;
  padding: 50px;
}

.section-label {
  display: inline-block;
  background: rgba(42, 82, 232, 0.09);
  color: var(--secondary);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.why-uk-content h2 {
  color: var(--dark);
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.12;
  margin-bottom: 14px;
}

.why-uk-subtitle {
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 34px;
  max-width: 650px;
}

.why-uk-list {
  display: grid;
  gap: 22px;
}

.why-uk-point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: flex-start;
}

.why-uk-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(42, 82, 232, 0.1);
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.why-uk-point h3 {
  color: var(--dark);
  font-size: 18px;
  margin-bottom: 6px;
}

.why-uk-point p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

/* Responsive */

@media (max-width: 991px) {
  .why-uk-section {
    padding: 70px 0;
  }

  .why-uk-container {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .why-uk-image {
    height: 420px;
  }

  .why-uk-content {
    padding: 38px;
  }
}

@media (max-width: 575px) {
  .why-uk-section {
    padding: 55px 0;
  }

  .why-uk-image {
    height: 340px;
    border-radius: 18px;
  }

  .why-uk-content {
    padding: 28px 12px;
    border-radius: 18px;
  }

  .why-uk-content h2 {
    font-size: 30px;
  }

  .why-uk-subtitle {
    font-size: 15px;
  }

  .why-uk-point {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .why-uk-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .why-uk-point h3 {
    font-size: 16px;
  }

  .why-uk-point p {
    font-size: 14px;
  }
}

/* NEW UNIVERSITY LOGO SECTION */

/* UNIVERSITY SECTION FIX */

.university-section {
  background: #ffffff;
  padding: 80px 0;
  overflow: visible;
}

.university-heading {
  text-align: center;
  margin-bottom: 55px;
}

.university-heading h2 {
  max-width: 1100px;
  margin: 0 auto 12px;
  color: var(--secondary);
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.22;
  font-weight: 700;
}

.university-heading p {
  color: var(--dark);
  font-size: clamp(16px, 1.8vw, 26px);
  line-height: 1.35;
}

.university-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  align-items: start;
}

.university-logo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: none;
  overflow: hidden;
  cursor: pointer;
}

.flip-logo {
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s ease;
}

.flip-logo:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  background: #ffffff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-back {
  transform: rotateY(180deg);
}

.flip-front img,
.flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Laptop / tablet */
@media (max-width: 1199px) {
  .university-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .university-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .university-section {
    padding: 55px 0;
  }

  .university-heading {
    margin-bottom: 34px;
  }

  .university-heading h2 {
    font-size: 21px;
  }

  .university-heading p {
    font-size: 15px;
  }

  .university-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .flip-logo:hover {
    transform: none;
  }
}

/* Testimonials */

.testimonial-section {
  background: #f5f5f5;
  padding: 90px 0;
  overflow: hidden;
}

.testimonial-heading {
  text-align: center;
  margin-bottom: 60px;
}

.testimonial-heading h2 {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  color: #000;
}

.testimonial-heading span {
  color: var(--secondary);
}

.testimonial-slider {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.testimonial-track-wrapper {
  overflow: hidden;
  padding: 75px 0 30px;
}

/* .testimonial-card {
  
} */

.testimonial-track {
  display: flex;
  gap: 28px;
  transition: transform 0.45s ease;
}

.testimonial-card {
  margin-top: 0;
  flex: 0 0 calc((100% - 56px) / 3);
  min-height: 330px;
  background: #ffffff;
  border-radius: 14px;
  padding: 82px 32px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: 0.35s ease;
}
.testimonial-card {
  height: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* padding: 82px 32px 30px; */
  overflow: visible;
}

.testimonial-card.active {
  background: var(--secondary);
  color: #ffffff;
  transform: translateY(-12px);
}

.testimonial-card img {
  position: absolute;
  top: -52px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid #ffffff;
  outline: 1px solid rgba(42, 82, 232, 0.45);
  background: #fff;
  flex-shrink: 0;
}

.testimonial-card .stars,
.testimonial-card h3,
.testimonial-card span,
.quote-icon {
  flex-shrink: 0;
}

.testimonial-text {
  width: 100%;
  max-height: 230px;
  overflow-y: auto;
  padding-right: 6px;
  margin-top: 4px;
}

.testimonial-text p {
  margin: 0;
  color: #777;
  font-size: 15px;
  line-height: 1.65;
}

.testimonial-card.active .testimonial-text p {
  color: rgba(255, 255, 255, 0.92);
}

/* scrollbar */
.testimonial-text::-webkit-scrollbar {
  width: 4px;
}

.testimonial-text::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 20px;
}

.testimonial-card.active .testimonial-text::-webkit-scrollbar-thumb {
  background: #ffffff;
}

.testimonial-text::-webkit-scrollbar-track {
  background: rgba(42, 82, 232, 0.12);
}

.testimonial-card .stars {
  color: var(--secondary);
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-card.active .stars {
  color: #ffffff;
}

.testimonial-card h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 6px;
  color: #000;
}

.testimonial-card.active h3 {
  color: #ffffff;
}

.testimonial-card span {
  display: block;
  color: #8b8b8b;
  font-size: 15px;
  margin-bottom: 14px;
}

.testimonial-card.active span {
  color: rgba(255, 255, 255, 0.82);
}

.quote-icon {
  color: var(--secondary);
  font-size: 30px;
  margin-bottom: 14px;
}

.testimonial-card.active .quote-icon {
  color: #ffffff;
}

.testimonial-card p {
  color: #777;
  font-size: 15px;
  line-height: 1.65;
}

.testimonial-card.active p {
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-btn {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--secondary);
  color: #fff;
  cursor: pointer;
  z-index: 5;
  font-size: 18px;
  box-shadow: 0 10px 25px rgba(42, 82, 232, 0.28);
}

.testimonial-btn.prev {
  left: -24px;
}

.testimonial-btn.next {
  right: -24px;
}


/* Mobile */

@media (max-width: 767px) {
  .testimonial-section {
    padding: 65px 0;
  }

  .testimonial-heading {
    margin-bottom: 38px;
  }

  .testimonial-track-wrapper {
    overflow: visible;
    padding: 45px 0 20px;
  }

  .testimonial-slider {
    max-width: 100%;
  }

  .testimonial-track {
    gap: 18px;
  }

  .testimonial-card {
    flex: 0 0 78%;
    min-height: 320px;
    padding: 78px 22px 26px;
  }

  .testimonial-card h3 {
    font-size: 21px;
  }

  .testimonial-card p {
    font-size: 14px;
  }

  .testimonial-btn {
    display: none;
  }
}

/* FAQ Section */

.faq-section {
  background: #ffffff;
  padding: 90px 0;
}

.faq-heading {
  text-align: center;
  margin-bottom: 50px;
}

.faq-heading h2 {
  color: var(--dark);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
}

.faq-heading p {
  color: var(--text);
  font-size: 15px;
}

.faq-wrapper {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(42, 82, 232, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(42, 82, 232, 0.05);
}

.faq-question {
  width: 100%;
  border: none;
  background: #ffffff;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  color: var(--dark);
  font-size: 16px;
  font-weight: 900;
}

.faq-question i {
  color: var(--secondary);
  font-size: 15px;
  transition: 0.25s ease;
}

/* .faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(42, 82, 232, 0.06);
  border-left: 4px solid var(--secondary);
  transition: max-height 0.35s ease;
} */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: rgba(42, 82, 232, 0.06);
  border-left: 4px solid var(--secondary);
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 18px 24px;
  max-height: 250px;
  overflow-y: auto;
}

.faq-answer-inner p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

.faq-answer-inner::-webkit-scrollbar {
  width: 5px;
}

.faq-answer-inner::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 20px;
}

.faq-answer-inner::-webkit-scrollbar-track {
  background: rgba(42, 82, 232, 0.1);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

@media (max-width: 575px) {
  .faq-answer-inner {
    padding: 16px 18px;
    max-height: 260px;
  }

  .faq-answer-inner p {
    font-size: 14px;
  }
}

/* CTA Section */

.cta-section {
  position: relative;
  padding: 100px 0;
  /* background: url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=1800&auto=format&fit=crop") */
  /* center/cover no-repeat; */
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 82, 232, 0.92),
    rgba(42, 82, 232, 0.85)
  );
}

.cta-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 780px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 16px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 20px;
  transition: 0.25s ease;
}

/* Primary Button */
.cta-btn.primary {
  background: #ffffff;
  color: var(--secondary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

/* Secondary Button */
.cta-btn.secondary {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background: transparent;
}

/* Hover */
.cta-btn.primary:hover {
  transform: translateY(-3px);
}

.cta-btn.secondary:hover {
  background: #ffffff;
  color: var(--secondary);
}

/* Footer */

.site-footer {
  background: #f4f7ff;
  padding-top: 72px;
  color: var(--text);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.35fr;
  gap: 70px;
  padding-bottom: 60px;
}

.footer-logo img {
  height: 70px;
  display: block;
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 270px;
  color: #7b8496;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e9efff;
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: 0.25s ease;
}

.footer-socials a:hover {
  background: var(--secondary);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-col h3,
.footer-contact h3 {
  color: var(--dark);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 22px;
}

.footer-col a {
  display: block;
  color: #7b8496;
  font-size: 14px;
  margin-bottom: 14px;
  transition: 0.25s ease;
}

.footer-col a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7b8496;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-contact i {
  color: var(--secondary);
}

.footer-map {
  width: 260px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
  background: #d8deea;
}

.footer-map img,
.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.footer-bottom {
  border-top: 1px solid rgba(42, 82, 232, 0.1);
  padding: 24px 0;
}

.footer-bottom p {
  color: #8992a3;
  font-size: 13px;
}

/* Responsive */

@media (max-width: 991px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .site-footer {
    padding-top: 55px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 42px;
  }

  .footer-logo img {
    height: 32px;
  }

  .footer-map {
    width: 100%;
    height: 150px;
  }

  .footer-bottom {
    text-align: center;
  }
}

/* Mobile */

@media (max-width: 575px) {
  .cta-section {
    padding: 70px 0;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 15px;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* Mobile */

@media (max-width: 575px) {
  .faq-section {
    padding: 60px 0;
  }

  .faq-heading {
    margin-bottom: 34px;
  }

  .faq-question {
    padding: 18px 18px;
  }

  .faq-question span {
    font-size: 14px;
  }

  .faq-answer p {
    padding: 16px 18px;
    font-size: 14px;
  }
}

/* ===========================
   MOBILE TIMELINE (Vertical)
=========================== */

@media (max-width: 900px) {
  .why-sio-section {
    padding: 60px 0;
  }

  .why-sio-heading {
    margin-bottom: 50px;
    font-size: clamp(18px, 4.5vw, 26px);
    padding: 0 16px;
  }

  .timeline-desktop {
    display: none;
  }

  .timeline-mobile {
    display: block;
    position: relative;
    padding: 0 20px 0 60px;
  }

  /* Vertical line */
  .mobile-line {
    position: absolute;
    left: 36px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: var(--secondary);
    border-radius: 3px;
    animation: mobileLineGrow 0.8s ease forwards;
  }

  @keyframes mobileLineGrow {
    from {
      height: 0;
    }
    to {
      height: 100%;
    }
  }

  .mobile-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    opacity: 0;
    animation: fadeSlideRight 0.5s ease forwards;
  }

  .mobile-item:nth-child(1) {
    animation-delay: 0.1s;
  }
  .mobile-item:nth-child(2) {
    animation-delay: 0.2s;
  }
  .mobile-item:nth-child(3) {
    animation-delay: 0.3s;
  }
  .mobile-item:nth-child(4) {
    animation-delay: 0.4s;
  }
  .mobile-item:nth-child(5) {
    animation-delay: 0.5s;
  }
  .mobile-item:nth-child(6) {
    animation-delay: 0.6s;
  }

  @keyframes fadeSlideRight {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .mobile-dot-wrapper {
    position: absolute;
    left: -34px;
    top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
  }

  .mobile-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondary);
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 3px var(--secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  .mobile-item:hover .mobile-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 5px rgba(42, 82, 232, 0.25);
  }

  .mobile-card {
    background: var(--primary);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 18px 16px;
    flex: 1;
    transition:
      transform 0.3s ease,
      border-color 0.3s ease,
      box-shadow 0.3s ease;
  }

  .mobile-item:hover .mobile-card {
    transform: translateX(5px);
    border-color: var(--secondary);
    box-shadow: 0 6px 24px rgba(42, 82, 232, 0.1);
  }

  .mobile-card .card-icon {
    font-size: 26px;
    margin-bottom: 8px;
    display: block;
  }

  .mobile-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .mobile-card p {
    font-size: 13px;
    color: var(--text);
    line-height: 1.55;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .timeline-mobile {
    padding: 0 12px 0 54px;
  }

  .mobile-line {
    left: 30px;
  }

  .mobile-dot-wrapper {
    left: -33px;
  }
}

/* Responsive */

@media (max-width: 991px) {
  .partners-section {
    padding: 56px 0;
  }

  .logo-strip {
    gap: 28px;
  }

  .achievement-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
}

@media (max-width: 575px) {
  .partners-section {
    padding: 46px 0;
  }

  .partners-intro {
    font-size: 14px;
    margin-bottom: 26px;
  }

  .logo-strip {
    gap: 22px 26px;
    margin-bottom: 34px;
  }

  .logo-strip img {
    max-width: 88px;
    height: 34px;
  }

  .achievement-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .achievement-number {
    font-size: 32px;
    padding: 20px;
  }

  .achievement-content {
    padding: 20px;
  }

  .achievement-content p {
    font-size: 14px;
  }
}

/* Responsive */

@media (max-width: 991px) {
  :root {
    --section-padding-x: 24px;
  }

  .site-header {
    height: 58px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .logo img {
    height: 30px;
  }

  .mobile-menu.active {
    display: block;
  }

  .hero-section {
    min-height: auto;
    background-position: center top;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.55) 50%,
      rgba(0, 0, 0, 0.72) 100%
    );
  }

  .hero-container {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .badge {
    font-size: 11px;
    padding: 12px 18px;
    margin-bottom: 26px;
  }

  .hero-content h1 {
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
  }

  .hero-text {
    font-size: 17px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .point {
    font-size: 16px;
  }

  .point-icon {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .desktop-contact-buttons {
    display: none;
  }

  .student-proof {
    gap: 12px;
    align-items: center;
  }

  .student-proof p {
    font-size: 12px;
    line-height: 1.35;
  }

  .avatars img,
  .avatars span {
    width: 42px;
    height: 42px;
    font-size: 12px;
  }

  .hero-form-wrapper {
    max-width: 100%;
    margin: 18px 0 0;
    border-radius: 14px;
  }

  .form-top {
    padding: 20px;
  }

  .form-top h2 {
    font-size: 22px;
  }

  .hero-form {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 575px) {
  :root {
    --section-padding-x: 20px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 16px;
  }
}

/* Mobile Sticky Bar */

.mobile-sticky-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    z-index: 9999;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.18);
    overflow-x: hidden;
  }

  .sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 58px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }

  /* WhatsApp Official Color */
  .sticky-btn.whatsapp {
    background: #25d366;
    color: #ffffff;
  }

  /* Call Button */
  .sticky-btn.call {
    background: var(--secondary);
    color: #ffffff;
  }

  .sticky-btn i {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 60px;
  }
}
