:root {
    --primary: #1ab4ee;
    --primary1: #1ab4ee;
     /* --primary1:#675ca0; */
    --secondary: #675ca0;
    --accent: #eb4d4b;
    --light: #f7f9fc;
    --dark: #1e272e;
    --gradient:linear-gradient(135deg, #a79cdd 0%, #675ca0 100%);
    --gradient-secondary: linear-gradient(135deg, #1ab4ee 0%, #675ca0 100%);
    --primary2: #675ca0;
     --gradient-secondary11: linear-gradient(135deg, #1ab4ee 0%, #675ca0 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.arabic-font {
    font-family: 'El Messiri', sans-serif;
}

/* Navigation */
.navbar {
    padding: 20px 0;
    /* background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); */
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); */
    transition: all 0.3s ease;
    opacity: 0;
}

.navbar.scrolled {
      background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.navbar-brand img {
    height: 70px;      /* جرّب 40–60 حسب ذوقك */
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--light) !important;
    margin: 0 10px;
    padding: 8px 15px !important;
    border-radius: 30px;
    transition: all 0.3s ease;
}
.navbar.scrolled .nav-link {
    color: var(--dark) !important;
}


.nav-link:hover,
.nav-link.active {
    background-color: var(--primary1);
    color: white !important;
    transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slider .slide.active {
    opacity: 1;
}

/* Overlay for better text visibility */
.hero-slider .slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Slider Controls */
.hero-section .slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-section .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-section .slider-dot.active {
    background: var(--gradient-secondary11);
}

/* Slider Navigation Arrows */
.hero-section .slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    transform: translateY(-50%);
}

.hero-section .slider-arrow {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Ensure content is above slider */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .slider-nav {
        padding: 0 10px;
    }
    
    .hero-section .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .hero-section .slider-dot {
        width: 10px;
        height: 10px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary);
}

.hero-arabic {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.cta-button {
    background: var(--gradient-secondary11);
    color: var(--dark);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    color: var(--dark);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-padding {
    padding: 100px 0;
}

/* About Section */
.about-section {
    background-color: white;
    position: relative;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: scale(1.03);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-box {
    background: var(--gradient-secondary11);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 15px 30px rgba(10, 61, 98, 0.2);
}

/* Services Cards */
.service-card {
    background: 
        linear-gradient(white, white) padding-box,
        linear-gradient(45deg, var(--primary), var(--secondary)) border-box;
    
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center; 
    height: 100%;
    border: 3px solid transparent;
    padding: 15px;
    position: relative; /* مهم للـ z-index */
}

.service-card:hover {
    transform: scale(1.11) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    z-index: 10;
    
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary11);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

/* Portfolio Slider */
.portfolio-section {
    background-color: #f9f9f9;
}

.portfolio-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.portfolio-slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.portfolio-slide {
    min-width: 100%;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .portfolio-slide {
        min-width: 50%;
    }
}

@media (min-width: 992px) {
    .portfolio-slide {
        min-width: 33.333%;
    }
}

.portfolio-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.portfolio-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(10, 61, 98, 0.9), transparent);
    color: white;
    transform: translateY(0);
    transition: all 0.5s ease;
}

/* .portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
} */

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-section .slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.portfolio-section .slider-btn {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary11);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin: 0 10px;
}

.portfolio-section .slider-btn:hover {
    background: var(--gradient-secondary11);
    color: white;
    transform: scale(1.1);
}

.portfolio-section .slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.portfolio-section .slider-dot {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-section .slider-dot.active {
    background: var(--gradient-secondary11);
    transform: scale(1.2);
}

/* Values */
.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    z-index: 2;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: -1;
}

/* Testimonials */
.testimonial-section {
    background: var(--gradient);
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

/* Contact */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-control {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.1);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    /* padding: 80px 0 30px; */
}

.footer-logo img {
    height: 100px;      /* جرّب 40–60 حسب ذوقك */
    width: auto;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-5px);
}

.copyright {
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    padding-top: 20px;
    margin-top: 50px;
    text-align: center;
    color: #aaa;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle,
    .hero-arabic {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle,
    .hero-arabic {
        font-size: 1.4rem;
    }

    .section-padding {
        padding: 70px 0;
    }
}

.typing::after {
  opacity: 0; /* نخفي العنصر قبل الكتابة */
  transition: opacity 0.3s ease; 
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}
.about-image img {
    border: 3px solid transparent; /* بوردر شفاف */
    padding: 15px; /* المسافة الداخلية */
    background: 
        linear-gradient(white, white) padding-box,
        linear-gradient(45deg, var(--primary), var(--secondary)) border-box;
    border-radius: 12px;
}



/* Asymmetrical Videos Section */
.asymmetrical-videos-section {
    background: #f8f8f8;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.asym-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.asym-left {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #e0e0e0;
}

.asym-right {
    padding: 60px;
    display: grid;
    grid-template-rows: 1fr 1fr auto;
    gap: 30px;
}

/* Header */
.asym-header {
    margin-bottom: 60px;
}

.asym-title {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 0.9;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.asym-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 300px;
}

/* Video Items */
.asym-video-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.asym-left .asym-video-item {
    aspect-ratio: 4/5;
}

.asym-video-item.vertical {
    aspect-ratio: 4/3;
}

.asym-video-item.horizontal {
    aspect-ratio: 16/9;
}

.asym-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.asym-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.asym-video-item:hover .asym-video {
    transform: scale(1.05);
}

.asym-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

/* .asym-video-item:hover .asym-play-btn {
    opacity: 1;
} */

.asym-play-btn:hover svg circle {
    fill: #fff;
    /* transform: scale(1.1); */
}

.asym-play-btn svg {
    transition: transform 0.3s ease;
}

.asym-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.asym-video-item:hover .asym-caption {
    transform: translateY(0);
}

.asym-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.asym-caption h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0;
}

/* CTA */
.asym-cta {
    padding: 30px;
    background: white;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.asym-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.asym-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.asym-btn:hover {
    background: #333;
    transform: translateY(-2px);
    color: white;
}

/* Modern Contact QR Section */
#contact .modern-contact-qr-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

#contact .section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    background: rgba(37, 99, 235, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
}

#contact .gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* QR Card */
#contact .qr-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    height: 100%;
}

#contact .qr-header {
    margin-bottom: 30px;
    text-align: center;
}

#contact .qr-header h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

#contact .qr-header p {
    color: #64748b;
    font-size: 1rem;
}

/* QR Display */
#contact .qr-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

#contact .qr-code-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

#contact .qr-code {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

#contact .qr-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(37, 99, 235, 0.05) 5px,
        rgba(37, 99, 235, 0.05) 10px
    );
}

#contact .qr-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 8px;
}

#contact .qr-logo-overlay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

#contact .qr-info {
    text-align: center;
    max-width: 300px;
}

#contact .qr-info h4 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

#contact .qr-info p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

#contact .qr-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

#contact .qr-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

#contact .qr-action-btn.download-qr {
    background: var(--primary);
    color: white;
}

#contact .qr-action-btn.share-qr {
    background: #f1f5f9;
    color: #475569;
}

#contact .qr-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* QR Variants */
#contact .qr-variants {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

#contact .qr-variant {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
    border: 2px solid transparent;
}

#contact .qr-variant:hover {
    background: #e2e8f0;
    transform: translateY(-3px);
}

#contact .qr-variant.active {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary);
}

#contact .variant-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
}

#contact .qr-variant.active .variant-icon {
    background: var(--primary);
    color: white;
}

#contact .qr-variant span {
    font-size: 12px;
    font-weight: 500;
    color: #475569;
}

#contact .qr-variant.active span {
    color: var(--primary);
    font-weight: 600;
}

/* Contact Info Grid */
#contact .contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    height: 100%;
}

#contact .contact-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

#contact .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

#contact .phone-card {
    border-left: 4px solid #22c55e;
}

#contact .email-card {
    border-left: 4px solid #3b82f6;
}

#contact .location-card {
    border-left: 4px solid #ef4444;
}

#contact .hours-card {
    border-left: 4px solid #f59e0b;
}

#contact .contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

#contact .phone-card .contact-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

#contact .email-card .contact-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

#contact .location-card .contact-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

#contact .hours-card .contact-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

#contact .contact-details {
    flex: 1;
}

#contact .contact-details h4 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

#contact .contact-number,
#contact .contact-email,
#contact .contact-address {
    color: #475569;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
}

#contact .contact-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#contact .contact-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: 6px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#contact .contact-action:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: translateY(-2px);
}

#contact .contact-action.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

#contact .contact-action.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
}

/* Business Hours List */
#contact .business-hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#contact .hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

#contact .hour-item:last-child {
    border-bottom: none;
}

#contact .hour-item span:first-child {
    color: #475569;
    font-weight: 500;
}

#contact .hour-time {
    color: var(--primary);
    font-weight: 600;
    background: rgba(37, 99, 235, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

/* Quick Actions */
#contact .quick-actions {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

#contact .action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

#contact .action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: #f8fafc;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #475569;
}

#contact .action-btn:hover {
    background: #e2e8f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#contact .action-btn i {
    font-size: 24px;
    margin-bottom: 5px;
}

#contact .action-btn[data-action="call"] i {
    color: #22c55e;
}

#contact .action-btn[data-action="whatsapp"] i {
    color: #25d366;
}

#contact .action-btn[data-action="email"] i {
    color: #3b82f6;
}

#contact .action-btn[data-action="directions"] i {
    color: #ef4444;
}

#contact .action-btn[data-action="save"] i {
    color: #8b5cf6;
}

#contact .action-btn span {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    #contact .qr-variants {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #contact .action-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    #contact .qr-display {
        flex-direction: column;
    }
    
    #contact .qr-info {
        text-align: center;
    }
    
    #contact .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    #contact .contact-actions {
        justify-content: center;
    }
    
    #contact .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    #contact .qr-code-wrapper {
        width: 180px;
        height: 180px;
    }
    
    #contact .qr-actions {
        flex-direction: column;
    }
    
    #contact .qr-variants {
        grid-template-columns: 1fr;
    }
    
    #contact .action-buttons {
        grid-template-columns: 1fr;
    }
}

/* ========== تحسينات للشاشات الصغيرة (Mobile Responsive) ========== */

/* تحسين عام للشاشات الصغيرة */
@media (max-width: 768px) {
    /* تحسين الهيدر */
    .navbar {
        padding: 15px 0;
    }
    
    .navbar-brand img {
        height: 50px; /* تصغير اللوجو */
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link {
        color: var(--dark) !important;
        margin: 5px 0;
        text-align: center;
        padding: 10px 20px !important;
    }
    
    .navbar-toggler {
        border: none;
        padding: 5px;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    /* تحسين الـ Hero Section */
    .hero-section {
        min-height: 90vh;
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-arabic {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .hero-content p.lead {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* تحسين أزرار السلايدر */
    .slider-nav {
        padding: 0 10px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-controls {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    /* تحسين العناوين */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    /* تحسين About Section */
    .about-section .row {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .highlight-box {
        padding: 20px;
        margin-top: 20px;
    }
    
    /* تحسين Services Cards */
    .service-card {
        margin-bottom: 20px;
        padding: 20px !important;
    }
    
    .service-card:hover {
        transform: scale(1.05) translateY(-5px);
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    /* تحسين Portfolio Slider */
    .portfolio-section .slider-controls {
        margin-top: 20px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .portfolio-slide {
        padding: 0 10px;
    }
    
    .portfolio-img {
        height: 250px;
    }
    
    .portfolio-overlay {
        padding: 20px;
    }
    
    .portfolio-section .slider-btn {
        width: 40px;
        height: 40px;
        margin: 0 5px;
    }
    
    /* تحسين Values Cards */
    .value-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .value-number {
        font-size: 2rem;
        top: 5px;
        right: 10px;
    }
    
    /* تحسين Asymmetrical Videos Section */
    .asym-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 40px 0;
    }
    
    .asym-left,
    .asym-right {
        padding: 30px 20px;
    }
    
    .asym-left {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 40px;
    }
    
    .asym-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .asym-subtitle {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .asym-video-item {
        margin-bottom: 20px;
    }
    
    .asym-left .asym-video-item {
        aspect-ratio: 16/9;
    }
    
    .asym-header {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .asym-caption {
        padding: 20px;
    }
    
    .asym-caption h3 {
        font-size: 1.2rem;
    }
    
    /* تحسين Contact Section */
    .modern-contact-qr-section .row {
        flex-direction: column-reverse; /* جعل قسم المعلومات يظهر أولاً */
    }
    
    .qr-card,
    .contact-info-grid {
        margin-bottom: 20px;
    }
    
    .qr-code-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .qr-header {
        margin-bottom: 20px;
    }
    
    .qr-header h3 {
        font-size: 1.3rem;
    }
    
    .contact-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .business-hours-list {
        text-align: left;
    }
    
    .hour-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .hour-time {
        align-self: flex-start;
    }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 576px) {
    /* تحسين الهيدر أكثر */
    .hero-section {
        min-height: 85vh;
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-arabic {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* تحسين الأزرار */
    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    /* تحسين النصوص */
    .lead {
        font-size: 0.95rem;
    }
    
    /* تحسين Service Cards */
    .service-card h4 {
        font-size: 1.1rem;
    }
    
    /* تحسين Portfolio */
    .portfolio-img {
        height: 200px;
    }
    
    .portfolio-overlay h4 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .portfolio-overlay p {
        font-size: 0.85rem;
    }
    
    /* تحسين Videos Section */
    .asym-title {
        font-size: 2rem;
    }
    
    .asym-caption h3 {
        font-size: 1rem;
    }
    
    .asym-play-btn svg {
        width: 40px;
        height: 40px;
    }
    
    /* تحسين Contact Section */
    .qr-code-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .qr-info h4 {
        font-size: 1.1rem;
    }
    
    .qr-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .qr-action-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* تحسين Footer */
    .copyright {
        font-size: 0.9rem;
        padding-top: 15px;
        margin-top: 30px;
    }
    
    .arabic-font {
        display: block;
        margin-top: 5px;
        font-size: 0.9rem;
    }
}

/* تحسينات للشاشات المتوسطة (Tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-arabic {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .service-card {
        margin-bottom: 25px;
    }
    
    .portfolio-slide {
        min-width: 50%;
    }
    
    .asym-title {
        font-size: 3.5rem;
    }
    
    .asym-grid {
        min-height: auto;
    }
    
    .asym-left,
    .asym-right {
        padding: 40px 30px;
    }
}

/* تحسينات للـ Typing Animation على الموبايل */
@media (max-width: 768px) {
    .typing {
        white-space: normal;
        overflow: visible;
        border-right: none;
    }
    
    .cta-button1 {
        display: block !important;
        text-align: center;
        margin: 20px auto !important;
        padding: 12px 30px !important;
        font-size: 0.9rem !important;
    }
}

/* تحسينات إضافية للأداء على الموبايل */
@media (max-width: 768px) {
    /* تقليل تأثيرات الـ hover على الموبايل */
    .service-card,
    .value-card,
    .contact-card {
        transition: none;
    }
    
    .service-card:hover,
    .value-card:hover,
    .contact-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
    
    /* تحسين أداء الفيديو */
    .asym-video {
        transform: none;
        transition: none;
    }
    
    .asym-video-item:hover .asym-video {
        transform: none;
    }
    
    /* تحسين أداء الصور */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* تحسينات للشاشات الأفقية على الموبايل */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: 120vh;
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .hero-arabic {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* تحسينات إضافية للقراءة */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        line-height: 1.6;
    }
    
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }
    
    p {
        margin-bottom: 15px;
        line-height: 1.6;
    }
}

/* منع التكبير في حقول الإدخال على iOS */
@media (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px !important; /* يمنع التكبير التلقائي على iOS */
    }
}