@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

:root {
    --primary-red: #E31E24;
    --primary-blue: #1A4D94;
    --card-gradient: linear-gradient(135deg, #ffaeae 0%, #ffffff 50%, #add0ff 100%); /* 5% More Intense Red-Blue, still whitish center */
    --glass-bg: rgba(255, 255, 255, 0.6);
    --form-bg: #f9fbff;
    --text-dark: #000000;
    --text-dim: #222222;
    --header-font: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--card-gradient);
    background-attachment: fixed;
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Background Streaks Effect */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
    background-size: 100px 100px;
    opacity: 0.1;
}

/* Scroll Progress */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: #ffffff;
    z-index: 1001;
}

/* Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: #000;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.logo {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo span.red {
    color: var(--primary-red);
}

.logo span.blue {
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    opacity: 0.8;
}

/* Sections */
section {
    min-height: 100vh;
    padding: 120px 10% 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section - FIXED OVERLAP */
.hero {
    text-align: center;
    align-items: center;
    gap: 30px;
}

.hero .badge {
    color: white; 
    background: #000; 
    padding: 8px 20px; 
    border-radius: 100px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 11px;
}

.hero h1 {
    font-size: clamp(3.5rem, 12vw, 8.5rem);
    font-weight: 950;
    line-height: 0.9;
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: -2px;
}

/* 3D Text Shared Shadows */
.text-3d {
    display: inline-block;
    position: relative;
    transform: perspective(500px) rotateX(10deg);
}

.hero h1 span.red {
    color: var(--primary-red);
    text-shadow: 
        0 1px 0 #cc1a1a,
        0 2px 0 #b31717,
        0 3px 0 #991414,
        0 4px 0 #801111,
        0 5px 10px rgba(0,0,0,0.3);
}

.hero h1 span.blue {
    color: var(--primary-blue);
    text-shadow: 
        0 1px 0 #153d75,
        0 2px 0 #113363,
        0 3px 0 #0e2a51,
        0 4px 0 #0b213f,
        0 5px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    color: var(--text-dim);
    margin-bottom: 40px;
    line-height: 1.5;
    font-weight: 600;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 30px;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-dim);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #fff;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 25px;
}

/* Form and Footer */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: start;
}

.btn {
    padding: 15px 35px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-p#formProduct option {
    background: #fff;
    color: #333;
    padding: 10px;
}

.option:hover {
    background: #f0f7ff !important;
    color: var(--primary-blue) !important;
    padding-left: 25px !important;
}

.custom-dropdown.active .dropdown-options {
    display: flex !important;
    animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1000;
}

.lang-toggle-float {
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 1005;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.1);
    color: #333;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: var(--header-font);
}

.lang-toggle-float:hover {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
    nav { 
        width: 95%; 
        padding: 10px 15px; 
        top: 10px;
    }
    
    .logo { font-size: 16px; }
    .logo span.blue { padding: 2px 8px; }

    .nav-links { display: none; }
    
    .btn { padding: 12px 20px; font-size: 13px; }
    
    .lang-toggle-float {
        top: auto;
        bottom: 110px;
        right: 25px;
        padding: 10px 20px;
        font-size: 12px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }

    section { padding: 80px 6% 40px; }
    
    .hero { padding-top: 120px !important; }
    .hero h1 { font-size: 4rem; line-height: 1; }
    .hero p { font-size: 1.1rem; margin-top: 20px; }
    
    .text-3d { transform: none; }

    .services-grid { grid-template-columns: 1fr !important; }
    .location-grid { grid-template-columns: 1fr !important; }
    .contact-container { grid-template-columns: 1fr !important; gap: 30px; }
    
    #stats div h3 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 3.2rem; }
    .logo span.blue { display: none; } /* Hide 'SERVICES' box on very small screens to save space */
    .logo::after { content: ' SERVICES'; color: var(--primary-blue); font-weight: 900; }
}
