/* Hero Section Styles */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                img('https://images.unsplash.com/photo-1556911220-bff31c812dba?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Adjust based on header height */
}

.hero-content {
    max-width: 1200px;
    padding: 0 20px;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 1.5s forwards;
    animation-delay: 0.3s;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: initial;
}

.cta-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: transparent;
    border: 2px solid white;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-30px) translateX(-50%);
    }
    60% {
        transform: translateY(-15px) translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
        padding: 0 20px;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
    }
}
/* About Section Styles */
.about-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content {
    position: relative;
    z-index: 1;
}

.section-subtitle {
        color: #6902df;
        font-size: 2.2rem;
        text-transform: uppercase;
        letter-spacing: 5px;
        margin-bottom: 15px;      
        
    }
    


.section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.3;
}

.about-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.images-container {
    display: flex;
    gap: 20px; /* المسافة بين الصور */
    justify-content: center;
    padding: 20px 0;
    flex-wrap: wrap; /* للاستجابة على الشاشات الصغيرة */
  }
  .horizontal-row {
    display: flex;
    gap: 30px;
    padding: 20px;
    justify-content: space-between;
    overflow-x: auto;
    white-space: nowrap; /* منع الانتقال لسطر جديد */
    flex: 1; /* توزيع المساحة بالتساوي */
    min-width: 200px; /* الحد الأدنى للعرض */
  }
  
  .card {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 250px;
  }
  
  @media (max-width: 768px) {
    .horizontal-row {
      flex-direction: column; /* ترتيب عمودي على الجوال */
    }
  }
.stats-container1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    flex: 1; /* توزيع المساحة بالتساوي */
     min-width: 200px; /* الحد الأدنى للعرض */
    overflow-x: auto;
    white-space: nowrap; /* منع الانتقال لسطر جديد */
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-box1 {
    text-align: center;
    padding: 20px; /* تم تقليل البادنج */
    background: #f9f9f9;
    border-radius: 50%;
    transition: transform 0.3s ease;
    /* إضافة الخصائص الجديدة */
    width: 150px; /* يجب أن تكون القيمة مساوية للارتفاع */
    height: 150px; /* يجب أن تكون القيمة مساوية للعرض */
    box-sizing: border-box; /* لتضمين البادنج في الأبعاد الكلية */
    display: flex; /* لمركزة المحتوى عموديًا وأفقيًا */
    align-items: center;
    justify-content: center;    
}
.stat-box1:hover {
    transform: translateY(-10px);
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 2.5rem;
    color: #6902df;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-text {
    color: #333;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-box {
        padding: 25px;
    }
}
/* Services Section Styles */
.services-section {
    padding: 100px 0;
    background: #f9f9f9;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: #6902df;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align:initial
}

.service-cta {
    display: inline-block;
    color: #6902df;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.service-cta::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #6902df;
    transition: width 0.3s ease;
}

.service-cta:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .service-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


.stat-box1 {
    transition: transform 0.3s;
}

.stat-box1:hover {
    transform: scale(1.1);
    z-index: 1;
}
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.stat-box1 img {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}