/* ======== قسم الهيرو سلايدر ======== */
.hero-slider {
    position: relative;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider::after { /* طبقة تعتيم */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 46, 93, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
}



/* ======== قسم "ما يميزنا" ======== */
.features {
    background-color: var(--light-gray-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-item .feature-icon {
    font-size: 45px;
    margin-bottom: 20px;
    color: var(--bright-yellow);
    background-color: var(--dark-blue);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
}

.feature-item h3 {
    font-size: 22px;
}


/* ======== قسم "آراء عملائنا" ======== */
.testimonials {
     background-color: var(--light-gray-bg);
}

.testimonial-slider-container {
    display: flex;
    gap: 30px;
    overflow-x: auto; /* يمكن تغييره لـ hidden مع JS */
    padding-bottom: 20px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    border-top: 5px solid var(--bright-yellow);
    flex: 0 0 45%; /* عرض كل شهادة */
    min-width: 350px;
}

.testimonial-card p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card cite {
    font-weight: 700;
    color: var(--dark-blue);
}