/* ============================================
   Services Page Styles — sv- prefix for isolation
   Used by services.php AND individual service-*.php pages
   ============================================ */

/* GPU-accelerate service sections for smooth scroll */
section[class^="sv-"] {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Hero — Orange gradient with white text */
.sv-hero {
    background: linear-gradient(135deg, #f7941d 0%, #ff6b00 50%, #ff6b00 100%);
    padding: 40px 0 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sv-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.12) 0%, transparent 50%);
    pointer-events: none;
}

.sv-hero h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
}

.sv-hero h1 span {
    color: #0a1224;
}

.sv-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Category Cards Grid */
.sv-cards-section {
    padding: 20px 0;
    background: #f8f9fb;
}

.sv-cards-section .sv-section-label {
    text-align: center;
    margin-bottom: 40px;
}

.sv-cards-section .sv-section-label h2 {
    font-size: 30px;
    font-weight: 700;
    color: #0a1224;
    margin-bottom: 10px;
}

.sv-cards-section .sv-section-label p {
    color: #6b7280;
    font-size: 16px;
}

.sv-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
}

.sv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(247, 148, 29, 0.15);
    border-color: #f7941d;
}

.sv-card.active {
    border-color: #f7941d;
    box-shadow: 0 8px 30px rgba(247, 148, 29, 0.2);
}

.sv-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(247, 148, 29, 0.12), rgba(247, 148, 29, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
    color: #f7941d;
}

.sv-card h5 {
    font-size: 17px;
    font-weight: 600;
    color: #0a1224;
    margin-bottom: 8px;
}

.sv-card p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Tabbed Detail Section */
.sv-tabs-section {
    padding: 20px 0 32px;
    background: #fff;
}

.sv-tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 3px solid #e5e7eb;
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
}

.sv-tab-bar .nav-item {
    flex: 1;
    min-width: 0;
}

.sv-tab-bar .nav-link {
    display: block;
    padding: 14px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    transition: all 0.25s ease;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.sv-tab-bar .nav-link:hover {
    color: #f7941d;
    text-decoration: none;
}

.sv-tab-bar .nav-link.active {
    color: #f7941d;
    border-bottom-color: #f7941d;
    background: rgba(247, 148, 29, 0.04);
}

.sv-tab-bar .nav-link i {
    display: block;
    font-size: 20px;
    margin-bottom: 6px;
}

/* Tab Panel Content */
.sv-panel {
    animation: svFadeIn 0.35s ease;
}

@keyframes svFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sv-panel-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.sv-panel-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f7941d, #ff6b00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    flex-shrink: 0;
}

.sv-panel-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0a1224;
    margin: 0 0 4px;
}

.sv-panel-header .sv-tagline {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
}

.sv-panel-body p {
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 16px;
}

.sv-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.sv-features li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

.sv-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #f7941d;
    font-size: 13px;
}

.sv-panel-cta {
    margin-top: 28px;
}

.sv-panel-cta .sv-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #f7941d;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sv-panel-cta .sv-btn:hover {
    background: #ff6b00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 148, 29, 0.4);
    color: #fff;
    text-decoration: none;
}

/* CTA Band — Orange gradient with navy text */
section.sv-cta-band {
    background: linear-gradient(135deg, #f7941d 0%, #ff6b00 50%, #ff6b00 100%) !important;
    padding: 36px 0 !important;
    text-align: center !important;
    position: relative;
    overflow: hidden;
}
section.sv-cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 55%);
    pointer-events: none;
}

section.sv-cta-band h2 {
    color: #fff !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
    position: relative;
}

section.sv-cta-band p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 17px !important;
    margin-bottom: 30px !important;
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.6 !important;
    position: relative;
}

section.sv-cta-band .sv-btn-primary {
    display: inline-block !important;
    padding: 16px 44px !important;
    background: #0a1224 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    margin: 0 8px !important;
    transition: all 0.3s ease !important;
    position: relative;
    box-shadow: 0 4px 12px rgba(10,18,36,0.25);
}

section.sv-cta-band .sv-btn-primary:hover {
    background: #1a2a4a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(10,18,36,0.4) !important;
    color: #fff !important;
    text-decoration: none !important;
}

section.sv-cta-band .sv-btn-outline {
    display: inline-block !important;
    padding: 16px 44px !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: 2px solid rgba(255,255,255,0.35) !important;
    text-decoration: none !important;
    margin: 0 8px !important;
    transition: all 0.3s ease !important;
    position: relative;
}

section.sv-cta-band .sv-btn-outline:hover {
    border-color: #fff !important;
    color: #fff !important;
    text-decoration: none !important;
    background: rgba(255,255,255,0.12) !important;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 991px) {
    .sv-hero { padding: 20px 0; }
    .sv-hero h1 { font-size: 32px; }
    
    .sv-tab-bar .nav-link { font-size: 12px; padding: 10px 6px; }
    .sv-tab-bar .nav-link i { font-size: 16px; }
    
    .sv-features { grid-template-columns: 1fr; }
    
    .sv-panel-header { flex-direction: column; text-align: center; }
    .sv-panel-header h3 { font-size: 24px; }
}

@media (max-width: 767px) {
    .sv-hero { padding: 28px 0 20px; }
    .sv-hero h1 { font-size: 26px; }
    .sv-hero p { font-size: 15px; }
    
    .sv-cards-section { padding: 20px 0 12px; }
    .sv-tabs-section { padding: 20px 0 24px; }
    
    .sv-tab-bar {
        flex-direction: column;
        gap: 2px;
        border-bottom: none;
    }
    .sv-tab-bar .nav-link {
        border-bottom: none;
        border-left: 3px solid transparent;
        text-align: left;
        padding: 12px 16px;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        background: #f8f9fb;
        border-radius: 6px;
    }
    .sv-tab-bar .nav-link i {
        display: inline;
        margin-bottom: 0;
        font-size: 16px;
    }
    .sv-tab-bar .nav-link.active {
        border-left-color: #f7941d;
        border-bottom-color: transparent;
        background: rgba(247, 148, 29, 0.08);
    }
    
    section.sv-cta-band h2 { font-size: 24px !important; }
    section.sv-cta-band .sv-btn-primary,
    section.sv-cta-band .sv-btn-outline {
        display: block !important;
        margin: 8px auto !important;
        max-width: 280px;
    }
}

/* ============================================
   Individual Service Detail Pages
   All rules use !important to override global theme
   ============================================ */

/* Detail Hero — Orange gradient with white text */
section.sv-detail-hero {
    background: linear-gradient(135deg, #f7941d 0%, #ff6b00 50%, #ff6b00 100%) !important;
    padding: 40px 0 32px !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
}
section.sv-detail-hero::before {
    content: '' !important;
    position: absolute !important;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 55%) !important;
    pointer-events: none;
}
section.sv-detail-hero .sv-breadcrumb {
    margin-bottom: 28px !important;
    font-size: 14px !important;
    position: relative;
    color: rgba(255,255,255,0.6) !important;
}
section.sv-detail-hero .sv-breadcrumb a {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}
section.sv-detail-hero .sv-breadcrumb a:hover {
    color: #fff !important;
}
section.sv-detail-hero .sv-breadcrumb span {
    color: #fff !important;
    font-weight: 600;
}
section.sv-detail-hero .sv-hero-icon {
    width: 80px !important;
    height: 80px !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 36px !important;
    color: #fff !important;
    margin-bottom: 24px !important;
}
section.sv-detail-hero h1 {
    color: #fff !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    position: relative;
    line-height: 1.2 !important;
}
section.sv-detail-hero h1 span {
    color: #0a1224 !important;
}
section.sv-detail-hero .sv-hero-tagline {
    color: rgba(255,255,255,0.85) !important;
    font-size: 19px !important;
    max-width: 580px;
    line-height: 1.65 !important;
    margin: 0 !important;
}

/* Content Section */
section.sv-detail-content {
    padding: 36px 0 !important;
    background: #fff !important;
}
section.sv-detail-content h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0a1224 !important;
    margin-bottom: 20px !important;
    margin-top: 10px !important;
}
section.sv-detail-content p {
    font-size: 16px !important;
    color: #374151 !important;
    line-height: 1.8 !important;
    margin-bottom: 16px !important;
}
section.sv-detail-content .sv-lead {
    font-size: 19px !important;
    color: #1f2937 !important;
    line-height: 1.75 !important;
    margin-bottom: 28px !important;
    border-left: 4px solid #f7941d;
    padding-left: 20px;
}

/* Feature Grid */
.sv-feature-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    margin: 40px 0 !important;
}
.sv-feature-item {
    display: flex !important;
    gap: 18px !important;
    padding: 28px !important;
    background: #f8f9fb !important;
    border-radius: 14px !important;
    transition: all 0.35s ease !important;
    border: 1px solid #e5e7eb !important;
    align-items: flex-start !important;
}
.sv-feature-item:hover {
    background: #fff !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
    border-color: rgba(235,152,72,0.3) !important;
    transform: translateY(-3px);
}
.sv-feature-item .sv-fi-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    border-radius: 14px !important;
    background: rgba(235,152,72,0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    color: #f7941d !important;
    flex-shrink: 0 !important;
}
.sv-feature-item .sv-fi-text h4 {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #0a1224 !important;
    margin: 0 0 6px !important;
    line-height: 1.3 !important;
}
.sv-feature-item .sv-fi-text p {
    font-size: 14px !important;
    color: #6b7280 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* How It Works Steps */
section.sv-how-section {
    background: #f8f9fb !important;
    padding: 36px 0 !important;
}
section.sv-how-section h2 {
    text-align: center !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0a1224 !important;
    margin-bottom: 52px !important;
}
.sv-step {
    text-align: center !important;
    padding: 20px 10px !important;
}
.sv-step-num {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #f7941d, #ff6b00) !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 18px !important;
    box-shadow: 0 4px 12px rgba(235,152,72,0.3) !important;
}
.sv-step h4 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #0a1224 !important;
    margin-bottom: 10px !important;
}
.sv-step p {
    font-size: 14px !important;
    color: #6b7280 !important;
    line-height: 1.6 !important;
    max-width: 260px;
    margin: 0 auto !important;
}

/* Other Services Links */
section.sv-other-services {
    padding: 36px 0 !important;
    background: #fff !important;
    border-top: 1px solid #e5e7eb !important;
}
section.sv-other-services h3 {
    text-align: center !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #0a1224 !important;
    margin-bottom: 36px !important;
}
a.sv-other-link {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 18px 24px !important;
    background: #f8f9fb !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    color: #0a1224 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
    border: 1px solid #e5e7eb !important;
}
a.sv-other-link:hover {
    background: linear-gradient(135deg, #f7941d, #ff6b00) !important;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(235,152,72,0.3) !important;
    border-color: transparent !important;
}
a.sv-other-link i {
    font-size: 20px !important;
    color: #f7941d !important;
    width: 28px !important;
    text-align: center !important;
}
a.sv-other-link:hover i {
    color: #fff !important;
}

/* Detail page responsive */
@media (max-width: 991px) {
    section.sv-detail-hero { padding: 32px 0 24px !important; }
    section.sv-detail-hero h1 { font-size: 36px !important; }
    .sv-feature-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 767px) {
    section.sv-detail-hero { padding: 28px 0 20px !important; }
    section.sv-detail-hero h1 { font-size: 30px !important; }
    section.sv-detail-content { padding: 20px 0 !important; }
    section.sv-how-section { padding: 20px 0 !important; }
    section.sv-detail-hero .sv-hero-tagline { font-size: 16px !important; }
}
