/* --- Global Styles --- */
html {
    scroll-behavior: smooth;
    /* ADJUSTED: Match new, taller 140px header height */
    scroll-padding-top: 140px; 
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF;
    color: #333333;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: #008080;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #333333;
}

a {
    text-decoration: none;
    color: #008080;
}

/* --- Header & Navigation --- */
header {
    background: #FFFFFF;
    border-bottom: 2px solid #e9ecef;
    padding: 10px 0; 
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO STYLING */
header .header-logo {
    height: 80px; /* Mobile size (Desktop override below) */
    width: auto; 
    display: block;
}

/* Updated Nav Layout */
header nav {
    display: flex; /* This puts the Links and Flags side-by-side */
    align-items: center;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav li {
    margin-left: 2rem;
}

header nav a.nav-link {
    font-weight: 600;
    color: #333333;
    transition: color 0.3s ease;
    padding: 10px 0; 
    display: block; 
}

header nav a.nav-link:hover,
header nav a.nav-link.active {
    color: #008080;
    border-bottom: 2px solid #008080;
    padding-bottom: 8px;
}

/* --- Language Switcher (Flags) --- */
.lang-switch {
    margin-left: 30px; /* Space between links and flags */
    display: flex;
    gap: 15px; /* Space between the two flags */
    align-items: center;
    border-left: 1px solid #ddd; /* Optional: Divider line */
    padding-left: 20px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5; /* Dimmed when inactive */
    transition: all 0.3s ease;
    display: flex; /* Fixes weird spacing */
}

.lang-btn img {
    width: 30px; /* Fixed width for flags */
    height: auto;
    display: block;
    border-radius: 4px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Slight shadow */
}

.lang-btn:hover, .lang-btn.active {
    opacity: 1; /* Fully bright when active */
    transform: scale(1.1); /* Slight zoom effect */
}

/* DESKTOP Logo Fix */
@media (min-width: 769px) {
    header .header-logo {
        height: 120px; 
    }
}
/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #FFC300;
    color: #333333;
    border: 1px solid #FFC300;
}

.btn-primary:hover {
    background-color: #e6b000;
    border-color: #e6b000;
}

.btn-secondary {
    background-color: transparent;
    color: #008080;
    border: 2px solid #008080;
}

.btn-secondary:hover {
    background-color: #008080;
    color: #FFFFFF;
}


/* --- Page Sections --- */
.section {
    padding: 60px 0;
}

.section-bg {
    background-color: #f8f9fa; 
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
}

/* --- Hero Section (Home) --- */
.hero {
    /* RE-CONFIRMED: Teal background */
    background: #008080;
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    color: #FFFFFF;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    color: #f0f0f0;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #FFFFFF;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.service-card ul {
    list-style-type: none;
    padding-left: 0;
    text-align: left;
}
.service-card li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}
.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #008080;
    font-weight: bold;
}


/* --- About/Credibility Section --- */
.about-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}
.about-flex-img {
    flex: 1;
    min-width: 250px;
    text-align: center;
}
.about-flex-img img {
    max-width: 300px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.about-flex-content {
    flex: 2;
    min-width: 300px;
}
.credentials-list {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.credentials-list li {
    background: #e0f2f2;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #006a6a;
}

/* --- Testimonial / Success --- */
.testimonial {
    background: #e0f2f2; 
    border-left: 5px solid #008080;
    padding: 2rem;
    border-radius: 8px;
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.testimonial-author {
    font-style: normal;
    font-weight: 600;
    color: #333333;
    display: block;
    margin-top: 1rem;
}

.case-study {
    background: #FFFFFF;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.case-study h4 {
    color: #008080;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

/* --- Contact Form --- */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 600;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box; 
}

/* --- Footer --- */
footer {
    background: #333333;
    color: #ccc;
    text-align: center;
    padding: 2rem 0;
    margin-top: 40px;
}


/* =================================== */
/* === MOBILE OPTIMIZATION STYLES === */
/* =================================== */

@media (max-width: 768px) {

    /* --- Adjust Header for new stacked layout --- */
    html {
        /* New header will be logo + nav, so it's taller */
        scroll-padding-top: 150px; 
    }

    header .container {
        /* Stack logo on top of nav */
        flex-direction: column;
        justify-content: center;
    }

    header .header-logo {
        height: 80px; /* Make logo smaller */
        margin-bottom: 10px; /* Add space */
    }

    header nav {
        width: 100%;
    }

    header nav ul {
        /* Center and wrap nav links */
        justify-content: center;
        flex-wrap: wrap;
    }

    header nav li {
        margin: 0 10px; /* Adjust spacing */
    }

    /* --- Fix Hero Section --- */
    .hero {
        padding: 50px 0; /* Reduce top/bottom padding */
    }

    .hero h1 {
        font-size: 2.2rem; /* Reduce main headline size */
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem; /* Reduce sub-headline size */
    }

    /* --- Fix Other Sections --- */
    .section {
        padding: 40px 0; /* Reduce section padding */
    }

    .section-title {
        font-size: 2rem; /* Reduce section titles */
    }

    .section-subtitle {
        font-size: 1rem; /* Reduce section sub-titles */
    }

    .testimonial {
        font-size: 1.1rem; /* Make testimonials smaller */
    }

    .case-study, .service-card {
        padding: 1.5rem; /* Reduce padding inside cards */
    }
.lang-switch {
    margin-left: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-btn {
    text-decoration: none;
    font-size: 1.5rem; /* Size of the flag emoji */
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border: none;
    background: none;
    cursor: pointer;
}

.lang-btn:hover, .lang-btn.active {
    opacity: 1; /* Full brightness when active or hovered */
    transform: scale(1.1);
}
}