:root {
    --primary-white: #ffffff;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --mid-gray: #e2e8f0;
    --dark-gray: #94a3b8;
    --gray: #64748b;
    --text-dark: #1e293b;
    --text-light: #475569;
    --accent-blue: #1e40af;
    --bright-blue: #2563eb;
    --primary-dark: #1e3a8a;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.25);
    --shadow-2xl: 0 20px 40px rgba(0, 0, 0, 0.3);
    --gradient-white: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    --gradient-blue: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    --gradient-contrast: linear-gradient(135deg, #ffffff 0%, #1e40af 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--gradient-white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Mobile menu open: prevent background scroll */
body.nav-open {
    overflow: hidden;
}

body[dir="ltr"] {
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--accent-blue);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    gap: 2rem;
}

/* Allow header to wrap nicely on small screens */
@media (max-width: 768px) {
    .header-content {
        /* Switch to grid so the header stays one clean row on mobile */
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0;
    }

    .logo {
        min-width: 0;
        gap: 0.5rem;
    }

    .logo-text {
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-actions {
        justify-self: end;
        gap: 0.6rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    color: var(--accent-blue);
}

.logo i {
    font-size: 2rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.logo:hover i {
    color: var(--bright-blue);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-list a:hover {
    color: var(--accent-blue);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: inherit;
    text-decoration: none;
    border-radius: 10px;
}

.header-cart:hover {
    background: rgba(30, 64, 175, 0.08);
}

.header-cart-count {
    position: absolute;
    top: 2px;
    inset-inline-start: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    background: #ef4444;
    color: #fff;
    border-radius: 999px;
}

.cart-flash {
    margin-bottom: 1rem;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
}

.cart-flash.ok {
    background: #dcfce7;
    color: #166534;
}

.cart-flash.err {
    background: #fee2e2;
    color: #991b1b;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
    background-color: var(--light-gray);
    padding: 0.25rem;
    border-radius: 8px;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: none;
    background-color: transparent;
    color: var(--gray);
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: var(--accent-blue);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    background-color: rgba(30, 64, 175, 0.1);
    color: var(--accent-blue);
}

.call-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    background: var(--gradient-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--accent-blue);
    font-size: 0.95rem;
}

.call-btn i {
    font-size: 0.95rem;
}

.call-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.call-btn:hover::before {
    left: 100%;
}

.call-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.5);
    border-color: var(--bright-blue);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--accent-blue);
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        /* Better touch target on phones */
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: rgba(30, 64, 175, 0.08);
    }

    .mobile-menu-toggle:active {
        background: rgba(30, 64, 175, 0.14);
    }
}

.hero {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1545060894-2cf64f2a9b6d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform, background-position;
    animation: heroPanZoom 28s ease-in-out infinite alternate;
}

.stats-strip {
    background: var(--primary-white);
    border-top: 2px solid var(--mid-gray);
    border-bottom: 2px solid var(--mid-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2.5rem 0;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

.stat {
    background: var(--light-gray);
    border: 1px solid var(--mid-gray);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
    background: var(--primary-white);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-blue);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
}

.testimonials {
    background: var(--primary-white);
    border-top: 2px solid var(--mid-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--light-gray);
    border: 1px solid var(--mid-gray);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-blue);
    background: var(--primary-white);
}

.testimonial-quote {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--mid-gray);
    font-size: 1rem;
    opacity: 0.7;
}

body[dir="rtl"] .testimonial-quote {
    left: auto;
    right: 12px;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-blue);
    display: grid;
    place-items: center;
    color: var(--white);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.3);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 4rem 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.03em;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    font-weight: 400;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Better fluid type on all devices */
.hero-title {
    font-size: clamp(1.6rem, 4.8vw, 4rem);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.4vw, 1.5rem);
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }
    
    .hero-background {
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

.hero-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 4;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) scale(1.1);
    border-color: var(--bright-blue);
}

.hero-arrow i {
    font-size: 1.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.hero-arrow:hover i {
    color: var(--bright-blue);
    transform: translateX(-3px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
    font-weight: 800;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-blue);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.5);
    border-color: var(--bright-blue);
}

.btn-secondary {
    background: rgba(30, 64, 175, 0.1);
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    backdrop-filter: blur(20px);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

.btn-secondary:hover {
    background: var(--gradient-blue);
    color: var(--white);
    border-color: var(--bright-blue);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.btn-light {
    background: var(--gradient-blue);
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
    position: relative;
    z-index: 1;
    border: 2px solid var(--accent-blue);
}

.btn-light:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.5);
    border-color: var(--bright-blue);
}

.btn-block {
    width: 100%;
}

section {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3.25rem 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2.5rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.03em;
}

.section-title {
    font-size: clamp(1.4rem, 4vw, 3rem);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 1.5rem;
}

.services {
    background: var(--light-gray);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--primary-white);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid var(--mid-gray);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
    background: var(--primary-white);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-blue);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid var(--accent-blue);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.5);
    border-color: var(--bright-blue);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--accent-blue);
}

.item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f766e;
    margin: -0.25rem 0 0.75rem;
}

.item-price--muted {
    color: var(--gray);
    font-weight: 600;
    font-size: 1.05rem;
}

.service-description {
    color: var(--text-light);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    background: var(--primary-white);
    backdrop-filter: blur(15px);
    border: 1px solid var(--mid-gray);
}

.feature-card:hover {
    background: var(--primary-white);
    border-color: var(--accent-blue);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature-card--with-image {
    padding: 0 0 2rem;
    overflow: hidden;
}

.feature-card-image {
    width: 100%;
    height: 180px;
    margin: 0 0 1.25rem;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-card--with-image .feature-title,
.feature-card--with-image .feature-description {
    padding: 0 1.75rem;
}

.feature-card--with-image .feature-title {
    margin-bottom: 0.75rem;
}

.feature-icon {
    width: 85px;
    height: 85px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: var(--accent-blue);
    transition: all 0.4s ease;
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-blue);
    color: var(--white);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 15px 30px rgba(30, 64, 175, 0.4);
    border-color: var(--bright-blue);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-light);
}

.projects {
    background: var(--mid-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--primary-white);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--mid-gray);
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.project-image {
    height: 240px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-bottom: 2px solid var(--accent-blue);
}

.project-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-light);
}

.cta {
    background: var(--gradient-white);
    color: var(--text-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 40%, rgba(30, 64, 175, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 60%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    animation: ctaBackground 20s ease infinite;
}

@keyframes ctaBackground {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    color: var(--text-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact {
    background: var(--light-gray);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 65px;
    height: 65px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-blue);
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.contact-item:hover .contact-icon {
    background: var(--gradient-blue);
    color: var(--white);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.4);
    border-color: var(--bright-blue);
}

.contact-details h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1.125rem;
    border: 2px solid var(--mid-gray);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--primary-white);
    backdrop-filter: blur(15px);
    color: var(--text-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1), 0 4px 15px rgba(30, 64, 175, 0.2);
    transform: translateY(-2px);
    background: var(--primary-white);
}

.form-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--primary-white);
    padding: 0 0.25rem;
    backdrop-filter: blur(15px);
}

body[dir="ltr"] .form-label {
    right: auto;
    left: 1rem;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -0.5rem;
    font-size: 0.875rem;
    color: var(--accent-blue);
    background: var(--primary-white);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--accent-blue);
}

.footer {
    background: linear-gradient(180deg, var(--text-dark) 0%, var(--primary-dark) 50%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    position: relative;
    border-top: 2px solid var(--accent-blue);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bright-blue), transparent);
}

.footer .logo,
.footer .logo .logo-text,
.footer .logo span {
    color: var(--white) !important;
}

.footer .logo i {
    color: rgba(255, 255, 255, 0.95) !important;
}

.footer .logo:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer .logo:hover i {
    color: var(--white) !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-section {
    min-width: 0;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-description {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    font-weight: 600;
    padding-inline-start: 4px;
}

.footer .social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.social-link:hover {
    background: var(--primary-white);
    color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--bright-blue);
}

.footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer .contact-item i {
    color: var(--bright-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer .social-links {
        justify-content: center;
    }

    .footer .logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 3rem 0 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section:first-child {
        grid-column: 1;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer .contact-info {
        align-items: center;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle pan/zoom animation for hero backgrounds */
@keyframes heroPanZoom {
    0% {
        transform: scale(1) translate3d(0, 0, 0);
        background-position: 50% 50%;
    }
    50% {
        transform: scale(1.06) translate3d(0, 0, 0);
        background-position: 53% 47%;
    }
    100% {
        transform: scale(1.1) translate3d(0, 0, 0);
        background-position: 56% 44%;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-background,
    .about-hero-background,
    .services-hero-background,
    .projects-hero-background,
    .service-hero-background,
    .project-hero-background,
    .contact-hero-background {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100dvh;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-lg);
        padding: 5.25rem 1rem 1.25rem;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .nav-list a {
        display: block;
        padding: 0.9rem 1rem;
        border-radius: 12px;
        background: rgba(30, 64, 175, 0.06);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .call-btn span {
        display: none;
    }

    .call-btn {
        padding: 0.5rem 0.6rem;
        border-radius: 10px;
        box-shadow: 0 3px 14px rgba(30, 64, 175, 0.35);
    }

    .call-btn i {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .services-grid,
    .features-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-content {
        gap: 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }
}

/* Extra mobile polish */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .language-switcher {
        padding: 0.2rem;
    }

    .lang-btn {
        padding: 0.45rem 0.75rem;
    }

    .call-btn {
        padding: 0.75rem 0.9rem;
        border-radius: 12px;
    }

    .hero {
        min-height: 520px;
    }

    .hero-content {
        padding: 3rem 0 4.5rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .service-card,
    .feature-card {
        padding: 1.5rem;
    }

    .project-info {
        padding: 1.25rem;
    }

    .map-container iframe {
        height: 280px;
    }
}

body[dir="ltr"] .form-label {
    right: auto;
    left: 1rem;
}

body[dir="rtl"] .form-label {
    left: auto;
    right: 1rem;
}

/* About Page Styles */
.about-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform, background-position;
    animation: heroPanZoom 28s ease-in-out infinite alternate;
}

.about-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 4rem 0;
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.03em;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.about-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    font-weight: 400;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Introduction */
.about-intro {
    padding: 5rem 0;
    background: var(--light-gray);
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-intro-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.about-intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-card {
    width: 300px;
    height: 300px;
    background: var(--gradient-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.image-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-card:hover::before {
    opacity: 1;
}

.image-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.3);
}

/* Mission Section */
.about-mission {
    padding: 5rem 0;
    background: var(--primary-white);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.mission-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: var(--light-gray);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--mid-gray);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mission-card:hover::before {
    transform: scaleX(1);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background: var(--primary-white);
    border-color: var(--accent-blue);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    transition: all 0.4s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.mission-card:hover h3 {
    color: var(--accent-blue);
}

.mission-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Team Section */
.about-team {
    padding: 5rem 0;
    background: var(--light-gray);
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--primary-white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--primary-white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--mid-gray);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.member-image {
    width: 120px;
    height: 120px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    transition: all 0.4s ease;
}

.team-member:hover .member-image {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

.team-member h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    width: 35px;
    height: 35px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: var(--gradient-blue);
    color: var(--white);
    transform: translateY(-3px);
}

/* Achievements Section */
.about-achievements {
    padding: 5rem 0;
    background: var(--primary-white);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.achievement-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light-gray);
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 1px solid var(--mid-gray);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background: var(--primary-white);
    border-color: var(--accent-blue);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    transition: all 0.4s ease;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

.achievement-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.achievement-card:hover h3 {
    color: var(--accent-blue);
}

.achievement-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* CTA Section */
.about-cta {
    padding: 5rem 0;
    background: var(--primary-white);
    color: var(--text-dark);
    text-align: center;
    border-top: 2px solid var(--mid-gray);
    border-bottom: 2px solid var(--mid-gray);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Page Responsive Design */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-intro-text h2 {
        font-size: 2rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        min-height: 400px;
    }
    
    .about-hero-title {
        font-size: 2rem;
    }
    
    .about-hero-subtitle {
        font-size: 1rem;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Projects Page Styles */
.projects-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.projects-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1486406146927-c583a9ce5b19?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform, background-position;
    animation: heroPanZoom 28s ease-in-out infinite alternate;
}

.projects-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.projects-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.projects-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 4rem 0;
}

.projects-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.03em;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.projects-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    font-weight: 400;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Projects Introduction */
.projects-intro {
    padding: 5rem 0;
    background: var(--light-gray);
}

.projects-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.projects-stats .stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--primary-white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.projects-stats .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.projects-stats .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.projects-stats .stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Projects Showcase */
.projects-showcase {
    padding: 5rem 0;
    background: var(--primary-white);
}

.projects-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-blue);
    background: var(--primary-white);
    color: var(--text-dark);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    z-index: 2;
    min-width: 100px;
    text-align: center;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    transition: left 0.4s ease;
    z-index: -1;
    border-radius: 25px;
}

.filter-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
    border-color: var(--accent-blue);
}

.filter-btn:hover::before {
    left: 0;
}

.filter-btn.active {
    background: var(--gradient-blue);
    color: var(--white);
    border-color: var(--bright-blue);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.filter-btn.active::before {
    left: 0;
}

/* Enhanced icons for main categories */
.filter-btn[data-filter="all"]::after {
    content: '🏠';
    margin-right: 0.5rem;
    font-size: 1rem;
    animation: bounce 2s infinite;
}

.filter-btn[data-filter="office"]::after {
    content: '🏢';
    margin-right: 0.5rem;
    font-size: 1rem;
    animation: pulse 2s infinite;
}

.filter-btn[data-filter="clinic"]::after {
    content: '🏥';
    margin-right: 0.5rem;
    font-size: 1rem;
    animation: rotate 3s linear infinite;
}

.filter-btn[data-filter="shop"]::after {
    content: '🏪';
    margin-right: 0.5rem;
    font-size: 1rem;
}

.filter-btn[data-filter="company"]::after {
    content: '🏭';
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Special styling for main categories */
.filter-btn[data-filter="all"],
.filter-btn[data-filter="office"],
.filter-btn[data-filter="clinic"] {
    border-color: var(--accent-blue);
    font-weight: 700;
}

.filter-btn[data-filter="all"]:hover,
.filter-btn[data-filter="office"]:hover,
.filter-btn[data-filter="clinic"]:hover {
    border-color: var(--bright-blue);
}

.filter-btn[data-filter="all"].active,
.filter-btn[data-filter="office"].active,
.filter-btn[data-filter="clinic"].active {
    background: var(--gradient-blue);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

/* Animations for icons */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-item {
    background: var(--light-gray);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--mid-gray);
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.project-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--accent-blue);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-btn:hover {
    background: var(--gradient-blue);
    color: var(--white);
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.project-category {
    color: var(--accent-blue);
    font-weight: 600;
}

.project-date {
    color: var(--text-light);
}

/* Projects CTA */
.projects-cta {
    padding: 5rem 0;
    background: var(--primary-white);
    color: var(--text-dark);
    text-align: center;
    border-top: 2px solid var(--mid-gray);
    border-bottom: 2px solid var(--mid-gray);
}

.projects-cta .cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.projects-cta .cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Projects Page Responsive Design */
@media (max-width: 768px) {
    .projects-hero-title {
        font-size: 2.5rem;
    }
    
    .projects-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .projects-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-filter {
        gap: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        min-width: 90px;
    }
    
    .filter-btn::after {
        margin-right: 0.4rem;
        font-size: 0.9rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-cta .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .projects-hero {
        min-height: 400px;
    }
    
    .projects-hero-title {
        font-size: 2rem;
    }
    
    .projects-hero-subtitle {
        font-size: 1rem;
    }
    
    .projects-stats {
        grid-template-columns: 1fr;
    }
    
    .projects-stats .stat-number {
        font-size: 2.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 80px;
    }
    
    .filter-btn::after {
        margin-right: 0.3rem;
        font-size: 0.85rem;
    }
}

body[dir="ltr"] .form-label {
    left: auto;
    right: 1rem;
}

/* Service Detail Page Styles */
.service-detail-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.service-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform, background-position;
    animation: heroPanZoom 28s ease-in-out infinite alternate;
}

.service-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.service-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 4rem 0;
}

.service-hero-icon {
    width: 120px;
    height: 120px;
    background: var(--gradient-blue);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: var(--white);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.03em;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.service-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    font-weight: 400;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.service-hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.service-hero-meta i {
    color: var(--bright-blue);
}

/* Service Overview */
.service-overview {
    padding: 5rem 0;
    background: var(--light-gray);
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.overview-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.overview-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    background: var(--primary-white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--mid-gray);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.highlight-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Service Features */
.service-features {
    padding: 5rem 0;
    background: var(--primary-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--mid-gray);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
    background: var(--primary-white);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.5);
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-item:hover h3 {
    color: var(--accent-blue);
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Service Process */
.service-process {
    padding: 5rem 0;
    background: var(--light-gray);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
    transition: all 0.4s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.5);
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.process-step:hover .step-content h3 {
    color: var(--accent-blue);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Service Gallery */
.service-gallery {
    padding: 5rem 0;
    background: var(--primary-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    aspect-ratio: 16/10;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Service Pricing */
.service-pricing {
    padding: 5rem 0;
    background: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--primary-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--mid-gray);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.pricing-card.professional {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card.professional::before {
    content: 'الأكثر طلباً';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--gradient-blue);
    color: var(--white);
    padding: 0.5rem 3rem;
    font-size: 0.8rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1rem;
    color: var(--accent-blue);
    font-weight: 600;
}

.amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
}

.period {
    font-size: 1.2rem;
    color: var(--accent-blue);
    font-weight: 700;
}

.pricing-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--accent-blue);
    font-size: 1rem;
}

.pricing-features .fa-times {
    color: var(--text-light);
}

.pricing-btn {
    width: calc(100% - 4rem);
    margin: 0 2rem 2rem;
    padding: 1rem;
}

/* Service FAQ */
.service-faq {
    padding: 5rem 0;
    background: var(--primary-white);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--light-gray);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--mid-gray);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-item.active {
    background: var(--primary-white);
    border-color: var(--accent-blue);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(30, 64, 175, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    color: var(--accent-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Service CTA */
.service-cta {
    padding: 5rem 0;
    background: var(--primary-white);
    color: var(--text-dark);
    text-align: center;
    border-top: 2px solid var(--mid-gray);
    border-bottom: 2px solid var(--mid-gray);
}

.service-cta .cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-cta .cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Service Detail Responsive Design */
@media (max-width: 768px) {
    .service-hero-title {
        font-size: 2rem;
    }
    
    .service-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .service-hero-meta {
        gap: 1rem;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.professional {
        transform: none;
    }
    
    .service-cta .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .service-detail-hero {
        min-height: 300px;
    }
    
    .service-hero-title {
        font-size: 1.5rem;
    }
    
    .service-hero-subtitle {
        font-size: 1rem;
    }
    
    .service-hero-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-hero-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform, background-position;
    animation: heroPanZoom 28s ease-in-out infinite alternate;
}

.contact-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 4rem 0;
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.03em;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.contact-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    font-weight: 400;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Contact Info Section */
.contact-info-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-card {
    background: var(--primary-white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--mid-gray);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.5);
}

.contact-info-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-content h3 {
    color: var(--accent-blue);
}

.contact-info-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info-content small {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background: var(--primary-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-container {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 0;
    background: var(--primary-white);
    border: 2px solid var(--mid-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.form-label {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-white);
    padding: 0 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-select:focus + .form-label,
.form-select:valid + .form-label,
.form-textarea:focus + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
    top: 0;
    font-size: 0.8rem;
    color: var(--accent-blue);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    padding-left: 2.5rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-blue);
}

.checkbox-label {
    color: var(--text-light);
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-block {
    width: 100%;
}

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-details-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--mid-gray);
}

.contact-details-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-reasons {
    list-style: none;
    padding: 0;
}

.contact-reasons li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-reasons li:last-child {
    border-bottom: none;
}

.contact-reasons i {
    color: var(--accent-blue);
    font-size: 1rem;
}

.working-hours {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span:first-child {
    color: var(--text-light);
}

.hours-item span:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

/* Contact Map */
.contact-map {
    padding: 5rem 0;
    background: var(--light-gray);
}

.map-container {
    margin-top: 3rem;
}

.map-placeholder {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--mid-gray);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.map-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-blue);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: var(--white);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

.map-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.map-placeholder p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Contact FAQ */
.contact-faq {
    padding: 5rem 0;
    background: var(--primary-white);
}

/* Contact CTA */
.contact-cta {
    padding: 5rem 0;
    background: var(--primary-white);
    color: var(--text-dark);
    text-align: center;
    border-top: 2px solid var(--mid-gray);
    border-bottom: 2px solid var(--mid-gray);
}

.contact-cta .cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-cta .cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Contact Page Responsive Design */
@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .map-placeholder {
        padding: 2rem;
        min-height: 300px;
    }
    
    .map-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .contact-cta .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: 400px;
    }
    
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-info-card {
        padding: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-details-card {
        padding: 1.5rem;
    }
    
    .map-placeholder {
        padding: 1.5rem;
        min-height: 250px;
    }
    
    .map-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Services Page Styles */
.services-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.services-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform, background-position;
    animation: heroPanZoom 28s ease-in-out infinite alternate;
}

.services-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.services-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 4rem 0;
}

.services-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.03em;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.services-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    font-weight: 400;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Services Introduction */
.services-intro {
    padding: 5rem 0;
    background: var(--light-gray);
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.intro-feature {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--primary-white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--mid-gray);
}

.intro-feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.intro-feature--with-image {
    padding: 0 0 2rem;
    overflow: hidden;
}

.intro-feature-image {
    width: 100%;
    height: 180px;
    margin: 0 0 1.25rem;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.intro-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.intro-feature--with-image h3,
.intro-feature--with-image p {
    padding: 0 1.25rem;
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
    transition: all 0.4s ease;
}

.intro-feature:hover .intro-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.5);
}

.intro-feature h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.intro-feature:hover h3 {
    color: var(--accent-blue);
}

.intro-feature p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services List */
.services-list {
    padding: 5rem 0;
    background: var(--primary-white);
}

.services-categories {
    margin-top: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-blue);
    background: transparent;
    color: var(--accent-blue);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover,
.category-tab.active {
    background: var(--gradient-blue);
    color: var(--white);
    border-color: var(--bright-blue);
    transform: translateY(-2px);
}

.services-list .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .services-list .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-list .services-grid {
        grid-template-columns: 1fr;
    }
}

/* بطاقات المتجر: لا تقصّ الأزرار والأسعار */
.services-list .service-card {
    overflow: visible;
    position: relative;
}

/* بطاقة منتج (أجهزة / إكسسوارات) — مظهر أوضح */
.services-list .service-card--product {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e8ecf4;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 28px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.services-list .service-card--product:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow:
        0 4px 12px rgba(30, 64, 175, 0.08),
        0 22px 48px rgba(15, 23, 42, 0.1);
}

.services-list .service-card--product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e40af, #3b82f6, #60a5fa);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 4;
    pointer-events: none;
}

.services-list .service-card--product:hover::before {
    opacity: 1;
}

.service-card-media {
    position: relative;
    background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 100%);
}

.service-card-image-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-list .service-card--product:hover .service-card-img {
    transform: scale(1.06);
}

.service-card-media-placeholder {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.services-list .service-card--product .service-icon--card {
    width: 88px;
    height: 88px;
    margin: 0;
    border-radius: 22px;
    font-size: 2rem;
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.28);
}

.service-card-body {
    padding: 1.2rem 1.35rem 0.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.services-list .service-card--product .service-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.55rem;
    color: #0f172a;
}

.services-list .service-card--product .item-price--pill {
    display: inline-block;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
    margin-bottom: 0.65rem;
}

.services-list .service-card--product .item-price--pill.item-price--muted {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
    font-weight: 700;
}

.services-list .service-card--product .service-description {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.services-list .service-card--product .service-footer--shop {
    padding: 1rem 1.2rem 1.3rem;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    gap: 0.6rem;
}

.services-list .service-card--product .service-btn {
    border-radius: 12px;
    font-weight: 700;
    padding: 0.65rem 1.1rem;
    font-size: 0.88rem;
}

.services-list .service-card--product .card-add-cart-btn {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.services-list .service-card--product .card-add-cart-btn:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* أيقونة السلة على بطاقة المنتج */
.service-card-cart-link {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--accent-blue);
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.service-card-cart-link:hover {
    background: #ffffff;
    color: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.service-card-cart-link .header-cart-count {
    top: -3px;
    inset-inline-start: -3px;
    min-width: 17px;
    height: 17px;
    font-size: 10px;
    line-height: 17px;
}

.service-card {
    background: var(--light-gray);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--mid-gray);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.service-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.5);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--accent-blue);
}

.service-content {
    padding: 1.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-features li {
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.service-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.service-footer--shop {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.card-add-cart-form {
    margin: 0;
    display: inline-flex;
}

.card-add-cart-btn {
    white-space: nowrap;
}

.service-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Services Process */
.services-process {
    padding: 5rem 0;
    background: var(--light-gray);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
    transition: all 0.4s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.5);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.process-step:hover .step-content h3 {
    color: var(--accent-blue);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services CTA */
.services-cta {
    padding: 5rem 0;
    background: var(--primary-white);
    color: var(--text-dark);
    text-align: center;
    border-top: 2px solid var(--mid-gray);
    border-bottom: 2px solid var(--mid-gray);
}

.services-cta .cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.services-cta .cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Services Page Responsive Design */
@media (max-width: 768px) {
    .services-hero-title {
        font-size: 2.5rem;
    }
    
    .services-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .intro-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .category-tabs {
        gap: 0.5rem;
    }
    
    .category-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .services-cta .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-hero {
        min-height: 400px;
    }
    
    .services-hero-title {
        font-size: 2rem;
    }
    
    .services-hero-subtitle {
        font-size: 1rem;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        justify-content: center;
    }
    
    .service-header {
        padding: 1.5rem 1.5rem 0.75rem;
    }
    
    .service-content {
        padding: 1rem 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
}

/* Project Detail Page Styles */
.project-detail-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.project-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform, background-position;
    animation: heroPanZoom 28s ease-in-out infinite alternate;
}

.project-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.project-hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    padding: 4rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb .current {
    color: var(--white);
    font-weight: 600;
}

.project-hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.03em;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.project-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    font-weight: 400;
    line-height: 1.8;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px;
}

.project-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.project-meta i {
    color: var(--bright-blue);
}

/* Project Gallery */
.project-gallery {
    padding: 5rem 0;
    background: var(--light-gray);
}

.gallery-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/10;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.thumbnail {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/10;
    opacity: 0.7;
    border: 2px solid transparent;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

/* Project Details */
.project-details {
    padding: 5rem 0;
    background: var(--primary-white);
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-white);
    border: 1px solid var(--accent-blue);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-light);
    font-weight: 500;
}

.description-content {
    line-height: 1.8;
    color: var(--text-light);
}

.description-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.project-features {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.project-features h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.project-features ul {
    list-style: none;
    padding: 0;
}

.project-features li {
    padding: 0.75rem 0;
    padding-right: 2rem;
    position: relative;
    color: var(--text-light);
    font-weight: 500;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Project Services */
.project-services {
    padding: 5rem 0;
    background: var(--light-gray);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--primary-white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--mid-gray);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-info p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Project CTA */
.project-cta {
    padding: 5rem 0;
    background: var(--primary-white);
    color: var(--text-dark);
    text-align: center;
    border-top: 2px solid var(--mid-gray);
    border-bottom: 2px solid var(--mid-gray);
}

.project-cta .cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-cta .cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Project Detail Responsive Design */
@media (max-width: 768px) {
    .project-hero-title {
        font-size: 2rem;
    }
    
    .project-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .project-meta {
        gap: 1rem;
    }
    
    .gallery-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-thumbnails {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .project-cta .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .project-detail-hero {
        min-height: 300px;
    }
    
    .project-hero-title {
        font-size: 1.5rem;
    }
    
    .project-hero-subtitle {
        font-size: 1rem;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
}
