:root {
    --color-primary: #0a2540;
    --color-primary-hover: #1a6672;
    --color-primary-active: #145563;
    --color-text: #134252;
    --color-text-light: #666;
    --color-bg: #f5f5f5;
    --color-white: #ffffff;
    --color-accent: #00b4d8;
    --color-border: #e0e0e0;
    --light-bg: #f8fbff;
    --text-dark: #1a1a1a;
    --accent-color: #00b4d8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

/* Header & Navigation */
header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(32, 128, 145, 0.15);
}

.logo span {
    font-size: 1.5rem;
    font-weight: 600; /* WAS 700 */
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.language-picker {
    display: flex;
    gap: 0.25rem;
    background: var(--color-bg);
    padding: 0.5rem;
    border-radius: 20px;
    border: 1px solid var(--color-border);
}

.lang-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    color: var(--color-white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(32,128,145,0.92), rgba(45,182,198,0.92)),
        url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI4MDAiIHZpZXdCb3g9IjAgMCAxMjAwIDgwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iODAwIiBmaWxsPSIjZTNmNWY4Ii8+CjxjaXJjbGUgY3g9IjIwMCIgY3k9IjIwMCIgcj0iMTIwIiBmaWxsPSIjMjA4MDkxIi8+CjxjaXJjbGUgY3g9IjgwMCIgY3k9IjMwMCIgcj0iODAiIGZpbGw9IiMyMGIwYjEiLz4KPHBhdGggZD0iTTEwMCAyMDAgTDEwMCA0MDAgTDQwMCA0MDAgTDQwMCAyMDAgTDEwMCAyMDAgWiIgZmlsbD0iIzIwODA5MSIgb3BhY2l0eT0iMC44Ii8+CjxwYXRoIGQ9Ik0zMDAgMzAwIEwzMDAgNTAwIEw2MDAgNTAwIEw2MDAgMzAwIEwzMDAgMzAwIFoiIGZpbGw9IiMyMGIwYjEiLz4KPGxpbmUgeDE9IjQwMCIgeTE9IjEwMCIgeDI9IjgwMCIgeTI9IjQwMCIgc3Ryb2tlPSIjMjA4MDkxIiBzdHJva2Utd2lkdGg9IjQiLz4KPGxpbmUgeDE9IjYwMCIgeTE9IjYwMCIgeDI9IjEwMDAiIHkyPSIzMDAiIHN0cm9rZT0iIzIwYjBiMSIgc3Ryb2tlLXdpZHRoPSI0Ii8+Cjwvc3ZnPg==');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero {
    position: relative;
    overflow: hidden;
}


.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255,255,255,0.9);
    margin-left: 1.5rem;
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--color-white);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: var(--color-primary);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: #fafbfc;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
}
h1, h2, h3, h4, .logo span {
    text-transform: none !important;
    font-weight: 600 !important; /* Slightly lighter than 700 */
}

.service-card p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(32,128,145,0.3);
}

.feature-item h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--color-text-light);
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(32,128,145,0.88), rgba(45,182,198,0.88)),
        url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI2MDAiIHZpZXdCb3g9IjAgMCAxMjAwIDYwMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iNjAwIiBmaWxsPSIjZmJmYmZmIi8+CjxjaXJjbGUgY3g9IjMwMCIgY3k9IjE1MCIgcj0iODAiIGZpbGw9IiMyMDgwOTEiLz4KPGNpcmNsZSBjeD0iOTAwIiBjeT0iMjUwIiByPSI2MCIgZmlsbD0iIzJkYjZjNiIvPgo8cGF0aCBkPSJNMTAwIDEwMCBMNDAwIDEwMCBMNDAwIDQwMCBMMTUwIDQwMCBMMTUwIDEwMCBMMTAwIDEwMCBaIiBmaWxsPSIjMjA4MDkxIi8+CjxwYXRoIGQ9Ik0zMDAgMjAwIEw2MDAgMjAwIEw2MDAgNDAwIEw0MDAgNDAwIEwzMDAgMjAwIFoiIGZpbGw9IiMyMGIwYjEiLz4KPGxpbmUgeDE9IjUwMCIgeTE9IjEwMCIgeDI9IjkwMCIgeTI9IjMwMCIgc3Ryb2tlPSIjMjA4MDkxIiBzdHJva2Utd2lkdGg9IjMiLz4KPGxpbmUgeDE9IjYwMCIgeTE9IjIwMCIgeDI9IjEwMDAiIHkyPSI0MDAiIHN0cm9rZT0iIzIwYjBiMSIgc3Ryb2tlLXdpZHRoPSIzIi8+Cjwvc3ZnPg==');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.about {
    position: relative;
    overflow: hidden;
}


.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-text p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-image {
    background: rgba(255,255,255,0.95) !important;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--color-bg);
    text-align: center;
}

.contact h2 {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact p {
    color: var(--color-text-light);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* FORCE normal case on ALL headings - stronger specificity */
.hero h1, 
.hero h2, 
h1, h2, h3, h4, 
.service-card h3, 
.feature-item h4,
.logo span,
.section-title {
    text-transform: none !important;
    font-weight: 600 !important;
    text-rendering: optimizeLegibility !important;
}

/* Extra hero section fix */
.hero h1 {
    font-variant-caps: normal !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}


/* Responsive */
/* Enhanced responsive */
@media (max-width: 1024px) {
    .nav-right { gap: 1.5rem; }
    .nav-links { gap: 1.5rem; }
    .container { padding: 0 15px; }
}

@media (max-width: 768px) {
    /* Fix navigation overflow */
    header nav { padding: 0.75rem 0; }
    .container { padding: 0 8px !important; max-width: 100%; }
    
    .logo { 
        font-size: 1.2rem !important; 
        gap: 6px; 
    }
    .logo-icon { 
        width: 32px !important; 
        height: 32px !important; 
    }
    .logo span { 
        font-size: 1.1rem !important; 
        font-weight: 600; 
    }
    
    /* Hide nav links completely on mobile */
    .nav-links { display: none !important; }
    
    /* Compact language picker */
    .language-picker { 
        order: -1; 
        gap: 0.1rem; 
        padding: 0.25rem; 
        border-radius: 12px; 
    }
    .lang-btn { 
        width: 28px !important; 
        height: 28px !important; 
        font-size: 0.9rem !important; 
    }
    
    /* Rest of mobile styles */
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2.2rem; line-height: 1.1; }
    .hero p { font-size: 1rem; }
    .cta-button.secondary { 
        display: block; 
        margin: 1rem auto 0; 
        width: 90%; 
    }
    .section-title { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}


@media (max-width: 480px) {
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .container { padding: 0 12px; }
    .service-card { padding: 2rem 1.5rem; }
    h1, h2, h3 { font-size: 1.4em; } /* Scale down on tiny screens */
}

@media (max-width: 400px) {
    .logo { font-size: 1.1rem !important; }
    .logo span { font-size: 1rem !important; }
    .logo-icon { width: 28px !important; height: 28px !important; }
    .lang-btn { width: 24px !important; height: 24px !important; }
}



/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.modal-dialog {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    max-width: 480px;
    width: 90%;
    padding: 2rem 2.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.modal-dialog h2 {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-field label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: var(--color-text);
}

.modal-field input,
.modal-field textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    font: inherit;
    color: var(--color-text);
}

.modal-field input:focus,
.modal-field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(32, 128, 145, 0.15);
}

.modal .cta-button {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}
/* Static legal pages */
.static-page {
    background-color: var(--color-bg);
}

.static-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.static-content {
    padding-bottom: 4rem;
}

.static-content h1 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.static-content h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.static-content p,
.static-content li {
    color: var(--color-text-light);
    line-height: 1.7;
}

.static-content ul {
    margin-left: 1.2rem;
}

.static-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.95rem;
}
