/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent: #10b981;
    --whatsapp: #25D366;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray: #64748b;
    --gray-light: #f1f5f9;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--gray-light);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}
.logo i {
    color: var(--primary);
    font-size: 26px;
}
.logo strong { color: var(--primary); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--gray);
    transition: var(--transition);
    font-size: 15px;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-whatsapp-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}
.btn-whatsapp-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.menu-toggle {
    display: none;
    background: var(--gray-light);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a8a 100%);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.3) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}
.badge i { color: #fbbf24; }

.hero-title {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 24px;
}
.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(16px, 2vw, 19px);
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.stat {
    text-align: center;
}
.stat h3 {
    font-size: 38px;
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    color: var(--gray);
    font-size: 17px;
}

/* ═══════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════ */
.features { background: var(--gray-light); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dark);
}
.feature-card p {
    color: var(--gray);
    font-size: 15px;
}

/* ═══════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    position: relative;
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    border: 2px solid var(--gray-light);
    transition: var(--transition);
}
.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.03), transparent);
}
.featured-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--gradient);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.service-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--dark);
}
.service-card > p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 15px;
}

.service-list {
    margin-bottom: 24px;
}
.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--dark-2);
    font-size: 15px;
}
.service-list li i {
    color: var(--accent);
    font-size: 14px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
}
.service-link:hover { gap: 14px; }

/* ═══════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════ */
.reviews { background: var(--gray-light); }

.reviews-slider {
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.review-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 20px;
}

.review-text {
    font-size: 17px;
    line-height: 1.9;
    color: var(--dark-2);
    margin-bottom: 28px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.author-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
}
.review-author h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
}
.review-author span {
    color: var(--gray);
    font-size: 14px;
}

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    display: block;
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    transition: var(--transition);
}
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.contact-card.featured {
    background: var(--whatsapp);
    border-color: var(--whatsapp);
    color: var(--white);
}
.contact-card.featured:hover {
    border-color: var(--whatsapp);
}

.contact-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
}
.contact-icon.phone { background: var(--primary); }
.contact-icon.whatsapp { background: rgba(255, 255, 255, 0.2); }

.contact-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}
.contact-card p {
    font-size: 16px;
    direction: ltr;
    font-weight: 600;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer .logo {
    color: var(--white);
    margin-bottom: 16px;
}
.footer-col p {
    font-size: 15px;
    line-height: 1.8;
}
.footer-col h4 {
    color: var(--white);
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 20px;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul a {
    transition: var(--transition);
    font-size: 15px;
}
.footer-col ul a:hover {
    color: var(--primary-light);
    padding-right: 6px;
}

.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
}

/* ═══════════════════════════════════════
   FLOATING BUTTONS
   ═══════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}
.scroll-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    transform: translateY(-5px);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        right: -100%;
        flex-direction: column;
        background: var(--white);
        width: 280px;
        height: calc(100vh - 75px);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        align-items: stretch;
        gap: 4px;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-link {
        padding: 14px 16px;
        border-radius: 12px;
    }
    .menu-toggle { display: block; }
    .btn-whatsapp-nav span { display: none; }
    .btn-whatsapp-nav { padding: 10px 14px; }

    .hero-stats { gap: 30px; }
    .stat h3 { font-size: 30px; }
    
    .section { padding: 70px 0; }
    .review-card { padding: 28px 24px; }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links { justify-content: center; }
    
    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
}