:root {
    --primary-color: #0056b3;
    --secondary-color: #007bff;
    --whatsapp-color: #25d366;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4faff;
    --bg-dark: #ffffff;
    --nav-text: #0056b3;
    --font-main: 'Cairo', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

/* Navbar */
.navbar {
    background-color: var(--bg-dark);
    color: var(--nav-text);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.logo img {
    height: 50px;
}

.nav-links ul {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: var(--nav-text);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 15px;
    border-radius: 50px;
    background: #ffffff;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1), -3px -3px 8px rgba(255, 255, 255, 0.8);
    display: inline-block;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
    background: var(--primary-color);
    box-shadow: inset 3px 3px 8px rgba(0,0,0,0.2), inset -3px -3px 8px rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    width: 250px;
    height: 100vh;
    background-color: var(--bg-dark);
    color: var(--nav-text);
    z-index: 2000;
    padding: 2rem;
    transition: all 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}

[dir="rtl"] .mobile-nav {
    right: -100%;
    left: auto;
}
[dir="rtl"] .mobile-nav.active {
    right: 0;
}

[dir="ltr"] .mobile-nav {
    left: -100%;
    right: auto;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
}
[dir="ltr"] .mobile-nav.active {
    left: 0;
}

.mobile-nav .close-btn {
    color: var(--nav-text);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
}
[dir="rtl"] .mobile-nav .close-btn { left: 20px; }
[dir="ltr"] .mobile-nav .close-btn { right: 20px; }

.mobile-nav ul {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav a {
    color: var(--nav-text);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    background: #ffffff;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1), -3px -3px 8px rgba(255, 255, 255, 0.8);
    display: block;
    text-align: center;
}

.mobile-nav a:hover, .mobile-nav a.active {
    color: #ffffff;
    background: var(--primary-color);
    box-shadow: inset 3px 3px 8px rgba(0,0,0,0.2), inset -3px -3px 8px rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('https://sathariyadh.abdosh-sa.com/wp-content/uploads/2025/11/WhatsApp-Image-2025-11-02-at-15.50.57_ec99cf65.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding-top: 80px; /* Offset for fixed navbar */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 86, 179, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.rotating-text {
    color: var(--secondary-color);
    display: inline-block;
    border-right: 3px solid var(--secondary-color);
    padding-right: 5px;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    border: none;
}

.btn i {
    font-size: 1.2rem;
}

.btn-phone {
    background-color: var(--secondary-color);
    color: var(--text-light);
}
.btn-phone:hover {
    background-color: #d13d3d;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: var(--text-light);
}
.btn-whatsapp:hover {
    background-color: #20b858;
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.btn-primary:hover {
    background-color: #1f2136;
    transform: translateY(-3px);
}

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

/* About Section */
.about {
    padding: 5rem 0;
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}
.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}
.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-item i {
    color: var(--secondary-color);
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}
.about-image img:hover {
    transform: scale(1.02);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-title {
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    background-color: var(--secondary-color);
}

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

.service-card {
    background: #fff;
    padding: 0 0 3rem 0;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

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

.service-card .icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), #404469);
    padding: 5rem 0;
    color: var(--text-light);
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: #555;
    padding-top: 4rem;
    border-top: 1px solid #e0e0e0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-contact i {
    color: var(--secondary-color);
}

.footer-bottom {
    background-color: #f4faff;
    color: #555;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}
