:root {
    --primary: #0b5ed7;
    --dark: #081b33;
    --light: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins',sans-serif;
    overflow-x: hidden;
}

.ncsa-navbar {
    background: rgba(5,15,35,.85);
    backdrop-filter: blur(12px);
    transition: .35s;
}

.logo {
    width: 52px;
}

.navbar-brand {
    color: white !important;
}

    .navbar-brand small {
        display: block;
        font-size: 11px;
    }

.nav-link {
    color: white !important;
    font-weight: 500;
    margin-left: 10px;
}

    .nav-link:hover {
        color: #4dc3ff !important;
    }

.footer-dark {
    background: #081b33;
    color: white;
    padding: 70px 0;
}

    .footer-dark ul {
        list-style: none;
        padding: 0;
    }

    .footer-dark li {
        margin-bottom: 8px;
    }

    .footer-dark a {
        color: #d4d4d4;
        text-decoration: none;
    }

        .footer-dark a:hover {
            color: white;
        }

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #12345a;
    margin-right: 10px;
}

#backTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    display: none;
    background: #0b5ed7;
    color: white;
    z-index: 999;
}

/*==========================
        HERO
===========================*/

#home {
    margin-top: 0;
}

.hero-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.18) contrast(1.08) saturate(1.10);
}

/* ================= HERO OVERLAY ================= */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(2, 14, 35, .96) 0%, rgba(3, 18, 40, .92) 18%, rgba(4, 24, 55, .82) 35%, rgba(6, 34, 70, .62) 50%, rgba(8, 48, 90, .38) 65%, rgba(8, 48, 90, .18) 80%, rgba(8, 48, 90, .05) 92%, rgba(8, 48, 90, 0) 100% );
}

    .hero-overlay::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at 22% 45%, rgba(0,140,255,.22), transparent 48% );
    }

/* ================= CAPTION ================= */

.carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    text-align: left;
    z-index: 5;
}

/* ================= HERO CONTENT ================= */

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 720px;
    color: #ffffff;
}

/* ================= TAG ================= */

.hero-tag {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(13,110,253,.90);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(13,110,253,.40);
    margin-bottom: 22px;
}

/* ================= TITLE ================= */

.hero-content h1 {
    color: #ffffff;
    font-size: 68px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 24px;
    text-shadow: 0 3px 12px rgba(0,0,0,.55), 0 8px 35px rgba(0,0,0,.45);
}

/* ================= DESCRIPTION ================= */

.hero-content p {
    color: rgba(255,255,255,.96);
    font-size: 21px;
    line-height: 1.9;
    max-width: 620px;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
    margin-bottom: 35px;
}

/* ================= BUTTONS ================= */

.hero-content .btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px;
}

.hero-content .btn-primary {
    box-shadow: 0 15px 35px rgba(13,110,253,.35);
}

/* ================= CONTROLS ================= */

.carousel-control-prev,
.carousel-control-next {
    width: 70px;
    z-index: 20;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 65%;
}

/* ================= INDICATORS ================= */

.carousel-indicators {
    z-index: 20;
}

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
    }


/* ================= SECTION TITLE ================= */

.section-title {
    color: #0b5ed7;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

        .hero-content h1 {
            font-size: 48px;
        }

        .hero-content p {
            font-size: 18px;
            max-width: 100%;
        }

    .carousel-caption {
        text-align: center;
    }
}

@media (max-width: 576px) {

    .hero-image {
        height: 85vh;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-tag {
        font-size: 12px;
    }
}

/*==========================
      BUTTONS
===========================*/

.btn-primary {
    padding: 12px 30px;
    border-radius: 50px;
}

.btn-outline-light {
    border-radius: 50px;
    padding: 12px 30px;
}

/*==========================
      RESPONSIVE
===========================*/

/*@media(max-width:991px) {

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-image {
        height: 80vh;
    }

    .carousel-caption {
        top: 54%;
    }
}

@media(max-width:576px) {

    .hero-content {
        text-align: center;
    }

        .hero-content h1 {
            font-size: 32px;
        }

        .hero-content p {
            font-size: 16px;
        }

    .hero-tag {
        font-size: 11px;
    }

    .hero-image {
        height: 75vh;
    }
}*/

/* ==========================
   FEATURE CARDS
========================== */
.feature-card {
    background: #fff;
    border-radius: 24px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .35s;
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(11,94,215,.18);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg,#0b5ed7,#4dc3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 34px;
}

/* ==========================
   PROGRAM CARDS
========================== */
.program-card {
    background: #fff;
    border-radius: 28px;
    padding: 35px 30px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transition: .35s;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .program-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg,#0b5ed7,#4dc3ff);
    }

    .program-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 50px rgba(11,94,215,.18);
    }

.program-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    background: linear-gradient(135deg,#0b5ed7,#4dc3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 34px;
    margin-bottom: 25px;
}

.program-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.program-card p {
    color: #666;
    line-height: 1.7;
}

/* ==========================
   STATISTICS
========================== */
.stats-section {
    background: linear-gradient(135deg,#081b33,#0b2d55);
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .stats-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
        background-size: 40px 40px;
    }

.stat-box {
    position: relative;
    z-index: 1;
}

    .stat-box h2 {
        font-size: 56px;
        font-weight: 700;
        color: #4dc3ff;
        margin-bottom: 10px;
    }

    .stat-box p {
        margin: 0;
        font-size: 18px;
        font-weight: 500;
    }

@media(max-width:576px) {
    .stat-box h2 {
        font-size: 42px;
    }
}

/*==========================
 WHY NCSA
==========================*/

.feature-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 18px;
    text-align: center;
    transition: .35s;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(0,0,0,.15);
    }

    .feature-card i {
        font-size: 55px;
        color: #0b5ed7;
        margin-bottom: 20px;
    }

    .feature-card h4 {
        font-weight: 600;
        margin-bottom: 15px;
    }

/*==========================
 PROGRAMS
==========================*/

.program-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    transition: .35s;
    height: 100%;
    border: 1px solid #edf2f7;
}

    .program-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,.12);
    }

.program-icon {
    width: 90px;
    height: 90px;
    margin: auto;
    margin-bottom: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg,#0b5ed7,#00b4ff);
}

    .program-icon i {
        font-size: 40px;
        color: white;
    }

.program-card h4 {
    font-weight: 600;
    margin-bottom: 18px;
}

.program-card p {
    color: #6c757d;
    min-height: 70px;
}

/*==========================
ACTIVITIES
==========================*/

.activity-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: .35s;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

    .activity-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 40px rgba(0,0,0,.15);
    }

    .activity-card img {
        height: 230px;
        width: 100%;
        object-fit: cover;
        transition: .4s;
    }

    .activity-card:hover img {
        transform: scale(1.08);
    }

.activity-body {
    padding: 25px;
}

    .activity-body h4 {
        font-weight: 600;
        margin-bottom: 15px;
    }

/*==========================
COUNTERS
==========================*/

.counter-section {
    padding: 90px 0;
    background: linear-gradient(135deg,#061a33,#0b5ed7);
    color: white;
}

.counter-box h2 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 10px;
}

.counter-box p {
    font-size: 18px;
    opacity: .9;
}

/*==========================
NEWS
==========================*/

.news-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .35s;
}

    .news-card:hover {
        transform: translateY(-8px);
    }

    .news-card img {
        height: 240px;
        width: 100%;
        object-fit: cover;
    }

.news-body {
    padding: 25px;
}

/*==========================
GALLERY
==========================*/

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
}

    .gallery-item img {
        transition: .4s;
        width: 100%;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

/*==========================
CTA
==========================*/

.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg,#0b5ed7,#081b33);
    color: white;
}

    .cta-section h2 {
        font-size: 42px;
        font-weight: 700;
    }

    .cta-section p {
        margin: 20px 0 35px;
    }

.counter-box {
    padding: 35px 20px;
    transition: .35s;
}

    .counter-box:hover {
        transform: translateY(-8px);
    }

    .counter-box h2 {
        font-size: 58px;
        font-weight: 800;
        color: #ffffff;
        margin-bottom: 10px;
    }

    .counter-box p {
        color: rgba(255,255,255,.9);
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 0;
    }

/*================ ABOUT SECTION ================*/

.about-section {
    background: #fff;
}

.about-image {
    position: relative;
}

    .about-image img {
        border-radius: 25px;
        transition: .5s;
    }

        .about-image img:hover {
            transform: scale(1.02);
        }

.experience-box {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: #0d6efd;
    color: #fff;
    padding: 25px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(13,110,253,.35);
}

    .experience-box h2 {
        margin: 0;
        font-size: 42px;
        font-weight: 700;
    }

    .experience-box span {
        font-size: 15px;
    }

.section-subtitle {
    color: #0d6efd;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading {
    font-size: 44px;
    font-weight: 800;
    margin: 15px 0 25px;
}

.feature-mini {
    display: flex;
    gap: 15px;
    align-items: center;
}

    .feature-mini i {
        width: 60px;
        height: 60px;
        background: #eef5ff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0d6efd;
        font-size: 26px;
        transition: .3s;
    }

    .feature-mini:hover i {
        background: #0d6efd;
        color: #fff;
        transform: rotate(-8deg);
    }

    .feature-mini h5 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

    .feature-mini small {
        color: #777;
    }

/*================ WHAT WE OFFER ================*/

.services-section {
    background: #f8fbff;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    height: 100%;
    text-align: center;
    transition: .35s;
    border: 1px solid rgba(13,110,253,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 4px;
        background: #0d6efd;
        transition: .35s;
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(13,110,253,.18);
    }

        .service-card:hover::before {
            width: 100%;
        }

.service-icon {
    width: 85px;
    height: 85px;
    margin: auto;
    border-radius: 50%;
    background: #eef5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: .35s;
}

    .service-icon i {
        font-size: 34px;
        color: #0d6efd;
    }

.service-card:hover .service-icon {
    background: #0d6efd;
    transform: rotate(-10deg);
}

    .service-card:hover .service-icon i {
        color: #fff;
    }

.service-card h4 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.8;
}

/*================ CYBER RANGE =================*/

.cyber-range-section {
    padding: 100px 0;
    background: linear-gradient(135deg,#03142d 0%,#062b55 50%,#0b5ed7 100%);
    overflow: hidden;
    position: relative;
}

    .cyber-range-section::before {
        content: "";
        position: absolute;
        width: 700px;
        height: 700px;
        background: rgba(255,255,255,.03);
        border-radius: 50%;
        right: -250px;
        top: -250px;
    }

.range-feature {
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.08);
    padding: 15px 20px;
    border-radius: 12px;
    transition: .3s;
    font-weight: 500;
}

    .range-feature:hover {
        background: #0dcaf0;
        color: #001a33;
        transform: translateY(-5px);
    }

    .range-feature i {
        margin-right: 10px;
    }

.range-stat {
    position: absolute;
    background: #fff;
    border-radius: 18px;
    padding: 18px 28px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

    .range-stat h3 {
        color: #0d6efd;
        margin: 0;
        font-size: 34px;
        font-weight: 800;
    }

    .range-stat span {
        font-size: 14px;
        color: #666;
    }

.stat-one {
    top: 25px;
    left: -20px;
}

.stat-two {
    bottom: 25px;
    right: -20px;
}

/*================ TRAINING PROGRAMS ================*/

.programs-section {
    background: #f7faff;
}

.program-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    transition: .35s;
    border: 1px solid rgba(13,110,253,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

    .program-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 45px rgba(13,110,253,.18);
    }

.program-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: auto;
    margin-bottom: 25px;
    background: #eef5ff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .35s;
}

    .program-icon i {
        font-size: 36px;
        color: #0d6efd;
    }

.program-card:hover .program-icon {
    background: #0d6efd;
    transform: rotate(-10deg);
}

    .program-card:hover .program-icon i {
        color: #fff;
    }

.program-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.program-card p {
    color: #666;
    line-height: 1.8;
    min-height: 90px;
}

/*================ RESEARCH =================*/

.research-section {
    background: linear-gradient(rgba(2,18,40,.94), rgba(4,32,66,.94)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.research-card {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: .35s;
    height: 100%;
}

    .research-card:hover {
        transform: translateY(-10px);
        background: #0d6efd;
    }

    .research-card i {
        font-size: 42px;
        color: #33d4ff;
        margin-bottom: 20px;
        display: block;
    }

    .research-card:hover i {
        color: #fff;
    }

    .research-card h4 {
        color: #fff;
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .research-card p {
        color: rgba(255,255,255,.82);
        margin-bottom: 0;
        line-height: 1.8;
    }

.achievement-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    height: 100%;
    transition: .35s;
    box-shadow: 0 12px 35px rgba(0,0,0,.07);
}

    .achievement-card:hover {
        transform: translateY(-10px);
    }

    .achievement-card i {
        font-size: 48px;
        color: #0d6efd;
    }

    .achievement-card h3 {
        margin: 20px 0 10px;
        font-weight: 800;
        color: #0d6efd;
    }

.partner-logo {
    height: 55px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .65;
    transition: .35s;
}

    .partner-logo:hover {
        filter: none;
        opacity: 1;
        transform: scale(1.08);
    }

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,.06);
    transition: .3s;
}

    .testimonial-card:hover {
        transform: translateY(-8px);
    }