:root {
    --green-dark: #172538;
    --green-brand: #21344f;
    --green-icon: #172538;
    --green-icon-bg: #e8f5f0;
    --orange: #f59e0b;
    --orange-hover: #fbb02d;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
    --bg-light: #f8f9fa;
    --hero-card-bg: rgba(255, 255, 255, 0.08);
    --hero-card-border: rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

body .container {
    width: 85%;
    max-width: 85%;
}

/* ── Navbar ── */
.site-navbar {
    padding: 1rem 0;
    background: #fff;
}

.site-navbar .navbar-brand {
    padding: 0;
    line-height: 0;
}

.site-logo {
    display: block;
    height: 44px;
    width: auto;
}

.site-logo--footer {
    height: 40px;
}

.site-navbar-toggler {
    border: 0;
    padding: 0.375rem 0.5rem;
    box-shadow: none;
}

.site-navbar-toggler:focus {
    box-shadow: none;
}

.site-navbar .navbar-nav-wrapper {
    position: relative;
}

.nav-center .nav-link {
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: color 0.2s;
}

.nav-center .nav-link:hover {
    color: var(--text-dark);
}

.nav-login {
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.nav-login:hover {
    color: var(--text-dark);
}

.btn-orange-nav {
    color: #fff;
    border: none;
    background: var(--orange);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.btn-orange-nav:hover {
    background: var(--orange-hover);
    color: #fff;
}

.btn-green {
    background: linear-gradient(135deg, #172538 0%, #1b2e48 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.btn-green:hover {
    background: linear-gradient(135deg, #273d5d 0%, #28446c 100%);
    color: #fff;
}

.btn-orange {
    background: var(--orange);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: background 0.2s;
}

.btn-orange:hover {
    background: var(--orange-hover);
    color: #fff;
}

.btn-outline-white {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

/* Hero Section Layout */
.hero-section {
    border-radius: 20px;
    position: relative;
    padding: 0px;
    width: 100%;
    min-height: 480px;
    background-color: #172538;
    display: flex;
    overflow: hidden;
}

/* Left Content Area */
.hero-content {
    position: relative;
    z-index: 2;
    width: 50%;
    padding: 90px 40px 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.hero-content p {
    font-size: 15px;
    line-height: 1.5;
    color: #a0aec0;
    max-width: 440px;
    margin-bottom: 32px;
}

.hero-lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-stats {
    margin-top: 2.5rem;
    padding-top: 0;
}

.hero-stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.125rem;
}

.hero-stat .bi-star-fill {
    color: #fbbf24;
    font-size: 0.875rem;
}

/* Right Image Area with Custom Angled Cutout */
.hero-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
    /* Orange angled accent border */
    background-color: #f59e0b;
    /* Angled shape matching the design */
    clip-path: polygon(3% 0, 100% 0, 100% 100%, 0% 100%, 12% 39%);
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Slightly offset clip path to reveal orange border */
    clip-path: polygon(5.5% 0, 100% 0, 100% 100%, 1.6% 100%, 12.5% 39%);
}

/* ── Sections ── */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.125rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 0.625rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* ── Category cards ── */
.category-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: inherit;
}

.category-icon {
    color: var(--green-icon);
    font-size: 1.125rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.category-card span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ── How it works ── */
.step-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--green-icon-bg);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.step-icon-wrap i {
    color: var(--green-icon);
    font-size: 1.25rem;
}

.step-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* ── CTA Banner ── */
.cta-section {
    background: var(--bg-light);
    padding: 4rem 0 5rem;
}

.cta-banner {
    background: linear-gradient(135deg, #172538 0%, #1b2e48 100%);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(1.75rem, 3vw, 2.125rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto 1.75rem;
}

.cta-banner .btn-orange {
    font-size: 1rem;
    padding: 0.875rem 2rem;
    border-radius: 10px;
}

/* ── Footer ── */
.site-footer {
    padding: 3rem 0 0rem;
    border-top: none;
}

.footer-brand {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.footer-brand-text {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 228px;
    margin-top: 0.875rem;
    margin-bottom: 0;
}

.footer-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.875rem;
    line-height: 1.2;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li+li {
    margin-top: 0.5rem;
}

.footer-link {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #6b7280;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #111827;
}

.footer-bottom p {
    font-size: 13px;
    color: #fff;
    margin-bottom: 0px;
}

.footer-bottom {
    background: linear-gradient(135deg, #172538 0%, #1b2e48 100%);
    display: flex;
    justify-content: center !important;
    align-items: center;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #172538 0%, #1b2e48 100%);
    color: #fff;
    z-index: 9999;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.3);
}

.cookieContainer {
    width: 85%;
    margin: auto;
    padding: 15px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cookie-text p {
    margin: 0;
    font-size: 13px;
    opacity: 0.85;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-link {
    color: #fff;
    text-decoration: underline;
}

.cookie-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.hidden {
    display: none;
}

@media (min-width: 992px) {
    .site-footer .footer-row {
        --bs-gutter-x: 3rem;
    }
}

@media (max-width: 991.98px) {
    .site-footer {
        padding: 2.5rem 0 0rem;
    }

    .footer-brand-text {
        max-width: 100%;
    }
}

/* ── Responsive ── */
@media (min-width: 992px) {
    .nav-center {
        position: absolute;
        left: 40%;
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column-reverse;
    }

    .hero-content {
        width: 100%;
        padding: 40px 24px;
    }

    .hero-image-wrapper {
        position: relative;
        width: 100%;
        height: 300px;
        clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
    }

    .hero-image {
        clip-path: polygon(0% 0, 100% 0, 100% 77%, 50% 98%, 0% 79%);
    }
}

@media (max-width: 991.98px) {
    .site-navbar {
        padding: 0.75rem 0;
    }

    .site-navbar .navbar-brand {
        max-width: calc(100% - 3rem);
    }

    .site-logo {
        height: 38px;
    }

    .site-navbar .navbar-collapse {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border-light);
    }

    .site-navbar .navbar-nav {
        width: 100%;
    }

    .site-navbar .nav-center .nav-link {
        padding: 0.625rem 0;
        font-size: 1rem;
    }

    .site-navbar .nav-auth {
        width: 100%;
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.5rem;
        padding-top: 0.75rem;
        margin-top: 0.25rem;
        border-top: 1px solid var(--border-light);
    }

    .site-navbar .nav-auth .lang-switcher {
        align-self: flex-end;
    }

    .site-navbar .lang-switcher-btn {
        border: 1px solid var(--border-light);
        border-radius: 8px;
        background: #fff;
        color: var(--text-dark);
        padding: 0.35rem 0.55rem;
    }

    .site-navbar .nav-auth .nav-login {
        display: block;
        text-align: center;
        padding: 0.625rem 1rem;
    }

    .site-navbar .nav-auth .btn-green {
        width: 100%;
        padding: 0.625rem 1.25rem;
    }

    .hero-lead {
        max-width: 100%;
    }

    .hero-stats {
        margin-top: 2rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .cta-section {
        padding: 3rem 0 3.5rem;
    }

    .cta-banner {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch !important;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stat-value {
        font-size: 1rem;
    }
}

.frontend-main {
    min-height: calc(100vh - 160px);
    margin-top: 80px;
}
