/* ===== SERVICE DETAIL PAGE STYLES ===== */

/* ===== PAGE BANNER ===== */
.page-banner {
    background: linear-gradient(135deg, #041E3A 0%, var(--primary-dark) 40%, var(--primary) 100%);
    padding: 20px 0 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.page-banner h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}
.page-banner p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 15px;
}
.page-banner .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}
.page-banner .breadcrumb a { color: var(--secondary-light); }
.page-banner .breadcrumb a:hover { color: var(--white); }

/* ===== SERVICE DETAIL SECTION ===== */
.service-detail-section {
    padding: 32px 0;
    background: var(--white);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.service-main-content {
    background: var(--white);
}

.service-featured-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-featured-image i {
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.3;
}

.service-main-content h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.service-main-content .description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 30px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.service-main-content .description::-webkit-scrollbar {
    width: 6px;
}

.service-main-content .description::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.service-main-content .description::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.service-main-content .description::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.service-main-content .description p {
    margin-bottom: 20px;
}

/* Service Tags */
.service-tags-section {
    margin: 40px 0;
}

.service-tags-section h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-tags-section h3 i {
    color: var(--secondary);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-dark);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-200);
}

.service-tag:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 153, 216, 0.3);
}

.service-tag i {
    font-size: 0.85rem;
}

/* Alternate tag colors */
.service-tag:nth-child(3n+2) {
    background: linear-gradient(135deg, var(--secondary-50, #FFF0F7), var(--secondary-100, #FFD6EB));
    border-color: var(--secondary-200, #FFB3D9);
}

.service-tag:nth-child(3n+2):hover {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}

.service-tag:nth-child(3n) {
    background: linear-gradient(135deg, var(--accent-50, #E6FFF9), var(--accent-100, #B3F5E6));
    border-color: var(--accent-200, #80EBD3);
}

.service-tag:nth-child(3n):hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-light, #00D9A0));
}

/* Care Details Section */
.care-details-section {
    background: linear-gradient(135deg, var(--accent-50, #E6FFF9), var(--primary-50));
    padding: 30px;
    border-radius: 16px;
    margin: 40px 0;
}

.care-details-section h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.care-details-section h3 i {
    color: var(--accent);
}

.care-details-section .description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

/* ===== SIDEBAR ===== */
.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-100);
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.contact-card h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contact-card .phone-number {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-card .phone-number i {
    font-size: 1.5rem;
}

.contact-card .btn {
    width: 100%;
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
}

.contact-card .btn:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

/* Other Services List */
.other-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.other-services-list li {
    border-bottom: 1px solid var(--gray-200);
}

.other-services-list li:last-child {
    border-bottom: none;
}

.other-services-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    color: var(--gray-700);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.other-services-list a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.other-services-list a i {
    color: var(--primary);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

html[dir="rtl"] .other-services-list a i {
    transform: rotate(180deg);
}

.other-services-list a:hover i {
    transform: translateX(5px);
}

html[dir="rtl"] .other-services-list a:hover i {
    transform: translateX(-5px) rotate(180deg);
}

/* ===== WHY CHOOSE US ===== */
.why-choose-section {
    padding: 32px 0;
    background: var(--gray-50);
}

.why-choose-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.why-choose-section .section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.why-choose-section .section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-card .icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.feature-card h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.service-cta {
    padding: 32px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: -100%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.service-cta h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.service-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.service-cta .btn {
    background: var(--secondary);
    color: var(--white);
    padding: 16px 40px;
    font-size: 1.1rem;
    border: none;
}

.service-cta .btn:hover {
    background: var(--white);
    color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 32px 0 16px;
    }
    
    .page-banner h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .page-banner p { font-size: 1rem; }
    
    .service-detail-section {
        padding: 20px 0;
    }
    
    .service-featured-image {
        height: 250px;
        border-radius: 16px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-content { padding: 25px 20px; }
    .service-content h2 { font-size: 1.5rem; }
    
    .why-choose-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-cta h2 {
        font-size: 1.8rem;
    }
    
    .sidebar-card { padding: 25px 20px; }
}

@media (max-width: 480px) {
    .page-banner { padding: 24px 0 12px; }
    .page-banner h1 { font-size: 1.5rem; }
    .service-featured-image { height: 200px; }
    .service-content { padding: 20px 15px; }
    .service-content h2 { font-size: 1.3rem; }
    .highlight-card { padding: 15px; }
    .feature-card { padding: 20px 15px; }
    .why-choose-section .section-header h2 { font-size: 1.5rem; }
    .service-cta h2 { font-size: 1.5rem; }
    .service-cta .cta-buttons { flex-direction: column; gap: 15px; }
}
