:root {
    --accent: #00f2ff;
    --bg-dark: #0a0a0a;
    --glass: #ffffff08;
    --text-primary:#6CBEED;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.special-text{
    color : #6CBEED;
}

/* Typography Strategy */
body,p,small,span,label,li {
    font-family: Poppins, sans-serif;
}

h1,h2,h3,h4,h5,.syne-font {
    font-family: Syne, sans-serif;
    letter-spacing: -1px;
}

body {
    background-color: var(--bg-dark);
    color: #fff;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: #121519;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #ffffff14;
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    margin-left: 25px;
    transition: 0.3s;
}

.nav-link:hover {
    color: #6CBEED !important;
}

.custom-hamburger {
    color: #fff;
    font-size: 2rem;
}

.custom-toggler:focus {
    box-shadow: none;
}

body.no-scroll { 
    overflow: hidden; 
}

.nav-overlay {
    background-color: #000000b3;
    z-index: 1040;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* The 80% Sidebar Menu */
.custom-mobile-nav {
    right: -100%; 
    width: 80%; 
    background-color: var(--midnight-slate, #121519);
    z-index: 1050;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 25px #00000080;
}

.custom-mobile-nav.open { 
    right: 0; 
}

.mobile-link {
    font-size: 1.15rem;
    color: #fff9 !important;
    transition: all 0.3s ease;
}

.mobile-link .arrow-icon {
    font-size: 0.9rem;
    color: #fff3;
    transition: all 0.3s ease;
}

.mobile-link:hover, .mobile-link:focus, .mobile-link:active {
    color: #6CBEED !important;
    transform: translateX(10px);
}

.mobile-link:hover .arrow-icon, .mobile-link:focus .arrow-icon {
    color: #6CBEED;
    transform: translateX(5px);
}

.logo-title {
    font-size: 1.2rem;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.5rem;
    opacity: 0.8;
}

/* Hero Video Section */
#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    filter: grayscale(40%);
}

.video-overlay {
    background: linear-gradient(to right, #000000f1 20%, #0000007a 100%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    padding-top: 80px;
}

.hero-title {
    font-size: 65px;
    line-height: 1.05;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-weight: 300;
}

.badge{
    background: #000000d9;
    color: #6CBEED;
}

/* Formula Section */
.formula-card {
    background: #fff;
    color: #000;
    padding: 50px;
    border-radius: 4px;
    border-bottom: 8px solid var(--accent);
}


/* UI Elements */
.btn-accent {
    background: #6CBEED;
    font-size: 0.9rem;
}

.btn-accent-1{
    background: #6CBEED;
    color: #000;
    font-size: 0.9rem;
    padding: 18px 40px;
}

.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    border-radius: 4px;
    padding: 18px 40px;
}

.btn-accent:hover{
    background: #6CBEED;
    color: #000 !important;
    box-shadow: 0 0 10px #6CBEED;
    transform: translateY(-5px);
}

.btn-accent-1:hover{
    background: #6CBEED;
    color: #000 !important;
    transform: translateY(-5px);
    box-shadow: 0 0 10px #6CBEED;
}

.btn-outline-white:hover{
    background: transparent;
    color: #6CBEED !important;
    border: 2px solid #6CBEED;
    transform: translateY(-5px);
}

.stat-num {
    font-family: Syne, sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #6CBEED;
}

 /* About */
    .flywheel-section {
      background: radial-gradient(circle at center, #e3f0fb 0%, #f8fafc 70%);
    }

    .subtitle-badge {
      color: #6CBEED;
      letter-spacing: 1.5px;
      background-color: #e3f0fb;
    }

    .flywheel-lead {
      max-width: 750px;
      font-size: 1.1rem;
    }

    .pillar-card {
      border-radius: 1.25rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 1rem 3rem #00000014 !important;
    }

    .pillar-card .card-body {
    z-index: 3;
    }

    .card-bg-img {
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
    }

    .pillar-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 1rem 3rem #00000014 !important;
    }

    .badge-epf{
        background-color: #aae8ff63;
        color: #032a63;
    }

    .icon-epf{
        background-color: #aae8ff63;
        color: #032a63;
    }

    .icon-box {
      width: 48px;
      height: 48px;
    }

    .badge-aic{
        background-color: #ffc0c7;
        color: #ff0f2b;
    }

    .icon-aic{
        background-color: #ffc0c7;
        color: #ff0f2b;
    }

    .card-bg-img-blue{
        background-image: url('/assets/images/epf-blue.png');
    }

    .card-bg-img-red{
        background-image: url('/assets/images/aicampus.png');
    }

    .feature-list li div {
      flex: 1; 
    }

        /* Ecosystem Flow Section */
        .ecosystem-flow-section {
        background-color: #f8fafc; 
        }

        .flow-sub{
        max-width: 700px;
        }

        .step-icon-box {
        width: 64px;
        height: 64px;
        border: 2px solid #6CBEED;
        color: #6CBEED;
        min-width: 64px; /* Prevents squishing on mobile */
        transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
        }

        .step-wrapper:hover .step-icon-box {
        transform: scale(1.1);
        background-color: #6CBEED !important;
        color: #fff !important;
        }

        @media (width > 992px) {
        .flow-container::before {
            content: '';
            position: absolute;
            top: 32px; 
            left: 10%; 
            right: 10%;
            height: 2px;
            background-color: #dee2e6;
            z-index: 0;
        }
        
        .step-content {
            padding: 0 10px; /* Slight breathing room for text columns */
        }
    }

        /* Mobile Adjustments */
        @media (width < 991.98px) {
        .step-wrapper:not(:last-child) {
            position: relative;
            padding-bottom: 1.5rem;
        }
        
        /* Vertical connecting line for mobile */
        .step-wrapper:not(:last-child)::after {
            content: '';
            position: absolute;
            top: 64px;
            left: 42px; 
            height: calc(100% - 24px);
            width: 2px;
            background-color: #dee2e6;
            z-index: 0;
        }
    }

    @media screen and ( width < 480px){
        .hero-title{
            font-size: 30px;
            margin-top: 50px;
        }

        .hero-subtitle{
            font-size: 15px;
        }

        .hero-video-wrapper{
            height: 104vh !important;
        }

    }

/* Solutions Section */
.challenges-section{
    background-color: #050505;
}

.bg-dark-purple { 
    background-color: #12527a; 
}

.card-custom {
    background-color: #0e2c43;
    transition: transform 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
}

.card-active {
    background-color: #116093;
    color: #fff;
}

.icon-circle {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
}

.icon-light { 
    background-color: #12527a; 
    color: #fff; 
}

.icon-dark { 
    background-color: #1477b5; 
    color: #fff; 
}

.cluster-heading {
    border-bottom: 2px solid #fdf0f6;
}

/* Platforms Section */
.platforms-section {
    background-color: #050505; 
}

.platforms-subtitle {
    color: #8fa099;
    font-size: 1.1rem;
}

.vault-card {
    background: linear-gradient(145deg, #03296324, #0e2c433e);
    border: 1px solid #1f2329;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.vault-card:hover {
    transform: translateY(-5px);
    border-color: #3b4353;
    box-shadow: 0 10px 30px #00000080;
}

.icon-stage {
    height: 220px;
    background-color: #36404e26;
    background-image: repeating-linear-gradient(90deg, transparent, transparent 19px, #ffffff05 19px, #ffffff05 20px);
    border-radius: 16px;
    border: 1px solid #16181c;
}

.glow-backdrop {
    width: 100px;
    height: 100px;
    background: #4a8fde;
    filter: blur(45px);
    opacity: 0.15;
}

.neon-icon {
    font-size: 2.5rem;
    color: #4a8ade;
    z-index: 2;
    background: #0a131f;
    padding: 18px 22px;
    border-radius: 16px;
    border: 1px solid #182c3d;
}

.text-muted-custom {
    color: #8b9691;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Networks Section */
.networks-section {
    background-color: #050505; 
}

.feature-card {
    background-color: #12527a;
    border-radius: 1.25rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: #6CBEED;
    transition: transform 0.3s ease;
    border-radius: 1.25rem;
    color: #000 !important;
}

.feature-card-active:hover {
    transform: translateY(-5px);
}

.feature-card-active .text-muted-custom {
    color: #1a3340; /* Darker text for readability on light blue */
}


/* Invest section */
.invest-section{
    background-color: #050505;
    border-color: #1a1a1a !important;
}

.invest-badge{
    background: #6cbeed1a; 
    border: 1px solid #6cbeed33; 
    color: #6CBEED; 
    font-size: 0.85rem; 
    letter-spacing: 1px; 
}

.cta-gradient-banner {
    background: linear-gradient(135deg, #0a1922 0%, #112d3d 100%);
    border: 1px solid #6cbeed4d;
    border-radius: 1.5rem;
}

.cta-gradient-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: #6CBEED;
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
}

.cta-content-wrapper {
    z-index: 1;
}

.cta-sub{
    max-width: 600px;
}

.btn-brand-solid {
    background-color: #6CBEED;
    color: #050505;
    transition: all 0.3s ease;
    border: 2px solid #6CBEED;
}

.btn-brand-solid:hover {
    background-color: transparent;
    color: #6CBEED;
    border: 2px solid #000;
    transform: translateY(-5px);
}

/* Contact-Footer */

.contact-section{
    background-color: #050505;
    border-bottom:1px solid #032a63;
    padding: 100px 0;
}

.epf-footer-logo{
    height: 40px;
}

.footer-section { 
    background-color: #050609; 
}

.footer-header{
    font-family: Syne, sans-serif;
}

.contact-info-section{
    background-color: #032a63;
}

.premium-blue { 
    color: #6CBEED; 
}

.tracking-wide { 
    letter-spacing: 0.05em; 
    font-size: 0.85rem;
}
        
        .glass-card {
            background: #ffffff05;
            border: 1px solid #ffffff0d;
            cursor: default;
        }
        
        .glass-card:hover {
            background: #ffffff0d;
            border: 1px solid #d4af374d;
            transform: translateX(5px);
        }
        
        .gold-icon-wrapper {
            width: 40px;
            height: 40px;
            background: #6CBEED;
            line-height: 1;
        }

        .hover-gold:hover { 
            color: #6cbeedac !important; 
        }

        .form-floating .form-control {
            border-radius: 0.5rem;
            transition: all 0.3s ease-in-out;
            box-shadow: none;
        }

        .form-floating .form-control:focus {
            background-color: #fff !important;
            box-shadow: 0 0 0 0.25rem #356dd426;
        }
        
        .form-floating .form-control:focus ~ label {
            color: #6CBEED;
            font-weight: 500;
        }

        .btn-luxury {
            background-color: #032a63;
            color: #fff;
            border: 1px solid #032a63;
        }
        
        .btn-luxury:hover {
            background-color: #6CBEED;
            color: #121519;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px #00f2ff2d;
        }
        
        .btn-luxury:active {
            transform: translateY(0);
            box-shadow: 0 4px 10px #d4af3733;
        }

        /* Helper */
        .transition-all { transition: all 0.3s ease; }
        
        .footer-link {
            color: #fff9;
            transition: color 0.3s ease;
        }

        .footer-link:hover { 
            color: #6CBEED; 
        }

        .social-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #ffffff0d;
            transition: all 0.3s ease;
        }

        .social-icon:hover {
            background: #6CBEED;
            color: #121519;
            transform: translateY(-3px);
        }

        .approach-number{
            background-color: #6CBEED;
            color: #fff;
            width: 50px;
            height: 50px;
            font-size: 1.5rem;
            }

        .scale-number{
            color: #6CBEED;
            }

        .scale-sub{
            font-size: 0.85rem;
            }
         
        .arsenal-sub{
            font-size: 0.85rem;
        }    

footer {
    background: #000;
    padding: 100px 40px;
}

.text-housing{
    color: #DAA06D;
}

.text-rural{
    color: orangered;
}

.text-safety{
    color: #d001d0;
}

.text-healthcare{
    color: #ff9abd;
}

.text-edu{
    color: #ffd900;
}