@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #002244;
    --primary-light: #003366;
    --accent: #002244;
    --white: #ffffff;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --transition: all .4s cubic-bezier(.175,.885,.32,1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background: var(--bg-light);
    color: var(--primary);
    overflow-x: hidden;
}

lottie-player, video {
    background: transparent !important;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 1000;
}

.logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    height: 100%;
}

.nav-links li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    padding: 0 5px;
    transition: color 0.3s;
}

.nav-links > li > a:hover {
    color: #1a73e8;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    min-width: 240px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    z-index: 1001;
    overflow: hidden;
    border-top: 3px solid var(--primary);
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-content a i {
    margin-left: 8px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
    color: var(--primary);
    padding-right: 20px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.header-btn {
    background: var(--accent);
    color: #fff !important;
    padding: .6rem 1.4rem !important;
    border-radius: 6px;
    transition: transform 0.2s;
}

.header-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,34,68,0.2);
}

header {
    min-height: 100vh;
    padding: 110px 5% 50px;
    display: flex;
    align-items: center;
}

.header-content {
    width: 50%;
}

.header-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.3;
}

.header-content p {
    color: var(--text-gray);
    margin: 20px 0 35px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.header-visual {
    width: 50%;
    display: flex;
    justify-content: center;
}

.header-visual lottie-player {
    width: 100%;
    max-width: 650px;
}

.services {
    padding: 80px 5%;
    text-align: center;
}

.sec-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.sec-desc {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: 1px solid #eee;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.footer {
    background: linear-gradient(180deg,#001a33,#001122);
    color: #e5e7eb;
    padding: 80px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: #3b82f6;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #cbd5e1; transition: .3s; display: inline-block; }
.footer-links a:hover { color: #fff; transform: translateX(-5px); }

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a { margin-left: 20px; font-size: .9rem; color: #94a3b8; }
.legal-links a:hover { color: #fff; }

.fab-container {
    position: fixed;
    left: 25px;
    bottom: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
}

.fab-main {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.fab-main:hover { transform: scale(1.1); }

.fab-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.fab-container.active .fab-item {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fab-item.whatsapp { background: #25D366; }
.fab-item.phone { background: #16a34a; }

.menu-btn { display: none; font-size: 1.8rem; cursor: pointer; color: var(--primary); }
.close-btn { display: none; font-size: 1.8rem; cursor: pointer; color: #ef4444; }
.overlay { display: none; }
@media (max-width: 991px) {
    header {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 100px;
    }
    
    .header-content, .header-visual { width: 100%; }
    .header-content h1 { font-size: 2.5rem; }
    
    .menu-btn { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 20px;
        gap: 0;
        transition: .4s ease;
        z-index: 1002;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        align-items: flex-start;
        overflow-y: auto;
    }

    .nav-links.active { right: 0; }
    
    .nav-links li {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a {
        padding: 15px 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        width: 100%;
        padding-right: 15px;
        border-top: none;
        border-right: 2px solid #e0e0e0;
        background: #fcfcfc;
    }

    .dropdown-content a {
        justify-content: flex-start;
        gap: 10px;
    }

    .dropdown-content a i {
        margin-left: 0;
    }
    
    .close-btn {
        display: block;
        position: absolute;
        top: 25px;
        left: 25px;
    }
    
    .overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.5);
        opacity: 0;
        visibility: hidden;
        transition: .3s;
        z-index: 1001;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
}