@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

:root {
    --primary-blue: #0B1F4A;
    --accent-cyan: #00C6FF;
    --dark-blue: #1A2B5F;
    --light-bg: #E6F6FF;
    --section-bg: #F1F5F9;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* 1. STICKY NAVBAR - FORCED DARK */
.glass-nav {
    background-color: #0B1F4A !important;
    background-image: linear-gradient(90deg, #0B1F4A 0%, #152759 100%) !important;
    border-bottom: 1px solid rgba(0, 198, 255, 0.25) !important;
}

.brand-logo-icon {
    width: 42px;
    height: 42px;
    background: rgba(0, 198, 255, 0.15);
    border: 1px solid #00C6FF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-custom {
    color: #ffffff !important;
    font-weight: 500;
    opacity: 0.9;
    transition: all 0.25s;
}

    .nav-custom:hover, .nav-custom.active {
        color: #00C6FF !important;
        opacity: 1;
    }

/* 2. HERO SECTION - COMBINED DOT PATTERN + DARK ROYAL BLUE GRADIENT */
.hero-section {
    background-color: #0B1F4A !important;
    background-image: radial-gradient(rgba(0, 198, 255, 0.20) 1.5px, transparent 1.5px), radial-gradient(circle at 80% 30%, #1A2B5F 0%, #0B1F4A 70%, #061026 100%) !important;
    background-size: 24px 24px, 100% 100% !important;
    position: relative;
    padding: 85px 0 135px;
    color: #ffffff !important;
    overflow: hidden;
}

/* Keyframe Floating Animations */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-anim-1 {
    animation: floatSlow 3.5s ease-in-out infinite;
}

.float-anim-2 {
    animation: floatSlow 4.2s ease-in-out 0.7s infinite;
}

.float-anim-3 {
    animation: floatSlow 3.8s ease-in-out 1.4s infinite;
}

/* Glass Floating Badges */
.floating-badge {
    background: rgba(26, 43, 95, 0.92) !important;
    border: 1px solid rgba(0, 198, 255, 0.5) !important;
    border-radius: 14px;
    padding: 10px 18px;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

/* Buttons */
.btn-cyan {
    background: linear-gradient(135deg, #00C6FF 0%, #0072ff 100%) !important;
    color: #ffffff !important;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 198, 255, 0.35);
}

    .btn-cyan:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(0, 198, 255, 0.55);
        color: #ffffff !important;
    }

.btn-outline-custom {
    border: 2px solid #00C6FF !important;
    background: rgba(0, 198, 255, 0.08) !important;
    color: #ffffff !important;
    border-radius: 50px;
    padding: 11px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-outline-custom:hover {
        background: #00C6FF !important;
        color: #0B1F4A !important;
        transform: translateY(-3px);
    }

/* Counter Bar */
.counter-bar {
    background: linear-gradient(135deg, #1A2B5F 0%, #0B1F4A 100%) !important;
    border-radius: 20px;
    border: 1px solid rgba(0, 198, 255, 0.35);
    box-shadow: 0 20px 40px rgba(11, 31, 74, 0.3);
    margin-top: -65px;
    position: relative;
    z-index: 10;
}

/* Core Services Card */
.service-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.35s ease;
}

    .service-box:hover {
        transform: translateY(-8px);
        border-color: #00C6FF;
        box-shadow: 0 18px 35px rgba(11, 31, 74, 0.1);
    }

.service-icon {
    width: 64px;
    height: 64px;
    background: #E6F6FF;
    color: #0B1F4A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 28px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.service-box:hover .service-icon {
    background: #0B1F4A;
    color: #00C6FF;
}

/* Course Cards */
.course-card {
    background: #152554 !important;
    border: 1px solid rgba(0, 198, 255, 0.25);
    border-radius: 16px;
    padding: 24px;
    color: #ffffff;
    transition: all 0.3s ease;
}

    .course-card:hover {
        border-color: #00C6FF;
        transform: translateY(-6px);
        box-shadow: 0 12px 25px rgba(0, 198, 255, 0.2);
    }

/* Project Portfolio Card with Built-in Graphic Banner */
.project-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    transition: all 0.35s ease;
}

    .project-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 30px rgba(11, 31, 74, 0.14);
        border-color: #00C6FF;
    }

.project-graphic-banner {
    height: 155px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Footer Section - FORCED DARK */
.footer-section {
    background-color: #061026 !important;
    color: #ffffff !important;
}

.footer-links a {
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none;
    transition: all 0.25s;
}

    .footer-links a:hover {
        color: #00C6FF !important;
        padding-left: 5px;
    }

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

    .social-icon:hover {
        background: #00C6FF;
        color: #0B1F4A !important;
    }

/* =========================================
   NEW: PREMIUM BACKGROUND ANIMATIONS
   ========================================= */

/* 1. Moving Gradient Background (For Hero & Headers across all pages) */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animated-bg-dark {
    background: linear-gradient(-45deg, #0B1F4A, #1A2B5F, #061026, #002244);
    background-size: 400% 400% !important;
    animation: gradientShift 12s ease infinite;
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
}

/* 2. Glowing Floating Orbs in Background */
@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(30px, -50px) scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.5;
    }
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.orb-primary {
    background: rgba(0, 198, 255, 0.25);
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.orb-secondary {
    background: rgba(0, 198, 255, 0.15);
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -100px;
    animation: floatOrb 12s infinite alternate-reverse ease-in-out;
}

/* 3. Modern Grid/Mesh Pattern Overlay */
.mesh-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
    pointer-events: none;
}

/* 4. Glassmorphism Panel (For Hero Box & Forms) */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Make sure inner content sits above the animated background */
.z-content {
    position: relative;
    z-index: 2;
}