:root {
    --bg-color: #0c0c0e;
    --card-bg: #161618;
    --primary-color: #296aa6;
    --accent-color: #00d2ff;
    --text-main: #f5f5f7;
    --text-dim: #a1a1a6;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

section {
    padding: 100px 0;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

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

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

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 1rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

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

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    text-transform: none;
    font-size: 0.95rem;
    letter-spacing: 0;
    color: #1d1d1f !important;
}

.dropdown-menu a:hover {
    background: rgba(41, 106, 166, 0.1);
}

.nav-links a {
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* --- Hero --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: brightness(0.4) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 90%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 30px rgba(41, 106, 166, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(41, 106, 166, 0.6);
}

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

.card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: linear-gradient(145deg, #161618, #1a1a1c);
}

.card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

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

/* --- Form --- */
.contact-section {
    background: #080809;
}

.form-container {
    background: var(--card-bg);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-dim);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select option {
    background-color: var(--card-bg);
    color: var(--text-main);
}

/* --- Reviews --- */
.reviews-section {
    background: var(--bg-color);
}

.review-badge {
    text-align: center;
    margin-bottom: 3rem;
}

.stars {
    color: #ffc107;
    font-size: 1.5rem;
}

/* --- Footer --- */
footer {
    padding: 5rem 0;
    border-top: 1px solid var(--glass-border);
    background: #050505;
    text-align: center;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
}

.advantage-card img {
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.advantage-card:hover img {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255,255,255,0.3));
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

/* --- Stats Grid --- */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    background: rgba(255,255,255,0.03);
    padding: 2rem;
    border-radius: 16px;
    flex: 1 1 250px;
    max-width: 350px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.05);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 700;
}

.stat-card p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    .form-container {
        padding: 2rem;
    }
    .contact-section div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .stats-grid {
        gap: 1rem;
    }
    .stat-card {
        padding: 1.5rem;
        flex: 1 1 100%;
        max-width: 100%;
    }
    .stat-card h3 {
        font-size: 2rem;
    }
    .stat-card i {
        font-size: 2rem;
    }
    
    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block !important;
    }
    .logo img {
        height: 60px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 1.5rem;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        transform: none;
        border: none;
        background: transparent;
        padding: 0;
        display: none;
        margin-top: 1rem;
        width: 100%;
    }
    .dropdown:hover .dropdown-menu {
        display: none; /* Disable hover on mobile */
    }
    .dropdown.mobile-open .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    .dropdown-menu a {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        color: var(--primary-color) !important;
        font-weight: 600;
        text-align: center;
        width: 100%;
        display: block;
    }
    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .nav-cta {
        display: none; /* Hide CTA button on mobile header to save space */
    }
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-color);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

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