.hero-slide {
  --hero-image-x: 72%;
  --hero-slide-image: url("../images/skiisy-hero.png");
  position: relative;
  min-height: 650px;
  color: #fff;
  background-color: var(--skiisy-navy);
  background-image:
    linear-gradient(90deg, rgba(7, 28, 58, 0.98) 0%, rgba(7, 28, 58, 0.88) 43%, rgba(7, 28, 58, 0.16) 75%),
    var(--hero-slide-image);
  background-position: center, 72% center;
  background-size: cover;
}

.hero-slide-two {
  --hero-image-x: 66%;
  background-image:
    linear-gradient(90deg, rgba(12, 45, 95, 0.98) 0%, rgba(12, 45, 95, 0.88) 45%, rgba(12, 45, 95, 0.16) 78%),
    var(--hero-slide-image);
  background-position: center, 66% center;
}

.hero-slide-three {
  --hero-image-x: 78%;
  background-image:
    linear-gradient(90deg, rgba(14, 52, 72, 0.98) 0%, rgba(14, 52, 72, 0.87) 45%, rgba(14, 52, 72, 0.15) 78%),
    var(--hero-slide-image);
  background-position: center, 78% center;
}

.min-vh-hero {
  min-height: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-section h1,
.hero-section h2 {
  max-width: 750px;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.hero-section .lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 500;
}

.hero-trust i {
  margin-right: 0.35rem;
  color: var(--skiisy-orange);
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  width: 6%;
}

.hero-section .carousel-indicators {
  bottom: 2.5rem;
  justify-content: flex-start;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 0.75rem;
}

.hero-section .carousel-indicators button {
  width: 28px;
  height: 5px;
  border: 0;
  border-radius: 999px;
}

.quick-actions-section {
  position: relative;
  z-index: 3;
  margin-top: -36px;
}

.quick-actions {
  border-radius: 18px;
  overflow: hidden;
}

.quick-action {
  display: flex;
  min-height: 110px;
  align-items: center;
  gap: 0.8rem;
  padding: 1.25rem;
  color: var(--skiisy-text);
  border-right: 1px solid var(--skiisy-border);
  transition: 0.2s ease;
}

.quick-action:hover {
  color: var(--skiisy-primary);
  background: #f8faff;
}

.quick-action > i {
  color: #94a3b8;
}

.action-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  font-size: 1.25rem;
}

.quick-action strong,
.quick-action small {
  display: block;
}

.quick-action strong {
  font-size: 0.82rem;
}

.quick-action small {
  margin-top: 0.2rem;
  color: var(--skiisy-muted);
  font-size: 0.68rem;
}

.section-space {
  padding: 6.5rem 0;
}

.soft-bg {
  background: var(--skiisy-soft);
}

.section-eyebrow {
  color: var(--skiisy-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-title {
  color: var(--skiisy-navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.section-heading {
  max-width: 720px;
}

.about-image-wrap {
  position: relative;
  padding: 0 1.5rem 1.5rem 0;
}

.about-image-wrap > img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: 68% center;
  box-shadow: 0 24px 65px rgba(9, 32, 63, 0.14);
}

.experience-card {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.25rem;
  color: #fff;
  border-radius: 15px;
  background: var(--skiisy-primary);
}

.experience-card strong {
  font-size: 2rem;
}

.experience-card span {
  font-size: 0.7rem;
  font-weight: 600;
}

.verified-chip {
  position: absolute;
  top: 1.5rem;
  left: -1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: 13px;
  background: #fff;
}

.verified-chip > i {
  color: #16a34a;
  font-size: 1.4rem;
}

.verified-chip strong,
.verified-chip small {
  display: block;
}

.verified-chip strong {
  font-size: 0.75rem;
}

.verified-chip small {
  color: var(--skiisy-muted);
  font-size: 0.62rem;
}

.feature-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.feature-check i {
  color: #16a34a;
}

.directors-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 6vw, 5.6rem);
  padding-bottom: clamp(4.4rem, 7vw, 6.4rem);
  background:
    linear-gradient(135deg, rgba(21, 94, 239, 0.045) 0 12%, transparent 12% 100%),
    radial-gradient(circle at 12% 6%, rgba(21, 94, 239, 0.08), transparent 18rem),
    radial-gradient(circle at 88% 14%, rgba(14, 199, 181, 0.08), transparent 20rem),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.directors-heading {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.directors-heading span {
  display: inline-flex;
  align-items: center;
  gap: 1.45rem;
  color: #064ca8;
  font-size: clamp(0.68rem, 0.82vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.directors-heading span::before,
.directors-heading span::after {
  width: 54px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #064ca8);
  content: "";
}

.directors-heading span::after {
  background: linear-gradient(90deg, #064ca8, transparent);
}

.directors-heading h2 {
  margin: 0.85rem 0 0;
  color: #061b49;
  font-size: clamp(2.45rem, 4.6vw, 4.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
}

.directors-heading h2 strong {
  color: #0758df;
  font-weight: inherit;
}

.directors-heading > i {
  display: block;
  width: 150px;
  height: 5px;
  margin: 0.75rem auto 0.85rem;
  border-radius: 5px;
  background: linear-gradient(90deg, #0758df 0%, #0ec7b5 100%);
}

.directors-heading p {
  margin: 0;
  color: #26334a;
  font-size: clamp(0.92rem, 1.45vw, 1.08rem);
  font-weight: 600;
  line-height: 1.55;
}

.directors-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.5rem);
  margin-top: clamp(2.4rem, 5vw, 3.5rem);
}

.director-profile-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 0 1.08rem 1.3rem;
  border: 1px solid rgba(21, 94, 239, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 44px rgba(9, 32, 63, 0.07);
}

.director-profile-card::after {
  position: absolute;
  right: 0.15rem;
  bottom: 0;
  left: 0.15rem;
  height: 4px;
  border-radius: 0 0 7px 7px;
  background: linear-gradient(90deg, #0758df, #0ec7b5);
  content: "";
}

.director-profile-photo {
  position: relative;
  display: grid;
  height: clamp(315px, 28vw, 410px);
  place-items: center;
  margin: 0 0 0.55rem;
  overflow: hidden;
  border: 1px solid #d8e4f2;
  border-radius: 8px 8px 70px 8px;
  background:
    linear-gradient(180deg, rgba(244, 249, 255, 0.62), rgba(255, 255, 255, 0.9)),
    #edf5ff;
  box-shadow: 8px 0 0 #0758df, 12px 0 0 #0ec7b5;
}

.director-profile-photo::after {
  position: absolute;
  right: 0.85rem;
  bottom: -0.2rem;
  width: 88px;
  height: 88px;
  border-right: 4px solid #0ec7b5;
  border-bottom: 4px solid #0ec7b5;
  border-radius: 0 0 72px 0;
  content: "";
}

.director-profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.director-name-ribbon {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 0.65rem;
  width: min(100%, 22rem);
  margin: -2.45rem 0 0 -1.08rem;
  padding: 0.48rem 1rem 0.48rem 0.58rem;
  color: #fff;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, #0758df 0%, #0047c7 100%);
  box-shadow: 0 12px 24px rgba(7, 88, 223, 0.26);
}

.director-name-ribbon span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.35rem;
}

.director-name-ribbon h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.director-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.05rem 0.25rem 0.2rem;
}

.director-card-body h4 {
  margin: 0;
  min-height: 3em;
  color: #091b40;
  font-size: clamp(0.96rem, 1.6vw, 1.12rem);
  font-weight: 900;
  line-height: 1.25;
}

.director-card-rule {
  position: relative;
  height: 1px;
  margin: 0.75rem 0 1rem;
  background: linear-gradient(90deg, rgba(7, 88, 223, 0.18), #0758df);
}

.director-card-rule::after {
  position: absolute;
  right: 0;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0758df;
  content: "";
}

.director-qualification {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.director-qualification span {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #0758df, #0047c7);
  box-shadow: 0 12px 24px rgba(7, 88, 223, 0.2);
  font-size: 1.35rem;
}

.director-qualification p,
.director-card-body > p {
  margin: 0;
  color: #101b2f;
  font-size: 0.92rem;
  line-height: 1.42;
}

.director-qualification p strong {
  display: block;
  color: #101b2f;
  font-weight: 500;
}

.director-card-body > p {
  color: #111827;
}

.stats-section {
  color: #fff;
  background: var(--skiisy-navy);
}

.stat-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-item > i {
  margin-bottom: 0.35rem;
  color: var(--skiisy-orange);
  font-size: 1.5rem;
}

.stat-item strong {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: 600;
}

.service-card {
  display: block;
  height: 100%;
  padding: 1.7rem;
  color: var(--skiisy-text);
  border: 1px solid var(--skiisy-border);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(16, 43, 84, 0.04);
  transition: 0.25s ease;
}

.service-card:hover {
  color: var(--skiisy-text);
  border-color: rgba(21, 94, 239, 0.3);
  box-shadow: 0 18px 38px rgba(16, 43, 84, 0.11);
  transform: translateY(-5px);
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 1.4rem;
  border-radius: 14px;
  font-size: 1.4rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.service-card p {
  min-height: 48px;
  margin: 0.65rem 0 1.2rem;
  color: var(--skiisy-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.service-link {
  color: var(--skiisy-primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-link i {
  margin-left: 0.3rem;
  transition: margin 0.2s;
}

.service-card:hover .service-link i {
  margin-left: 0.6rem;
}

.featured-service {
  color: #fff;
  border-color: var(--skiisy-primary);
  background: linear-gradient(145deg, var(--skiisy-primary), var(--skiisy-primary-dark));
}

.featured-service:hover {
  color: #fff;
}

.featured-service .service-icon {
  color: var(--skiisy-primary);
  background: #fff;
}

.featured-service p,
.featured-service .service-link {
  color: rgba(255, 255, 255, 0.75);
}

.why-card {
  padding: 1.8rem;
  border: 1px solid var(--skiisy-border);
  border-radius: 17px;
  transition: 0.25s ease;
}

.why-card:hover {
  border-color: rgba(21, 94, 239, 0.28);
  box-shadow: 0 15px 35px rgba(16, 43, 84, 0.09);
  transform: translateY(-4px);
}

.why-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--skiisy-primary);
  border-radius: 15px;
  background: #eaf1ff;
  font-size: 1.35rem;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.why-card p {
  margin: 0;
  color: var(--skiisy-muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.partnership-section {
  position: relative;
  background:
    radial-gradient(circle at 80% 10%, rgba(36, 143, 255, 0.32), transparent 30%),
    var(--skiisy-navy);
  overflow: hidden;
}

.benefit-card {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: 0.25s ease;
}

.benefit-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.benefit-card > i {
  color: var(--skiisy-orange);
  font-size: 1.4rem;
}

.benefit-card h3 {
  margin-bottom: 0.4rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.benefit-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  line-height: 1.55;
}

.institute-card {
  display: flex;
  min-height: 150px;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--skiisy-border);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(16, 43, 84, 0.04);
}

.institute-avatar {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 17px;
  background: var(--skiisy-primary);
  font-weight: 800;
}

.institute-avatar.orange {
  color: var(--skiisy-navy);
  background: var(--skiisy-orange);
}

.institute-avatar.green {
  background: #16a34a;
}

.institute-card h3 {
  margin: 0.7rem 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.institute-card p {
  margin: 0;
  color: var(--skiisy-muted);
  font-size: 0.75rem;
}

.carousel-controls .btn {
  width: 43px;
  height: 43px;
  padding: 0;
}

.faq-accordion .accordion-item {
  margin-bottom: 0.8rem;
  border: 1px solid var(--skiisy-border);
  border-radius: 13px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  color: var(--skiisy-text);
  background: #fff;
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--skiisy-primary);
  background: #f3f7ff;
}

.faq-accordion .accordion-body {
  color: var(--skiisy-muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.cta-section {
  background: var(--skiisy-primary);
}

.footer {
  color: rgba(255, 255, 255, 0.58);
  background: #06172d;
}

.footer-brand {
  color: #fff;
}

.footer-brand:hover {
  color: #fff;
}

.footer h3 {
  margin-bottom: 1.2rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer .col-6 > a,
.footer .col-lg-3 > a {
  display: block;
  margin-bottom: 0.6rem;
}

.footer a:hover {
  color: #fff;
}

.social-btn {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-disclaimer {
  padding: 1rem 1.2rem;
  color: rgba(255, 255, 255, 0.43);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.7rem;
  line-height: 1.65;
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
}

.floating-call {
  position: fixed;
  z-index: 1030;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  color: #fff;
  border-radius: 999px;
  background: #16a34a;
  font-size: 0.8rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.floating-call:hover {
  color: #fff;
  background: #12843d;
  transform: translateY(-3px);
}

.modal-side {
  align-items: flex-end;
  padding: 2rem;
  color: #fff;
  background:
    linear-gradient(rgba(9, 32, 63, 0.66), rgba(9, 32, 63, 0.94)),
    url("../images/skiisy-hero.png") center / cover;
}

.modal-side h2 {
  font-size: 1.8rem;
  font-weight: 800;
}

.modal-side p {
  color: rgba(255, 255, 255, 0.65);
}

.modal-side li {
  margin-top: 0.65rem;
  font-size: 0.8rem;
}

.modal-side li i {
  margin-right: 0.5rem;
  color: var(--skiisy-orange);
}

.form-label {
  font-size: 0.76rem;
  font-weight: 600;
}

.form-control {
  border-color: var(--skiisy-border);
  border-radius: 10px;
  font-size: 0.9rem;
}

.form-control-lg {
  min-height: 49px;
  font-size: 0.9rem;
}

.form-control:focus {
  border-color: rgba(21, 94, 239, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(21, 94, 239, 0.1);
}

.toast-success-icon {
  display: grid;
  width: 25px;
  height: 25px;
  margin-right: 0.5rem;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #16a34a;
}

@media (max-width: 1199.98px) {
  .navbar {
    min-height: 68px;
  }
}

@media (max-width: 991.98px) {
  .hero-slide,
  .min-vh-hero {
    min-height: 610px;
  }

  .hero-slide {
    background-image:
      linear-gradient(90deg, rgba(7, 28, 58, 0.96), rgba(7, 28, 58, 0.67)),
      var(--hero-slide-image);
    background-position: center;
  }

  .quick-actions-section {
    margin-top: 0;
  }

  .quick-actions {
    border-radius: 0;
  }

  .quick-action {
    border-bottom: 1px solid var(--skiisy-border);
  }

  .section-space {
    padding: 5rem 0;
  }

  .about-image-wrap {
    max-width: 720px;
    margin: 0 auto;
  }

  .directors-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directors-card-grid .director-profile-card:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    justify-self: center;
  }

}

@media (max-width: 767.98px) {
  .announcement-bar {
    font-size: 0.72rem;
  }

  .brand-logo {
    width: 158px;
    height: 52px;
  }

  .footer-logo {
    width: 220px;
    height: 92px;
  }

  .hero-slide,
  .min-vh-hero {
    min-height: 590px;
  }

  .hero-section .display-3 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .hero-section .carousel-control-prev,
  .hero-section .carousel-control-next {
    display: none;
  }

  .quick-action {
    min-height: 135px;
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem;
  }

  .quick-action > i {
    display: none;
  }

  .about-image-wrap {
    padding: 0 0 1.5rem;
  }

  .about-image-wrap > img {
    min-height: 370px;
  }

  .verified-chip {
    top: 1rem;
    left: 1rem;
  }

  .experience-card {
    right: 1rem;
  }

  .directors-heading span {
    gap: 0.75rem;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
  }

  .directors-heading span::before,
  .directors-heading span::after {
    width: 34px;
  }

  .directors-heading h2 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

  .directors-card-grid {
    grid-template-columns: 1fr;
  }

  .directors-card-grid .director-profile-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .director-profile-card {
    padding-right: 0.82rem;
    padding-left: 0.82rem;
  }

  .director-card-body h4 {
    min-height: auto;
  }

  .institute-card {
    min-height: 130px;
  }

  #instituteCarousel .col-md-4:not(:first-child) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Learning network redesign */
#institutes {
  overflow: hidden;
}

.network-heading p {
  max-width: 520px;
  margin-left: auto;
  font-size: 1rem;
  line-height: 1.75;
}

.network-shell {
  position: relative;
  border: 1px solid rgba(21, 94, 239, 0.12);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(9, 32, 63, 0.12);
  overflow: hidden;
}

.network-shell::after {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(14, 199, 181, 0.08);
  content: "";
  filter: blur(3px);
  pointer-events: none;
}

.network-visual {
  position: relative;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 3.25rem);
  color: #fff;
  background:
    radial-gradient(circle at 75% 38%, rgba(0, 201, 187, 0.22), transparent 30%),
    radial-gradient(circle at 15% 80%, rgba(21, 94, 239, 0.38), transparent 35%),
    linear-gradient(145deg, #061b36, #0b315f);
  overflow: hidden;
}

.network-visual::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.network-copy,
.network-map,
.network-metrics {
  position: relative;
  z-index: 1;
}

.network-live {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.network-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #51e5bd;
  box-shadow: 0 0 0 0 rgba(81, 229, 189, 0.5);
  animation: network-live-pulse 2s ease-out infinite;
}

@keyframes network-live-pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(81, 229, 189, 0);
  }
}

.network-copy h3 {
  max-width: 430px;
  margin-bottom: 0.9rem;
  font-size: clamp(1.75rem, 3.3vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.network-copy p {
  max-width: 410px;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
  line-height: 1.7;
}

.network-map {
  width: min(340px, 92%);
  aspect-ratio: 1.7;
  margin: 2.2rem auto;
}

.network-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(85, 214, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-a {
  width: 170px;
  height: 170px;
  animation: network-ring 8s linear infinite;
}

.ring-b {
  width: 250px;
  height: 250px;
  border-style: dashed;
  animation: network-ring 14s linear infinite reverse;
}

@keyframes network-ring {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.network-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 145px;
  height: 1px;
  background: linear-gradient(90deg, rgba(81, 229, 189, 0.8), transparent);
  transform-origin: left;
}

.line-a {
  transform: rotate(-22deg);
}

.line-b {
  transform: rotate(145deg);
}

.line-c {
  width: 115px;
  transform: rotate(62deg);
}

.network-node {
  position: absolute;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #0ec7b5;
  box-shadow: 0 0 0 7px rgba(14, 199, 181, 0.12);
  animation: network-node 3.2s ease-in-out infinite;
}

.node-main {
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, var(--skiisy-primary), #0ec7b5);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  font-size: 1.35rem;
  transform: translate(-50%, -50%);
}

.node-one {
  top: 16%;
  right: 5%;
}

.node-two {
  top: 68%;
  right: 14%;
  animation-delay: -0.8s;
}

.node-three {
  bottom: 5%;
  left: 17%;
  animation-delay: -1.5s;
}

.node-four {
  top: 24%;
  left: 7%;
  animation-delay: -2.2s;
}

@keyframes network-node {
  50% {
    box-shadow: 0 0 0 12px rgba(14, 199, 181, 0);
    transform: scale(1.12);
  }
}

.node-main {
  animation: network-main-node 4s ease-in-out infinite;
}

@keyframes network-main-node {
  50% {
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.network-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
}

.network-metrics > div {
  padding: 1rem 0.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.network-metrics > div:last-child {
  border: 0;
}

.network-metrics strong,
.network-metrics span {
  display: block;
}

.network-metrics strong {
  margin-bottom: 0.3rem;
  color: #fff;
  font-size: 1.2rem;
}

.network-metrics span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.61rem;
  line-height: 1.4;
}

.network-directory {
  min-height: 650px;
  padding: clamp(2rem, 4vw, 3.25rem);
  background:
    linear-gradient(135deg, rgba(21, 94, 239, 0.025), transparent 45%),
    #fff;
}

.directory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.directory-header span {
  color: var(--skiisy-primary);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.directory-header h3 {
  margin: 0.35rem 0 0;
  color: var(--skiisy-navy);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.network-card-list {
  display: grid;
  gap: 0.85rem;
}

.network-directory .institute-card {
  position: relative;
  display: grid;
  min-height: 132px;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--skiisy-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 25px rgba(16, 43, 84, 0.045);
  overflow: hidden;
}

.network-directory .institute-card::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(var(--skiisy-primary), #0ec7b5);
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s ease;
}

.network-directory .institute-card:hover::after {
  transform: scaleY(1);
}

.institute-info {
  min-width: 0;
}

.partner-status {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #16845b;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partner-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(22, 132, 91, 0.09);
}

.partner-status.blue {
  color: var(--skiisy-primary);
}

.partner-status.teal {
  color: #078f85;
}

.network-directory .institute-card h3 {
  margin: 0.45rem 0 0.3rem;
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.network-directory .institute-card p {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.institute-type {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--skiisy-primary);
  border-radius: 12px;
  background: #edf3ff;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.network-directory .institute-card:hover .institute-type {
  color: #fff;
  background: var(--skiisy-primary);
  transform: rotate(-7deg) scale(1.08);
}

.network-card-enter {
  animation: network-card-enter 0.55s cubic-bezier(0.2, 0.78, 0.25, 1) backwards;
  animation-delay: var(--network-delay, 0ms);
}

@keyframes network-card-enter {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.98);
  }
}

.directory-progress {
  height: 3px;
  margin-top: 1.5rem;
  border-radius: 999px;
  background: #e8edf5;
  overflow: hidden;
}

.directory-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--skiisy-primary), #0ec7b5);
  transform: scaleX(0);
  transform-origin: left;
}

.directory-progress span.is-running {
  animation: directory-progress 5.2s linear forwards;
}

@keyframes directory-progress {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 991.98px) {
  .network-heading p {
    margin-left: 0;
  }

  .network-visual,
  .network-directory {
    min-height: auto;
  }

  .network-map {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
}

@media (max-width: 575.98px) {
  .network-shell {
    border-radius: 20px;
  }

  .network-visual,
  .network-directory {
    padding: 1.4rem;
  }

  .network-metrics {
    grid-template-columns: 1fr;
  }

  .network-metrics > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .network-directory .institute-card {
    min-height: 116px;
    grid-template-columns: 52px 1fr;
    padding: 1rem;
  }

  .network-directory .institute-avatar {
    width: 52px;
    height: 52px;
  }

  .institute-type {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .network-live i,
  .network-ring,
  .network-node,
  .network-card-enter,
  .directory-progress span.is-running {
    animation: none !important;
  }

  .directory-progress span {
    transform: scaleX(1);
  }
}

/* Scroll storytelling layer */
main > section,
.quick-actions-section,
.footer {
  --scene-progress: 0;
  --scene-offset: 0;
}

.scroll-navigator {
  position: fixed;
  z-index: 1025;
  top: 50%;
  right: 1rem;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0.55rem;
  transform: translateY(-50%);
}

.scroll-navigator a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  color: var(--skiisy-muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scroll-navigator a span {
  padding: 0.28rem 0.5rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 18px rgba(9, 32, 63, 0.1);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.scroll-navigator a i {
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(21, 94, 239, 0.38);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(21, 94, 239, 0.2);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease,
    box-shadow 0.25s ease;
}

.scroll-navigator a:hover span,
.scroll-navigator a.active span {
  opacity: 1;
  transform: translateX(0);
}

.scroll-navigator a:hover i,
.scroll-navigator a.active i {
  width: 11px;
  height: 11px;
  background: var(--skiisy-primary);
  box-shadow: 0 0 0 5px rgba(21, 94, 239, 0.11);
}

.section-space,
.stats-section,
.cta-section {
  position: relative;
}

.section-space::before {
  position: absolute;
  z-index: 0;
  top: 8%;
  left: clamp(1rem, 4vw, 4rem);
  width: 1px;
  height: 84%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(21, 94, 239, var(--scene-line-opacity, 0.12)),
    transparent
  );
  content: "";
  transform: scaleY(var(--scene-line-scale, 0.2));
  transform-origin: top;
}

.section-space > .container-xl,
.stats-section > .container-xl {
  position: relative;
  z-index: 1;
}

.animated-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.animated-heading::after {
  position: absolute;
  right: 0;
  bottom: -0.2rem;
  left: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--skiisy-primary), #0ec7b5, transparent 85%);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.2, 0.75, 0.25, 1) 0.25s;
}

.animated-heading.is-revealed::after {
  transform: scaleX(1);
}

.section-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.section-eyebrow::before {
  display: inline-block;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: width 0.65s ease 0.15s;
}

.section-eyebrow.is-revealed::before {
  width: 28px;
}

.reveal-element {
  filter: blur(6px);
}

.reveal-element.is-revealed {
  filter: blur(0);
}

.reveal-rotate-left {
  transform: translateY(38px) rotate(-1.6deg) scale(0.97);
}

.reveal-rotate-right {
  transform: translateY(38px) rotate(1.6deg) scale(0.97);
}

.reveal-rotate-left.is-revealed,
.reveal-rotate-right.is-revealed {
  transform: translate3d(0, 0, 0) rotate(0) scale(1);
}

.about-image-wrap,
.stats-section .container-xl,
.partnership-section .container-xl,
.cta-section .container-xl,
.footer .container-xl {
  transform: translate3d(0, var(--scroll-y, 0), 0);
  transition: transform 0.12s linear;
  will-change: transform;
}

.about-image-wrap::before {
  position: absolute;
  z-index: -1;
  inset: 8% -2% -2% 8%;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(21, 94, 239, 0.16), rgba(14, 199, 181, 0.12));
  content: "";
  transform: translate3d(
    var(--scene-shift-medium-negative, 0px),
    var(--scene-shift-large, 0px),
    0
  );
  transition: transform 0.1s linear;
}

.soft-bg {
  background-image:
    radial-gradient(
      circle at var(--scene-bg-x, 10%) 15%,
      rgba(21, 94, 239, 0.08),
      transparent 24%
    ),
    linear-gradient(var(--skiisy-soft), var(--skiisy-soft));
}

.stats-section::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 15%,
    rgba(85, 214, 255, 0.08) 45%,
    transparent 72%
  );
  content: "";
  pointer-events: none;
  transform: translateX(var(--scene-sheen-x, -30%));
}

.service-card,
.why-card,
.benefit-card,
.institute-card {
  transition-duration: 0.45s;
}

.service-card:nth-child(odd),
.why-card:nth-child(odd),
.benefit-card:nth-child(odd) {
  transition-delay: 50ms;
}

.partnership-section {
  background-position:
    var(--scene-partner-x, 80%) var(--scene-partner-y, 10%),
    center;
}

.partnership-section .benefit-card {
  transform: translateX(var(--scene-shift-small, 0px));
}

.cta-section h2 {
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  transform: translateX(var(--scene-shift-medium-negative, 0px));
}

.cta-section .btn {
  transform: translateX(var(--scene-shift-medium, 0px));
}

.animated-button {
  transform: translate3d(var(--button-x, 0), var(--button-y, 0), 0);
}

.animated-button:hover {
  transform: translate3d(var(--button-x, 0), calc(var(--button-y, 0) - 3px), 0);
}

.footer {
  position: relative;
  overflow: hidden;
}

.footer::before {
  position: absolute;
  top: -220px;
  right: -130px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(85, 214, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 75px rgba(85, 214, 255, 0.02),
    0 0 0 150px rgba(85, 214, 255, 0.015);
  content: "";
  transform: translateY(var(--scene-shift-large, 0px));
}

@media (max-width: 1199.98px) {
  .scroll-navigator {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .section-space::before {
    display: none;
  }

  .reveal-rotate-left,
  .reveal-rotate-right {
    transform: translateY(28px) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-navigator {
    display: none;
  }

  .reveal-element {
    filter: none;
  }

  .animated-heading::after,
  .section-eyebrow::before {
    transition: none;
  }

  .animated-heading::after {
    transform: scaleX(1);
  }

  .section-eyebrow::before {
    width: 28px;
  }

  .about-image-wrap,
  .stats-section .container-xl,
  .partnership-section .container-xl,
  .cta-section .container-xl,
  .footer .container-xl,
  .cta-section h2,
  .cta-section .btn,
  .partnership-section .benefit-card {
    transform: none !important;
    transition: none !important;
  }
}

/* Motion and interaction layer */
.scroll-progress {
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--skiisy-orange), #55d6ff, var(--skiisy-primary));
  box-shadow: 0 0 12px rgba(21, 94, 239, 0.45);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.announcement-bar {
  position: relative;
  overflow: hidden;
}

.announcement-bar::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 25%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  content: "";
  transform: skewX(-20deg);
  animation: announcement-shine 7s ease-in-out infinite;
}

@keyframes announcement-shine {
  0%,
  58% {
    left: -30%;
  }

  85%,
  100% {
    left: 120%;
  }
}

header .navbar {
  transition: min-height 0.3s ease, box-shadow 0.3s ease;
}

header.header-scrolled .site-nav-shell > .container-xl {
  box-shadow: 0 12px 35px rgba(9, 32, 63, 0.14);
}

header.header-scrolled .header-main > .container-xl {
  min-height: 118px;
}

.navbar-brand:hover .brand-logo,
.footer-brand:hover .brand-logo {
  filter: saturate(1.08) drop-shadow(0 8px 16px rgba(21, 94, 239, 0.15));
  transform: translateY(-2px);
}

.footer-logo {
  width: 240px;
  height: 100px;
  padding: 0.5rem;
  border-radius: 14px;
  background: #fff;
}

.navbar .nav-link {
  position: relative;
}

.navbar .nav-link:not(.dropdown-toggle)::before,
.navbar .dropdown-toggle::before {
  position: absolute;
  right: 0.55rem;
  bottom: 0;
  left: 0.55rem;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: #17c9cf;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.navbar .nav-link:not(.dropdown-toggle):hover::before,
.navbar .nav-link:not(.dropdown-toggle).active::before,
.navbar .dropdown-toggle:hover::before,
.navbar .dropdown-toggle.active::before,
.navbar .dropdown-toggle.show::before {
  transform: scaleX(1);
  transform-origin: left;
}

.dropdown-menu.show {
  animation: dropdown-enter 0.22s ease both;
}

@keyframes dropdown-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.student-mega-menu.show {
  animation: mega-menu-enter 0.25s ease both;
}

@keyframes mega-menu-enter {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.mega-link:hover > i {
  transform: rotate(-7deg) scale(1.08);
}

.mega-link > i {
  transition: transform 0.3s ease;
}

.hero-section {
  --hero-x: 0px;
  --hero-y: 0px;
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-section::before {
  top: 12%;
  right: 7%;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, 0.025),
    0 0 0 90px rgba(255, 255, 255, 0.018);
  animation: hero-orbit 13s ease-in-out infinite;
}

.hero-section::after {
  right: 22%;
  bottom: 10%;
  width: 10px;
  height: 10px;
  background: var(--skiisy-orange);
  box-shadow:
    60px -90px 0 2px rgba(85, 214, 255, 0.7),
    120px 20px 0 1px rgba(255, 255, 255, 0.55),
    -70px 30px 0 3px rgba(85, 214, 255, 0.45);
  animation: particle-float 6s ease-in-out infinite;
}

@keyframes hero-orbit {
  50% {
    transform: translate3d(var(--hero-x), var(--hero-y), 0) rotate(9deg) scale(1.06);
  }
}

@keyframes particle-float {
  50% {
    transform: translateY(-18px) rotate(12deg);
  }
}

.hero-slide {
  background-position:
    center,
    calc(var(--hero-image-x) + var(--hero-x)) calc(50% + var(--hero-y));
  transition: background-position 0.35s ease;
}

.carousel-item.active .hero-slide {
  animation: hero-background 7s ease-out both;
}

@keyframes hero-background {
  from {
    background-size: cover, 108%;
  }

  to {
    background-size: cover, 113%;
  }
}

.carousel-item .hero-badge,
.carousel-item h1,
.carousel-item h2,
.carousel-item .lead,
.carousel-item .hero-actions,
.carousel-item .hero-trust {
  opacity: 0;
  transform: translateY(24px);
}

.carousel-item.slide-animated .hero-badge,
.carousel-item.slide-animated h1,
.carousel-item.slide-animated h2,
.carousel-item.slide-animated .lead,
.carousel-item.slide-animated .hero-actions,
.carousel-item.slide-animated .hero-trust {
  animation: hero-content-enter 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.carousel-item.slide-animated h1,
.carousel-item.slide-animated h2 {
  animation-delay: 0.1s;
}

.carousel-item.slide-animated .lead {
  animation-delay: 0.2s;
}

.carousel-item.slide-animated .hero-actions {
  animation-delay: 0.3s;
}

.carousel-item.slide-animated .hero-trust {
  animation-delay: 0.4s;
}

@keyframes hero-content-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  position: relative;
}

.hero-badge::before {
  width: 7px;
  height: 7px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.55);
  content: "";
  animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(110, 231, 183, 0);
  }
}

.hero-section .carousel-indicators button {
  opacity: 0.45;
  transition: width 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.hero-section .carousel-indicators button.active {
  width: 54px;
  opacity: 1;
  background-color: var(--skiisy-orange);
}

.animated-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease,
    background-color 0.25s ease;
}

.animated-button:hover {
  box-shadow: 0 12px 28px rgba(9, 32, 63, 0.18);
  transform: translateY(-3px);
}

.animated-button:active {
  transform: translateY(-1px) scale(0.98);
}

.button-ripple {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  transform: scale(0);
  animation: button-ripple 0.55s ease-out;
}

@keyframes button-ripple {
  to {
    opacity: 0;
    transform: scale(2.4);
  }
}

.reveal-element {
  opacity: 0;
  transition:
    opacity 0.75s ease var(--reveal-delay, 0ms),
    transform 0.75s cubic-bezier(0.2, 0.72, 0.25, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(32px);
}

.reveal-left {
  transform: translateX(-38px);
}

.reveal-right {
  transform: translateX(38px);
}

.reveal-element.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.interactive-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.interactive-card::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(
    280px circle at var(--pointer-x) var(--pointer-y),
    rgba(21, 94, 239, 0.1),
    transparent 55%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.interactive-card:hover::before {
  opacity: 1;
}

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

.quick-action {
  overflow: hidden;
}

.quick-action::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--skiisy-primary), #55d6ff);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.quick-action:hover {
  transform: translateY(-4px);
}

.quick-action:hover::after {
  transform: scaleX(1);
}

.quick-action:hover .action-icon {
  box-shadow: 0 10px 20px rgba(21, 94, 239, 0.14);
  transform: rotate(-6deg) scale(1.09);
}

.action-icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-wrap > img {
  transition: transform 0.6s ease, filter 0.6s ease;
}

.about-image-wrap:hover > img {
  filter: saturate(1.08);
  transform: scale(1.018);
}

.experience-card {
  animation: card-float 4.5s ease-in-out infinite;
}

.verified-chip {
  animation: card-float 5.5s ease-in-out -2s infinite;
}

@keyframes card-float {
  50% {
    transform: translateY(-8px);
  }
}

.feature-check {
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.feature-check:hover {
  color: var(--skiisy-primary);
  background: #f1f6ff;
  transform: translateX(5px);
}

.feature-check i {
  transition: transform 0.3s ease;
}

.feature-check:hover i {
  transform: scale(1.18) rotate(-8deg);
}

.stats-section {
  position: relative;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  overflow: hidden;
}

.stat-item {
  padding: 1rem;
  border-radius: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
}

.stat-item > i {
  transition: transform 0.35s ease;
}

.stat-item:hover > i {
  transform: translateY(-4px) scale(1.12);
}

.service-card::after,
.why-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--skiisy-primary), #55d6ff);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover::after,
.why-card:hover::after {
  transform: scaleX(1);
}

.service-icon,
.why-icon {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover .service-icon,
.why-card:hover .why-icon {
  box-shadow: 0 10px 24px rgba(21, 94, 239, 0.16);
  transform: rotate(-7deg) scale(1.08);
}

.partnership-section::before,
.partnership-section::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.partnership-section::before {
  top: -140px;
  right: -80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 60px rgba(255, 255, 255, 0.02),
    0 0 0 120px rgba(255, 255, 255, 0.015);
  animation: partnership-orbit 10s ease-in-out infinite;
}

.partnership-section::after {
  bottom: 12%;
  left: 4%;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.25), transparent 70%);
  animation: partnership-orbit 7s ease-in-out infinite reverse;
}

@keyframes partnership-orbit {
  50% {
    transform: translate(14px, -12px) scale(1.05);
  }
}

.partnership-section .container-xl {
  position: relative;
  z-index: 1;
}

.benefit-card:hover > i {
  transform: rotate(-8deg) scale(1.15);
}

.benefit-card > i {
  transition: transform 0.3s ease;
}

.institute-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.institute-card:hover {
  border-color: rgba(21, 94, 239, 0.25);
  box-shadow: 0 18px 38px rgba(16, 43, 84, 0.11);
  transform: translateY(-6px);
}

.institute-avatar {
  transition: border-radius 0.3s ease, transform 0.35s ease;
}

.institute-card:hover .institute-avatar {
  border-radius: 50%;
  transform: rotate(-8deg) scale(1.06);
}

.institute-card .badge {
  animation: badge-breathe 2.5s ease-in-out infinite;
}

@keyframes badge-breathe {
  50% {
    box-shadow: 0 0 0 5px rgba(25, 135, 84, 0.08);
  }
}

.carousel-controls .btn {
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.carousel-controls .btn:hover {
  color: #fff;
  background: var(--skiisy-primary);
  transform: scale(1.08);
}

.faq-accordion .accordion-item {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(21, 94, 239, 0.3);
  box-shadow: 0 12px 30px rgba(16, 43, 84, 0.08);
  transform: translateX(5px);
}

.faq-accordion .accordion-button::after {
  transition: transform 0.3s ease;
}

.cta-section {
  position: relative;
  background: linear-gradient(120deg, var(--skiisy-primary), #0b3fa8, #176bd9);
  background-size: 200% 200%;
  animation: cta-gradient 9s ease infinite;
  overflow: hidden;
}

.cta-section::before {
  position: absolute;
  top: -170px;
  right: -80px;
  width: 360px;
  height: 360px;
  border: 60px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
  animation: cta-ring 12s linear infinite;
}

.cta-section .container-xl {
  position: relative;
  z-index: 1;
}

@keyframes cta-gradient {
  50% {
    background-position: 100% 50%;
  }
}

@keyframes cta-ring {
  to {
    transform: rotate(360deg);
  }
}

.footer a {
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer .col-6 > a:hover,
.footer .col-lg-3 > a:hover {
  transform: translateX(4px);
}

.social-btn {
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.social-btn:hover {
  transform: translateY(-4px) rotate(-4deg);
}

.floating-call {
  animation: floating-call 3s ease-in-out infinite;
}

.floating-call::before {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(22, 163, 74, 0.45);
  border-radius: inherit;
  content: "";
  animation: call-pulse 2.2s ease-out infinite;
}

@keyframes floating-call {
  50% {
    transform: translateY(-5px);
  }
}

@keyframes call-pulse {
  to {
    opacity: 0;
    transform: scale(1.25);
  }
}

.form-control {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.form-control:focus {
  transform: translateY(-1px);
}

.modal.show .modal-dialog {
  animation: modal-enter 0.35s cubic-bezier(0.2, 0.8, 0.25, 1);
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
}

@media (max-width: 991.98px) {
  .navbar .nav-link:not(.dropdown-toggle)::before,
  .navbar .dropdown-toggle::before {
    display: none;
  }

  .hero-section::before {
    opacity: 0.55;
  }

  @keyframes hero-background {
    from {
      background-size: cover;
    }

    to {
      background-size: cover;
    }
  }
}

@media (max-width: 767.98px) {
  .hero-section::before,
  .hero-section::after,
  .partnership-section::after {
    display: none;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .announcement-bar::after,
  .hero-section::before,
  .hero-section::after,
  .carousel-item.active .hero-slide,
  .carousel-item.slide-animated > *,
  .hero-badge::before,
  .experience-card,
  .verified-chip,
  .partnership-section::before,
  .partnership-section::after,
  .institute-card .badge,
  .cta-section,
  .cta-section::before,
  .floating-call,
  .floating-call::before {
    animation: none !important;
  }

  .reveal-element {
    opacity: 1;
    transform: none;
  }

  .carousel-item .hero-badge,
  .carousel-item h1,
  .carousel-item h2,
  .carousel-item .lead,
  .carousel-item .hero-actions,
  .carousel-item .hero-trust {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

/* Final motion composition: reveal, parallax and hover work together */
.reveal-element {
  transition:
    opacity 0.75s ease var(--reveal-delay, 0ms),
    transform 0.75s cubic-bezier(0.2, 0.72, 0.25, 1) var(--reveal-delay, 0ms),
    filter 0.75s ease var(--reveal-delay, 0ms);
}

.about-image-wrap.reveal-element {
  transform: translate3d(-38px, var(--scroll-y, 0), 0);
}

.about-image-wrap.reveal-element.is-revealed {
  transform: translate3d(0, var(--scroll-y, 0), 0);
}

.service-card.reveal-rotate-left,
.why-card.reveal-rotate-left,
.benefit-card.reveal-rotate-left,
.institute-card.reveal-rotate-left {
  transform: translateY(38px) rotate(-1.6deg) scale(0.97);
}

.service-card.reveal-rotate-right,
.why-card.reveal-rotate-right,
.benefit-card.reveal-rotate-right,
.institute-card.reveal-rotate-right {
  transform: translateY(38px) rotate(1.6deg) scale(0.97);
}

.service-card.reveal-rotate-left.is-revealed,
.service-card.reveal-rotate-right.is-revealed,
.why-card.reveal-rotate-left.is-revealed,
.why-card.reveal-rotate-right.is-revealed,
.benefit-card.reveal-rotate-left.is-revealed,
.benefit-card.reveal-rotate-right.is-revealed,
.institute-card.reveal-rotate-left.is-revealed,
.institute-card.reveal-rotate-right.is-revealed {
  transform: translate3d(0, 0, 0) rotate(0) scale(1);
}

.service-card.is-revealed:hover,
.why-card.is-revealed:hover,
.institute-card.is-revealed:hover {
  transform: translateY(-6px) scale(1.01);
}

.benefit-card.is-revealed:hover {
  transform: translateY(-4px) scale(1.01);
}

.partnership-section {
  background-position:
    var(--scene-partner-x, 80%) var(--scene-partner-y, 10%),
    center;
}

.animated-button {
  transform: translate3d(var(--button-x, 0px), var(--button-y, 0px), 0);
}

.animated-button:hover {
  transform: translate3d(
    var(--button-x, 0px),
    calc(var(--button-y, 0px) - 3px),
    0
  );
}

@media (max-width: 767.98px) {
  .about-image-wrap.reveal-element {
    transform: translate3d(0, 28px, 0);
  }

  .about-image-wrap.reveal-element.is-revealed {
    transform: translate3d(0, var(--scroll-y, 0), 0);
  }

  .service-card.reveal-rotate-left,
  .service-card.reveal-rotate-right,
  .why-card.reveal-rotate-left,
  .why-card.reveal-rotate-right,
  .benefit-card.reveal-rotate-left,
  .benefit-card.reveal-rotate-right,
  .institute-card.reveal-rotate-left,
  .institute-card.reveal-rotate-right {
    transform: translateY(28px) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-image-wrap.reveal-element,
  .about-image-wrap.reveal-element.is-revealed,
  .service-card.reveal-rotate-left,
  .service-card.reveal-rotate-right,
  .why-card.reveal-rotate-left,
  .why-card.reveal-rotate-right,
  .benefit-card.reveal-rotate-left,
  .benefit-card.reveal-rotate-right,
  .institute-card.reveal-rotate-left,
  .institute-card.reveal-rotate-right,
  .animated-button,
  .animated-button:hover {
    opacity: 1;
    filter: none;
    transform: none !important;
  }
}

/* Responsive interaction polish */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
svg {
  max-width: 100%;
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 4.75rem 0;
  }

  .hero-slide {
    background-position: center, 64% center;
  }

  .hero-slide-two {
    background-position: center, 60% center;
  }

  .hero-slide-three {
    background-position: center, 68% center;
  }

  .hero-section h1,
  .hero-section h2,
  .hero-section .lead {
    max-width: 680px;
  }

  .about-image-wrap > img {
    min-height: 430px;
  }

  .network-heading {
    margin-bottom: 2.25rem !important;
  }

  .network-visual {
    min-height: 580px;
  }

  .network-directory {
    min-height: auto;
  }

  .network-directory::before {
    position: absolute;
    top: 0;
    right: 1.5rem;
    left: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(21, 94, 239, 0.22), transparent);
    content: "";
  }

  .network-directory {
    position: relative;
  }

  .footer .row {
    --bs-gutter-y: 2.75rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    scroll-padding-top: 76px;
  }

  .container-xl {
    --bs-gutter-x: 2rem;
  }

  .announcement-bar {
    padding: 0.48rem 0;
  }

  .header-main > .container-xl,
  header.header-scrolled .header-main > .container-xl {
    min-height: 82px;
  }

  .brand-logo {
    width: 186px;
    height: 64px;
  }

  .navbar-toggler {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: var(--skiisy-navy);
    border-radius: 13px;
    background: #f0f5ff;
  }

  .offcanvas {
    --bs-offcanvas-width: min(360px, 94vw);
  }

  .offcanvas-header {
    padding: 0.7rem 1rem;
  }

  .offcanvas-body {
    padding: 0.7rem 1.25rem 1.5rem;
  }

  .mobile-brand-logo {
    width: 194px;
    height: 94px;
  }

  .mobile-nav-link,
  .offcanvas .accordion-button {
    min-height: 50px;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    font-size: 0.92rem;
  }

  .hero-slide,
  .min-vh-hero {
    min-height: 650px;
  }

  .hero-slide,
  .hero-slide-two,
  .hero-slide-three {
    background-image:
      linear-gradient(90deg, rgba(7, 28, 58, 0.97), rgba(7, 28, 58, 0.79)),
      var(--hero-slide-image);
    background-position: center, 64% center;
  }

  .hero-slide .col-lg-6 {
    padding-top: 4.75rem !important;
    padding-bottom: 6.5rem !important;
  }

  .hero-section .display-3 {
    font-size: clamp(2.15rem, 10.6vw, 3.35rem);
    letter-spacing: -0.045em;
    line-height: 1.08;
  }

  .hero-section .lead {
    margin-top: 1rem;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .hero-badge {
    padding: 0.5rem 0.72rem;
    font-size: 0.7rem;
  }

  .hero-actions {
    gap: 0.7rem !important;
  }

  .hero-actions .btn {
    min-height: 48px;
    padding: 0.7rem 1.1rem !important;
    font-size: 0.88rem;
  }

  .hero-trust {
    gap: 0.65rem 1rem;
    font-size: 0.7rem;
  }

  .hero-section .carousel-indicators {
    bottom: 1.35rem;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  .quick-actions-section {
    margin-top: 0;
    padding: 1rem 0 0;
    background: #fff;
  }

  .quick-actions {
    border: 1px solid var(--skiisy-border) !important;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(9, 32, 63, 0.09) !important;
  }

  .quick-actions .col-6:nth-child(odd) .quick-action {
    border-right: 1px solid var(--skiisy-border);
  }

  .quick-actions .col-6:nth-last-child(-n + 2) .quick-action {
    border-bottom: 0;
  }

  .quick-action {
    min-height: 142px;
    gap: 0.6rem;
    padding: 1rem 0.85rem;
    border-right: 0;
  }

  .action-icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    font-size: 1.15rem;
  }

  .quick-action strong {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .quick-action small {
    font-size: 0.63rem;
  }

  .section-space {
    padding: 4rem 0;
  }

  .section-title {
    font-size: clamp(1.85rem, 8.5vw, 2.55rem);
    line-height: 1.15;
  }

  .section-eyebrow {
    font-size: 0.68rem;
  }

  .about-image-wrap {
    max-width: 560px;
    padding: 0 0 2.2rem;
  }

  .about-image-wrap > img {
    min-height: 340px;
    border-radius: 20px !important;
    object-position: 65% center;
  }

  .verified-chip {
    top: 0.85rem;
    left: 0.75rem;
    max-width: calc(100% - 1.5rem);
    padding: 0.7rem 0.8rem;
  }

  .experience-card {
    right: 0.75rem;
    bottom: 0;
    padding: 0.8rem 1rem;
  }

  .experience-card strong {
    font-size: 1.55rem;
  }

  .feature-check {
    min-height: 46px;
    padding: 0.55rem 0.65rem;
    background: #f7f9fd;
    font-size: 0.82rem;
  }

  #about .d-flex.flex-wrap.gap-3 .btn {
    flex: 1 1 150px;
  }

  .stats-section {
    padding: 2.4rem 0 !important;
  }

  .stats-section .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
  }

  .stat-item {
    min-height: 132px;
    justify-content: center;
    padding: 1rem 0.45rem;
    border-radius: 0;
  }

  .stats-section .col-6:nth-child(odd) .stat-item {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stats-section .col-6:nth-child(-n + 2) .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-item strong {
    font-size: 1.75rem;
  }

  .service-card,
  .why-card {
    padding: 1.35rem;
    border-radius: 18px;
  }

  .service-card p {
    min-height: auto;
  }

  .service-icon,
  .why-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }

  .partnership-section .display-5 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .benefit-card {
    padding: 1.15rem;
  }

  .network-heading .section-title br {
    display: none;
  }

  .network-shell {
    border-radius: 22px;
    box-shadow: 0 22px 55px rgba(9, 32, 63, 0.11);
  }

  .network-visual {
    min-height: 540px;
    padding: 1.6rem;
  }

  .network-copy h3 {
    max-width: 320px;
    font-size: 2rem;
  }

  .network-copy p {
    font-size: 0.8rem;
  }

  .network-map {
    width: min(300px, 94%);
    min-height: 190px;
    margin: 1.7rem auto;
  }

  .ring-a {
    width: 135px;
    height: 135px;
  }

  .ring-b {
    width: 205px;
    height: 205px;
  }

  .network-line {
    width: 112px;
  }

  .line-c {
    width: 92px;
  }

  .node-main {
    width: 52px;
    height: 52px;
  }

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

  .network-metrics > div {
    display: block;
    padding: 0.85rem 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
  }

  .network-metrics strong {
    font-size: 1rem;
  }

  .network-metrics span {
    font-size: 0.55rem;
  }

  .network-directory {
    padding: 1.6rem;
  }

  .directory-header {
    margin-bottom: 1.25rem;
  }

  .directory-header h3 {
    font-size: 1.35rem;
  }

  .carousel-controls .btn {
    width: 40px;
    height: 40px;
  }

  .network-directory .institute-card {
    min-height: 110px;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 16px;
  }

  .network-directory .institute-card h3 {
    font-size: 0.92rem;
  }

  .network-directory .institute-card p {
    font-size: 0.68rem;
  }

  .faq-accordion .accordion-button {
    padding: 1rem;
    font-size: 0.84rem;
  }

  .faq-accordion .accordion-body {
    padding: 0 1rem 1rem;
    font-size: 0.8rem;
  }

  .faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    transform: none;
  }

  .cta-section {
    text-align: center;
  }

  .cta-section .btn {
    width: 100%;
  }

  .footer {
    text-align: left;
  }

  .footer-logo {
    width: 210px;
    height: 88px;
  }

  .footer .row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 2.4rem;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .floating-call {
    right: max(0.8rem, env(safe-area-inset-right));
    bottom: max(0.8rem, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
    justify-content: center;
    padding: 0;
    font-size: 1.05rem;
  }

  .toast-container {
    right: 0 !important;
    left: 0;
    width: 100%;
    padding: 0.75rem !important;
  }

  .toast {
    width: 100%;
  }

  .reveal-element {
    transition-duration: 0.65s;
  }

  .quick-action.is-revealed .action-icon,
  .service-card.is-revealed .service-icon,
  .why-card.is-revealed .why-icon {
    animation: mobile-icon-arrive 0.75s cubic-bezier(0.2, 0.85, 0.25, 1) both;
    animation-delay: calc(var(--reveal-delay, 0ms) + 160ms);
  }

  .interactive-card:active {
    transform: scale(0.985) !important;
  }
}

@media (max-width: 575.98px) {
  .hero-slide,
  .min-vh-hero {
    min-height: 675px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust span {
    flex: 1 1 42%;
  }

  .network-visual,
  .network-directory {
    padding: 1.25rem;
  }

  .network-visual {
    min-height: 520px;
  }

  .network-map {
    width: min(270px, 100%);
  }

  .network-directory .institute-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .network-directory .institute-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 0.82rem;
  }

  .directory-header {
    align-items: flex-end;
  }

  .directory-header span {
    font-size: 0.59rem;
  }

  .directory-header h3 {
    font-size: 1.18rem;
  }

  .modal-dialog {
    min-height: calc(100% - 1rem);
    margin: 0.5rem;
  }

  .modal-content {
    max-height: calc(100dvh - 1rem);
    border-radius: 20px !important;
    overflow-y: auto !important;
  }

  .modal-header {
    position: sticky;
    z-index: 2;
    top: 0;
    padding: 1.15rem 1.15rem 0.75rem !important;
    background: #fff;
  }

  .modal-body {
    padding: 0.75rem 1.15rem 1.25rem !important;
  }

  .form-control,
  .form-control-lg {
    min-height: 48px;
    font-size: 16px;
  }
}

@media (max-width: 374.98px) {
  .container-xl {
    --bs-gutter-x: 1.5rem;
  }

  .brand-logo {
    width: 150px;
  }

  .hero-section .display-3 {
    font-size: 2rem;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-action {
    min-height: 134px;
    padding: 0.85rem 0.65rem;
  }

  .network-copy h3 {
    font-size: 1.75rem;
  }

  .network-map {
    transform: scale(0.9);
  }

  .network-metrics {
    grid-template-columns: 1fr;
  }

  .network-metrics > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .network-metrics > div:last-child {
    border-bottom: 0;
  }
}

@keyframes mobile-icon-arrive {
  0% {
    opacity: 0.35;
    transform: translateY(10px) rotate(-10deg) scale(0.8);
  }

  65% {
    transform: translateY(-3px) rotate(4deg) scale(1.08);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-action.is-revealed .action-icon,
  .service-card.is-revealed .service-icon,
  .why-card.is-revealed .why-icon {
    animation: none !important;
  }

  .interactive-card:active {
    transform: none !important;
  }
}

/* Latest institutes and learner activity marquees */
#institutes {
  background:
    radial-gradient(circle at 8% 16%, rgba(21, 94, 239, 0.08), transparent 26%),
    radial-gradient(circle at 92% 82%, rgba(14, 199, 181, 0.08), transparent 24%),
    var(--skiisy-soft);
}

#institutes .network-heading p {
  max-width: 590px;
}

#institutes .network-directory {
  min-height: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

#institutes .carousel-controls,
#institutes .directory-progress {
  display: none;
}

#institutes .directory-header {
  margin-bottom: 1.25rem;
}

.institute-marquee,
.learner-marquee-window {
  position: relative;
  margin-right: calc(clamp(1.5rem, 4vw, 3rem) * -1);
  margin-left: calc(clamp(1.5rem, 4vw, 3rem) * -1);
  overflow: hidden;
}

.institute-marquee::before,
.institute-marquee::after,
.learner-marquee-window::before,
.learner-marquee-window::after {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: clamp(28px, 7vw, 100px);
  content: "";
  pointer-events: none;
}

.institute-marquee::before,
.learner-marquee-window::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.institute-marquee::after,
.learner-marquee-window::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

#instituteMarquee .institute-marquee-track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  padding: 0.4rem clamp(1.5rem, 4vw, 3rem) 1.1rem;
  overflow: visible;
  animation: institute-marquee 38s linear infinite;
}

#instituteMarquee .institute-marquee-group {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  backface-visibility: visible;
  transition: none;
}

#instituteMarquee .network-card-list {
  display: flex;
  gap: 0.85rem;
}

#instituteMarquee .institute-card {
  width: 310px;
  min-height: 116px;
  flex: 0 0 auto;
  grid-template-columns: 54px 1fr auto;
  padding: 1rem;
}

#instituteMarquee .institute-avatar {
  width: 54px;
  height: 54px;
  border-radius: 15px;
}

#instituteMarquee .institute-card h3 {
  margin-top: 0.35rem;
  font-size: 0.94rem;
}

#instituteMarquee .institute-card p {
  font-size: 0.68rem;
}

.network-directory .logo-card {
  position: relative;
  display: block;
  width: 290px;
  min-height: 174px;
  padding: 0.85rem 1rem 1.8rem;
  border-color: rgba(21, 94, 239, 0.35);
  background: #fff;
}

.network-directory .logo-card::after {
  display: none;
}

.institute-logo {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: contain;
  object-position: center;
}

.logo-card .partner-status {
  position: absolute;
  right: 0.8rem;
  bottom: 0.55rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 3px 12px rgba(9, 32, 63, 0.08);
  backdrop-filter: blur(5px);
}

.institute-marquee:hover .institute-marquee-track,
.institute-marquee:focus-within .institute-marquee-track,
.learner-marquee-window:hover .learner-marquee-track,
.learner-marquee-window:focus-within .learner-marquee-track {
  animation-play-state: paused;
}

@keyframes institute-marquee {
  to {
    transform: translateX(calc(-50% - 0.425rem));
  }
}

.learner-marquee {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--skiisy-border);
}

.marquee-link {
  color: var(--skiisy-primary);
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.marquee-link:hover {
  color: var(--skiisy-primary-dark);
}

.learner-marquee-track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  padding: 0.4rem clamp(1.5rem, 4vw, 3rem) 0.5rem;
  animation: learner-marquee 32s linear infinite;
}

.learner-marquee-group {
  display: flex;
  gap: 0.85rem;
}

.learner-card {
  display: flex;
  width: 310px;
  min-height: 132px;
  flex: 0 0 auto;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem;
  border: 1px solid var(--skiisy-border);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 43, 84, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.learner-card:hover {
  border-color: rgba(21, 94, 239, 0.3);
  box-shadow: 0 14px 30px rgba(16, 43, 84, 0.1);
  transform: translateY(-3px);
}

.learner-avatar {
  display: grid;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--skiisy-primary), #5b8cff);
  font-size: 0.78rem;
  font-weight: 800;
}

.learner-avatar {
  border: 3px solid #fff;
  background-image: var(--student-portraits);
  background-repeat: no-repeat;
  background-size: 200% 200%;
  box-shadow: 0 0 0 1px rgba(21, 94, 239, 0.12), 0 6px 16px rgba(9, 32, 63, 0.12);
}

.student-priya {
  background-position: 0 0;
}

.student-rahul {
  background-position: 100% 0;
}

.student-aman {
  background-position: 0 100%;
}

.student-neha {
  background-position: 100% 100%;
}

.learner-card span,
.learner-card strong,
.learner-card small {
  display: block;
}

.learner-card span {
  color: var(--skiisy-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.learner-card strong {
  margin: 0.25rem 0;
  color: var(--skiisy-navy);
  font-size: 1rem;
}

.learner-card small {
  color: #16845b;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes learner-marquee {
  from {
    transform: translateX(calc(-50% - 0.425rem));
  }

  to {
    transform: translateX(0);
  }
}

@media (max-width: 767.98px) {
  #institutes .network-heading {
    text-align: center;
  }

  #institutes .network-heading p {
    margin-right: auto;
    margin-left: auto;
  }

  #institutes .directory-header {
    align-items: flex-start;
  }

  #instituteMarquee .institute-card {
    width: 278px;
    grid-template-columns: 48px 1fr auto;
  }

  #instituteMarquee .institute-avatar {
    width: 48px;
    height: 48px;
  }

  .learner-avatar {
    width: 76px;
    height: 76px;
  }

  .learner-card {
    width: 278px;
    min-height: 118px;
    gap: 0.9rem;
    padding: 1rem;
  }
}

@media (max-width: 479.98px) {
  .marquee-link {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #instituteMarquee .institute-marquee-track,
  .learner-marquee-track {
    width: auto;
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  #instituteMarquee .institute-marquee-group[aria-hidden="true"],
  .learner-marquee-group[aria-hidden="true"] {
    display: none;
  }

  #instituteMarquee .institute-card,
  .learner-card {
    scroll-snap-align: start;
  }
}
