:root {
    --primary: #0077be;
    --primary-dark: #005fa3;
    --secondary: #00b4d8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --accent: #10b981;
    --white: #ffffff;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Outfit', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--text);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 180px 8% 100px;
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: 90vh;
    background: radial-gradient(circle at 90% 10%, #f0f7ff 0%, var(--bg) 60%);
}

.hero-content {
    flex: 1.2;
}

.badge {
    background: #e0f2fe;
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* Features/Services */
section {
    padding: 100px 8%;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 800;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 0;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
}

.card-img {
    height: 220px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 2.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

/* Contact/Stats */
.stats {
    background: var(--bg-alt);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 80px 5%;
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 600;
}

/* Call to Action Bar */
.cta-banner {
    background: var(--primary);
    color: var(--white);
    padding: 60px 5%;
    border-radius: 30px;
    margin: 0 5% 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-text h2 {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
}

.cta-text p {
    opacity: 0.9;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: #f1f5f9;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128c7e;
}

/* Contact Form & Layout */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    font-size: 1rem;
    color: var(--text);
    transition: 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 119, 190, 0.1);
}

.whatsapp-card {
    background: #e7f9ee;
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-card i {
    font-size: 4rem;
    color: #25d366;
}

.whatsapp-card h4 {
    font-size: 1.8rem;
    color: #0d5a2b;
}

.whatsapp-card p {
    color: #1e293b;
    opacity: 0.8;
}

/* Footer */
footer {
    padding: 80px 8% 40px;
    background: #0f172a;
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

    .hero-cta {
        justify-content: center;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-text h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0.8rem 5%;
    }

    .logo {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 0.8rem;
    }

    .nav-links a:not(.btn) {
        display: none;
    }

    h1 {
        font-size: 2.2rem;
    }

    .stats {
        padding: 60px 8%;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stat-item h4 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 8%;
    }

    .cta-banner {
        margin: 0 5% 60px;
        padding: 40px 8%;
    }

    .cta-text h2 {
        font-size: 1.8rem;
    }

    .cta-btns {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .whatsapp-card {
        padding: 2rem;
    }
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-alt);
    padding: 0.25rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.2s;
}

.lang-btn:hover {
    color: var(--primary);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
}

/* RTL Support */
body.rtl {
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}

body.rtl .logo {
    font-family: 'Inter', sans-serif;
}

body.rtl .hero-content,
body.rtl .cta-text,
body.rtl .card-body,
body.rtl .footer-brand,
body.rtl .footer-links,
body.rtl .contact-form-wrapper,
body.rtl .whatsapp-card {
    text-align: right;
}

body.rtl .nav-links {
    flex-direction: row-reverse;
}

body.rtl .hero {
    flex-direction: row-reverse;
}

body.rtl .hero-cta {
    justify-content: flex-end;
}

body.rtl .contact-container {
    direction: rtl;
}

body.rtl .form-group label {
    text-align: right;
}

body.rtl .form-group input,
body.rtl .form-group select,
body.rtl .form-group textarea {
    text-align: right;
}

body.rtl .footer-grid {
    text-align: right;
}

body.rtl .footer-bottom {
    text-align: center;
}

@media (max-width: 768px) {
    body.rtl .hero {
        flex-direction: column;
        text-align: center;
    }

    body.rtl .hero-cta {
        justify-content: center;
    }

    body.rtl .card-body,
    body.rtl .whatsapp-card {
        text-align: center;
    }

    .lang-switcher {
        order: -1;
    }
}