/* Service Detail Page Styles */

/* CRITICAL: Prevent horizontal overflow */
html,
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    padding-bottom: 160px;
    /* Space for bottom nav + footer */
    background: #f8f9fa;
}

/* Ensure footer and navigation are visible */
.site-footer,
footer {
    position: relative;
    z-index: 100;
}

.bottom-nav,
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.service-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden;
    width: 100%;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb a {
    color: var(--brand-primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Service Header */
.service-header {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.rating-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-stars {
    color: #ffc107;
    font-size: 18px;
}

.rating-text {
    font-weight: 600;
    color: #1a1a1a;
}

.rating-count {
    color: #6c757d;
}

.orders-count {
    color: #6c757d;
    font-size: 14px;
}

/* Service Grid */
.service-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

@media (min-width: 769px) {
    .service-content-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* Service Image */
.service-image-section {
    background: white;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.service-image,
.swiper-slide img {
    width: 100% !important;
    max-width: 100% !important;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

@media (min-width: 769px) {

    .service-image,
    .swiper-slide img {
        height: 320px;
    }
}

/* Service Details */
.service-details {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.price-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.price-label {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 5px;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-primary, #1e3a8a);
}

.original-price {
    font-size: 14px;
    color: #6c757d;
    text-decoration: line-through;
}

.discount-badge {
    background: #10b981;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
    max-width: 100%;
}

.btn-book-now {
    background: var(--brand-primary, #1e3a8a);
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-add-cart {
    background: white;
    color: var(--brand-primary, #1e3a8a);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid var(--brand-primary, #1e3a8a);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
}

.btn-add-cart:hover {
    background: var(--brand-primary, #1e3a8a);
    color: white;
}

/* Service Features */
.service-features {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    color: #10b981;
    font-size: 20px;
    width: 24px;
}

.feature-text {
    color: #1a1a1a;
    font-size: 14px;
}

/* Description Section */
.description-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.description-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #1a1a1a;
}

.description-section p {
    line-height: 1.8;
    color: #495057;
    margin-bottom: 15px;
}

.description-section ul {
    padding-left: 20px;
}

.description-section li {
    margin-bottom: 10px;
    color: #495057;
    line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.reviews-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #1a1a1a;
}

.review-card {
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
}

.review-card:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 600;
    color: #1a1a1a;
}

.review-date {
    color: #6c757d;
    font-size: 14px;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 8px;
}

.review-text {
    color: #495057;
    line-height: 1.6;
}

/* Related Services */
.related-services {
    margin-top: 40px;
}

.related-services h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Horizontal Scrollable Related Services (OLX Style) */
.related-services-scroll {
    margin: 30px 0;
    position: relative;
}

.related-services-scroll h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.services-scroll-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Fix for zoomed/scaled devices */
    min-height: 200px;
    align-items: stretch;
}

.services-scroll-container::-webkit-scrollbar {
    display: none;
}

.service-scroll-card {
    flex: 0 0 auto;
    /* Use min-width with clamp for better responsiveness */
    min-width: 160px;
    width: clamp(160px, 45vw, 200px);
    max-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: visible;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.service-scroll-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.service-card-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: #f5f5f5;
}

.service-card-body {
    padding: 12px;
}

.service-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    /* Standard property for compatibility */
    overflow: hidden;
    line-height: 1.3;
    min-height: 36px;
}

.service-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.service-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-primary);
}

.service-card-info {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: #666;
    flex-wrap: wrap;
}

.service-card-time,
.service-card-rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.service-card-rating {
    color: #ffc107;
}

.service-card-add-btn {
    width: 100%;
    padding: 8px 12px;
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}

.service-card-add-btn:hover {
    background: #1e40af;
}

.service-card-add-btn i {
    font-size: 12px;
}

.load-more-container {
    text-align: center;
    margin-top: 24px;
}

.load-more-btn {
    padding: 12px 32px;
    background: white;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.load-more-btn:hover {
    background: var(--brand-primary);
    color: white;
}

/* ============================================ */
/* FIX: Zoomed/Scaled Devices - Services Section */
/* Ensures services display properly on devices with */
/* larger fonts, browser zoom, or accessibility settings */
/* ============================================ */

/* Handle high zoom levels and large font settings */
@media screen and (min-resolution: 1.25dppx),
screen and (-webkit-min-device-pixel-ratio: 1.25) {
    .services-scroll-container {
        gap: 12px;
        padding: 8px 0;
    }

    .service-scroll-card {
        min-width: 150px;
        width: clamp(150px, 42vw, 190px);
    }

    .service-card-image {
        height: 120px;
    }

    .service-card-body {
        padding: 10px;
    }

    .service-card-title {
        font-size: 13px;
        min-height: 32px;
    }

    .service-card-price {
        font-size: 14px;
    }

    .service-card-add-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Extra support for very high zoom or large text */
@media screen and (min-resolution: 1.5dppx),
screen and (-webkit-min-device-pixel-ratio: 1.5) {
    .services-scroll-container {
        gap: 10px;
        min-height: 180px;
    }

    .service-scroll-card {
        min-width: 140px;
        width: clamp(140px, 40vw, 180px);
    }

    .service-card-image {
        height: 110px;
    }

    .service-card-title {
        font-size: 12px;
        min-height: 30px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .service-card-price {
        font-size: 13px;
    }
}

/* Fallback for devices reporting high font scaling */
@media (prefers-reduced-motion: no-preference) {
    .related-services-scroll {
        transform: translateZ(0);
        /* Force GPU layer for better rendering */
    }
}

/* View All card styling - also make responsive */
.view-all-card {
    flex: 0 0 auto;
    min-width: 100px;
    width: clamp(100px, 25vw, 120px);
    max-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    border-radius: 12px;
    text-decoration: none;
    color: var(--brand-primary, #1e3a8a);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
}

.view-all-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.view-all-card i {
    font-size: 24px;
}

.view-all-card span {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* Swiper Pagination & Navigation */
.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--brand-primary);
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

/* ============================================ */
/* FIX: Service Detail Page Layout Issues */
/* ============================================ */

/* Fix: Image container - limit height on mobile */
.service-slider {
    max-height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

.service-slider .swiper-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

@media (min-width: 769px) {
    .service-slider {
        max-height: 400px;
    }

    .service-slider .swiper-slide img {
        height: 380px;
    }
}

/* Fix: Service content grid - prevent overflow */
.service-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
    overflow: hidden;
}

@media (min-width: 769px) {
    .service-content-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* Fix: Service details container - prevent off-screen */
.service-details {
    overflow: hidden;
    max-width: 100%;
}

/* Fix: Action buttons - ensure visibility */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.btn-book-now,
.btn-add-cart {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    left: 0 !important;
}

/* Fix: Floating cart bar - proper positioning above bottom nav */
.floating-cart {
    bottom: 75px !important;
    z-index: 998 !important;
}

/* Fix: Sticky booking footer - proper positioning */
.sticky-booking-footer {
    bottom: 70px !important;
    z-index: 998 !important;
}

/* Fix: Bottom nav stays on top */
.bottom-nav,
.mobile-nav {
    z-index: 1000 !important;
}

/* Fix: Page content spacing for cart bar */
.service-detail-container {
    padding-bottom: 100px;
}

/* Fix: Related services scroll - don't overlap */
.related-services-scroll {
    margin-bottom: 80px;
}

/* Fix: Reviews section - don't get hidden */
.reviews-section {
    margin-bottom: 160px;
}

/* FORCE HIDE: Floating cart and sticky footer on service-detail page */
/* Using high specificity to override booking-system.js dynamic styles */
.floating-cart,
.sticky-booking-footer,
div.floating-cart,
div.sticky-booking-footer,
#floatingCart,
body .floating-cart,
body #floatingCart {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ============================================ */
/* iOS Style Booking Bar with Blur Effect */
/* ============================================ */
.ios-booking-bar {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
}

.ios-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

/* Quantity Section */
.ios-qty-section {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.06);
    padding: 6px 10px;
    border-radius: 25px;
}

.ios-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #1e3a8a;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.ios-qty-btn:hover {
    background: #1e3a8a;
    color: white;
    transform: scale(1.1);
}

.ios-qty-btn:active {
    transform: scale(0.95);
}

.ios-qty-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    min-width: 30px;
    text-align: center;
}

/* Price Section */
.ios-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.ios-total-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ios-total-value {
    font-size: 20px;
    font-weight: 800;
    color: #1e3a8a;
}

/* Book Now Button */
.ios-book-btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4);
    transition: all 0.3s;
}

.ios-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.5);
}

.ios-book-btn:active {
    transform: scale(0.98);
}

.ios-book-btn i {
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .ios-booking-bar {
        padding: 10px 12px;
    }

    .ios-qty-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .ios-qty-value {
        font-size: 16px;
        min-width: 24px;
    }

    .ios-total-value {
        font-size: 18px;
    }

    .ios-book-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ============================================ */
/* NEW: Service Detail Page (.service-detail-page) */
/* For solar-system-3kw.php, geyser-installation.php, etc. */
/* ============================================ */

.service-detail-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 16px 100px;
}

.service-detail-page .breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.service-detail-page .breadcrumbs a {
    color: var(--brand-primary, #6366f1);
    text-decoration: none;
}

.service-detail-page .breadcrumbs a:hover {
    text-decoration: underline;
}

body.dark-mode .service-detail-page .breadcrumbs {
    color: #9ca3af;
}

body.dark-mode .service-detail-page .breadcrumbs a {
    color: #818cf8;
}

.service-detail-page .service-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 32px 24px;
    margin-bottom: 32px;
    text-align: center;
}

body.dark-mode .service-detail-page .service-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.service-detail-page .service-hero h1 {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 12px;
    line-height: 1.3;
}

body.dark-mode .service-detail-page .service-hero h1 {
    color: #f8fafc;
}

.service-detail-page .service-hero .service-desc {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 20px;
    line-height: 1.6;
}

body.dark-mode .service-detail-page .service-hero .service-desc {
    color: #94a3b8;
}

.service-detail-page .service-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    margin-top: 0;
}

.service-detail-page .service-meta .price {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
}

.service-detail-page .service-meta .warranty {
    color: #6366f1;
    font-weight: 600;
}

.service-detail-page .service-meta .rating {
    color: #f59e0b;
    font-weight: 600;
}

body.dark-mode .service-detail-page .service-meta .warranty,
body.dark-mode .service-detail-page .service-meta .rating {
    color: #a5b4fc;
}

.service-detail-page .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.service-detail-page .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.service-detail-page .service-features {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.dark-mode .service-detail-page .service-features {
    background: #1e293b;
}

.service-detail-page .service-features h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px;
}

body.dark-mode .service-detail-page .service-features h2 {
    color: #f8fafc;
}

.service-detail-page .service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.service-detail-page .service-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
}

body.dark-mode .service-detail-page .service-features li {
    color: #cbd5e1;
}

.service-detail-page .service-features li i {
    color: #10b981;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.service-detail-page .faq-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.dark-mode .service-detail-page .faq-section {
    background: #1e293b;
}

.service-detail-page .faq-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px;
    text-align: center;
}

body.dark-mode .service-detail-page .faq-section h2 {
    color: #f8fafc;
}

.service-detail-page .faq-item {
    border-bottom: 1px solid #e2e8f0;
}

body.dark-mode .service-detail-page .faq-item {
    border-color: #334155;
}

.service-detail-page .faq-item:last-child {
    border-bottom: none;
}

.service-detail-page .faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

body.dark-mode .service-detail-page .faq-question {
    color: #f1f5f9;
}

.service-detail-page .faq-question i {
    font-size: 12px;
    transition: transform 0.3s;
}

.service-detail-page .faq-question.active i {
    transform: rotate(180deg);
}

.service-detail-page .faq-answer {
    display: none;
    padding: 0 0 16px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

body.dark-mode .service-detail-page .faq-answer {
    color: #94a3b8;
}

.service-detail-page .faq-answer.show {
    display: block;
}

.service-detail-page .related-services {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.dark-mode .service-detail-page .related-services {
    background: #1e293b;
}

.service-detail-page .related-services h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
}

body.dark-mode .service-detail-page .related-services h2 {
    color: #f8fafc;
}

.service-detail-page .service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-detail-page .service-links a {
    background: #f1f5f9;
    color: #6366f1;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

body.dark-mode .service-detail-page .service-links a {
    background: #334155;
    color: #a5b4fc;
}

.service-detail-page .service-links a:hover {
    background: #6366f1;
    color: white;
}

@media (max-width: 600px) {
    .service-detail-page .service-hero {
        padding: 24px 16px;
    }

    .service-detail-page .service-hero h1 {
        font-size: 22px;
    }

    .service-detail-page .service-meta .price {
        font-size: 16px;
        padding: 6px 16px;
    }

    .service-detail-page .cta-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}