:root {
    --bg-light: #f4f6f4;
    --text-dark: #0b130e;
    --brand-green: #072a1d;
    --accent-mint: #22c55e;
    --card-bg: rgba(255, 255, 255, 0.75);
    --border-light: rgba(0, 0, 0, 0.06);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  
  body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
  }
  
  #neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Forces video to scale elegantly like a CSS background image */
    z-index: 1;
    pointer-events: none; /* Let users click elements through the video layer */
  }
  
  /* Navigation Layout */
  .navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.5rem 4rem;
    background: rgba(242, 244, 246, 0.77);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 10;
    --brand-green: #1e274b;
    --accent-mint: #7aaa66;
    --text-dark: #10142a;
  }
  
  .logo {
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f4f6f4;
    height: 34px;
    overflow: visible;
    text-decoration: none;
    cursor: pointer;
    justify-self: start;
    width: fit-content;
  }

  .logo-img {
    height: 90px;
    width: auto;
    display: block;
  }

  .logo-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-mint);
    border-radius: 50%;
  }
  
  .nav-links {
    display: flex;
    gap: 2.2rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    border: 1px solid var(--border-light);
  }
  
  .nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
  }
  
  .nav-links a.active, .nav-links a:hover {
    color: var(--brand-green);
    font-weight: 600;
  }
  
  .nav-actions { display: flex; align-items: center; gap: 1rem; justify-self: end; }
  .profile-btn { background: none; border: none; font-size: 1.2rem; cursor: pointer; }
  
  .cta-outline { 
    border: 1px solid #ffffff;  
    background: transparent; 
    color: #fff; 
    padding: 0.8rem 1.6rem; 
    border-radius: 20px; 
    font-size: 0.65rem;
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.2s; 
  }  
  
  /* ── MOBILE NAV TOGGLE ── */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 22px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }
  .nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #10142a;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .cta-outline:hover {
    background: #fff;
    color: #000000;
  }

  .search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }

  .search-wrapper > i {
    position: absolute;
    left: 12px;
    color: rgba(16, 20, 42, 0.45);
    font-size: 0.9rem;
    pointer-events: none;
  }

  .search-input {
    background: #ffffff;
    border: 1px solid rgba(30, 39, 75, 0.18);
    padding: 0.45rem 1rem 0.45rem 2.1rem;
    border-radius: 20px;
    color: #10142a;
    font-size: 0.9rem;
    width: 220px;
    outline: none;
    box-shadow: 0 2px 8px rgba(16,20,42,0.08);
    transition: all 0.2s ease;
  }

  .search-input::placeholder {
    color: rgba(16, 20, 42, 0.4);
  }

  .search-input:focus {
    background: #ffffff;
    border-color: var(--accent-mint);
    box-shadow: 0 0 0 3px rgba(122,170,102,0.18);
    width: 350px;
  }

  .cta-filled {
    background-color: #000000;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(225, 232, 229, 0.15);
    transition: transform 0.2s;
  }
  
  .cta-filled:hover { transform: translateY(-2px); }
  
  
  /* ══ FLUID WIDE-SCREEN CONFIGURATION ══ */
  .hero-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    
    /* Kept your exact height calculation formula */
    min-height: calc(100vh - 280px); 
    
    /* ══ REMOVED 1400px MAX-WIDTH & EXPANDED PADDING TO MAGNET CONTENT TO EDGES ══ */
    width: 100%;
    max-width: 100%; 
    padding: 120px 6rem 6rem 6rem; /* Wide padding anchors elements beautifully near the screen borders */
    
    margin: 0;
    position: relative;
    z-index: 5;
  }
  
  /* ══ LEFT CONTAINER: POSITIONED STRICLY FLUSH LEFT ══ */
  .hero-left {
    flex: 1;
    max-width: 1000px; /* Maintained your exact original card/text element sizes */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    margin-right: auto; /* Hard anchors this entire container block to the far left window margin */
  }
  
  /* ══ RIGHT CONTAINER: POSITIONED STRICTLY FLUSH RIGHT ══ */
  .hero-right { 
    flex: 1;
    max-width: 580px; /* Maintained your exact original card/text element sizes */
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-end, stretch; /* Snaps the items inside the column tightly against the right wall */
    margin-left: auto;     /* Hard anchors this entire container block to the far right window margin */
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color:#52ffff;
    /*color: var(--brand-green);*/
    margin-bottom: 1.5rem;
  }
  
  .accent-text { color: #6a9175; }
  
  .hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #52ffff;
    max-width: 580px;
    margin-bottom: 2.5rem;
  }
  
  .action-row { display: flex; align-items: center; gap: 2rem; }
  .avatar-group { display: flex; align-items: center; gap: 0.8rem; }
  .avatars { display: flex; }
  
  .avatar {
    width: 35px;
    height: 35px;
    background: #fff;
    border: 2px solid var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
    font-size: 0.9rem;
  }
  
  .avatars .avatar:first-child { margin-left: 0; }
  .avatar-text { font-size: 0.85rem; color: #fff3f3; }
  
  
  
  .info-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    align-items: flex-end;
  }
  
  .green-accent { background: var(--brand-green); color: #fff; }
  
  .card-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
  }
  
  .status-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--accent-mint);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--accent-mint);
  }
  
  .statistics-card h4 { font-size: 0.9rem; margin-bottom: 1rem; color: #555; }
  .progress-container { display: flex; align-items: center; gap: 1.5rem; }
  
  .circular-progress {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: conic-gradient(var(--brand-green) 84%, #e2e8f0 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .circular-progress::before {
    content: "";
    position: absolute;
    width: 54px;
    height: 54px;
    background-color: white;
    border-radius: 50%;
  }
  
  .progress-value { position: relative; font-weight: 700; font-size: 1.1rem; color: var(--brand-green); }
  .statistics-card p { font-size: 0.85rem; color: #555; line-height: 1.4; }
  /*.micro-metrics { display: flex; flex-direction: column; gap: 0.8rem; }
  .metric-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: #555; }*/
  /* ══ FIXES THE BOTTOM BOX INTERIOR ALIGNMENT ══ */
  .metric-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; /* Keeps badges and numbers vertically centered with text */
    width: 100%;        /* Forces content to stretch and fill the box left-to-right */
    font-size: 0.85rem; 
    color: #555; 
  }
  
  /* Add a clean gap between the two metric rows inside the box */
  .micro-metrics { 
    display: flex; 
    flex-direction: column; 
    gap: 0.8rem; 
    width: 100%;
  }
  .badge { padding: 0.2rem 0.6rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
  .badge.blue { background: #e0f2fe; color: #0369a1; }
  
  /* --- ANIMATED PARTNERS MARQUEE SYSTEM --- */
  .partners-ribbon {
    background: rgba(238, 233, 233, 0.85);
    border-top: 1px solid var(--border-light);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
  }
  
  .ribbon-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: #777;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
  }
  
  .marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  /* Mask to fade edges beautifully out at left and right boundaries */
  .marquee-container::before,
  .marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }
  /*.marquee-container::before { left: 0; background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0)); }
  .marquee-container::after { right: 0; background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0)); }
  */
  /* ══ FIX: Forces tracks to stay perfectly inline without collapsing or wrapping ══ */
  /* ══ UPDATED TRACK WITH TRAILING SEAMLESS SPACE ══ */
  .marquee-track {
    display: flex;
    align-items: center;
    flex-shrink: 0;           
    min-width: 100%;
    gap: 4rem;                
    padding-right: 4rem;      /* ══ FIX: Creates a perfect 4rem buffer space at the tail end before the duplicate track loops ══ */
    animation: scrollLeftToRight 30s linear infinite;
  }
  
  .marquee-track img {
    height: 60px;             /* Maintained your exact image sizes */
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply; 
    opacity: 0.75;
    transition: opacity 0.2s;
    flex-shrink: 0;           /* Prevents images from auto-shrinking if track width shifts */
  }
  
  .marquee-track img:hover { opacity: 1; }
  
  /* ══ FIX: Seamless Infinite Loop Translation (0% to -100%) ══ */
  @keyframes scrollLeftToRight {
    0% { transform: translateX(0%); }
    100% { transform: translateX(calc(-100% - 4rem)); } /* Accounts for the track gap perfectly */
  }
  
  @media(max-width: 1024px) {
    .hero-wrapper { grid-template-columns: 1fr; gap: 3rem; padding: 2rem; }
    .navbar { padding: 1.5rem 2rem; }
  }

  @media (max-width: 1070px) {
    .logo-img { height: 64px; }
    .nav-links { gap: 0.9rem; padding: 0.5rem 0.9rem; }
    .nav-links a { font-size: 0.8rem; white-space: nowrap; }
    .search-input { width: 130px; }
    .search-input:focus { width: 220px; }
  }

  @media (max-width: 820px) {
    .navbar { padding: 1.1rem 1.5rem; display: flex; justify-content: space-between; }
    .logo-img { height: 52px; }
    .nav-hamburger { display: flex; }
    .search-wrapper { display: none; }
    .nav-actions .mobile-search-toggle { display: flex; }
    .nav-links {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100dvh;
      background: rgba(244, 246, 244, 0.97);
      backdrop-filter: blur(16px);
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      gap: 0;
      border-radius: 0;
      border: none;
      padding: 6.5rem 2rem 2rem;
      transform: translateY(-100%);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.3s ease, opacity 0.3s ease;
      z-index: 500;
      overflow-y: auto;
    }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-links a {
      color: var(--text-dark);
      font-size: 1.5rem;
      font-weight: 600;
      text-align: left;
      width: 100%;
      padding: 0.7rem 0.1rem;
      opacity: 0;
      transform: translateY(16px);
    }
    .nav-links a.active, .nav-links a:hover { color: var(--accent-mint); }
    .nav-links.open a { animation: navLinkIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
    .nav-links.open a:nth-child(1) { animation-delay: 0.08s; }
    .nav-links.open a:nth-child(2) { animation-delay: 0.14s; }
    .nav-links.open a:nth-child(3) { animation-delay: 0.20s; }
    .nav-links.open a:nth-child(4) { animation-delay: 0.26s; }
    .nav-links.open a:nth-child(5) { animation-delay: 0.32s; }
    @keyframes navLinkIn { to { opacity: 1; transform: translateY(0); } }
    .search-input { width: 150px; }
    .search-input:focus { width: 220px; }
  }

  @media (max-width: 820px) and (max-height: 500px) and (orientation: landscape) {
    .nav-links { padding: 4.5rem 2rem 1.5rem; }
    .nav-links a { font-size: 1.15rem; padding: 0.7rem 0.1rem; }
  }

  @media (max-width: 480px) {
    .logo { font-size: 1.05rem; }
    .search-input { width: 96px; font-size: 0.78rem; }
    .search-input:focus { width: 150px; }
  }

  /* ══ INTERACTIVE DOCUMENT OVERRIDES ══ */
  /* ══ INTERACTIVE DOCUMENT OVERRIDES ══ */
  html {
    scroll-behavior: smooth;
    overflow-y: auto; /* Forces natural scroll space lifecycle over layout modules */
    scrollbar-gutter: stable;
  }
  
  /* ══ WRAPPER ══ */
  .lower-page-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    background: #0f1115; /* Deep dark background */
    border-top: 1px solid rgba(0, 163, 163, 0.2);
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.4);
  }
  
  .advisors-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 4rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
    max-width: 600px;
  }
  
  .section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #00a3a3; /* Vibrant teal accent */
    display: block;
    margin-bottom: 0.75rem;
  }
  
  .section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #f3f4f6; /* Crisp off-white */
    letter-spacing: -0.02em;
    line-height: 1.2;
  }
  
  .section-desc {
    margin-top: 1rem;
    color: #9ca3af; /* Muted slate text */
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* ══ VERTICAL STACK LAYOUT ══ */
  .advisors-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  
  /* ══ CARD — HORIZONTAL STRIP ══ */
  .advisor-card {
    background: #1a1d24; /* Dark surface color */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid #00a3a3; /* Initial teal border accent */
    border-radius: 0 28px 28px 0;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-left-color 0.3s ease,
                background-color 0.3s ease,
                box-shadow 0.3s ease;
  }
  
  .advisor-card:hover {
    transform: translateX(8px);
    background: #22262f; /* Slightly lighter on hover */
    border-left-color: #f13737; /* Shifts to bright green on hover */
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
  
  /* ══ AVATAR ══ */
  .profile-frame {
    position: relative;
    width: 230px;
    height: 230px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .profile-avatar {
    font-size: 2.2rem;
    z-index: 2;
    transition: transform 0.3s ease;
  }
  
  .advisor-card:hover .profile-avatar {
    transform: scale(1.1) rotate(4deg);
  }
  
  .glow-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 163, 163, 0.02);
    border: 1px dashed rgba(0, 163, 163, 0.2);
    z-index: 1;
  }
  
  @keyframes pulseRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .advisor-card:hover .glow-ring {
    animation: pulseRotate 12s linear infinite;
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
  }
  
  .expert-tag {
    position: absolute;
    bottom: -4px;
    right: -30px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(0, 163, 163, 0.2);
    color: #00f2f2;
    border: 1px solid rgba(0, 163, 163, 0.3);
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    z-index: 3;
  }
  
  /* ══ CARD BODY ══ */
  .advisor-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  
  .advisor-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
  }
  
  .advisor-name {
    font-size: 1.7rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
  }
  
  .advisor-role {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #008080;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
  }
  
  .advisor-bio {
    font-size: 1.1rem;
    color: #cbd5e1; /* Smooth, readable light slate for copy */
    line-height: 1.6;
    margin: 0 0 1.25rem;
  }
  .advisor-bio {
    font-size: 1.1rem;
    color: #cbd5e1; /* Smooth, readable light slate for copy */
    line-height: 1.6;
    margin: 0 0 1.25rem;
  }
  
  /* ══ CARD LINK (PASTE THIS HERE) ══ */
  .card-link {
    color: #00a3a3;                   /* Subtle teal for the text */
    text-decoration: underline;       /* Keeps the underline */
    text-decoration-color: #00a3a3;   /* Matches underline to the text color */
    text-underline-offset: 3px;       /* Gives the line a little breathing room */
    font-weight: 500;
    display: inline-flex;             /* Aligns the icon perfectly with text */
    align-items: center;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
  }
  
  /* Forces the FontAwesome icon to inherit the same teal color */
  .card-link i {
    color: inherit; 
  }
  
  /* HOVER STATE */
  .card-link:hover {
    color: #f13737;                   /* Matches your card's hover red */
    text-decoration-color: #f13737;   /* Underline shifts to red too */
  }
  /* ══ STATS ROW ══ */
  .card-footer-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #64748b;
    margin-top: auto;
  }
  
  .highlight {
    color: #000000;
    font-weight: 700;
  }
  
  /* ══ ARROW INDICATOR ══ */
  .card-arrow {
    align-self: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.15);
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .advisor-card:hover .card-arrow {
    color: #fffefe;
    transform: translateX(4px);
  }
  
  /* ══ RESPONSIVE ══ */
  @media (max-width: 640px) {
    .advisors-section {
      padding: 4rem 1.5rem;
    }
  
    .advisor-card {
      flex-direction: column;
      border-radius: 0 16px 16px 0;
      padding: 1.5rem;
      gap: 1.25rem;
    }
  
    .card-footer-meta {
      gap: 1rem;
    }
  }