﻿html, body {
    overflow-x: hidden !important;
}

body {
    background: #181A1B;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.accent-gold {
    color: #D4AF37;
}

.accent-blue {
    color: #3294d5;
}

.btn-gold {
    background: #D4AF37;
    color: #181A1B !important;
    border: none;
}

    .btn-gold:hover {
        background: #BFA033;
        color: #fff !important;
    }

.btn-outline-blue {
    border: 2px solid #3294d5;
    color: #3294d5 !important;
    background: transparent;
}

    .btn-outline-blue:hover {
        background: #3294d5;
        color: #fff !important;
    }

.service-card {
    background: #23262A;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(33,150,243,0.07);
    padding: 32px 24px;
}

.timeline {
    border-left: 4px solid #D4AF37;
    margin-left: 20px;
    position: relative;
}

.timeline-item {
    margin-bottom: 48px;
    position: relative;
}

    .timeline-item.left .timeline-content {
        margin-left: 32px;
    }

    .timeline-item.right {
        margin-left: 60px;
    }

.timeline-date {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 12px;
    display: block;
}

.timeline-content {
    margin-left: 20px;
    text-align: center;
    font-size: 9pt;
}

    .timeline-content strong, .timeline-content b {
        font-weight: 700;
        display: block;
    }

    .timeline-content span {
        color: #b0b3b8;
        font-size: 9pt;
        margin-bottom: 6px;
        display: block;
    }

    .timeline-content p {
        color: #e7e7e7;
        font-size: 8pt;
        margin-bottom: 0;
    }

@media (max-width: 768px) {
    .timeline {
        border-left: none;
    }

    .timeline-item, .timeline-item.right {
        margin-left: 0;
    }

    .timeline-content {
        margin-left: 0;
    }
}

.career-timeline {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    width: 180px;
    min-width: 150px;
    max-width: 180px;
    text-align: center;
    position: relative;
}

.timeline-circle {
    width: 30px;
    height: 30px;
    background: #F44336;
    color: #fff;
    border-radius: 50%;
    font-size: 1.0rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px auto;
    box-shadow: 0 4px 14px rgba(0,0,0,0.70);
    z-index: 2;
    transition: background 0.2s;
}

.timeline-item:nth-child(n+2) .timeline-circle {
    background: #D4AF37;
    color: #23262A;
}

@media (max-width: 900px) {
    .career-timeline {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .timeline-item {
        width: 95vw;
        max-width: 380px;
    }
}

.courses-section {
    background: #181A1B;
}

.course-card-dark {
    background: #23262A;
    border-radius: 16px; 
    box-shadow: 0 4px 24px rgba(33,150,243,0.06), 0 1.5px 8px rgba(0,0,0,0.08);
    padding: 32px 28px 24px 28px;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .course-card-dark { 
    }
}

.course-card-bar-dark {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #D4AF37 60%, #3294d5 100%);
    border-radius: 10px 10px 0 0;
    margin-top: -32px;
    margin-bottom: 18px;
}

.course-card-dark h5 {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.22rem;
    color: #fff;
}

.course-card-dark p {
    min-height: 52px;
    font-size: 1rem;
    color: #d3d4d6;
}

.learn-more-dark {
    color: #3294d5;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    display: inline-block;
}

    .learn-more-dark:hover {
        text-decoration: underline;
    }

.course-card-dark .logos .badge-gold {
    background: #D4AF37;
    color: #23262A;
    font-weight: 600;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.97rem;
    margin-right: 5px;
}

.course-card-dark .logos .badge-blue {
    background: #3294d5;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.97rem;
    margin-right: 5px;
}
/* Hide horizontal scrollbar */
#courseCarousel::-webkit-scrollbar {
    display: none;
}

#courseCarousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
}

.carousel-btn {
    background: #23262A;
    border: 1.5px solid #D4AF37;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-weight: bold;
    color: #D4AF37;
    outline: none;
    transition: background .15s, color .15s, border-color .15s;
    cursor: pointer;
    margin-right: 2px;
    box-shadow: 0 1.5px 6px rgba(33,150,243,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .carousel-btn:hover {
        background: #D4AF37;
        color: #181A1B;
        border-color: #3294d5;
    }

.courses-edge-container {
    max-width: 1500px;
    margin-left: 0px;
    margin-right: 0;
    padding-right: 0;
    padding-left: 0;
    width: calc(100vw - 40px);
    box-sizing: border-box;
}

.carousel-wrapper {
    position: relative;
    padding-right: 20px;
}

.scroll-nav {
    position: absolute;
    top: -52px;
    right: 6px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.courses-gradient-bg {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(90deg, #181A1B 0%, #23262A 18%, #16425B 70%, #1976A5 100%);
}

.courses-edge-row {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.courses-edge-content {
    margin-left: auto;
    margin-right: 0;
    padding-left: 60px;
    padding-right: 20px;
    width: 100vw;
    max-width: 1600px;
    box-sizing: border-box;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 600px;
    box-sizing: border-box;
}

    .hero-content.container {
        height: 350px;
        display: flex;
        align-items: center;
    }

@media (max-width: 900px) {
    .hero, .hero-content, .hero-content.container {
        height: 120px !important;
    }
}

.hero, .hero video, .hero .hero-overlay {
    width: 100vw !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(24,26,27,0.72);
    z-index: 1;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

/* Asymmetric container (for section below hero) */
.asymmetric-container {
    position: relative;
    margin-left: 15vw;
    margin-right: 20px;
    max-width: calc(100vw - 15vw - 20px);
    width: 100%;
    box-sizing: border-box;
    padding: 32px 32px 32px 32px;
}

@media (max-width: 992px) {
    .asymmetric-container {
        margin-left: 10vw;
        margin-right: 16px;
        max-width: calc(100vw - 8vw - 16px);
        padding: 24px 12px 24px 12px;
    }
}

@media (max-width: 900px) {
    .asymmetric-container {
        margin-left: 0;
        margin-right: 0;
        max-width: 100vw;
        padding: 10px;
    }
}

/* Headings */
h1, .display-1, .about-section h1 {
    font-weight: 900 !important;
    font-size: 3rem;
    letter-spacing: -1px;
}

h2, .display-2, .about-section h2 {
    font-weight: 400 !important;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.asymmetric-container h1,
.asymmetric-container h2,
.asymmetric-container h3,
.asymmetric-container h4 {
    text-align: left;
}

/* Certifications Carousel */
.certifications-section {
    background: transparent;
    position: relative;
    z-index: 1;
    padding-top: 44px;
    padding-bottom: 44px;
}

.certs-gradient-bg {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    position: relative;
    background: linear-gradient(90deg, #181A1B 0%, #23262A 60%, #16425B 100%);
    z-index: 0;
}

.certs-edge-container {
    max-width: 1400px;
    margin-left: 0px;
    margin-right: 0;
    padding-right: 0;
    padding-left: 4vw;
    width: calc(100vw - 30px);
    box-sizing: border-box;
}

.certs-carousel-wrapper {
    position: relative;
    padding-right: 20px;
}

.certs-scroll-nav {
    position: absolute;
    top: -50px;
    right: 6px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.cert-logo-card {
    background: #23262A;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 80px;
    max-width: 140px;
    box-shadow: 0 4px 24px rgba(33,150,243,0.09), 0 1.5px 8px rgba(0,0,0,0.06);
    transition: transform 0.18s;
}

    .cert-logo-card img {
        max-height: 52px;
        max-width: 96px;
        filter: grayscale(25%) brightness(1.08);
        transition: filter 0.15s, transform 0.18s;
    }

    .cert-logo-card:hover img {
        filter: none;
        transform: scale(1.08);
    }

#certsCarousel::-webkit-scrollbar {
    display: none;
}

#certsCarousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.cert-card {
    background: #23262A;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(33,150,243,0.09), 0 1.5px 6px rgba(0,0,0,0.07);
    padding: 20px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    min-height: 110px;
    max-width: 150px;
    max-height: 120px;
    transition: box-shadow .2s;
}

    .cert-card img {
        max-width: 90px;
        max-height: 70px;
        object-fit: contain;
        filter: drop-shadow(0 2px 8px rgba(33,150,243,0.13));
    }

    .cert-card:hover {
        box-shadow: 0 6px 28px rgba(33,150,243,0.12), 0 2px 16px rgba(0,0,0,0.14);
    }

@media (max-width: 600px) {
    .cert-card {
        min-width: 90px;
        max-width: 100px;
        padding: 10px 8px;
    }

        .cert-card img {
            max-width: 60px;
            max-height: 38px;
        }
}

/* Modern 3D BG & Mouse Glow */
.modern-3d-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 60% 32%, rgba(52, 120, 202, 0.30) 0%, rgba(35,38,42,0.10) 55%, rgba(24,26,27,0.76) 100%), radial-gradient(circle at 23% 70%, rgba(212,175,55,0.22) 0%, rgba(35,38,42,0.10) 50%, rgba(24,26,27,0.75) 100%);
    transition: background 0.35s cubic-bezier(.36,.22,.51,.92);
    will-change: background;
}

.mouse-glow {
    position: fixed;
    left: 0;
    top: 0;
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.19) 0%, rgba(255,255,255,0.11) 55%, rgba(0,0,0,0.00) 100%);
    opacity: 0.44;
    filter: blur(12px);
    mix-blend-mode: lighten;
    transition: opacity .23s, background .2s;
    transform: translate(-60px, -60px) scale(1.8);
}
/* Modern dark nav with glass, gold/blue accent */
.nav-modern {
    position: relative;
    background: rgba(0,0,0,.65);
    backdrop-filter: saturate(120%) blur(8px);
    -webkit-backdrop-filter: saturate(120%) blur(8px);
    border-bottom: 1px solid rgba(212,175,55,.12);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    z-index: 1030;
}

    /* subtle bottom gradient accent */
    .nav-modern::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background: linear-gradient(90deg, rgba(212,175,55,.7), rgba(50,148,213,.7));
        opacity: .8;
    }

    /* logo polish */
    .nav-modern .navbar-brand img {
        height: 64px;
        filter: drop-shadow(0 4px 12px rgba(0,0,0,.35));
        transition: transform .18s ease;
    }

    .nav-modern .navbar-brand:hover img {
        transform: translateY(-1px);
    }

    /* nav links: uppercase, tracking, animated underline */
    .nav-modern .nav-link {
        position: relative;
        padding: .75rem 1rem;
        color: #cfd8dc;
        text-transform: uppercase;
        letter-spacing: .06em;
        font-weight: 400;
        font-size:10pt;
        opacity: .88;
        border-radius: 999px; /* pill hover */
        transition: color .2s, opacity .2s, background .2s;
    }

        .nav-modern .nav-link:hover,
        .nav-modern .nav-link:focus {
            color: #ffffff;
            opacity: 1;
            background: rgba(255,255,255,.04); /* soft pill bg */
            text-decoration: none;
        }

        /* gradient underline on hover/active */
        .nav-modern .nav-link::after {
            content: "";
            position: absolute;
            left: 1rem;
            right: 1rem;
            bottom: .38rem;
            height: 2px;
            background: linear-gradient(90deg, #d4af37, #3294d5);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform .22s ease-out;
            border-radius: 2px;
        }

        .nav-modern .nav-link:hover::after,
        .nav-modern .nav-link.active::after,
        .nav-modern .nav-link[aria-current="page"]::after {
            transform: scaleX(1);
        }

        .nav-modern .nav-link.active,
        .nav-modern .nav-link[aria-current="page"] {
            color: #fff;
            opacity: 1;
        }

    /* Toggler + mobile panel */
    .nav-modern .navbar-toggler {
        border: 1px solid rgba(255,255,255,.25);
        padding: .25rem .6rem;
    }

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #0d0f10;
        padding: 14px 10px 18px;
        border-left: 1px solid rgba(255,255,255,.06);
        box-shadow: -8px 0 24px rgba(0,0,0,.4);
    }

    .nav-modern .nav-link {
        font-size: 1rem;
        margin: .15rem .35rem;
        padding: .65rem 1rem;
    }

        .nav-modern .nav-link::after {
            left: 0.8rem;
            right: auto;
            width: calc(100% - 2rem);
            bottom: .35rem;
        }
}

/* Better focus visibility (keyboard a11y) */
.nav-modern .nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(212,175,55,.25);
}

