/* Reset وتنسيقات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

:root {
    --primary: #1a5f7a;
    --secondary: #57cc99;
    --accent: #ff9a3c;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* الأنيميشن عند الظهور */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* المقدمة المحسنة */
.page-header-enhanced {
    background: linear-gradient(135deg, var(--primary) 0%, #2c7da0 50%, var(--secondary) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="white"/></svg>');
    background-repeat: repeat-x;
    background-position: 0 0;
    animation: wave 15s linear infinite;
}

@keyframes wave {
    0% { background-position: 0 0; }
    100% { background-position: 1200px 0; }
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.header-intro-box {
    animation: slideInUp 0.8s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-intro {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.title-animated {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInScale 0.8s ease 0.2s backwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.subtitle-intro {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 40px;
    animation: fadeInScale 0.8s ease 0.4s backwards;
}

/* إحصائيات سريعة */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 50px 0;
    animation: fadeInScale 0.8s ease 0.6s backwards;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Breadcrumb محسّن */
.breadcrumb-enhanced {
    margin-top: 30px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb li {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.breadcrumb a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a:hover {
    color: white;
    transform: translateY(-2px);
}

.breadcrumb li:not(:last-child)::after {
    content: none;
}

.breadcrumb li i {
    font-size: 12px;
    opacity: 0.7;
}

/* قسم الأسئلة الشائعة المحسن */
.faq-section-enhanced {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.faq-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(26, 95, 122, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(87, 204, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* فلاتر الأسئلة */
.faq-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.faq-filter-btn {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-filter-btn:hover,
.faq-filter-btn.active {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 95, 122, 0.3);
}

/* حاوية الأسئلة */
.faq-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.faq-category {
    animation: fadeInUp 0.6s ease;
}

.faq-category-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* عنصر سؤال محسن */
.faq-item-enhanced {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.faq-item-enhanced:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.faq-question-enhanced {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.05) 0%, rgba(87, 204, 153, 0.05) 100%);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.faq-question-enhanced:hover {
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.1) 0%, rgba(87, 204, 153, 0.1) 100%);
}

.faq-question-header {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: right;
    flex: 1;
}

.faq-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 18px;
}

.faq-text {
    color: var(--primary);
    font-weight: 600;
    text-align: right;
}

.faq-toggle {
    color: var(--secondary);
    transition: transform 0.3s ease;
    font-size: 18px;
    margin-right: 10px;
}

.faq-item-enhanced.active .faq-toggle {
    transform: rotate(180deg);
}

/* الإجابة المحسنة */

/* --- Styles moved from pages/services.html --- */
.page-header {
    background: linear-gradient(rgba(26, 95, 122, 0.9), rgba(26, 95, 122, 0.9)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-right: 10px;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
}

.all-services {
    padding: 100px 0;
    background-color: white;
}

.services-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background-color: #f8f9fa;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--dark);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: white;
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.service-detailed {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    background-color: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-detailed:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.service-detailed-img {
    height: 100%;
    min-height: 300px;
}

.service-detailed-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detailed-content {
    padding: 40px 30px 40px 0;
}

.service-category {
    display: inline-block;
    background-color: rgba(87, 204, 153, 0.1);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-detailed-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-features-detailed {
    margin: 30px 0;
}

.service-features-detailed h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-features-detailed ul {
    list-style: none;
}

.service-features-detailed li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-features-detailed i {
    color: var(--secondary);
    margin-left: 10px;
}

.service-pricing {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 4px solid var(--secondary);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.service-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.work-process {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.step-number {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.step-arrow {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.5rem;
    display: none;
}

.process-step:not(:last-child) .step-arrow {
    display: block;
}

.faq-section {
    padding: 100px 0;
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: #f8f9fa;
    border: none;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.show {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
}

.booking-cta {
    background: linear-gradient(rgba(26, 95, 122, 0.9), rgba(26, 95, 122, 0.9)), url('https://images.unsplash.com/photo-1578301978018-3005759f48f7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.booking-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.booking-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- end moved block --- */

/* Services cards — improved presentation */
.services {
    background: transparent;
}

.services .section-title h2 {
    font-size: 2rem;
    margin-bottom: 6px;
}

.services .section-title p {
    color: var(--gray);
    margin-bottom: 28px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.service-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s;
    transform-style: preserve-3d;
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.service-card:focus-within,
.service-card:focus {
    outline: 3px solid rgba(26,95,122,0.12);
}

.service-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #ddd;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
    transform-origin: center center;
}

.service-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 8px 22px rgba(87,204,153,0.12);
}

.service-content {
    padding: 18px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
}

.service-content h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin: 0;
}

.service-content p {
    color: var(--gray);
    font-size: 0.98rem;
    margin: 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 6px 0 0 0;
    display: grid;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-size: 0.95rem;
}

.service-features li i { color: var(--secondary); }

.service-btn {
    display: inline-block;
    margin-top: auto;
    background: linear-gradient(90deg,var(--primary), #2c7da0);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 8px 20px rgba(26,95,122,0.08);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-card:hover .service-img img {
    transform: scale(1.08) translateY(-6px);
}

@media (min-width: 900px) {
    .service-img { height: 220px; }
}

@media (max-width: 480px) {
    .service-img { height: 160px; }
}

/* subtle focus for accessibility */
.service-card:focus-visible { box-shadow: 0 10px 30px rgba(26,95,122,0.18); }
.faq-answer-enhanced {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item-enhanced.active .faq-answer-enhanced {
    max-height: 1000px;
}

.answer-content {
    padding: 25px;
    border-top: 2px solid #e9ecef;
}

.answer-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.answer-list {
    list-style: none;
    margin: 15px 0;
}

.answer-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: var(--gray);
}

.answer-list i {
    color: var(--secondary);
    margin-left: 12px;
    font-size: 16px;
}

.answer-badge {
    display: inline-block;
    background: #d4edda;
    color: #155724;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.success-answer .answer-badge {
    background: #d4edda;
    color: #155724;
}

.emergency-answer .emergency-badge {
    display: inline-block;
    background: #f8d7da;
    color: #721c24;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}

.emergency-number {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #f8d7da;
}

.emergency-number a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.emergency-number a:hover {
    color: var(--secondary);
}

/* جدول المقارنة */
.comparison-table {
    margin: 20px 0;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comparison-method {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary);
}

.comparison-method h4 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-method ul {
    list-style: none;
}

.comparison-method li {
    margin-bottom: 10px;
    color: var(--gray);
    font-size: 0.9rem;
}

.recommendation {
    background: rgba(87, 204, 153, 0.1);
    padding: 15px;
    border-radius: 10px;
    color: var(--primary);
    margin-top: 15px;
    border-left: 4px solid var(--secondary);
}

.recommendation i {
    color: var(--secondary);
    margin-left: 8px;
}

/* سؤال مخصص */
.faq-custom-question {
    background: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.6s ease;
}

.faq-custom-question h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.faq-custom-question p {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* الشريط العلوي */
.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info i {
    margin-left: 5px;
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 16px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secondary);
}

/* شريط التنقل */
.navbar {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo i {
    color: var(--secondary);
    font-size: 28px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links .cta-button {
    background-color: var(--secondary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    margin-right: 0;
}

.nav-links .cta-button:hover {
    background-color: #46b983;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
}

/* استجابة: تنقل محسن للهواتف */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 320px;
        max-width: 85%;
        background: white;
        flex-direction: column;
        padding: 90px 20px 20px 20px;
        gap: 18px;
        transform: translateX(100%);
        transition: transform 0.35s ease, opacity 0.35s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.12);
        z-index: 1002;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 8px;
    }

    .nav-links .cta-button {
        margin-top: 6px;
        width: 100%;
        text-align: center;
        padding: 12px 18px;
    }

    /* إظهار تراكب خفيف عند فتح القائمة */
    body.nav-open::before {
        content: '';
        position: fixed;
        inset: 0 0 0 0;
        background: rgba(0,0,0,0.4);
        z-index: 1000;
    }
}

/* زر الاتصال العائم */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.whatsapp {
    background-color: #25D366;
}

.floating-btn.phone {
    background-color: var(--accent);
}

.floating-btn.message {
    background-color: var(--secondary);
}

/* زر واتساب العائم */
.whatsapp-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37,211,102,0.18);
    z-index: 9999;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
    opacity: 0.98;
    text-decoration: none;
}
.whatsapp-fab:hover{ transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 28px rgba(37,211,102,0.22);} 
.whatsapp-fab svg{ width:24px; height:24px; display:block; }
.whatsapp-tooltip{
    position: fixed;
    right: 92px;
    bottom: 34px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 9998;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 160ms ease, transform 160ms ease;
    pointer-events: none;
}
.whatsapp-tooltip.show{ opacity: 1; transform: translateY(0); }

/* قسم الهيرو */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1621967299229-c6e7085b9d72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 15s infinite linear;
}

.bubble:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 40%;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 80%;
    left: 30%;
    animation-delay: 6s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--secondary);
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary);
    opacity: 0.3;
    border-radius: 3px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(87, 204, 153, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #46b983;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(87, 204, 153, 0.6);
}

/* قسم العنوان */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background-color: var(--secondary);
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* قسم الخدمات */
.services {
    padding: 100px 0;
    background-color: white;
}

/* Creative card interactions and 3D tilt */
.interactive-card {
    perspective: 1200px;
}
.interactive-card .card-inner {
    transform-style: preserve-3d;
    transition: transform 400ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms;
    will-change: transform;
    backface-visibility: hidden;
}
.interactive-card.hovered {
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}
.interactive-card .card-layer {
    position: relative;
    transform-origin: center center;
    transition: transform 450ms cubic-bezier(.2,.8,.2,1);
}

/* subtle depth for images and content */
.interactive-card .service-img,
.interactive-card .blog-img,
.interactive-card .service-detailed-img {
    transform: translateZ(20px) scale(1.02);
    transition: transform 450ms cubic-bezier(.2,.8,.2,1);
}
.interactive-card .service-content,
.interactive-card .blog-content,
.interactive-card .service-detailed-content {
    transform: translateZ(6px);
}

/* badge glow */
.service-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(90deg, rgba(255,154,60,0.95), rgba(87,204,153,0.95));
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(255,154,60,0.12);
    animation: badgeFloat 6s ease-in-out infinite;
}
@keyframes badgeFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* subtle shine overlay on hover */
.interactive-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255,255,255,0.00) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.00) 100%);
    opacity: 0;
    transition: opacity 300ms;
}
.interactive-card.hovered::after {
    opacity: 1;
}

/* make sure interactive cards are positioned for absolute pseudo elements */
.service-card, .blog-card, .service-card-creative {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-img {
    height: 300px;
    width: 100%;
    min-width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #e0e0e0;
    background-attachment: scroll;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--secondary);
    margin-left: 10px;
}

.service-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.service-btn:hover {
    background-color: #15526b;
    transform: translateY(-2px);
}

/* قسم قصة الشركة */
.about-story {
    background-color: white;
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content {
    padding: 0 20px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--gray);
}

.about-content p strong {
    color: var(--primary);
}

.achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.achievement {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.achievement:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-5px);
}

.achievement i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.achievement:hover i {
    color: white;
}

.achievement h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.achievement:hover h3 {
    color: white;
}

.achievement p {
    font-size: 0.9rem;
    color: var(--gray);
}

.achievement:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover .image-container img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--secondary);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-align: center;
    box-shadow: var(--shadow);
    font-weight: 700;
}

.experience-badge span {
    font-size: 2rem;
    display: block;
    line-height: 1;
}

.experience-badge small {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* قسم رؤيتنا ورسالتنا */
.vision-mission {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vision-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.vision-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
    box-shadow: var(--shadow);
}

.vision-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.vision-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* قسم جميع الخدمات */
.all-services {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.all-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* تصفية الخدمات */
.services-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 95, 122, 0.3);
}

/* عرض الخدمات الإبداعي */
.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

/* بطاقة 3D */
.service-card-creative {
    perspective: 1000px;
    height: 450px;
}

.card-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.service-card-creative:hover .card-3d {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-front {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    color: white;
}

.card-back {
    transform: rotateY(180deg);
    background: white;
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.card-front h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.card-front p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.service-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* بطاقة سداسية */
.card-hexagon {
    position: relative;
    width: 100%;
    height: 450px;
}

.hexagon-shape {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff9a3c 0%, #ff6b35 100%);
    clip-path: polygon(50% 0%, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    color: white;
    transition: all 0.5s ease;
    cursor: pointer;
}

.hexagon-shape:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 154, 60, 0.4);
}

.hexagon-content {
    transform: translateY(-10px);
}

/* بطاقة دوارة */
.card-rotating {
    position: relative;
    width: 100%;
    height: 450px;
    perspective: 1000px;
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.8s;
    cursor: pointer;
}

.card-rotating:hover .front {
    transform: rotateY(-180deg);
}

.card-rotating:hover .back {
    transform: rotateY(0deg);
}

.front {
    background: linear-gradient(135deg, #57cc99 0%, #38a169 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    color: white;
}

.back {
    transform: rotateY(180deg);
    background: white;
}

/* بطاقة متموجة */
.card-wave {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.wave-shape {
    position: relative;
    width: 100%;
    height: 70%;
    background: linear-gradient(135deg, #1a5f7a 0%, #2c7da0 100%);
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    color: white;
    cursor: pointer;
    transition: all 0.5s ease;
}

.wave-shape::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(135deg, #1a5f7a 0%, #2c7da0 100%);
    border-radius: 50%;
    transform: scaleX(1.2);
}

.wave-shape:hover {
    transform: translateY(-10px);
}

/* بطاقة دائرية */
.card-circular {
    position: relative;
    width: 100%;
    height: 450px;
}

/* Timeline / Process styles */
.process-timeline {
    display: grid;
    gap: 18px;
}
.timeline-item {
    display: grid;
    grid-template-columns: 64px 1fr 40px;
    gap: 18px;
    align-items: start;
    background: white;
    padding: 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.timeline-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.timeline-body h3 { margin-bottom: 6px; }
.timeline-body .muted { color: var(--gray); font-size: 0.95rem; margin-bottom: 8px; }
.timeline-step { font-weight: 700; color: var(--primary); font-size: 18px; text-align:center; }

/* Certificates cards */
.certificates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 20px; }
.certificate.card { background: white; padding: 18px; border-radius: 12px; box-shadow: var(--shadow); text-align: right; }
.certificate .cert-icon { width:48px;height:48px;border-radius:10px;background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:10px }
.certificate h4 { margin: 6px 0 8px 0; }
.certificate .muted { color: var(--gray); font-size: 0.9rem }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:18px; margin-top:20px }
.why-card { background:white;padding:18px;border-radius:12px;box-shadow:var(--shadow);text-align:center }
.why-card i { font-size:28px;color:var(--primary);margin-bottom:10px }
.why-card h4 { margin-bottom:6px }
.why-card .muted { color:var(--gray);font-size:0.95rem }

/* Enhanced CTA */
.enhanced-cta { background: linear-gradient(90deg, rgba(26,95,122,0.95), rgba(87,204,153,0.95)); color: white; padding: 60px 0; border-radius: 12px; margin-top: 30px }
.enhanced-cta .muted { opacity: 0.95 }

/* Homepage staggered reveal */
.stagger-reveal { overflow: visible; }
.stagger-reveal .stagger-item { opacity: 0; transform: translateY(14px) scale(0.995); transition: all 520ms cubic-bezier(.2,.9,.2,1); }
.stagger-reveal.in-view .stagger-item { opacity:1; transform: translateY(0) scale(1); }
.stagger-reveal .stagger-item[data-delay] { transition-delay: var(--delay, 0ms); }

/* Small responsive tweaks */
@media (max-width: 768px) {
    .timeline-item { grid-template-columns: 56px 1fr; }
    .timeline-step { display: none; }
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 10000;
    border-radius: 6px;
    transition: top 0.18s ease;
}
.skip-link:focus {
    top: 16px;
}

/* Focus outlines for keyboard users */
:focus {
    outline: 3px solid rgba(26,95,122,0.22);
    outline-offset: 3px;
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .stagger-reveal .stagger-item,
    .animate-on-scroll { transition: none !important; animation: none !important; }
}

.circular-shape {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #e53e3e 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    color: white;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
}

.circular-shape:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.4);
}

/* بطاقة متحركة */
.card-floating {
    position: relative;
    width: 100%;
    height: 450px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-shape {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    color: white;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 15px 35px rgba(56, 161, 105, 0.3);
}

.floating-shape:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(56, 161, 105, 0.4);
}

/* تفاصيل البطاقات */
.card-details {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
    pointer-events: none;
}

.service-card-creative:hover .card-details {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.service-detailed-img {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-detailed-content {
    padding: 20px;
}

.service-category {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-detailed-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-detailed-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-features-detailed ul {
    list-style: none;
    margin-bottom: 20px;
}

.service-features-detailed li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.service-features-detailed i {
    color: var(--secondary);
    margin-left: 10px;
    font-size: 12px;
}

.service-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* عناصر تفاعلية إضافية */
.interactive-elements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.fun-fact,
.service-guarantee,
.customer-rating {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.fun-fact:hover,
.service-guarantee:hover,
.customer-rating:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.fact-icon,
.guarantee-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
}

.fact-content h4,
.guarantee-content h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.fact-content p,
.guarantee-content p {
    color: var(--gray);
    line-height: 1.6;
}

.rating-stars {
    color: #ffd700;
    font-size: 24px;
    margin-bottom: 15px;
}

.rating-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.rating-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* نجوم متحركة */
.floating-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: floatStar 6s linear infinite;
    pointer-events: none;
}

@keyframes floatStar {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* قسم لماذا تختارنا */
.why-us {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(87, 204, 153, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--secondary);
}

.feature h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature p {
    color: var(--gray);
}

/* قسم الإحصائيات */
.stats {
    background: linear-gradient(rgba(26, 95, 122, 0.9), rgba(26, 95, 122, 0.9)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.stat p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* قسم المدونة */
.blog-preview {
    background-color: white;
    padding: 100px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
}

.blog-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.blog-img {
    height: 300px;
    width: 100%;
    min-width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #e0e0e0;
    background-attachment: scroll;
    transition: transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background-color: rgba(87, 204, 153, 0.1);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-content h3 a:hover {
    color: var(--secondary);
}

.blog-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--secondary);
}

/* نموذج الحجز */
.booking-form {
    background: linear-gradient(rgba(26, 95, 122, 0.05), rgba(26, 95, 122, 0.05));
    padding: 100px 0;
}

.form-container {
    background-color: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.form-container h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.form-container p {
    color: var(--gray);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(87, 204, 153, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* الفوتر */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-col p {
    color: #aaa;
    margin: 15px 0;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.footer-col .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col .contact-info i {
    color: var(--secondary);
    margin-top: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

/* التجاوبية */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .services-grid,
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .services-showcase {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .service-card-creative {
        height: 400px;
    }
    
    .card-hexagon,
    .card-rotating,
    .card-wave,
    .card-circular,
    .card-floating {
        height: 400px;
    }
    
    .interactive-elements {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.5s ease;
        box-shadow: var(--shadow-heavy);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .floating-contact {
        bottom: 20px;
        left: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        padding: 0;
        text-align: center;
    }
    
    .achievements {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 30px auto 0;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
    }
    
    .services-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card-creative,
    .card-hexagon,
    .card-rotating,
    .card-wave,
    .card-circular,
    .card-floating {
        height: 350px;
    }
    
    .service-icon-large {
        font-size: 3rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0;
        min-height: auto;
    }
    
    .services-grid,
    .blog-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        width: 95%;
    }
}

/* Ensure inline <img> fill the image containers and preserve cover behavior */
.blog-img img,
.service-img img,
.service-detailed-img img,
.image-container img,
.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fallback: if picture/img not loaded, keep placeholder color */
.blog-img:empty,
.service-img:empty {
    background-color: #e0e0e0;
}