 :root {
     --primary: #074a86;
     /* Karunya Royal Blue */
     --secondary: #00d2ff;
     /* Electric Blue */
     --accent: #f59e0b;
     /* Energy Amber */
     --text-main: #1e293b;
     --text-light: #64748b;
     --bg-light: #f8fafc;
     --glass: rgba(255, 255, 255, 0.85);
     --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
     --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Plus Jakarta Sans', sans-serif;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     background-color: var(--bg-light);
     color: var(--text-main);
     line-height: 1.7;
     overflow-x: hidden;
 }

 /* --- Media Security --- */
 img,
 video,
 .logo,
 .partner-logo,
 .media-card,
 .hero-image {
     -webkit-user-drag: none;
     user-select: none;
     -webkit-user-select: none;
     -ms-user-select: none;
     -moz-user-select: none;
 }

 /* --- Navigation --- */
 nav {
     position: fixed;
     top: 0;
     width: 100%;
     z-index: 1000;
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(12px);
     border-bottom: 1px solid rgba(0, 0, 0, 0.05);
     padding: 0.5rem 0;
     transition: var(--transition);
 }

 .nav-container {
     width: 100%;
     padding: 0 3rem;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .logo {
     text-decoration: none;
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .logo-text {
     display: flex;
     flex-direction: column;
 }

 .logo-text .brand {
     font-size: 1.2rem;
     font-weight: 900;
     color: var(--primary);
     line-height: 1;
 }

 .logo-text .dept {
     font-size: 0.75rem;
     color: var(--text-light);
     font-weight: 600;
     letter-spacing: 1px;
 }

 /* Updated Nav Structure for Expandable Layout */
 .nav-wrapper {
     display: flex;
     flex-direction: column;
     align-items: flex-end;
     /* Align to right */
     width: 100%;
     padding-left: 2rem;
     position: relative;
 }

 .nav-row {
     display: flex;
     list-style: none;
     gap: 1rem;
     margin-bottom: 0;
     width: 100%;
     justify-content: flex-end;
     /* Align items to right */
     align-items: center;
 }

 .nav-row.bottom {
     display: none;
     /* Hidden by default */
     opacity: 0;
     transform: translateY(-10px);
     transition: all 0.3s ease;
     gap: 1.5rem;
     margin-top: 0.5rem;
 }

 .nav-row.bottom.active {
     display: flex;
     opacity: 1;
     transform: translateY(0);
 }

 /* Hide bottom row when top row is hovered (Desktop) */
 @media (min-width: 1101px) {
     .nav-wrapper:has(.nav-row.top .nav-item:hover) .nav-row.bottom.active {
         opacity: 0;
         visibility: hidden;
         pointer-events: none;
     }

 }

 /* Desktop Toggle Button */
 .desktop-toggle {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 36px;
     height: 36px;
     background: rgba(7, 74, 134, 0.1);
     color: var(--primary);
     border-radius: 8px;
     cursor: pointer;
     transition: var(--transition);
     margin-left: 0.5rem;
     border: 1px solid rgba(7, 74, 134, 0.1);
 }

 .desktop-toggle:hover {
     background: var(--primary);
     color: white;
 }

 .desktop-toggle.active i {
     transform: rotate(180deg);
 }

 /* Mobile Responsive Adjustments */
 @media (max-width: 1100px) {
     .nav-container {
         padding: 0 1.5rem;
     }

     .mobile-toggle {
         display: flex !important;
         align-items: center;
         justify-content: center;
         z-index: 1001;
         width: 40px;
         height: 40px;
         border-radius: 8px;
         transition: var(--transition);
         color: var(--primary);
         font-size: 30px;
         /* Ensure text icon is large enough */
         line-height: 1;
     }

     .desktop-toggle {
         display: none;
     }

     .nav-wrapper {
         position: fixed;
         top: 0;
         right: -100%;
         width: 85%;
         height: 100vh;
         background: rgba(255, 255, 255, 0.98);
         backdrop-filter: blur(10px);
         flex-direction: column;
         align-items: center;
         justify-content: flex-start;
         transition: right 0.3s ease;
         box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
         padding: 80px 1rem 2rem;
         overflow-y: auto;
     }

     .nav-wrapper.active {
         right: 0;
     }

     .nav-row {
         display: grid !important;
         grid-template-columns: 1fr 1fr;
         gap: 0.75rem !important;
         width: 100% !important;
         margin-bottom: 0;
         opacity: 1 !important;
         visibility: visible !important;
         transform: none !important;
     }

     .nav-row.bottom {
         margin-top: 0.75rem;
     }

     /* Stable Hover Logic - Fix Flickering */
     .nav-item {
         transition: opacity 0.2s ease;
     }

     /* Hide others when one is hovered without shifting layout */
     .nav-wrapper:has(.nav-item:hover) .nav-item:not(:hover) {
         opacity: 0;
         visibility: hidden;
         pointer-events: none;
     }

     .nav-item:hover {
         /* Removed grid-column: span 2 to prevent shifting/flickering */
         z-index: 10;
     }

     .dropdown {
         position: static;
         opacity: 1;
         visibility: visible;
         transform: none;
         box-shadow: none;
         padding: 0.5rem 0 0.5rem 1.5rem;
         display: none;
         min-width: auto;
         width: 100%;
         border: none;
         background: transparent;
     }

     /* Show dropdown on hover/focus */
     .nav-item:hover .dropdown,
     .nav-item:focus-within .dropdown {
         display: block;
     }

     /* Make the link occupy full width if needed when focused */
     .nav-item:hover .nav-link {
         background: rgba(7, 74, 134, 0.08);
         color: var(--primary);
     }

     .nav-link {
         justify-content: center;
         width: 100%;
         text-align: center;
         background: rgba(7, 74, 134, 0.03);
     }
 }

 .nav-item {
     position: relative;
 }

 .nav-link {
     color: var(--text-main);
     text-decoration: none;
     font-weight: 600;
     font-size: 0.85rem;
     padding: 0.6rem 0.8rem;
     border-radius: 8px;
     transition: var(--transition);
     display: flex;
     align-items: center;
     gap: 4px;
 }

 .nav-link:hover {
     background: rgba(7, 74, 134, 0.05);
     color: var(--primary);
 }

 /* Dropdown */
 .dropdown {
     position: absolute;
     top: 100%;
     left: 0;
     background: white;
     min-width: 240px;
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
     border-radius: 12px;
     padding: 0.75rem;
     opacity: 0;
     visibility: hidden;
     transform: translateY(15px);
     transition: var(--transition);
     border: 1px solid rgba(0, 0, 0, 0.05);
 }

 .nav-item:hover .dropdown {
     opacity: 1;
     visibility: visible;
     transform: translateY(0);
 }

 .dropdown a {
     display: block;
     padding: 0.6rem 1rem;
     color: var(--text-main);
     text-decoration: none;
     font-size: 0.85rem;
     border-radius: 6px;
     transition: var(--transition);
 }

 .dropdown a:hover {
     background: var(--bg-light);
     color: var(--primary);
     padding-left: 1.25rem;
 }

 .mobile-toggle {
     display: none;
     color: var(--primary);
     cursor: pointer;
     width: 40px;
     height: 40px;
     align-items: center;
     justify-content: center;
     border-radius: 8px;
     transition: var(--transition);
 }

 .mobile-toggle:hover {
     background: rgba(7, 74, 134, 0.1);
 }

 /* --- Hero Section --- */
 .hero-section {
     min-height: 100vh;
     padding: 5rem 3rem 6rem;
     display: flex;
     align-items: center;
     background: linear-gradient(135deg, #021a30 0%, #074a86 100%);
     position: relative;
     overflow: hidden;
     color: var(--text-main);
 }

 #hero-canvas {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 1;
     pointer-events: none;
 }

 .hero-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: radial-gradient(circle at 60% 50%, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
     pointer-events: none;
     z-index: 2;
 }

 .hero-container {
     max-width: 1400px;
     margin: 0 auto;
     width: 100%;
     display: grid;
     grid-template-columns: 0.9fr 1.1fr;
     gap: 4rem;
     align-items: center;
     position: relative;
     z-index: 10;
 }

 .hero-content {
     display: flex;
     flex-direction: column;
     gap: 2rem;
 }

 .hero-badge {
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(8px);
     padding: 0.5rem 1.25rem;
     border-radius: 50px;
     font-size: 0.85rem;
     font-weight: 700;
     letter-spacing: 1px;
     text-transform: uppercase;
     width: fit-content;
     border: 1px solid rgba(255, 255, 255, 0.2);
     color: var(--secondary);
     animation: fadeInUp 0.8s ease-out;
 }

 .hero-title {
     font-size: clamp(2.5rem, 5vw, 4.5rem);
     font-family: 'Outfit', sans-serif;
     font-weight: 900;
     line-height: 1.1;
     background: linear-gradient(to right, #fff, #cbd5e1);
     -webkit-background-clip: text;
     background-clip: text;
     -webkit-text-fill-color: transparent;
     animation: fadeInUp 0.8s ease-out 0.2s both;
 }

 .hero-description {
     font-size: 1.15rem;
     color: #94a3b8;
     max-width: 600px;
     animation: fadeInUp 0.8s ease-out 0.4s both;
 }

 .hero-btns {
     display: flex;
     gap: 1.5rem;
     align-items: center;
     animation: fadeInUp 0.8s ease-out 0.6s both;
 }

 .btn-primary {
     background: #f59e0b;
     color: white;
     padding: 0.8rem 2rem;
     border-radius: 12px;
     text-decoration: none;
     font-weight: 700;
     font-size: 1rem;
     transition: var(--transition);
     box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
     display: flex;
     align-items: center;
     gap: 8px;
     border: 2px solid transparent;
     white-space: nowrap;
 }

 .btn-primary:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
     filter: brightness(1.1);
 }

 .btn-outline {
     background: transparent;
     color: white;
     padding: 0.8rem 2rem;
     border-radius: 12px;
     text-decoration: none;
     font-weight: 700;
     font-size: 1rem;
     transition: var(--transition);
     border: 2px solid rgba(255, 255, 255, 0.7);
     display: flex;
     align-items: center;
     gap: 8px;
     white-space: nowrap;
 }

 .btn-outline:hover {
     transform: translateY(-5px);
     background: rgba(255, 255, 255, 0.1);
     border-color: white;
 }

 .hero-stats {
     display: flex;
     gap: 3rem;
     margin-top: 0.5rem;
     animation: fadeInUp 0.8s ease-out 0.8s both;
 }

 .stat-item {
     display: flex;
     flex-direction: column;
     gap: 4px;
 }

 .stat-number {
     font-size: 2rem;
     font-weight: 800;
     color: white;
     font-family: 'Outfit', sans-serif;
 }

 .stat-label {
     font-size: 0.85rem;
     color: #94a3b8;
     text-transform: uppercase;
     letter-spacing: 1px;
     font-weight: 600;
 }

 .hero-image-wrapper {
     position: relative;
     animation: fadeInRight 1s ease-out 0.5s both;
 }

 .hero-image {
     width: 110%;
     /* Reduced from 140% to prevent collision */
     height: auto;
     max-height: 850px;
     object-fit: contain;
     filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
     animation: floating 6s ease-in-out infinite;
     transform: scale(1.05);
     /* Slightly adjusted scale */
 }

 @keyframes floating {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-20px);
     }
 }

 .hero-image-overlay {
     position: absolute;
     bottom: -30px;
     left: -30px;
     background: var(--glass);
     backdrop-filter: blur(20px);
     padding: 1.5rem;
     border-radius: 16px;
     box-shadow: var(--card-shadow);
     border: 1px solid rgba(255, 255, 255, 0.5);
     display: flex;
     align-items: center;
     gap: 1rem;
     color: var(--text-main);
 }

 /* --- Trust Section --- */
 .trust-section {
     padding: 0 1.5rem;
     position: relative;
     z-index: 10;
     margin-top: -60px;
 }

 .trust-container {
     max-width: 1200px;
     margin: 0 auto;
     background: white;
     padding: 2rem 2rem;
     border-radius: 24px;
     box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
     border: 1px solid rgba(255, 255, 255, 0.8);
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 2rem;
     overflow: hidden;
 }

 .trust-label {
     font-size: 0.85rem;
     font-weight: 800;
     color: var(--text-light);
     text-transform: uppercase;
     letter-spacing: 2.5px;
     text-align: center;
     margin-bottom: 1rem;
 }

 .partner-scroll-container {
     width: 100%;
     overflow: hidden;
     position: relative;
     mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
     -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
 }

 .partner-track {
     display: flex;
     align-items: center;
     gap: 5rem;
     width: max-content;
     animation: scroll 30s linear infinite;
     padding-right: 5rem;
 }

 .partner-logo {
     flex-shrink: 0;
     height: 60px;
     width: 180px;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: var(--transition);
 }

 .partner-logo img {
     max-height: 100%;
     max-width: 100%;
     object-fit: contain;
     filter: none;
     opacity: 1;
     transition: all 0.4s ease;
 }

 .partner-logo.large-logo img {
     transform: scale(1.8) translateY(-2px);
     /* NVIDIA - scaled and aligned */
 }

 .partner-logo.fanuc-logo img {
     transform: scale(2.2);
     /* Fanuc - even larger to fill gap */
 }

 .partner-logo:hover img {
     transform: scale(1.1);
 }

 .partner-logo.large-logo:hover img {
     transform: scale(1.9) translateY(-2px);
 }

 .partner-logo.fanuc-logo:hover img {
     transform: scale(2.3);
 }

 @keyframes scroll {
     0% {
         transform: translateX(0);
     }

     100% {
         transform: translateX(-50%);
     }
 }

 @media (max-width: 768px) {
     .trust-section {
         margin-top: -40px;
         padding: 0 1rem;
     }

     .trust-container {
         padding: 2rem 1rem;
     }

     .partner-track {
         gap: 3rem;
         padding-right: 3rem;
         animation-duration: 35s;
         /* Slower speed for mobile */
     }

     .partner-logo {
         height: 40px;
         width: 140px;
     }

     .partner-logo img {
         max-width: 120px;
     }
 }

 /* --- Automation Future Section --- */
 .automation-section {
     padding: 3rem 2rem;
     background: #f8fafc;
 }

 .automation-container {
     max-width: 1500px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: 1fr 1.2fr;
     gap: 2rem;
     align-items: flex-start;
 }

 .automation-media-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     grid-template-rows: auto auto auto;
     gap: 1.25rem;
 }

 .media-card {
     border-radius: 20px;
     overflow: hidden;
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
     transition: var(--transition);
 }

 .media-card:hover {
     transform: translateY(-8px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
 }

 .media-card img,
 .media-card video {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }

 /* Horizontal video card spanning 2 columns */
 .media-card.horizontal {
     grid-column: span 2;
     height: 480px;
 }

 .media-card.vertical {
     height: 320px;
 }

 .automation-content {
     display: flex;
     flex-direction: column;
     gap: 2rem;
 }

 .automation-header {
     font-family: 'Outfit', sans-serif;
     font-size: 2.75rem;
     font-weight: 800;
     line-height: 1.2;
     color: #0f172a;
 }

 .accent-text {
     color: var(--primary);
     display: block;
     margin-bottom: 0.5rem;
     font-size: 2.5rem;
 }

 .automation-body {
     font-size: 1.1rem;
     line-height: 1.7;
     color: #475569;
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
 }

 .sub-header {
     font-size: 1.5rem;
     font-weight: 700;
     color: #0f172a;
     margin-top: 1rem;
 }

 @media (max-width: 1024px) {
     .automation-container {
         grid-template-columns: 1fr;
         gap: 4rem;
     }

     .automation-header {
         font-size: 2.25rem;
     }
 }

 /* Mobile specific media adjustments */
 .mobile-only-media {
     display: none;
 }

 @media (max-width: 768px) {
     .automation-media-grid {
         display: none;
     }

     .mobile-only-media {
         display: block;
         margin: 1.5rem 0;
     }

     .mobile-image-slider {
         display: flex;
         gap: 1.25rem;
         overflow-x: auto;
         padding: 0.5rem 0;
         scroll-snap-type: x mandatory;
         -webkit-overflow-scrolling: touch;
         scrollbar-width: none;
     }

     .mobile-image-slider::-webkit-scrollbar {
         display: none;
     }

     .mobile-image-slider .media-card {
         flex: 0 0 100%;
         scroll-snap-align: center;
         height: 320px;
         border-radius: 15px;
     }

     .mobile-video-container .media-card.horizontal {
         height: 400px;
         /* Increased height */
         width: 100%;
     }
 }

 /* --- Vision & Mission Section --- */
 .vision-mission-section {
     padding: 3rem 2rem;
     background: url('./img/background/pattern.jpeg');
     background-size: cover;
     background-position: center;
     background-attachment: fixed;
     position: relative;
 }

 .vision-mission-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(255, 255, 255, 0.92);
     z-index: 1;
 }

 .vm-container {
     max-width: 1300px;
     margin: 0 auto;
     position: relative;
     z-index: 2;
 }

 .vm-top-cards {
     display: flex;
     align-items: flex-start;
     gap: 2rem;
     margin-bottom: 3rem;
     position: relative;
 }

 .vision-card {
     flex: 1;
     background: #003366;
     color: white;
     padding: 3.5rem;
     border-radius: 30px;
     box-shadow: 0 30px 60px rgba(0, 51, 102, 0.2);
     position: relative;
     z-index: 5;
 }

 .mission-card {
     flex: 1.5;
     background: #fffaf0;
     padding: 3.5rem;
     border-radius: 30px;
     box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
     margin-top: 3rem;
 }

 .vm-card-title {
     display: flex;
     align-items: center;
     gap: 15px;
     font-family: 'Outfit', sans-serif;
     font-size: 1.5rem;
     font-weight: 800;
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-bottom: 1.5rem;
 }

 .vision-card .vm-card-title {
     color: #f8fafc;
 }

 .mission-card .vm-card-title {
     color: #0f172a;
 }

 .vm-icon {
     width: 44px;
     height: 44px;
     border-radius: 12px;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .vision-icon {
     background: rgba(255, 255, 255, 0.1);
     color: #c5a059;
 }

 .mission-icon {
     background: #fef2f2;
     color: #ef4444;
 }

 .vm-text {
     font-size: 1.15rem;
     line-height: 1.8;
     opacity: 0.95;
 }

 .mission-list {
     list-style: none;
     display: flex;
     flex-direction: column;
     gap: 1.25rem;
 }

 .mission-item {
     display: flex;
     gap: 15px;
     align-items: flex-start;
     font-size: 1.1rem;
     line-height: 1.6;
     color: #475569;
 }

 .mission-dot {
     width: 8px;
     height: 8px;
     background: #ef4444;
     border-radius: 50%;
     flex-shrink: 0;
     margin-top: 8px;
 }

 .vm-arrow-link {
     position: absolute;
     left: calc(40% - 22px);
     top: 50%;
     transform: translateY(-50%);
     width: 44px;
     height: 44px;
     background: white;
     border: 2px solid #c5a059;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #c5a059;
     z-index: 10;
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
 }

 /* Objective Cards */
 .objectives-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 2rem;
 }

 .obj-card {
     background: #f8fafc;
     padding: 2.5rem 2rem;
     border-radius: 24px;
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
     border: 1px solid rgba(0, 0, 0, 0.05);
     cursor: pointer;
     transition: var(--transition);
     display: flex;
     flex-direction: column;
     gap: 0.75rem;
     position: relative;
 }

 .obj-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
     border-color: var(--primary);
 }

 .obj-title {
     font-family: 'Outfit', sans-serif;
     font-size: 1.5rem;
     font-weight: 800;
     color: #0f172a;
 }

 .obj-subtitle {
     font-size: 0.9rem;
     color: #64748b;
     font-weight: 500;
 }

 .obj-chevron {
     position: absolute;
     right: 2rem;
     top: 2.5rem;
     color: #94a3b8;
     transition: var(--transition);
 }

 .obj-card:hover .obj-chevron {
     color: var(--primary);
 }

 /* Modal / PDF Viewer */
 .vm-modal {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.6);
     backdrop-filter: blur(4px);
     z-index: 2000;
     display: flex;
     align-items: center;
     justify-content: flex-end;
     opacity: 0;
     pointer-events: none;
     transition: 0.4s ease;
 }

 .vm-modal.centered {
     justify-content: center;
 }

 .vm-modal.active {
     opacity: 1;
     pointer-events: auto;
 }

 .modal-content {
     width: 100%;
     max-width: 600px;
     height: 100vh;
     background: white;
     box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
     overflow: hidden;
     display: flex;
     flex-direction: column;
     transform: translateX(100%);
     transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
 }

 .vm-modal.centered .modal-content {
     max-width: 1400px;
     width: 95%;
     height: 90vh;
     border-radius: 24px;
     transform: translateY(50px);
 }

 .vm-modal.active .modal-content {
     transform: translateX(0);
 }

 .vm-modal.active.centered .modal-content {
     transform: translateY(0);
 }

 .modal-header {
     padding: 1.5rem 2.5rem;
     background: #003366;
     color: white;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .modal-body {
     flex: 1;
     padding: 0;
     background: #f1f5f9;
     overflow-y: auto;
 }

 .close-modal {
     background: rgba(255, 255, 255, 0.1);
     border: none;
     color: white;
     padding: 8px;
     border-radius: 50%;
     cursor: pointer;
     transition: var(--transition);
 }

 .close-modal:hover {
     background: rgba(255, 255, 255, 0.2);
 }

 /* --- Programs Offered Section --- */
 .programs-section {
     padding: 3rem 2rem;
     background: #ffffff;
     overflow: hidden;
 }

 .programs-container {
     max-width: 1300px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: 1fr 1.2fr;
     gap: 4rem;
     align-items: center;
 }

 .programs-content {
     display: flex;
     flex-direction: column;
     gap: 2rem;
 }

 .section-tag {
     display: flex;
     align-items: center;
     gap: 12px;
     color: #ef4444;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 2px;
     font-size: 0.9rem;
 }

 .tag-line {
     width: 40px;
     height: 2px;
     background: #ef4444;
 }

 .programs-title {
     font-size: clamp(2.5rem, 8vw, 3.5rem);
     line-height: 1.1;
     font-weight: 800;
     color: #0f172a;
 }

 .programs-desc {
     font-size: 1.15rem;
     line-height: 1.8;
     color: #475569;
 }

 /* Refined Staircase Layout (Right - Left - Right) */
 .programs-grid {
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
     position: relative;
 }

 .program-card {
     width: 65%;
     padding: 0;
     border-radius: 12px;
     color: white;
     cursor: pointer;
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     position: relative;
     overflow: hidden;
 }

 .program-card:nth-child(1) {
     align-self: flex-end;
     background: #052a65;
     z-index: 3;
 }

 .program-card:nth-child(2) {
     align-self: flex-start;
     background: #0673b7;
     z-index: 2;
     margin-left: -5%;
 }

 .program-card:nth-child(3) {
     align-self: flex-end;
     background: #052a65;
     z-index: 1;
 }

 .program-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
 }

 .card-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 1.25rem 2rem;
 }

 .card-title {
     font-size: 1.75rem;
     font-weight: 700;
 }

 .card-arrow {
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.1);
     display: flex;
     align-items: center;
     justify-content: center;
     transition: 0.3s;
 }

 .program-card:hover .card-arrow {
     background: rgba(255, 255, 255, 0.2);
     transform: rotate(90deg);
 }

 @media (max-width: 1024px) {
     .programs-container {
         grid-template-columns: 1fr;
         gap: 4rem;
     }

     .program-card {
         width: 100%;
         align-self: flex-start !important;
         margin-left: 0 !important;
     }

     .programs-title {
         font-size: 3rem;
     }
 }

 .program-card.expanded .card-arrow {
     background: rgba(255, 255, 255, 0.2);
     transform: rotate(90deg);
 }

 .card-content {
     max-height: 0;
     overflow: hidden;
     transition: all 0.5s cubic-bezier(0.4, 0, 0.1, 1);
     opacity: 0;
     padding: 0 2rem;
 }

 .program-card.expanded .card-content {
     max-height: 500px;
     opacity: 1;
     padding-bottom: 2rem;
 }

 .card-text {
     font-size: 1.05rem;
     line-height: 1.6;
     opacity: 0.8;
 }

 .card-list {
     list-style: none;
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }

 .card-item {
     display: flex;
     align-items: center;
     gap: 12px;
     font-weight: 500;
 }

 .card-dot {
     width: 6px;
     height: 6px;
     background: #ef4444;
     border-radius: 50%;
 }

 /* --- Research Section --- */
 .research-section {
     padding: 3rem 2rem;
     background: #f8fafc;
 }

 .research-container {
     max-width: 1300px;
     margin: 0 auto;
 }

 .research-top {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 5rem;
     margin-bottom: 4rem;
     align-items: flex-start;
 }

 .research-intro {
     font-size: 1.2rem;
     line-height: 1.8;
     color: #475569;
 }

 .grant-banner {
     background: white;
     padding: 3rem;
     border-radius: 30px;
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
     border-left: 6px solid #ef4444;
 }

 .grant-amount {
     font-size: 3rem;
     font-weight: 800;
     color: #0f172a;
     display: block;
     margin-bottom: 0.5rem;
 }

 .grant-text {
     color: #64748b;
     font-size: 1.1rem;
     font-weight: 500;
 }

 /* Research Grid */
 .research-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 3rem;
 }

 @media (max-width: 991px) {
     .research-top {
         grid-template-columns: 1fr;
         gap: 3rem;
         margin-bottom: 4rem;
     }

     .grant-banner {
         padding: 2rem;
     }

     .grant-amount {
         font-size: 2.5rem;
     }
 }

 @media (max-width: 768px) {
     .research-grid {
         grid-template-columns: 1fr;
         gap: 2rem;
     }

     .research-section {
         padding: 2.5rem 1.5rem;
     }

     .research-column-title {
         font-size: 1.75rem;
     }
 }

 .research-column-title {
     font-size: 2rem;
     font-weight: 800;
     color: #0f172a;
     margin-bottom: 2.5rem;
     display: flex;
     align-items: center;
     gap: 15px;
 }

 .research-column-title::before {
     content: '';
     width: 30px;
     height: 4px;
     background: #ef4444;
     border-radius: 2px;
 }

 .research-list {
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
 }

 .research-item {
     background: white;
     padding: 2rem;
     border-radius: 20px;
     display: flex;
     gap: 20px;
     transition: 0.3s;
     border: 1px solid rgba(0, 0, 0, 0.03);
 }

 .research-item:hover {
     transform: translateX(10px);
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
     border-color: rgba(239, 68, 68, 0.2);
 }

 .item-icon {
     width: 48px;
     height: 48px;
     background: #f8fafc;
     border-radius: 12px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #ef4444;
     flex-shrink: 0;
 }

 .item-content h4 {
     font-size: 1.15rem;
     font-weight: 700;
     color: #0f172a;
     margin-bottom: 0.5rem;
     line-height: 1.4;
 }

 .item-content p {
     font-size: 0.95rem;
     color: #64748b;
     line-height: 1.6;
 }

 @media (max-width: 1024px) {
     .vm-top-cards {
         flex-direction: column;
     }

     .mission-card {
         margin-left: 0;
         margin-top: 0;
     }

     .vm-arrow-link {
         display: none;
     }

     .objectives-grid {
         grid-template-columns: repeat(2, 1fr);
     }
 }

 @media (max-width: 640px) {
     .objectives-grid {
         grid-template-columns: 1fr;
     }
 }

 /* --- Animations --- */
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

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

 @keyframes fadeInRight {
     from {
         opacity: 0;
         transform: translateX(50px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 @media (max-width: 1024px) {
     .hero-container {
         grid-template-columns: 1fr;
         gap: 3rem;
         /* Reduced gap */
         text-align: center;
     }

     .hero-content {
         align-items: center;
     }

     .hero-description {
         margin: 0 auto;
     }

     .hero-stats {
         justify-content: center;
         gap: 2rem;
     }

     .hero-image-wrapper {
         margin: 0 auto;
         width: 100%;
         display: flex;
         justify-content: center;
     }

     .hero-image {
         width: 90%;
         /* Better fit for tablet/mobile */
         transform: scale(1);
     }

     .hero-image-overlay {
         left: 50%;
         transform: translateX(-50%);
         bottom: -20px;
         width: max-content;
     }

     .hero-btns {
         flex-direction: column;
         gap: 1rem;
         width: 100%;
         max-width: 320px;
         margin: 0 auto;
     }

     .btn-primary,
     .btn-outline {
         justify-content: center;
         width: 100%;
     }
 }

 @media (max-width: 768px) {
     .hero-section {
         padding: 7rem 1.5rem 3rem;
     }

     .hero-stats {
         flex-direction: row;
         /* Horizontal stats on mobile */
         flex-wrap: wrap;
         justify-content: center;
         gap: 2rem;
     }

     .stat-number {
         font-size: 1.5rem;
     }

     .stat-label {
         font-size: 0.7rem;
     }
 }

 /* --- Careers & Platform Section --- */
 .careers-section {
     padding: 3rem 2rem;
     background: #ffffff;
 }

 .roles-grid {
     display: grid;
     grid-template-columns: repeat(5, 1fr);
     gap: 1.5rem;
     margin-top: 2rem;
     margin-bottom: 4rem;
 }

 .role-card {
     background: #f8fafc;
     padding: 2rem 1.5rem;
     border-radius: 16px;
     text-align: center;
     transition: var(--transition);
     border: 1px solid rgba(0, 0, 0, 0.05);
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 1rem;
 }

 .role-card:hover {
     transform: translateY(-8px);
     background: white;
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
     border-color: var(--primary);
 }

 .role-icon {
     width: 50px;
     height: 50px;
     background: rgba(7, 74, 134, 0.05);
     color: var(--primary);
     border-radius: 12px;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: var(--transition);
 }

 .role-card:hover .role-icon {
     background: var(--primary);
     color: white;
 }

 .role-title {
     font-size: 0.95rem;
     font-weight: 700;
     color: #0f172a;
     line-height: 1.3;
 }

 /* --- Testimonial Section --- */
 .testimonial-section {
     padding: 4.5rem 2rem;
     position: relative;
     background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&q=80&w=2000');
     background-size: cover;
     background-position: center;
     background-attachment: fixed;
     color: white;
     text-align: center;
     overflow: hidden;
 }

 .testimonial-container {
     max-width: 1000px;
     margin: 0 auto;
     position: relative;
     z-index: 2;
 }

 .testimonial-tag {
     font-size: 0.85rem;
     font-weight: 700;
     letter-spacing: 3px;
     text-transform: uppercase;
     margin-bottom: 2rem;
     opacity: 0.8;
     display: block;
 }

 .testimonial-title {
     font-size: clamp(2rem, 4vw, 3.5rem);
     font-family: 'Outfit', sans-serif;
     font-weight: 800;
     margin-bottom: 3rem;
     line-height: 1.2;
 }

 .testimonial-wrapper {
     position: relative;
     padding: 0 4rem;
     overflow: hidden;
 }

 .testimonial-slides-container {
     width: 100%;
     overflow: hidden;
 }

 .testimonial-slides {
     display: flex;
     transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
     width: 100%;
 }

 .testimonial-slide {
     min-width: 100%;
     width: 100%;
     flex-shrink: 0;
     padding: 1rem;
     box-sizing: border-box;
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
 }

 .testimonial-img-wrapper {
     width: 160px;
     height: 160px;
     margin: 0 auto 2.5rem;
     border-radius: 50%;
     padding: 8px;
     border: 2px solid rgba(255, 255, 255, 0.2);
     position: relative;
 }

 .testimonial-img {
     width: 100%;
     height: 100%;
     border-radius: 50%;
     object-fit: cover;
     border: 4px solid rgba(255, 255, 255, 0.1);
 }

 .testimonial-nav {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     width: 50px;
     height: 50px;
     border: 1px solid rgba(255, 255, 255, 0.3);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: var(--transition);
     color: white;
 }

 .testimonial-nav:hover {
     background: white;
     color: #000;
     border-color: white;
 }

 .testimonial-nav.prev {
     left: 0;
 }

 .testimonial-nav.next {
     right: 0;
 }

 .testimonial-quote {
     font-size: 1.25rem;
     font-style: italic;
     line-height: 1.8;
     color: #cbd5e1;
     margin-bottom: 2rem;
     max-width: 800px;
     margin-left: auto;
     margin-right: auto;
 }

 .testimonial-footer {
     display: flex;
     flex-direction: column;
     gap: 8px;
     align-items: center;
 }

 .testimonial-name {
     font-size: 1.75rem;
     font-weight: 800;
     font-family: 'Outfit', sans-serif;
 }

 .testimonial-role {
     font-size: 0.95rem;
     color: #94a3b8;
     font-weight: 600;
 }

 @media (max-width: 768px) {
     .testimonial-section {
         padding: 3.5rem 1rem;
     }

     .testimonial-wrapper {
         padding: 0;
         margin: 0;
     }

     .testimonial-nav {
         display: none;
     }

     .testimonial-img-wrapper {
         width: 120px;
         height: 120px;
         margin-bottom: 2rem;
     }

     .testimonial-quote {
         font-size: 1rem;
         padding: 0 1.5rem;
         line-height: 1.6;
     }

     .testimonial-name {
         font-size: 1.4rem;
     }

     .testimonial-title {
         font-size: 2.2rem;
         margin-bottom: 3rem;
     }
 }

 /* --- FAQ Section --- */
 .faq-section {
     padding: 4.5rem 2rem;
     background: #f8fafc;
 }

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

 .faq-tag {
     font-size: 0.9rem;
     font-weight: 700;
     color: #2e3192;
     letter-spacing: 2px;
     text-transform: uppercase;
     margin-bottom: 2rem;
     display: block;
 }

 .faq-title {
     font-size: clamp(2.5rem, 5vw, 3.5rem);
     font-family: 'Outfit', sans-serif;
     font-weight: 800;
     color: #1e293b;
     margin-bottom: 3rem;
 }

 .faq-list {
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
     text-align: left;
 }

 .faq-item {
     border: 1.5px solid #e2e8f0;
     border-radius: 4px;
     overflow: hidden;
     transition: all 0.4s ease;
 }

 .faq-header {
     padding: 2rem;
     display: flex;
     align-items: center;
     gap: 2rem;
     cursor: pointer;
     background: #ffffff;
     transition: all 0.3s ease;
 }

 .faq-item.active .faq-header {
     background: #2e3192;
     color: white;
     border-color: #2e3192;
 }

 .faq-icon {
     width: 24px;
     height: 24px;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     font-size: 1.5rem;
     font-weight: 300;
 }

 .faq-question {
     font-size: 1.5rem;
     font-weight: 700;
     font-family: 'Outfit', sans-serif;
 }

 .faq-content {
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     background: #ffffff;
 }

 .faq-item.active .faq-content {
     max-height: 500px;
 }

 .faq-body {
     padding: 0 2rem 2.5rem 6.5rem;
     color: #475569;
     font-size: 1.1rem;
     line-height: 1.8;
 }

 @media (max-width: 768px) {
     .faq-header {
         padding: 1.5rem;
         gap: 1rem;
     }

     .faq-question {
         font-size: 1.2rem;
     }

     .faq-body {
         padding: 0 1.5rem 2rem 3.5rem;
     }
 }




 @media (max-width: 1024px) {
     .roles-grid {
         grid-template-columns: repeat(3, 1fr);
     }

     .platform-container {
         grid-template-columns: 1fr;
         padding: 3rem;
         text-align: center;
     }
 }

 @media (max-width: 640px) {
     .roles-grid {
         grid-template-columns: repeat(2, 1fr);
     }

     .testimonials-intro h2 {
         font-size: 2.25rem;
     }
 }


 /* --- Footer --- */
 footer {
     background: #050505;
     color: white;
     padding: 5rem 2rem;
     border-top: 1px solid rgba(255, 255, 255, 0.05);
 }

 .footer-grid {
     max-width: 1400px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: repeat(5, 1fr);
     gap: 2.5rem;
 }

 @media (max-width: 1024px) {
     .footer-grid {
         grid-template-columns: repeat(3, 1fr);
     }
 }

 @media (max-width: 768px) {
     .footer-grid {
         grid-template-columns: 1fr;
     }
 }