/* ==========================================================================
   Lebara Official Brand Page Styling - 100% Exact Replica
   Colors: Lebara Blue (#00A6EB), Dark Indigo (#3D4998), Dark Navy (#1A1F45), Light Blue (#CBEFFF)
   Fonts: Inter, Rubik, sans-serif
   ========================================================================== */

:root {
    --clr-blue: #00A6EB;
    --clr-indigo: #3D4998;
    --clr-navy: #1A1F45;
    --clr-light-blue: #CBEFFF;
    --clr-white: #FFFFFF;
    --clr-gray-bg: #F4F4F4;
    --clr-gray-border: #E0E0E0;
    --clr-gray-text: #555555;
    
    --font-primary: 'Rubik', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --header-height: 95px;
    --max-width: 1240px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--clr-navy);
    background-color: var(--clr-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Color Utility Classes --- */
.text-white { color: var(--clr-white) !important; }
.text-blue { color: var(--clr-blue) !important; }
.text-light-blue { color: var(--clr-light-blue) !important; }
.text-indigo { color: var(--clr-indigo) !important; }
.text-dark-navy { color: var(--clr-navy) !important; }
.text-link-white {
    color: var(--clr-white);
    text-decoration: underline;
    transition: opacity 0.2s ease;
    cursor: pointer;
}
.text-link-white:hover {
    opacity: 0.85;
}

/* --- Header / Navigation --- */
.leb-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--clr-white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.leb-header__container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.leb-header__logo {
    display: flex;
    align-items: center;
}

.leb-header__logo-img {
    width: 80px;
    height: auto;
}

.leb-header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.leb-header__nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--clr-blue);
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.leb-header__nav-link:hover,
.leb-header__nav-link.active {
    font-weight: 700;
    text-decoration: underline;
}

.leb-header__toggle {
    display: none;
    background: none;
    border: none;
    color: var(--clr-blue);
    cursor: pointer;
    padding: 4px;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--clr-white);
    z-index: 1100;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px;
}

.mobile-drawer.open {
    left: 0;
}

.mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.mobile-drawer__logo {
    width: 80px;
}

.mobile-drawer__close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--clr-blue);
    cursor: pointer;
    line-height: 1;
}

.mobile-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-drawer__link {
    font-size: 18px;
    font-weight: 500;
    color: var(--clr-blue);
    padding: 8px 0;
    border-bottom: 1px solid var(--clr-gray-border);
}

.mobile-drawer__link.active {
    font-weight: 700;
    text-decoration: underline;
}

/* --- Section 1: Hero Banner (Full-bleed Background Image) --- */
.section-hero {
    margin-top: var(--header-height);
    width: 100%;
    min-height: 505px;
    background-color: var(--clr-blue);
    background-image: url('assets/brandbanner.webp');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero-content-wrapper {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 80px 40px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--clr-navy);
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: var(--clr-white);
}

/* --- Full-width Content Rows --- */
.section-row {
    width: 100%;
    display: flex;
    align-items: stretch;
    min-height: 480px;
}

.bg-indigo {
    background-color: var(--clr-indigo);
}

.bg-blue {
    background-color: var(--clr-blue);
}

.section-col {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
}

.col-image {
    overflow: hidden;
}

.section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.col-text {
    padding: 60px 80px;
}

.text-inner {
    max-width: 560px;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--clr-white);
}

.section-para {
    font-size: 16px;
    font-weight: 400;
    color: var(--clr-white);
    line-height: 1.7;
}

/* --- Section 7: Country Selection & Map --- */
.section-countries {
    background-color: var(--clr-gray-bg);
    padding: 80px 0;
    width: 100%;
    color: var(--clr-navy);
}

.countries-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.countries-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 36px;
    color: var(--clr-indigo);
}

.country-lists {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.country-group__heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--clr-indigo);
    margin-bottom: 16px;
    border-bottom: 2px solid var(--clr-blue);
    padding-bottom: 6px;
    display: inline-block;
}

.country-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.country-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--clr-white);
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid var(--clr-gray-border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.country-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 166, 235, 0.15);
    border-color: var(--clr-blue);
}

.country-flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
}

.country-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--clr-navy);
}

.countries-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- Footer --- */
.leb-footer {
    background-color: var(--clr-navy);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.leb-footer__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.leb-footer__copyright {
    font-size: 14px;
    color: var(--clr-white);
    font-weight: 400;
}

.footer-link {
    font-size: 14px;
    color: var(--clr-white);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

/* --- Toast Notification System --- */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--clr-navy);
    color: var(--clr-white);
    padding: 14px 24px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--clr-blue);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* --- Responsive Layout --- */
@media (max-width: 991px) {
    :root {
        --header-height: 72px;
    }

    .leb-header__nav {
        display: none;
    }

    .leb-header__toggle {
        display: block;
    }

    .section-hero {
        background-image: url('assets/brandbanner-mobile.webp');
        background-position: center bottom;
        min-height: 380px;
    }

    .hero-content-wrapper {
        padding: 40px 24px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .section-row {
        flex-direction: column;
    }

    .col-image {
        width: 100%;
        max-height: 360px;
    }

    .col-text {
        width: 100%;
        padding: 40px 24px;
    }

    .section-title {
        font-size: 30px;
    }

    .section-para {
        font-size: 15px;
    }

    .countries-container {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }

    .countries-title {
        font-size: 28px;
    }

    .leb-footer__container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .toast-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 26px;
    }

    .country-card {
        padding: 8px 14px;
    }

    .country-name {
        font-size: 13px;
    }
}
