/* =====================================================
   SERVICES PAGE STYLES - Digital Boost DZ Theme
===================================================== */

/* =====================================================
   HERO SECTION
===================================================== */
.services-hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, 
        var(--bg-hero-gradient-start) 0%, 
        #F0EBFD 50%, 
        #FFFFFF 100%
    );
    padding: 160px 40px 80px;
    text-align: center;
}

.services-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.services-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-main);
    margin-bottom: 30px;
}

.services-hero-title .line1 {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.services-hero-title .line1.highlight {
    color: var(--primary-purple);
}

.services-hero-title .line2 {
    display: block;
    color: var(--text-main);
}

.services-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
}

/* =====================================================
   SERVICES GRID SECTION
===================================================== */
.services-grid-section {
    padding: 100px 40px;
    background: white;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1;
}

.service-features li {
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    padding-right: 25px;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-purple);
    font-weight: 700;
}

/* =====================================================
   WHY CHOOSE US SECTION
===================================================== */
.why-us-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, var(--bg-hero-gradient-start) 0%, var(--bg-hero-gradient-end) 100%);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.why-item {
    padding: 45px;
    border-radius: 24px;
    text-align: right;
}

.why-item:hover {
    transform: translateY(-10px);
}

.why-item > * {
    position: relative;
    z-index: 1;
}

.why-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 20px;
}

.why-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
}

.why-item p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Why Services Title - Desktop/Mobile */
.why-services-title .desktop-text {
    display: inline;
}

.why-services-title .mobile-text {
    display: none;
}

.why-services-title .mobile-text .line1 {
    display: block;
    color: var(--text-main);
    margin-bottom: 5px;
}

.why-services-title .mobile-text .line2 {
    display: block;
}

/* Services CTA Title - لون موحد */
.services-cta-title {
    color: var(--accent-pink) !important;
}

/* Services CTA Title - لون موحد */
.services-cta-title {
    color: var(--accent-pink) !important;
}

/* CTA Subtitle Desktop/Mobile */
.cta-subtitle .desktop-text {
    display: inline;
}

.cta-subtitle .mobile-text {
    display: none;
}

/* =====================================================
   RESPONSIVE - TABLET (max-width: 1024px)
===================================================== */
@media (max-width: 1024px) {
    .services-hero-title {
        font-size: 2.6rem;
    }
    
    .services-hero-title .line1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* =====================================================
   RESPONSIVE - MOBILE (max-width: 768px)
===================================================== */
@media (max-width: 768px) {
    .services-hero-section {
        padding: 130px 25px 60px;
        min-height: auto;
    }
    
    .services-hero-title {
        font-size: 2rem;
    }
    
    .services-hero-title .line1 {
        font-size: 1.5rem;
    }
    
    .services-hero-subtitle {
        font-size: 1.05rem;
    }
    
    .services-grid-section,
    .why-us-section {
        padding: 60px 25px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto 25px;
    }
    
    .service-features li {
        text-align: right;
    }
    
    .service-link {
        justify-content: center;
    }
    
    .why-item {
        padding: 35px;
        text-align: center;
    }
    
    .why-number {
        font-size: 2.5rem;
    }
    
    .why-item h3 {
        font-size: 1.3rem;
    }

 /* Hero Title Mobile */
    .services-hero-title .line1.highlight {
        color: var(--primary-purple);
    }
    
    .services-hero-title .line2 {
        color: var(--text-main);
    }
    
    /* Services Grid Cards - Icons centered, Text right-aligned */
    .service-card {
        text-align: right;
    }
    
    .service-icon {
        display: flex;
        justify-content: center;
        margin: 0 auto 25px;
    }
    
    .service-title,
    .service-description {
        text-align: right;
    }
    
    .service-features {
        text-align: right;
    }
    
    .service-features li {
        text-align: right;
    }
    
    .service-link {
        justify-content: flex-start;
    }
    
    /* Why Services Title Mobile */
    .why-services-title .desktop-text {
        display: none;
    }
    
    .why-services-title .mobile-text {
        display: block;
    }
    
    /* CTA Subtitle Mobile/Desktop */
    .cta-subtitle .desktop-text {
        display: none;
    }
    
    .cta-subtitle .mobile-text {
        display: block;
    }
    
    /* Services CTA Title Mobile */
    .services-cta-title {
        color: var(--accent-pink) !important;
    }
}



/* =====================================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
===================================================== */
@media (max-width: 480px) {
    .services-hero-section {
        padding: 110px 20px 50px;
    }
    
    .services-hero-title {
        font-size: 1.75rem;
    }
    
    .services-hero-title .line1 {
        font-size: 1.35rem;
    }
    
    .services-hero-subtitle {
        font-size: 0.95rem;
    }
    
    .services-grid-section,
    .why-us-section {
        padding: 50px 20px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .why-item {
        padding: 28px 22px;
    }
/* تأكيد محاذاة النصوص لليمين */
    .service-card {
        text-align: right;
    }
    
    .service-icon {
        display: flex;
        justify-content: center;
        margin: 0 auto 20px;
    }
    
    .service-title,
    .service-description,
    .service-features,
    .service-features li {
        text-align: right;
    }
    
    .service-link {
        justify-content: flex-start;
    }
}