/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

.expert-section {
    padding: 80px 0;
    background: #F5F8FF;
    color: #0A1A2F;
}

.container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
    text-align: center;
}

/* TITLES */
.section-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0A1A2F;
}

.section-subtitle {
    font-size: 18px;
    color: #0066FF;
    font-weight: 600;
    margin-bottom: 40px;
}

/* GRID */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 25px;
}

/* CARD DESIGN */
.expert-card {
    background: white;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    transition: 0.35s ease;
    text-align: left;
}

.expert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.expert-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #003366;
}

.expert-card p {
    font-size: 15px;
    color: #4A5568;
    line-height: 1.5;
}

/* DEPLOYMENT BOX */
.deployment-box {
    margin-top: 45px;
    padding: 18px 30px;
    display: inline-block;
    background: #0066FF;
    color: white;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,102,255,0.25);
}

.deployment-box p {
    font-size: 20px;
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    .section-subtitle {
        font-size: 16px;
    }
}

/* ============================================================================
   HEADER – Clean, Compact, Responsive
============================================================================ */
.header {
    width: 100%;
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    height: 75px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
}

/* ============================================================================
   NAVIGATION MENU
============================================================================ */
.navbar .nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #002D62;
    padding: 8px 0;
    transition: 0.25s;
}

.navbar ul li a:hover {
    color: #0096FF;
}

/* ============================================================================
   STABLE DROPDOWN (DESKTOP)
============================================================================ */
.dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 55px;
    left: 0;
    width: 250px;
    padding: 20px 25px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.dropdown:hover .mega-menu,
.dropdown.hover-active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    height: 25px;
}

.mega-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #002D62;
    margin-bottom: 10px;
}

.mega-menu a {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #002D62;
    text-decoration: none;
    transition: 0.2s ease;
}

.mega-menu a:hover {
    color: #0096FF;
    padding-left: 5px;
}

/* ============================================================================
   MOBILE MENU ICON
============================================================================ */
.mobile-menu-icon {
    display: none;
    font-size: 32px;
    cursor: pointer;
}

/* ============================================================================
   MOBILE RESPONSIVE
============================================================================ */
@media (max-width: 900px) {

    .mobile-menu-icon {
        display: block;
    }

    .navbar .nav-links {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #ffffff;
        padding: 20px 0;

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s ease;
    }

    .nav-links.nav-active {
        max-height: 700px;
        opacity: 1;
        pointer-events: auto;
        border-bottom: 1px solid #eee;
    }

    .dropdown:hover .mega-menu {
        display: none;
    }

    .dropdown.open .mega-menu {
        display: block !important;
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto;
        padding: 12px 20px;
        background: #f4f8ff;
        border-radius: 10px;
        box-shadow: none;
    }
}

  FOOTER 
============================================================================ */
.footer {
    background: #002D62;
    color: white;
    padding: 60px 12%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 40px;
    margin-top: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
}

.footer-social a {
    font-size: 20px;
    margin-right: 12px;
}

.footer-bottom {
    margin-top: 40px;
    opacity: 0.7;
    text-align: center;
}

/* ============================================================================
   RESPONSIVE FIXES 
============================================================================ */
@media (max-width: 900px) {
    .leadership-flex {
        flex-direction: column;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    margin-top: 25px;
}

.hero-buttons a {
    display: inline-block;
    padding: 14px 24px;
    background: #007BFF;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    min-width: 260px;
}

.hero-buttons a:nth-child(2) {
    background: #0066e6;
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 380px;
        margin: auto;
    }

    .hero-buttons a {
        width: 100%;
        min-width: unset;
        padding: 16px 20px;
        border-radius: 12px;
    }
}
/* ===========================================
 
/* MOBILE ONLY FIXES */
@media (max-width: 768px) {

    /* Add left & right padding to the image */
    .hero-custom {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }

    /* Ensure background image fits without cutting */
    .hero-custom {
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        height: auto !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* Arrow */
    .hero-arrow {
        font-size: 22px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        text-align: center;
    }

    /* CTA button - make smaller + move down */
    @media (max-width: 768px) {
    .hero-cta-button {
        margin-top: 100px !important;   /* move CTA downward */
        display: inline-block;
    }
}

}

@media (max-width: 900px) {

    .navbar .nav-links {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 20px 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-links.nav-active {
        max-height: 600px;
        opacity: 1;
    }

    .dropdown .mega-menu {
        display: none !important;
    }

    .dropdown.open .mega-menu {
        display: block !important;
        position: static;
        background: #f5f7ff;
        padding: 15px;
        border-radius: 10px;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
.expert-section {
    padding-top: 120px; /* adjust spacing below header */
}
