:root {
    --primary: #1a4f8b;
    --primary-light: #2c72c1;
    --secondary: #475569;
    --accent: #f59e0b;
    --background: #f8fafc;
    --surface: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --text: #1e293b;
    --text-muted: #64748b;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-switcher a {
    color: var(--text-muted);
}

.lang-switcher .active {
    color: var(--primary);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

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

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(rgba(26, 79, 139, 0.05), rgba(26, 79, 139, 0.02)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    background: var(--glass);
    backdrop-filter: blur(16px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-lg);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

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

.card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

/* Quote Form */
.quote-section {
    background-color: var(--primary);
    color: white;
}

.quote-section h2 {
    color: white;
}

.quote-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    color: var(--text);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 4rem 0 2rem;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: 0.5s ease-in-out;
        z-index: 1000;
    }

    #nav-menu.active {
        right: 0;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .logo {
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .hero {
        padding: 8rem 0 4rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-content {
        padding: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

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

    .quote-section {
        padding: 4rem 0 0 0 !important;
        overflow: hidden !important;
    }

    .quote-section .container {
        padding: 0 1.5rem !important; /* Standard mobile padding */
        max-width: 100% !important;
        width: 100% !important;
    }

    .quote-section .section-title {
        padding: 2rem 0 !important;
        margin: 0 !important;
        text-align: center !important;
    }

    form.quote-form {
        width: calc(100% + 3rem) !important; /* Offset the 1.5rem padding x 2 */
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
        padding: 3rem 1.5rem !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        max-width: none !important;
    }

    #areas div {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Prevent horizontal scroll */
    section {
        overflow: hidden;
    }
}
