/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* --- GLOBAL VARIABLES --- */
:root {
    /* Colors */
    --color-primary: #077C53; /* The exact Theme Green */
    --color-primary-hover: #066644;
    --color-text-dark: #122137; /* Dark Navy for Headings */
    --color-text-body: #4A5B6D; /* Gray for body text */
    --color-border: #E2E8F0;
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Structure */
    --container-width: 1280px;
    --radius-button: 8px;
    --radius-box: 16px;
    --transition: 0.3s ease-in-out;
}

/* --- RESET & BASICS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-body);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- GLOBAL BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* --- GLOBAL HEADER --- */
.site-header {
    padding: 20px 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 35px;
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-dark);
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--color-primary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- MOBILE OFFCANVAS MENU --- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text-dark);
    cursor: pointer;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 40px 24px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

.offcanvas-menu.active {
    right: 0;
}

.close-menu {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-text-dark);
    margin-bottom: 30px;
}

.offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offcanvas-nav a {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-dark);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

/* Mobile Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- HERO SECTION --- */
.hero {
    padding: 80px 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    position: relative;
    min-height: 600px;
    z-index: 1;
}

/* Mobile text readability overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Semi-transparent white */
    z-index: -1;
    display: none; /* Hidden on desktop */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-subtitle {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-body);
    margin-bottom: 16px;
    display: block;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .text-green {
    color: var(--color-primary);
}

.hero-desc-main {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.hero-desc-sub {
    font-size: 16px;
    color: var(--color-text-body);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.stat-item {
    display: flex;
    gap: 12px;
}

.stat-icon {
    color: var(--color-primary);
    font-size: 24px;
}

.stat-text h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.2;
}

.stat-text p {
    font-size: 13px;
}

/* Trust Box */
.trust-box {
    background: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-box);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: absolute;
    bottom: 50px;
    right: 10%;
    z-index: 10;
}

.trust-box p {
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 16px;
}

.flags-grid {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 500;
}

.flag-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* BULLETPROOF FLAG SIZE FIX */
.trust-box .flag-item img {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 50%;
    object-fit: cover;
    display: block !important;
    margin: 0 !important;
}

/* --- WHY CHOOSE US SECTION --- */
.why-choose-us {
    padding: 80px 0;
    background: var(--color-white);
}

.wcu-grid {
    display: grid;
    /* 5 Columns: 1.5fr for text, 1fr for the 4 icon boxes */
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.wcu-header h5 {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.wcu-header h2 {
    font-size: 32px;
    color: var(--color-text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.wcu-item .wcu-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E6F2ED; /* Light version of primary green */
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.wcu-item h4 {
    font-size: 16px; 
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.wcu-item p {
    font-size: 13px;
    line-height: 1.5;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
    .wcu-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr; /* Drop to 4 cols on smaller desktop */
    }
}

@media (max-width: 1024px) {
    .desktop-nav, .header-cta .btn {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .trust-box {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 40px;
        display: inline-block;
    }
    .wcu-grid {
        grid-template-columns: 1fr 1fr 1fr; /* 3 cols on tablet */
    }
}

@media (max-width: 768px) {
    .hero::before {
        display: block; /* Turns on the readability overlay on mobile */
    }
    .hero-title {
        font-size: 48px;
    }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .flags-grid {
        flex-wrap: wrap;
    }
    
    /* WCU Mobile Grid: 2 Columns */
    .wcu-grid {
        grid-template-columns: 1fr 1fr;
    }
    .wcu-header {
        grid-column: span 2; /* Forces the header text to take up the full row */
        margin-bottom: 20px;
    }
}