/* Reset & Base Styles */
:root {
    --primary: #16898c;
    --primary-dark: #126e70;
    --accent: #937f4e;
    --accent-light: #b39b63;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --font-en: 'Lato', sans-serif;
    --font-head-en: 'Playfair Display', serif;
    --font-ar: 'Tajawal', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-en);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

body.lang-ar {
    font-family: var(--font-ar);
    direction: rtl;
    text-align: right;
    font-size: 1.1rem; /* Base font size increase for Arabic */
}

body.lang-ar p {
    font-size: 1.15rem; /* Larger paragraph text */
    line-height: 1.8;
}

body.lang-ar h1 {
    font-size: 3.8rem; /* Larger headings */
}

body.lang-ar h2 {
    font-size: 2.8rem;
}

body.lang-ar h3 {
    font-size: 1.4rem;
}

body.lang-ar .nav-links a {
    font-size: 1.05rem;
}

body.lang-ar .btn-primary,
body.lang-ar .btn-outline {
    font-size: 1.05rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-head-en);
    color: var(--primary);
}

body.lang-ar h1, 
body.lang-ar h2, 
body.lang-ar h3 {
    font-family: var(--font-ar);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-head-en);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.logo-text {
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 90vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 60px; /* Navbar height */
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(22, 137, 140, 0.92), rgba(147, 127, 78, 0.85));
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

body.lang-ar .hero h1 {
    font-size: 4rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 300;
}

body.lang-ar .hero .subtitle {
    font-size: 1.7rem;
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

body.lang-ar .hero .description {
    font-size: 1.2rem;
}

.hero .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

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

/* Sections General */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

body.lang-ar .section-header h2 {
    font-size: 2.8rem;
}

.separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0 auto 15px;
    border-radius: 2px;
    position: relative;
}

.separator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
}

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

body.lang-ar .about-text p {
    font-size: 1.15rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 15px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

body.lang-ar .feature-card {
    border-left: none;
    border-right: 4px solid var(--accent);
}

.feature-card .icon {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--accent);
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-preview-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.contact-preview-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-preview-item .info-icon {
    font-size: 2.5rem;
    min-width: 45px;
    transition: transform 0.3s ease;
}

.contact-preview-item:hover .info-icon {
    transform: scale(1.15) rotate(5deg);
}

.contact-preview-item .info-content h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-preview-item .info-content p {
    color: var(--text-light);
    margin: 0;
}

.contact-preview-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-preview-item a:hover {
    text-decoration: underline;
}

/* Force LTR for phone numbers and email addresses in RTL mode */
body.lang-ar .contact-preview-item a[href^="tel:"],
body.lang-ar .contact-preview-item a[href^="mailto:"],
body.lang-ar .info-item a[href^="tel:"],
body.lang-ar .info-item a[href^="mailto:"] {
    direction: ltr;
    text-align: left;
    display: inline-block;
    unicode-bidi: embed;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info h2 {
    color: var(--white);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    color: var(--accent-light);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: var(--font-en);
}

body.lang-ar .info-item h3 {
    font-family: var(--font-ar);
}

.info-item p {
    font-size: 1.1rem;
}

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

.social-links a {
    color: var(--white);
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.contact-form:focus-within {
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 137, 140, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
}

/* Page Header (for About page) */
.page-header {
    height: 50vh;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: 60px;
    text-align: center;
}

.page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(22, 137, 140, 0.92), rgba(147, 127, 78, 0.85));
    backdrop-filter: blur(1px);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 15px;
}

body.lang-ar .page-header h1 {
    font-size: 3.5rem;
}

.page-header .subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

body.lang-ar .page-header .subtitle {
    font-size: 1.5rem;
}

/* About Content */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.content-block h2 {
    margin-bottom: 20px;
}

.content-block p {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

body.lang-ar .content-block p {
    text-align: right;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(-5deg);
}

.value-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Features Grid (Why Choose Us) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-head-en);
    line-height: 1;
    min-width: 60px;
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Team Content */
.team-content {
    max-width: 900px;
    margin: 0 auto;
}

.team-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

body.lang-ar .team-text p {
    font-size: 1.15rem;
}

body.lang-ar .team-text p {
    text-align: right;
    font-size: 1.15rem;
}

body.lang-ar .content-block p {
    font-size: 1.15rem;
}

body.lang-ar .service-card p,
body.lang-ar .value-card p,
body.lang-ar .feature-item p {
    font-size: 1.05rem;
}

/* Service Detail Page */
.service-detail {
    margin-bottom: 60px;
    padding: 50px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(22, 137, 140, 0.1);
}

.service-detail:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.service-icon-large {
    font-size: 4rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-detail:hover .service-icon-large {
    transform: scale(1.1);
}

.service-detail-header h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--primary);
}

.service-detail-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

body.lang-ar .service-detail-content p {
    font-size: 1.15rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

body.lang-ar .service-features li {
    padding-left: 0;
    padding-right: 30px;
    font-size: 1.1rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

body.lang-ar .service-features li:before {
    left: auto;
    right: 0;
}

.service-features li:not(:last-child) {
    border-bottom: 1px solid var(--bg-light);
}

/* Contact Page Styles */
.map-container {
    max-width: 1000px;
    margin: 0 auto;
}

.map-wrapper {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    background: var(--bg-light);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

.map-fallback {
    display: none;
    padding: 20px;
    text-align: center;
    background: var(--bg-light);
}

.map-fallback a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-fallback a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* Fallback for when iframe fails to load */
.map-wrapper:has(iframe[src=""]) .map-fallback,
.map-wrapper iframe[src=""] ~ .map-fallback {
    display: block;
}

.map-placeholder {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f0f0 100%);
    border: 2px dashed var(--primary);
    border-radius: 12px;
    padding: 80px 20px;
    text-align: center;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(22, 137, 140, 0.03) 10px,
        rgba(22, 137, 140, 0.03) 20px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.map-placeholder p,
.map-placeholder a {
    color: var(--text-light);
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.map-placeholder a:hover {
    color: var(--primary);
    text-decoration: underline;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    color: #888;
    text-align: center;
    padding: 50px 0 30px;
    font-size: 0.9rem;
    border-top: 3px solid var(--primary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-content p {
    margin: 0;
}

/* Responsive - About Page */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .values-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        flex-direction: column;
    }

    .feature-number {
        min-width: auto;
    }
}

/* Smooth scroll behavior */
html {
    scroll-padding-top: 80px;
}

/* Loading animation for cards */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.value-card,
.feature-card {
    animation: slideIn 0.6s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .feature-card {
        border-left: none;
        border-top: 4px solid var(--accent);
    }

    body.lang-ar .feature-card {
        border-right: none;
        border-top: 4px solid var(--accent);
    }

    .service-detail {
        padding: 25px 20px;
    }

    .service-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .service-icon-large {
        font-size: 2.5rem;
    }

    .service-detail-header h3 {
        font-size: 1.5rem;
    }

    body.lang-ar .service-detail-header {
        align-items: flex-end;
    }

    .logo {
        gap: 8px;
    }

    .logo-img {
        height: 35px;
    }

    .footer-logo-img {
        height: 40px;
    }

    .map-wrapper iframe {
        height: 350px;
    }

    .map-container p {
        margin-bottom: 20px;
    }
}

