/* =====================
   Base & Variables
   ===================== */
:root {
    --primary: #0d8a52;
    --primary-dark: #0a6f42;
    --text: #1f2a37;
    --muted: #667085;
    --bg: #f5f6f8;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
    --radius: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
    font-family: "Inter";
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter";
    color: var(--text);
    background: #fff;
}

input, button, select, textarea {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(100% - 48px, var(--container));
    margin: 0 auto;
}

.section {
    padding: 64px 0;
}

/* =====================
   Buttons (reusable)
   ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: .2s ease;
    border: 1px solid transparent;
}

.btn-outline {
    border-color: #d1d5db;
    color: #111827;
    background: #fff;
}

    .btn-outline:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

.btn-solid {
    background: var(--primary);
    color: #fff;
}

    .btn-solid:hover {
        background: var(--primary-dark);
    }

/* =====================
   Navbar
   ===================== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    height: 42px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

    .main-nav a {
        color: #6b7280;
        font-size: 14px;
        transition: .2s ease;
    }

        .main-nav a.active,
        .main-nav a:hover {
            color: #111827;
            font-weight: 600;
        }

.lang-switch {
    display: flex;
    gap: 8px;
    font-size: 13px;
}

    .lang-switch .active {
        font-weight: 700;
    }

/* =====================
   Footer
   ===================== */
.footer {
    background: #f8fafc;
    font-weight: bold;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 60vw;
    align-items: stretch;
}

.footer-info {
    padding: 40px 0px 24px max(24px, calc((100vw - 1180px) / 2));
}

.footer-logo {
    height: 100px;
    margin-bottom: 20px;
    width: auto;
}

.footer h4 {
    margin: 0 0 12px;
    font-size: 20px;
}

.footer p {
    margin: 0 0 6px;
    line-height: 1.35;
    color: black;
    font-size: 15px;
}

.footer-contact {
    margin-top: 18px;
}

.footer-contact p {
    display: flex;
    margin: 4px 0;
    font-size: 14px;
}

.footer-contact strong {
    width: 70px;
    flex-shrink: 0;
}


.socials {
    display: flex;
    gap: 12px;
    margin: 18px 0 28px;
}

    .socials a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 700;
    }

.footer-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: c;
    border-radius: 16px 0 0 0;
}

.copyright {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px !important;
    color: #6b7280;
}

/* =====================
   Burger button
   ===================== */
.burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #374151;
    border-radius: 8px;
    transition: background .2s;
    line-height: 1;
}

    .burger-btn:hover {
        background: #f3f4f6;
    }

    .burger-btn .material-icons {
        font-size: 26px;
        display: block;
    }

/* =====================
   Mobile nav panel
   ===================== */
.mobile-nav {
    display: none;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    overflow-y: auto;
    max-height: calc(100vh - 72px);
}

    .mobile-nav.open {
        display: block;
    }

.mobile-nav-links {
    padding: 4px 0 24px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    border-bottom: 1px solid #f3f4f6;
    transition: color .15s;
}

    .mobile-nav-link:hover {
        color: var(--primary);
    }

.mobile-nav-item {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-nav-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    text-align: left;
}

.mobile-chevron {
    font-size: 20px;
    display: inline-flex;
    transition: transform .2s ease;
}

.mobile-nav-trigger.open .mobile-chevron {
    transform: rotate(180deg);
}

.mobile-nav-sub {
    display: none;
    padding: 0 0 12px 16px;
}

    .mobile-nav-sub.open {
        display: block;
    }

    .mobile-nav-sub a {
        display: block;
        padding: 10px 0;
        font-size: 14px;
        font-weight: 600;
        color: #374151;
        border-bottom: 1px solid #f8f9fa;
        transition: color .15s;
    }

        .mobile-nav-sub a:hover {
            color: var(--primary);
        }

        .mobile-nav-sub a:last-child {
            border-bottom: none;
        }

/* =====================
   Shared page tabs
   ===================== */
.tabs-wrap {
    min-height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 0;
}

    .tabs-wrap a {
        position: relative;
        color: #7b8495;
        font-size: 14px;
        font-weight: 500;
        padding: 6px 0;
        white-space: nowrap;
        transition: color .2s;
    }

        .tabs-wrap a.active,
        .tabs-wrap a:hover {
            color: var(--text);
            font-weight: 600;
        }

            .tabs-wrap a.active::after {
                content: "";
                position: absolute;
                left: 0;
                right: 0;
                bottom: -14px;
                height: 2px;
                background: var(--primary);
            }

/* =====================
   Responsive
   ===================== */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .burger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-info {
        padding: 32px 24px 24px;
    }
}

@media (max-width: 576px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .tabs-wrap {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        scrollbar-width: none;
        padding: 0 0 2px;
        gap: 20px;
    }

    .tabs-wrap::-webkit-scrollbar {
        display: none;
    }

    .section {
        padding: 48px 0;
    }
}

/* =====================
   Navbar dropdown
   ===================== */
.nav-item {
    position: relative;
}

    .nav-item .nav-link {
        cursor: pointer;
        user-select: none;
    }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 14px;
    transition: color .2s ease;
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

    .nav-link:hover,
    .nav-item.open > .nav-link {
        color: #111827;
        font-weight: 600;
        border-bottom-color: var(--primary);
    }

a.nav-link.active {
    color: #111827;
    font-weight: 600;
    border-bottom-color: var(--primary);
}

.chevron {
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    transition: transform .2s ease;
}

.nav-item.open .chevron {
    transform: rotate(180deg);
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    min-width: 210px;
    padding: 6px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 200;
}

.nav-item.open .dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-panel a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #000000;
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}

.main-nav .dropdown-panel a:hover {
    color: var(--primary);
    font-weight: 600;
}

/* =====================
   Lang switch
   ===================== */
.lang-switch a {
    color: #6b7280;
    font-size: 13px;
    transition: color .2s ease;
}

    .lang-switch a.active {
        color: #111827;
        font-weight: 700;
    }

.lang-switch span {
    color: #d1d5db;
    font-size: 13px;
}
