/* =========================================
   GLOBAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f9fc;
    color: #111827;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    background: #071b4d;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.header-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo {
    width: 145px;
    height: auto;
}

.logo-link {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-left: auto;
}

.main-nav a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ff9d1c;
}

.header-cta {
    background: #ff9d1c;
    color: #071b4d;
    padding: 11px 17px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 25px;
    cursor: pointer;
}


/* =========================================
   BLOG HERO
========================================= */

.blog-hero {
    background: #071b4d;
    color: white;
    padding: 75px 0 80px;
}

.section-label {
    display: inline-block;
    color: #ff9d1c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.blog-hero h1 {
    max-width: 780px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    margin-bottom: 22px;
}

.hero-description {
    max-width: 720px;
    color: #dbe5ff;
    font-size: 18px;
}


/* =========================================
   FEATURED ARTICLE
========================================= */

.featured-section {
    padding: 75px 0 40px;
}

.section-heading {
    margin-bottom: 25px;
}

.small-heading {
    color: #ff8c00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.section-heading h2 {
    font-size: 30px;
    margin-top: 5px;
}

.featured-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 12px 35px rgba(15, 38, 82, 0.09);
}

.featured-image {
    min-height: 380px;
    background: #dfe7f5;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category {
    color: #ff8c00;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.featured-content h3 {
    color: #071b4d;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.featured-content p {
    color: #5d6879;
    font-size: 16px;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 8px;
    color: #7b8493;
    font-size: 13px;
    margin-bottom: 25px;
}

.read-more,
.article-link {
    color: #071b4d;
    font-weight: 800;
    font-size: 14px;
}

.read-more:hover,
.article-link:hover {
    color: #ff8c00;
}


/* =========================================
   CATEGORY FILTER
========================================= */

.categories-section {
    padding: 35px 0;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    border: 1px solid #d8dfeb;
    background: white;
    color: #334155;
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.category-btn:hover,
.category-btn.active {
    background: #071b4d;
    border-color: #071b4d;
    color: white;
}


/* =========================================
   ARTICLES
========================================= */

.articles-section {
    padding: 40px 0 90px;
}

.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 30px;
}

.articles-header h2 {
    color: #071b4d;
    font-size: 32px;
    margin-top: 5px;
}

.articles-header p {
    max-width: 430px;
    color: #697386;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.article-card {
    background: white;
    border: 1px solid #e6eaf1;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 38, 82, 0.10);
}

.article-image {
    height: 205px;
    background: #e3e8f2;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.04);
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    color: #071b4d;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.article-content p {
    color: #667085;
    font-size: 14px;
    margin-bottom: 20px;
}


/* =========================================
   CTA
========================================= */

.blog-cta {
    padding: 0 0 90px;
}

.cta-box {
    background: #071b4d;
    color: white;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
}

.cta-box h2 {
    max-width: 720px;
    margin: auto auto 15px;
    font-size: 36px;
    line-height: 1.2;
}

.cta-box p {
    max-width: 650px;
    margin: 0 auto 28px;
    color: #dce5f8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 13px 22px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 14px;
}

.primary-btn {
    background: #ff9d1c;
    color: #071b4d;
}

.secondary-btn {
    background: white;
    color: #071b4d;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #061537;
    color: white;
}

.footer-container {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 45px;
}

.footer-logo {
    width: 145px;
    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 330px;
    color: #aebbd3;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links h3 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 8px;
}

.footer-links a {
    color: #aebbd3;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ff9d1c;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #91a0ba;
    font-size: 13px;
    padding: 20px 0;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 12px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .header-cta {
        display: none;
    }

}


@media (max-width: 850px) {

    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: #071b4d;
        flex-direction: column;
        padding: 25px;
        gap: 18px;
    }

    .main-nav.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 280px;
    }

    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .blog-hero {
        padding: 55px 0 60px;
    }

    .blog-hero h1 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 16px;
    }

    .featured-content {
        padding: 30px;
    }

    .featured-content h3 {
        font-size: 26px;
    }

    .articles-header {
        display: block;
    }

    .articles-header p {
        margin-top: 12px;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 40px 25px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

}