/* Base styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Layout Wrapper */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styles (Mobile First - Top Bar) */
.site-header {
    background-color: #00009C;
    color: #fff;
    padding: 1rem;
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.site-logo a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: block; /* Shown on mobile */
}

/* Navigation Menu */
.site-nav {
    width: 100%;
    display: none; /* Hidden on mobile by default */
    padding-top: 1rem;
}

.site-nav.is-open {
    display: block; /* Shown when toggled */
}

.site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.site-nav a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: #ccc;
    transition: color 0.3s ease;
}

.site-nav a:hover {
    color: #fff;
}

.site-nav li.active a {
    color: #fff;
    font-weight: 600;
}

/* Main Content */
.site-main {
    flex-grow: 1;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Hero Section Styles (Mobile First) */
.home-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 0 2rem 0;
}

.overlay-hero {
    min-height: 300px; /* Shorter on mobile */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 1.5rem;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-tagline {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    background: #00009C;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.cta-button:hover {
    opacity: 0.9;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* =========================================
   Responsive Adjustments (min-width: 768px)
   ========================================= */
@media (min-width: 768px) {
    /* Menu Toggle hidden on PC */
    .menu-toggle {
        display: none;
    }

    /* By default (non-home pages), header is a horizontal top bar */
    .site-header {
        padding: 0 2rem;
        position: sticky;
        top: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    .header-inner {
        flex-wrap: nowrap;
        height: 70px; /* Slightly slimmer top bar */
    }
    
    .site-nav {
        display: block; /* Always visible on PC */
        width: auto;
        padding-top: 0;
    }

    .site-nav ul {
        flex-direction: row;
        align-items: center;
        gap: 2.5rem;
    }

    .site-nav a {
        padding: 0;
        font-weight: 500;
    }

    /* --- Homepage Content Layout --- */
    .home-grid {
        display: flex;
        flex-direction: column;
        gap: 0; /* Hero usually touches edges */
    }

    /* Overlay Hero PC Adjustments */
    .overlay-hero {
        min-height: 450px;
    }

    .hero-content {
        padding: 2rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .cta-button.primary {
        background-color: #00009C;
        border: 2px solid #00009C;
        font-size: 1.1rem;
        padding: 1rem 2.5rem;
        width: auto;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .cta-button.primary:hover {
        background-color: #fff;
        color: #00009C;
        border-color: #fff;
    }

    /* Info Blocks (3 Columns) */
    .info-section {
        padding: 4rem 0;
        background-color: #f8fafc;
        margin: 2rem 0;
        padding: 4rem 2rem;
    }

    .info-section h2 {
        text-align: center;
        margin-bottom: 3rem;
        font-size: 2.5rem;
        color: #0f172a;
    }

    .info-blocks {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .info-block {
        background: #fff;
        padding: 2.5rem;
        border-radius: 16px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
        border-top: 4px solid #00009C;
    }

    .info-block:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    .info-block h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: #1e293b;
    }

    .info-block p {
        color: #64748b;
        line-height: 1.6;
    }

    /* Blog List on Homepage */
    .home-blog-section {
        padding: 4rem 0;
    }

    .home-blog-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
        border-bottom: 2px solid #00009C;
        display: inline-block;
        padding-bottom: 0.5rem;
    }

    .blog-cards {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2rem;
    }

    .blog-card {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .blog-card:hover {
        border-color: #00009C;
    }

    .blog-card-image {
        height: 200px;
        background-color: #f1f5f9;
        overflow: hidden;
    }

    .blog-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .blog-card-content {
        padding: 1.5rem;
        flex-grow: 1;
    }

    .blog-card-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .blog-card-content .date {
        font-size: 0.875rem;
        color: #94a3b8;
        margin-bottom: 1rem;
        display: block;
    }

    .blog-card-content .intro {
        color: #475569;
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Breadcrumbs */
    .breadcrumbs {
        margin: 0;
        padding: 0.75rem 0;
        font-size: 0.8rem; /* Smaller font */
        color: #64748b;
        display: block;
        position: relative;
        z-index: 10;
    }

    .breadcrumbs ul {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .breadcrumbs li {
        display: flex;
        align-items: center;
    }

    .breadcrumbs a {
        color: #00009C;
        text-decoration: none;
        transition: color 0.2s;
    }

    .breadcrumbs a:hover {
        color: #2563eb;
    }

    .breadcrumbs .divider {
        margin-left: 0.5rem;
        color: #cbd5e1;
    }

    .breadcrumbs i.fa-home {
        font-size: 1.1rem;
    }

    .site-main {
        flex-grow: 1;
        width: 100%;
    }

    .container {
        padding: 0 3rem;
    }

    .home-hero-image {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-bottom: 2rem;
    }

    .hero-sidebar-box {
        background: #f8fafc;
        padding: 2rem;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
    }

    .hero-text {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #475569;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        width: auto;
        padding: 0.85rem 2.5rem;
    }
}