:root {
    --color-brand: #FDBA3C;
    --color-brand-hover: #e5a022;
    --color-text-main: #1f2937;
    --color-text-light: #495565;
    --color-bg-light: #FAFAFA;
    --color-white: #ffffff;
    --max-width: 1440px;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    direction: ltr;
    background: var(--color-white);
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: var(--color-white);
    color: var(--color-text-main);
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 36px;
    text-align: left;
}

h1,
h2,
h3,
h4,
.section-title {
    font-family: "Roboto", sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 36px;
    text-align: left;
}

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

ul {
    list-style: none;
}

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


.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ================= Navbar — matched to Index ================= */
.navbar {
    background-color: var(--color-white);
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 1.5rem;
    margin: 0 auto;
    max-width: var(--max-width);
}

.nav-logo {
    order: 2;
}

.nav-logo img {
    height: 3.5rem;
    object-fit: contain;
}

.nav-links {
    display: none;
    gap: 2.5rem;
    align-items: center;
    order: 1;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    color: #374151;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
}

.nav-link.active::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--color-brand);
    border-radius: 50%;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-menu-btn {
    order: 1;
    font-size: 1.8rem;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
    display: block;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: white;
    z-index: 2000;
    transition: 0.4s ease;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.nav-overlay.open {
    left: 0;
}

.nav-overlay ul {
    list-style: none;
    margin-top: 3rem;
}

.nav-overlay ul li {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 0.5rem;
}

.nav-overlay ul li a {
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 500;
    font-size: 20px;
}

.close-menu {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #374151;
}

.lang-switch-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    border: 1px solid #d8dde3;
    text-decoration: none;
    color: #24364b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    min-width: 84px;
    margin-left: 0.4rem;
    transition: all 0.25s ease;
    font-family: "Cairo", sans-serif;
}

.lang-switch-link:hover {
    background: #FDBA3C;
    border-color: #FDBA3C;
    color: #1a1a1a;
    box-shadow: 0 8px 18px rgba(253, 186, 60, 0.25);
}

.mobile-lang-item {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-top: 12px;
}

.mobile-lang-switch {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 84px;
    height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    border: 1px solid #d8dde3;
    text-decoration: none;
    color: #24364b !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.25s ease;
    font-family: "Cairo", sans-serif;
}

.mobile-lang-switch:hover {
    background: #FDBA3C;
    border-color: #FDBA3C;
    color: #1a1a1a !important;
    box-shadow: 0 8px 18px rgba(253, 186, 60, 0.25);
    transform: translateY(-1px);
}

.nav-overlay ul li a.mobile-lang-switch {
    display: inline-flex !important;
    width: auto !important;
}

main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.contact-cta {
    flex: 0 0 auto;
    min-height: 217px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(148deg, #f9fafb 0%, #fff7ed 100%);
    text-align: center;
}

.contact-cta h2 {
    color: var(--color-brand);
    font-size: 28px;
    font-weight: 500;
    line-height: 36px;
    text-align: center;
}

.contact-cta p {
    margin-top: 10px;
    color: var(--color-text-light);
    font-size: 18px;
    font-weight: 300;
    line-height: 36px;
    text-align: center;
}

.contact-button {
    width: 190px;
    height: 65px;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 32.5px;
    background: var(--color-brand);
    color: #000000;
    font-size: 20px;
    font-weight: 500;
    transition:
        background var(--transition-speed) ease,
        transform var(--transition-speed) ease;
}

.contact-button:hover {
    background: var(--color-brand-hover);
    transform: translateY(-2px);
}

/* The same English footer component used by the supplied reference page */
terra-footer {
    display: block;
    flex: 0 0 auto;
    margin: 0;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 1rem;
    }
.contact-cta {
        min-height: 205px;
        padding-inline: 16px;
    }

    .contact-cta p {
        font-size: 16px;
    }

    .contact-button {
        width: 170px;
        height: 56px;
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
