:root {
    --primary-color: #0d2c54; /* Dark Blue */
    --secondary-color: #f58220; /* Orange */
    --accent-color: #25d366; /* WhatsApp Green */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
    animation: fadeIn 0.8s ease-in-out;
}

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

/* Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto;
    border-radius: 2px;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-whatsapp {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
    font-size: 1.2rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-tagline {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-top: -5px;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Hero Section */
.hero {
    height: 60vh;
    background-image: url('hero_v4.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 44, 84, 0.7), rgba(13, 44, 84, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.feature-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    background: var(--primary-color);
    color: var(--white);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 1.2rem;
}

/* Form */
.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-color);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--secondary-color);
}

/* Contact */
.contact-container {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-info p {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    margin-top: 10px;
    opacity: 0.8;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

[dir="ltr"] .footer-links h4::after, [dir="ltr"] .footer-social h4::after {
    right: auto;
    left: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-right: 5px;
}

[dir="ltr"] .footer-links ul li a:hover {
    padding-right: 0;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Floating WhatsApp */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
}

/* RTL Support Logic */
[dir="ltr"] {
    text-align: left;
}

[dir="ltr"] .hero-btns, 
[dir="ltr"] .contact-btns,
[dir="ltr"] .nav-actions {
    flex-direction: row;
}

[dir="ltr"] .whatsapp-fixed {
    right: auto;
    left: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .section-padding {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .logo {
        font-size: 0.95rem;
        line-height: 1.2;
    }
    
    .nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .nav-actions {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-btns, .contact-btns {
        flex-direction: row;
        gap: 10px;
        padding: 0 5px;
    }
    
    .hero-btns a, .contact-btns a {
        flex: 1;
        padding: 10px 5px;
        font-size: 0.85rem;
        justify-content: center;
    }

    .form-wrapper {
        padding: 20px 15px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-card i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links h4::after, .footer-social h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .social-links {
        justify-content: center;
    }

    .nav-actions .call-btn, .nav-actions button {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .nav-actions button span {
        display: none;
    }
}

/* Service Areas Grid */
.service-areas {
    background: var(--light-bg);
    border-top: 1px solid #eee;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.area-tag {
    background: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid transparent;
}

.area-tag:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
}

/* SEO Content Block */
.seo-content {
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.seo-text {
    font-size: 0.95rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.seo-text strong {
    color: var(--primary-color);
}

