:root {
    --primary-color: #1b3c59; /* Deep Estoppey Blue */
    --secondary-color: #4a7c9d; /* Steel Blue */
    --accent-color: #e63946; /* Subtle accent for CTAs */
    --background-light: #f4f7f9;
    --text-dark: #2d3436;
    --text-light: #ffffff;
    --border-color: #d1d8e0;
    --header-height: 80px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--text-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Header & Navigation */
header {
    background: var(--text-light);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
}

.nav-item {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 0;
    cursor: pointer;
}

.nav-item:hover {
    color: var(--primary-color);
}

/* Dropdown styling */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--text-light);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
    padding: 10px 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 25px;
    font-size: 0.9rem;
    display: block;
}

.dropdown-item:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

/* Language Switcher */
.language-switcher {
    font-size: 0.85rem;
    white-space: nowrap;
}

.language-switcher a {
    padding: 4px 6px;
}

.language-switcher a.active {
    font-weight: 700;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 90vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    margin-top: var(--header-height);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(27, 60, 89, 0.65), rgba(27, 60, 89, 0.75));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.hero-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}
.hero-indicators button.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--secondary-color);
}

/* Sections */
section {
    padding: 80px 5%;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 5% 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links li:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer-partners {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-partners img {
    height: 28px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-partners a:hover img {
    opacity: 1;
}

.menu-toggle {
    display: none;
}

/* ===== Responsive: Desktop → Tablet (992px) ===== */
@media (max-width: 992px) {
    header {
        padding: 0 5%;
    }

    nav {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        height: calc(100vh - var(--header-height));
        background: white;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    nav.active {
        right: 0;
    }

    /* Mobile Nav Overlay/Backdrop */
    nav.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: -1;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-item {
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
        padding: 18px 0;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        display: none;
        padding-left: 20px;
    }

    .nav-item.active .dropdown {
        display: block;
    }

    .hero-content h1 { font-size: 2.5rem; }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--primary-color);
        margin: 5px 0;
        transition: 0.3s;
    }
}

/* ===== Responsive: Tablet (768px) ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    section {
        padding: 50px 5%;
    }

    h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Responsive: Mobile (480px) ===== */
@media (max-width: 480px) {
    .logo img {
        height: 38px;
    }

    .hero {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }

    .hero-btns .btn {
        margin-left: 0 !important;
        width: 100%;
        text-align: center;
    }

    section {
        padding: 40px 4%;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        padding: 20px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}
