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

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

body {
  background-color: #f4f7fa;
  color: #222e40;
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
}

/* Shared Navbar is styled via css/navbar.css */

.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/education_background.jpeg');
  /* Replace with your image path */
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  color: rgb(246, 242, 242);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 4rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  font-weight: 500;
}

.hero a.button {
  text-decoration: none;
  background-color: #222e40;
  color: white;
  padding: 12px 25px;
  border-radius: 12px;
  font-weight: bold;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(34, 46, 64, 0.22);
}

.hero a.button:hover {
  background-color: #18212e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 46, 64, 0.3);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
@media (min-width: 2560px) {
  .hero {
    padding: 10vh 5vw 6vh;
  }

  .hero-content {
    max-width: 1400px;
    padding: 3vw;
  }

  .hero h1 {
    font-size: 5rem;
  }

  .hero p {
    font-size: 1.8rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero a.button {
    font-size: 1.4rem;
    padding: 1.2em 2.5em;
  }
}


/* ========================================================
   OUR MISSION & VISION SCROLL-DRIVEN TRANSITION
   ======================================================== */
.mv-scroll-container {
  position: relative;
  height: 200vh !important; /* Smooth pinned track for logo outline & card reveal */
  min-height: 200vh !important;
  background: #f8fafc;
  overflow: visible !important;
}

.mv-sticky-stage {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden;
  padding: 85px 24px 20px;
  box-sizing: border-box;
  z-index: 5;
}

.mv-header-wrap {
  text-align: center;
  margin-bottom: 30px;
  z-index: 5;
}

.mv-header-wrap h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.5px;
  margin: 0;
}

/* Stage content holding Left Card, Center Logo, Right Card */
.mv-stage-content {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 360px;
  z-index: 2;
}

/* Panels (Mission & Vision) */
.mv-panel {
  position: relative;
  flex: 1;
  max-width: 420px;
  min-height: 250px;
  padding: 44px 34px;
  color: #ffffff;
  background: #273246; /* Clean solid matte corporate navy - NO shine, NO gloss */
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  opacity: 0;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2; /* Sits BEHIND center logo so cards emerge from it */
  pointer-events: none;
  transition: box-shadow 0.3s ease;
}

.mv-panel.active-pointer {
  pointer-events: auto;
}

.mv-panel:hover {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.mv-panel.mv-panel-left {
  clip-path: polygon(0 0, 100% 4%, 100% 96%, 0 100%);
}

.mv-panel.mv-panel-right {
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 96%);
}

.mv-panel h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.mv-panel p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  max-width: 560px;
}

/* Center Logo Container */
.mv-center-logo {
  position: relative;
  width: 230px;
  height: 230px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10; /* Logo is always in front so cards emerge from behind */
  will-change: transform;
}

/* SVG for Outline Stroke Animation */
.mv-logo-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.mv-stroke-path {
  stroke: #273246; /* Clean matte corporate navy outline */
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.mv-solid-group {
  opacity: 0;
  will-change: opacity;
}

/* Solid Logo Layer (Transitions in after outline) */
.mv-solid-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: multiply; /* Blends white circle into background */
}

.mv-solid-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none; /* NO shine, NO gloss */
}

/* Responsive / Mobile styles */
@media (max-width: 900px) {
  .mv-scroll-container {
    height: 180vh !important;
    min-height: 180vh !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .mv-sticky-stage {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    width: 100%;
    padding: 72px 14px 16px !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    z-index: 5;
  }

  .mv-header-wrap {
    margin-bottom: 12px;
  }

  .mv-header-wrap h2 {
    font-size: 1.75rem;
  }

  .mv-stage-content {
    flex-direction: column;
    gap: 10px;
    min-height: auto;
  }

  .mv-center-logo {
    width: 88px;
    height: 88px;
    order: 2; /* Center logo between Mission & Vision */
  }

  .mv-panel {
    max-width: 100%;
    width: 100%;
    min-height: auto;
    padding: 14px 18px;
    border-radius: 12px;
    clip-path: none;
  }

  .mv-panel.mv-panel-left {
    order: 1; /* Mission card on top */
    clip-path: none;
  }

  .mv-panel.mv-panel-right {
    order: 3; /* Vision card on bottom */
    clip-path: none;
  }

  .mv-panel h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }

  .mv-panel p {
    font-size: 0.84rem;
    line-height: 1.45;
  }
}

@media (max-width: 480px) {
  .mv-scroll-container {
    height: 175vh !important;
    min-height: 175vh !important;
    padding: 0 !important;
  }
  .mv-sticky-stage {
    padding: 66px 12px 14px !important;
  }
  .mv-header-wrap {
    margin-bottom: 10px;
  }
  .mv-header-wrap h2 {
    font-size: 1.5rem;
  }
  .mv-center-logo {
    width: 78px;
    height: 78px;
  }
  .mv-panel {
    padding: 12px 14px;
  }
  .mv-panel h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
  }
  .mv-panel p {
    font-size: 0.78rem;
    line-height: 1.4;
  }
}

/* Journey Timeline Section */
/* ---------- BASE STYLING ---------- */
.timeline-section {
  padding: 5vw 2vw;
}

.timeline-header {
  text-align: center;
  margin-bottom: 4vw;
}

.timeline-header h1 {
  font-size: 2.8rem;
  color: #1f2d3d;
  margin-bottom: 10px;
  font-weight: bold;
}

.timeline-header p {
  color: #555;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-wrapper {
  position: relative;
  max-width: 90vw;
  margin: 0 auto;
}

/* ---------- CENTER LINE ---------- */
.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 10px;
  background: #ccc;
  transform: translateX(-50%);
  z-index: 0;
}

/* ---------- TIMELINE ITEM ---------- */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 40px;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
  text-align: left;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

/* ---------- CARD ---------- */
.timeline-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
  transition: background 0.3s ease;
}

.timeline-card:hover {
  background: #222e40;
}
.timeline-card:hover h3,
.timeline-card:hover p {
  color: white;
}

/* ---------- YEAR BADGE ---------- */
.year-badge {
  position: absolute;
  top: -14px;
  background: #222e40;
  color: #fff;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 20px;
  z-index: 3;
}

.timeline-item.left .year-badge {
  left: 0;
}

.timeline-item.right .year-badge {
  right: 0;
}

/* ---------- CONNECTOR LINE ---------- */
.connector-line {
  position: absolute;
  top: 50%;
  width: 50%;
  height: 5px;
  background: #bbb;
  z-index: 1;
  transform: translateY(-50%);
}

.timeline-item.left .connector-line {
  right: 0;
}

.timeline-item.right .connector-line {
  left: 0;
}

/* ---------- DOT ---------- */
.dot {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background-color: #222e40;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.timeline-item.left .dot {
  right: -6px;
}

.timeline-item.right .dot {
  left: -6px;
}

/* ---------- TEXT ---------- */
.timeline-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: bold;
  color: #1f2d3d;
}

.timeline-card p {
  margin: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- RESPONSIVE: SMALL SCREEN ---------- */
@media (max-width: 768px) {
  /* Spine moved to the left */
  .timeline-wrapper::before {
    left: 25px;
    transform: none;
    width: 6px;
    background: #bbb;
  }

  /* Stack all cards vertically */
  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    left: 0 !important;
    text-align: left;
    padding: 30px 20px 30px 60px;
    box-sizing: border-box;
  }

  /* Timeline card to the right of spine */
  .timeline-card {
    margin-left: 0;
  }

  /* Position year badge to top-left */
  .timeline-item .year-badge {
    left: 0 !important;
    right: auto !important;
  }

  /* Connector line: horizontal from spine to card */
  .timeline-item .connector-line {
    position: absolute;
    left: 25px;         /* matches spine */
    top: 50%;
    width: 35px;
    height: 4px;
    background: #bbb;
    transform: translateY(-50%);
    z-index: 1;
  }
  .timeline-item.right .connector-line {
    left: 25px;
  }

  /* Dot exactly at junction of spine and connector */
  .timeline-item .dot {
    position: absolute;
    left: 20px;        /* half dot width (20px) + small gap = aligns with spine */
    top: 50%;
    width: 15px;
    height: 15px;
    background-color: #222e40;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .timeline-item.right .dot {
    position: absolute;
    left: 20px;        /* half dot width (20px) + small gap = aligns with spine */
    top: 50%;
    width: 15px;
    height: 15px;
    background-color: #222e40;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
}


/* ---------- ULTRA WIDE (4K) SCREENS ---------- */
@media (min-width: 2560px) {
  .timeline-wrapper {
    max-width: 1800px;
  }

  .timeline-header h1 {
    font-size: 4rem;
  }

  .timeline-card {
    padding: 30px;
  }

  .timeline-card h3 {
    font-size: 2rem;
  }

  .timeline-card p {
    font-size: 1.2rem;
  }
}


/* leadership */
.team-circles-section {
  padding: 80px 20px;
  background: #f5f8fa;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.section-title {
  font-size: 36px;
  color: #222;
  margin-bottom: 60px;
}

.team-circle-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.team-circle {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.team-circle:hover {
  transform: translateY(-8px);
}

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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 45, 65, 0.9);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  padding: 20px;
  text-align: center;
  transition: opacity 0.4s ease;
}

.team-circle:hover .overlay {
  opacity: 1;
}

.overlay h4 {
  margin: 10px 0 5px;
  font-size: 20px;
}

.overlay .role {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 14px;
  color: #ffd700;
}

.overlay .bio {
  font-size: 13px;
  line-height: 1.4;
}

/* Scroll reveal */
.js-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

/* Footer Section */

.footer {
  background: #222e40;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 0 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  min-width: 160px;
  max-width: 280px;
  flex: 1;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #fff;
}


.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color:orangered;
}

.footer-logo {
  width: 60px;
  margin-bottom: 10px;
}

.footer-col:first-child {
  padding-right: 30px;
}

.footer-col p {
  word-wrap: break-word;
  white-space: pre-line;
  line-height: 1.6;
  font-size: 14px;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 18px;
 
  padding: 8px;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
}

/* Newsletter */
.newsletter-col {
  max-width: 280px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 280px;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 3px 0 0 3px;
  outline: none;
  font-size: 14px;
}

.newsletter-form button {
  padding: 10px 15px;
  background: #222e40;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 0 3px 3px 0;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  opacity: 0.9;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-top: 30px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

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

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    border-radius: 3px;
    margin-bottom: 10px;
  }

  .newsletter-form button {
    border-radius: 3px;
  }
}
@media screen and (max-width: 1165px) {
  .footer-container {
    padding: 0 20px;
  }

  .footer-col {
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 10px;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: none;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* map */
#map-container {
  position: relative;
  width: 100%;
  height: 60vh;
}

#map {
  width: 100%;
  height: 100%;
}

/* ========================================================
   LEAFLET MAP LOGO MARKERS - SCROLL EXPANSION & DE-BLUR
   - Markers start SMALL and BLURRED
   - When map appears while scrolling, they return to ORIGINAL SIZE and become sharp
   - Mobile responsive
   ======================================================== */

.map-logo-marker-wrapper {
  background: transparent !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

/* Initially SMALL and BLURRED */
.map-logo-marker-img,
.leaflet-marker-icon.custom-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  transform: scale(0.35);
  filter: blur(6px);
  opacity: 0.35;
  transform-origin: 50% 100%; /* Expands upward from the pin point on the map */
  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.6s ease-out,
              opacity 1.5s ease-out;
  will-change: transform, filter, opacity;
  pointer-events: auto;
  cursor: pointer;
}

/* When the map appears while scrolling -> RETURN TO ORIGINAL SIZE & CRYSTAL CLEAR SHARPNESS */
.map-logos-active .map-logo-marker-img,
#map-container.in-view .map-logo-marker-img,
.map-logos-active .leaflet-marker-icon.custom-icon,
#map-container.in-view .leaflet-marker-icon.custom-icon {
  transform: scale(1);
  filter: blur(0px);
  opacity: 1;
}

/* Subtle Interactive Hover */
.map-logo-marker-img:hover,
.leaflet-marker-icon.custom-icon:hover {
  transform: scale(1.18);
  filter: blur(0px) drop-shadow(0 4px 10px rgba(15, 28, 63, 0.35));
}

#side-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background-color: #fff;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

#side-panel.active {
  transform: translateX(0);
}

#panel-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 20px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
}

#panel-content h3 {
  margin-top: 0;
  color: #333;
}

#panel-content p {
  margin: 10px 0;
  color: #555;
}

#panel-content a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

#panel-content a:hover {
  text-decoration: underline;
}

.custom-icon {
  border-radius: 50%;
  border: none;
  box-shadow: none;
}

/* ── Presence of Company — Modern Rounded Edge Floating Card System ───────── */
#presence-section {
  background: #f8fafc;
  padding: 1.5rem 0 1rem;
  position: relative;
  overflow: visible;
  box-shadow: none !important;
  border: none !important;
}

#presence-section .content-wrapper {
  max-width: 1260px;
  width: calc(100% - 2.5rem);
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  background: #222e40;
  border-radius: 28px;
  padding: clamp(1.8rem, 3.2vw, 2.5rem) clamp(1.5rem, 3.5vw, 3.5rem);
  box-shadow:
    0 10px 30px -10px rgba(15, 23, 42, 0.25),
    0 25px 50px -12px rgba(15, 23, 42, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* Subtle architectural gradient glow inside the rounded card */
#presence-section .content-wrapper::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.08) 0%, rgba(34, 46, 64, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

#presence-section h2 {
  font-family: 'DM Sans', 'Inter Tight', sans-serif;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #ffffff !important;
  margin: 0 0 0.75rem 0;
  position: relative;
  z-index: 2;
  display: block;
}

#presence-section p {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.8;
  color: #e2e8f0 !important;
  margin: 0 auto;
  max-width: 820px;
  font-weight: 400;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  display: block;
  text-shadow: none !important;
}

/* Seamless Rounded Edge on the Map Section */
.map-section {
  background: #f8fafc;
  padding: 0 0 5rem 0;
  position: relative;
}

#map-container {
  max-width: 1260px;
  width: calc(100% - 2.5rem);
  margin: 1.75rem auto 0;
  height: 65vh;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(34, 46, 64, 0.12);
  box-shadow:
    0 10px 30px -10px rgba(15, 23, 42, 0.12),
    0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

/* Typing Effect Cursor - Disabled (Static Typography) */
.typing-cursor {
  display: none !important;
}

/* programs */
/* ========================================================
   PROGRAMS & DEPARTMENTS INTERACTIVE ROSTER SHOWCASE
   - Matches reference video animation:
     * Clean white background
     * Expanding icon badge reveals previous available icons between words
     * High-contrast active typography highlight (#222e40 brand blue)
     * Dimmed inactive items (opacity: 0.35)
     * Horizontal dividers separating items
     * Category switcher between Programs and Departments
     * Ambient watermark icon in background (zero photos)
     * Fully responsive down to mobile viewports
   ======================================================== */

.roster-showcase-section {
  position: relative;
  width: 100%;
  background: #ffffff;
  color: #222e40;
  padding: 5.5rem 5% 6.5rem 5%;
  overflow: clip;
  box-sizing: border-box;
}

/* Header */
.roster-header {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 3.5rem auto;
}

.roster-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #222e40;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.roster-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #222e40;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  font-family: 'Poppins', 'Inter', sans-serif;
}

/* Side-by-Side Columns Grid */
.roster-columns-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
  max-width: 1260px;
  margin: 0 auto;
  align-items: start;
}

.roster-col {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.roster-col-header {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 1.1rem;
  border-bottom: 2px solid #e2e8f0;
}

.roster-col-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 70px;
  height: 3px;
  background: #222e40;
  border-radius: 2px;
}

.roster-col-title {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: #222e40;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
  text-transform: capitalize;
}

/* Items List */
.roster-list-container {
  width: 100%;
}

/* Item Default: NO box around it, clear text without blur */
.roster-item {
  position: relative;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 6px;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: 1px solid #eef2f6;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.roster-item:last-child {
  border-bottom-color: transparent;
}

/* When mouse hover over it: Blue box appears around it */
.roster-item:hover,
.roster-item.active {
  background: #222e40;
  border-color: #222e40;
  border-bottom-color: #222e40;
  box-shadow: 0 10px 28px rgba(39, 50, 70, 0.22);
  transform: translateY(-2px);
}

/* Background Shadow/Watermark of Icon inside the Blue Box */
.roster-item-bg-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) scale(0.85);
  font-size: 85px;
  line-height: 1;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.roster-item:hover .roster-item-bg-icon,
.roster-item.active .roster-item-bg-icon {
  opacity: 0.13;
  transform: translateY(-50%) scale(1) rotate(-5deg);
}

.roster-item-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

/* Clear text - NOT blurred, 100% sharp opacity */
.roster-text {
  flex: 1;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(0.96rem, 1.2vw, 1.15rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: #222e40;
  opacity: 1;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.roster-item:hover .roster-text,
.roster-item.active .roster-text {
  color: #ffffff;
  transform: translateX(4px);
}

/* Icon at the Start */
.roster-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #222e40;
  border: 1px solid #e2e8f0;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.roster-item:hover .roster-item-icon,
.roster-item.active .roster-item-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

/* Responsive Styles */
@media (max-width: 960px) {
  .roster-columns-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .roster-showcase-section {
    padding: 4.5rem 1.25rem 5.5rem 1.25rem;
  }

  .roster-text {
    font-size: clamp(0.92rem, 3.2vw, 1.08rem);
  }
}

@media (max-width: 520px) {
  .roster-showcase-section {
    padding: 3.5rem 0.75rem 4.5rem 0.75rem;
  }

  .roster-col-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.9rem;
  }

  .roster-col-title {
    font-size: 1.45rem;
  }

  .roster-col-header::after {
    width: 50px;
    height: 2.5px;
  }

  .roster-item {
    padding: 0.9rem 0.95rem;
    margin-bottom: 4px;
  }

  .roster-item-inner {
    gap: 12px;
  }

  .roster-item-icon {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
  }

  .roster-text {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .roster-item-bg-icon {
    font-size: 64px;
    right: 8px;
  }
}

/* Section container */
.programs-section {
  padding: 80px 20px;
  text-align: center;
}

/* Section heading */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #1d2540;
  font-weight: 700;
}

/* Wrapper to help center the grid */
.programs-grid-wrapper {
  display: flex;
  justify-content: center;
}

/* Grid layout for cards */
.programs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
}

/* Enhanced responsive styles */
@media (max-width: 992px) {
   .hero{
    height: 60vh;
  } 
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .mv-wrap h2 {
    font-size: 2.4rem;
    margin-bottom: 60px;
  }

  .panel {
    padding: 50px 40px;
  }

  .team-circle {
    width: 220px;
    height: 220px;
  }

  #presence-section h2 {
    font-size: 2.5rem;
  }

  #presence-section p {
    font-size: 1.2rem;
  }

  .program-card {
    flex: 0 1 calc(33.33% - 30px);
  }

  #map-container {
    height: 80vh;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .mv-wrap {
    padding: 70px 4vw 90px;
  }

  .mv-wrap h2 {
    font-size: 2rem;
    margin-bottom: 50px;
  }

  .mv-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .panel {
    padding: 40px 30px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .panel h3 {
    font-size: 1.6rem;
  }

  .team-circle-grid {
    gap: 30px;
  }

  .team-circle {
    width: 180px;
    height: 180px;
  }

  .overlay h4 {
    font-size: 18px;
  }

  .overlay .bio {
    font-size: 12px;
  }

  #presence-section {
    padding: 3rem 0 1.5rem;
  }

  #presence-section .content-wrapper {
    width: calc(100% - 1.5rem);
    border-radius: 20px;
    padding: 2.2rem 1.4rem;
    height: auto;
    margin-top: 0;
  }

  #presence-section h2 {
    font-size: 2.2rem;
  }

  #presence-section p {
    font-size: 1.1rem;
  }

  .program-card {
    flex: 0 1 calc(50% - 30px);
  }

  #map-container {
    height: 70vh;
  }

  .map-logo-marker-img,
  .leaflet-marker-icon.custom-icon {
    width: 34px;
    height: 34px;
  }

  #side-panel {
    width: 280px;
  }

  .footer-container {
    padding: 0 20px;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 60vh;

  }

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

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

  .hero a.button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .mv-wrap {
    padding: 60px 4vw 80px;
  }

  .mv-wrap h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .panel {
    padding: 35px 25px;
  }

  .panel h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }

  .panel p {
    font-size: 0.95rem;
  }

  .team-circle {
    width: 150px;
    height: 150px;
  }

  .overlay h4 {
    font-size: 16px;
    margin: 5px 0 3px;
  }

  .overlay .role {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .overlay .bio {
    font-size: 11px;
    line-height: 1.3;
  }

  #presence-section h2 {
    font-size: 1.8rem;
  }

  #presence-section p {
    font-size: 1rem;
  }

  .program-card {
    flex: 0 1 100%;
    padding: 25px 15px;
  }

  .program-card i {
    font-size: 60px;
    margin-bottom: 15px;
  }

  #map-container {
    height: 65vh;
  }

  .map-logo-marker-img,
  .leaflet-marker-icon.custom-icon {
    width: 30px;
    height: 30px;
  }

  #side-panel {
    width: 250px;
  }
}

@media (max-width: 400px) {
  
  .hero h1 {
    font-size: 1.6rem;
  }

  .team-circle-grid {
    gap: 20px;
  }

  .team-circle {
    width: 130px;
    height: 130px;
  }

  .overlay {
    padding: 10px;
  }

  .overlay h4 {
    font-size: 14px;
  }

  .overlay .role {
    font-size: 11px;
  }

  .overlay .bio {
    display: none;
  }

  #side-panel {
    width: 100%;
    border-radius: 0;
  }
}

/* Program card base style */
.program-card {
  flex: 0 1 calc(25% - 30px);
  /* 4 per row with spacing */
  background: #ffffff;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s, color 0.3s, filter 0.3s;
  cursor: pointer;
  text-align: center;
}

/* Icon inside card */
.program-card i {
  color: #222e40;
  font-size: 80px;
  margin-bottom: 20px;
  transition: color 0.3s, filter 0.3s;
}

/* Card title */
.program-card h3 {
  font-size: 1rem;
  color: #222e40;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.3s;
}

/* Hover state */
.program-card:hover {
  background: #222e40;
  color: white;
  transform: translateY(-5px);
}

.program-card:hover h3,
.program-card:hover i {
  color: white;
  filter: brightness(0) invert(1);
}

/* Input-based selection styling */
.card-input {
  display: none;
}

.card-input:checked+.program-card {
  background: #222e40;
  color: white;
}

.card-input:checked+.program-card h3,
.card-input:checked+.program-card i {
  color: white;
  filter: brightness(0) invert(1);
}


/*contact us button footer*/
.btn {
  padding: 12px 26px;
  background-color: #222e40;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(34, 46, 64, 0.22);
}
.btn:hover {
  background-color: #18212e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 46, 64, 0.3);
}

@media (min-width: 2560) {
  .hero{
    height:60vh;
  }

}

/* ==========================================================================
   STRATEGIC PILLARS OF SUCCESS - PINNED STAGGERED SCROLL
   - Centered Section Heading
   - Section is pinned (sticky 100vh) while scrolling through the cards
   - Page does not scroll away until all 3 cards are present on screen
   - Layout:
     - Card 1: Left
     - Card 2: Right
     - Card 3: Left
   - 100% Mobile Responsive
   - Theme Dark Blue (#273246), clean white cards, subtle elevation
   ========================================================================== */

.pillars-scroll-section,
.pillars-section {
  position: relative;
  background-color: #f1f5f9;
  color: #1e293b;
  height: 100vh !important; /* Exactly 100vh viewport fit */
  min-height: 100vh !important;
  overflow: hidden;
  box-sizing: border-box;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(15, 28, 63, 0.38) 0%, rgba(29, 44, 77, 0.14) 36%, transparent 65%),
    radial-gradient(circle at 0% 100%, rgba(15, 28, 63, 0.38) 0%, rgba(29, 44, 77, 0.14) 36%, transparent 65%),
    radial-gradient(circle at 0% 0%, rgba(15, 28, 63, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(15, 28, 63, 0.18) 0%, transparent 45%);
}

/* Deep Dark Navy Corner Accents */
.pillars-scroll-section::before,
.pillars-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(300px, 40vw, 520px);
  height: clamp(300px, 40vw, 520px);
  background: radial-gradient(circle at 100% 0%, rgba(15, 28, 63, 0.42) 0%, rgba(29, 44, 77, 0.16) 42%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

.pillars-scroll-section::after,
.pillars-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(300px, 40vw, 520px);
  height: clamp(300px, 40vw, 520px);
  background: radial-gradient(circle at 0% 100%, rgba(15, 28, 63, 0.42) 0%, rgba(29, 44, 77, 0.16) 42%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* 100vh Centered Stage */
.pillars-container,
.pillars-sticky-viewport {
  position: relative !important;
  height: 100% !important;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(20px, 3vh, 40px) clamp(16px, 3vw, 32px) !important;
  box-sizing: border-box;
  background: transparent !important;
  overflow: hidden;
  z-index: 2;
}

.pillars-header {
  width: 100%;
  max-width: 820px;
  margin: 0 auto clamp(18px, 2.8vh, 32px);
  text-align: center !important;
  z-index: 5;
  position: relative;
  flex-shrink: 0;
}

.pillars-main-heading {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #273246 !important; /* Website Dark Blue Theme */
  margin: 0 0 8px 0;
  line-height: 1.2;
  text-align: center !important;
}

.pillars-sub-statement {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: #475569;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.55;
  font-weight: 400;
  text-align: center !important;
}

/* Stage Wrapper & Staggered Cards Track */
.pillars-stage-wrapper,
.pillars-staggered-track,
.pillars-cards-grid,
.pillars-cascade-cards {
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(26px, 3.8vh, 44px) !important; /* Generous space between staggered cards */
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  position: relative;
  z-index: 10;
}

/* Horizontal Rectangular Staggered Cards - Identical Dimensions Across All Cards */
.strategy-pillar-card {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: min(740px, 86%) !important;
  max-width: 740px !important;
  min-height: clamp(122px, 14.5vh, 134px) !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-left: 6px solid #273246 !important; /* Only left border highlighted */
  border-radius: 16px !important;
  padding: clamp(20px, 2.5vh, 26px) clamp(22px, 2.8vw, 30px) !important;
  box-sizing: border-box !important;
  box-shadow: 0 12px 30px -4px rgba(15, 28, 63, 0.12), 0 4px 10px -2px rgba(15, 28, 63, 0.05) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: clamp(18px, 2.4vw, 26px) !important;
  user-select: none;
  cursor: pointer;
  z-index: 5;
  
  /* Scroll appearance animation */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease !important;
}

/* Alignment Staggering: Card 1 (Left), Card 2 (Right), Card 3 (Left) */
.strategy-pillar-card.card-align-left,
.strategy-pillar-card.card-pillar-1,
.strategy-pillar-card.card-pillar-3 {
  align-self: flex-start !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  transform: translateX(-40px);
}

.strategy-pillar-card.card-align-right,
.strategy-pillar-card.card-pillar-2 {
  align-self: flex-end !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  transform: translateX(40px);
}

/* When Card Appears on Scroll */
.strategy-pillar-card.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
}

/* Hover Elevation Effect - Keeps left border prominently highlighted */
.strategy-pillar-card.is-visible:hover {
  transform: translateX(0) translateY(-5px) !important;
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  border-left: 6px solid #273246 !important; /* Left border remains the highlight */
  box-shadow: 0 22px 44px -6px rgba(15, 28, 63, 0.16), 0 8px 16px -4px rgba(15, 28, 63, 0.06) !important;
}

.strategy-pillar-card.is-visible:hover .card-icon-wrap {
  transform: scale(1.08);
  border-color: #273246 !important;
}

/* Card Content: Icon Badge + Text Content */
.card-icon-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 12px !important;
  background-color: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #273246 !important; /* Theme Dark Blue */
  font-size: 1.45rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}

.card-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: #273246 !important;
  stroke-width: 2;
  display: block;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

.card-icon-wrap i {
  color: #273246 !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.3s ease, transform 0.3s ease;
}

.card-text-content,
.card-body-content {
  flex: 1;
  min-width: 0;
  text-align: left;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.card-headline {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(1.18rem, 1.45vw, 1.35rem) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em;
  margin: 0 0 6px 0 !important;
  color: #0f172a !important;
  transition: color 0.3s ease;
}

.card-editorial-quote {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(0.86rem, 0.98vw, 0.94rem) !important;
  line-height: 1.55 !important;
  color: #475569 !important;
  font-weight: 400 !important;
  margin: 0 !important;
  transition: color 0.3s ease;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .strategy-pillar-card {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS (≤ 900px)
   ========================================================================== */
@media (max-width: 900px) {
  .pillars-scroll-section,
  .pillars-section {
    height: auto !important;
    min-height: auto !important;
    padding: 26px 16px 30px !important;
    overflow: visible !important;
  }

  .pillars-container,
  .pillars-sticky-viewport {
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    overflow: visible !important;
  }

  .pillars-header {
    margin-bottom: 16px;
  }

  .pillars-main-heading {
    font-size: clamp(1.45rem, 5vw, 1.75rem) !important;
    margin-bottom: 4px;
  }

  .pillars-sub-statement {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .pillars-staggered-track,
  .pillars-cards-grid,
  .pillars-cascade-cards {
    gap: 10px;
    max-width: 100%;
  }

  .strategy-pillar-card {
    width: 94% !important;
    max-width: 560px !important;
    min-height: 84px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    gap: 12px !important;
    box-sizing: border-box !important;
  }

  .strategy-pillar-card.card-align-left,
  .strategy-pillar-card.card-pillar-1,
  .strategy-pillar-card.card-pillar-3 {
    align-self: flex-start !important;
    transform: translateX(-20px);
  }

  .strategy-pillar-card.card-align-right,
  .strategy-pillar-card.card-pillar-2 {
    align-self: flex-end !important;
    transform: translateX(20px);
  }

  .card-icon-wrap {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    font-size: 1.1rem;
  }

  .card-icon-wrap i {
    font-size: 1.15rem !important;
  }

  .card-headline {
    font-size: 0.96rem;
    margin-bottom: 2px;
  }

  .card-editorial-quote {
    font-size: 0.78rem;
    line-height: 1.35;
  }
}

@media (max-width: 480px) {
  .pillars-scroll-section,
  .pillars-section {
    padding: 20px 12px 24px !important;
  }

  .pillars-staggered-track,
  .pillars-cards-grid,
  .pillars-cascade-cards {
    gap: 8px;
  }

  .strategy-pillar-card {
    width: 96% !important;
    max-width: 100% !important;
    min-height: 78px !important;
    padding: 9px 12px !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }

  .card-icon-wrap {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    font-size: 1rem;
  }

  .card-icon-wrap i {
    font-size: 1.05rem !important;
  }

  .card-headline {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }

  .card-editorial-quote {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .pillars-main-heading {
    font-size: 1.38rem !important;
  }

  .pillars-sub-statement {
    font-size: 0.76rem;
  }
}

/*crousel sections*/
/* CSS */

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  width: max-content; /* dynamic width based on children */
  animation: scrollCarousel 40s linear infinite;
  gap: 70px;
}

.carousel-track img {
  width: 240px;
  height: 300px;
  object-fit: contain;
  border: 2px solid black;
}

/* Pause on hover */
.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-track img:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease-in-out;
}

/* Keyframes that scroll the first set of items only */
@keyframes scrollCarousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================================
   OUR CORPORATE EVOLUTION - VERTICAL FLOW WITH MOVING CIRCLE
   - Matches reference: Vertical timeline flow as shown in video
   - Background: Clean white with website signature blue (#222e40) corner gradient accents
   - Central track line with scroll progress fill
   - Smooth traveling circle on the line in brand blue (#222e40), crisp matte styling
   - Left: Year & Bold Headline
   - Right: Description Text Card
   ======================================================== */

.evolution-section {
  position: relative;
  background-color: #ffffff;
  color: #222e40;
  padding: 6rem 5% 7rem 5%;
  overflow: clip;
  width: 100%;
  box-sizing: border-box;
}

.evolution-container {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 1;
}

/* Header */
.evolution-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 5rem auto;
}

.evolution-header-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
  background: #222e40;
  border: 1px solid #3b5284;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 8px rgba(39, 50, 70, 0.15);
}

.evolution-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #222e40;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  line-height: 1.2;
  font-family: 'Poppins', 'Inter', sans-serif;
}

.evolution-header p {
  font-size: 0.98rem;
  color: #556477;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* Timeline Wrap */
.evolution-timeline-wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 0;
}

/* Central Vertical Track Line */
.evolution-center-track {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: #e2e8f0;
  border-radius: 999px;
  z-index: 1;
  pointer-events: none;
}

.evolution-center-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: #222e40;
  border-radius: 999px;
  will-change: height, top;
}

/* The Traveling Circle Moving on the Line */
.evolution-traveling-circle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 125px;
  height: 125px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background: #222e40;
  box-shadow: 0 12px 30px rgba(39, 50, 70, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  will-change: top, transform;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.evolution-circle-icon {
  font-size: 2.45rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  filter: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Milestones List */
.evolution-milestones-list {
  position: relative;
  width: 100%;
  z-index: 2;
}

.evolution-milestone-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 180px 1.15fr;
  align-items: center;
  gap: 2.5rem;
  min-height: 140px;
  margin-bottom: 5rem;
  transition: opacity 0.3s ease;
}

.evolution-milestone-row:last-child {
  margin-bottom: 0;
}

/* Left Column: Year & Title */
.evolution-col-left {
  text-align: right;
  padding-right: 1.2rem;
  opacity: 0.35;
  transform: translateX(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.evolution-milestone-row.active .evolution-col-left {
  opacity: 1;
  transform: translateX(0);
}

.evolution-year {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #3b5284;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  font-family: 'Poppins', 'Inter', sans-serif;
}

.evolution-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #222e40;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
  font-family: 'Poppins', 'Inter', sans-serif;
}

/* Center Column: Anchor Node & Horizontal Connectors */
.evolution-col-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Small circles removed as requested */
.evolution-node {
  display: none !important;
}

.evolution-connector-left,
.evolution-connector-right {
  position: absolute;
  top: 50%;
  height: 2px;
  background: #e2e8f0;
  opacity: 0.35;
  transform: translateY(-50%);
  z-index: 2;
  transition: background 0.35s ease, opacity 0.35s ease;
}

.evolution-connector-left {
  right: 50%;
  width: 60px;
}

.evolution-connector-right {
  left: 50%;
  width: 60px;
}

.evolution-milestone-row.active .evolution-connector-left,
.evolution-milestone-row.active .evolution-connector-right {
  background: #222e40;
  opacity: 1;
}

/* Right Column: Description Card */
.evolution-col-right {
  text-align: left;
  padding-left: 1.2rem;
  opacity: 0.35;
  transform: translateX(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.evolution-milestone-row.active .evolution-col-right {
  opacity: 1;
  transform: translateX(0);
}

/* Box removed when inactive, appears cleanly with no gloss or shine when circle arrives */
.evolution-desc-card {
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 1.4rem 1.8rem;
  box-shadow: none;
  max-width: 480px;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.evolution-milestone-row.active .evolution-desc-card {
  background: #222e40;
  border-color: #222e40;
  box-shadow: 0 6px 18px rgba(39, 50, 70, 0.22);
}

.evolution-desc-text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
  transition: color 0.35s ease;
}

.evolution-milestone-row.active .evolution-desc-text {
  color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .evolution-section {
    padding: 2.75rem 1rem 4rem 1rem;
  }

  .evolution-section::before,
  .evolution-section::after {
    width: 260px;
    height: 260px;
  }

  .evolution-header {
    margin-bottom: 3.5rem;
  }

  .evolution-header h2 {
    font-size: 1.65rem;
  }

  .evolution-header p {
    font-size: 0.86rem;
  }

  .evolution-timeline-wrap {
    padding: 1.5rem 0;
  }

  .evolution-center-track {
    left: 36px;
    transform: none;
    width: 3px;
  }

  .evolution-traveling-circle {
    width: 64px;
    height: 64px;
    left: 37px;
    border-width: 3px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  }

  .evolution-circle-icon {
    font-size: 1.35rem;
  }

  .evolution-milestone-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 82px;
    margin-bottom: 3.5rem;
    min-height: auto;
    gap: 0.6rem;
  }

  .evolution-col-left {
    text-align: left;
    padding-right: 0;
    transform: translateY(6px);
    opacity: 0.35;
  }

  .evolution-milestone-row.active .evolution-col-left {
    transform: translateY(0);
    opacity: 1;
  }

  .evolution-year {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
  }

  .evolution-title {
    font-size: 1.3rem;
    line-height: 1.25;
  }

  .evolution-col-center {
    position: absolute;
    left: -82px;
    top: 14px;
    width: 82px;
    height: 20px;
    justify-content: flex-start;
    padding-left: 28px;
  }

  .evolution-node {
    display: none !important;
  }

  .evolution-connector-left {
    display: none !important;
  }

  .evolution-connector-right {
    left: 36px;
    width: 44px;
    height: 2px;
    background: #e2e8f0;
    opacity: 0.35;
    transition: background 0.35s ease, opacity 0.35s ease;
  }

  .evolution-milestone-row.active .evolution-connector-right {
    background: #222e40;
    opacity: 1;
  }

  .evolution-col-right {
    padding-left: 0;
    width: 100%;
    transform: translateY(6px);
    opacity: 0.35;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .evolution-milestone-row.active .evolution-col-right {
    transform: translateY(0);
    opacity: 1;
  }

  .evolution-desc-card {
    max-width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 10px;
    background: transparent;
    border: 1.5px solid transparent;
    box-shadow: none;
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  }

  .evolution-milestone-row.active .evolution-desc-card {
    background: #222e40;
    border-color: #222e40;
    box-shadow: 0 6px 16px rgba(39, 50, 70, 0.22);
  }

  .evolution-desc-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #64748b;
    transition: color 0.35s ease;
  }

  .evolution-milestone-row.active .evolution-desc-text {
    color: #ffffff;
  }
}


