/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f7f9fc;
    color: #1f2937;
    line-height: 1.6;
}

/* ================= BUTTONS ================= */
.btn-primary {
    background: #2563eb;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn-outline {
    border: 2px solid #2563eb;
    color: #2563eb;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn-outline-light {
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* ============================================================================
   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;
    }
}


/* ================= HERO SPLIT LAYOUT ================= */
.hero-split {
    background: linear-gradient(135deg, #002D62, #0f172a);
    padding: 140px 8% 100px;
    color: #ffffff;
}

.hero-inner {
    max-width: 1280px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

/* LEFT CONTENT */
.hero-text h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    max-width: 520px;
    opacity: 0.95;
    margin-bottom: 36px;
}

/* CTA */
.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* RIGHT IMAGE */
.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
    object-fit: cover;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-split {
        padding: 120px 6% 80px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-image img {
        max-width: 100%;
    }
}

/* ================= INTRO ================= */
.insights-intro {
    padding: 50px 18%;
    text-align: center;
}

.insights-intro p {
    font-size: 17px;
    color: #374151;
}

/* ================= CATEGORIES ================= */
.insights-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 30px 10%;
}

.category {
    background: #ffffff;
    border: 1px solid #dbeafe;
    color: #1e40af;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
}

.category.active {
    background: #2563eb;
    color: #ffffff;
}

/* ================= BLOG GRID ================= */
.blog-list {
    padding: 40px 10% 90px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.badge {
    display: inline-block;
    background: #e0e7ff;
    color: #1e3a8a;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

.blog-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-card p {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 22px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-meta span {
    font-size: 13px;
    color: #6b7280;
}

.blog-meta a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

/* ================= CTA ================= */
.insights-cta {
    background: #0f172a;
    color: #ffffff;
    padding: 90px 10%;
    text-align: center;
}

.insights-cta h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
}

.insights-cta p {
    max-width: 700px;
    margin: 0 auto 32px;
    font-size: 17px;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .insights-hero h1 {
        font-size: 32px;
    }

    .insights-intro {
        padding: 40px 10%;
    }

    .insights-cta h2 {
        font-size: 28px;
    }
}

/* PRIMARY CTA */
.btn-primary {
    background: #2563eb;   /* Nexora Blue */
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #2563eb;
}

/* SECONDARY CTA – NOW ALSO BLUE */
.btn-outline {
    background: #2563eb;   /* SAME BLUE BACKGROUND */
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #2563eb;
}

/* OPTIONAL: Hover effect for both */
.btn-primary:hover,
.btn-outline:hover {
    background: #1d4ed8;   /* slightly darker blue */
    border-color: #1d4ed8;
}

