/* =========================================
   MAIN SERVICE PAGE - EXACT MATCH
   ========================================= */

:root {
    --primary: #DB6A9E;
    /* Brand Pink */
    --primary-dark: #94619C;
    /* Brand Purple */
    --text-dark: #1a1a1a;
    --text-body: #444444;
    --bg-faint: #FDF9FB;
    /* Faint pinkish background */
    --border-light: #EBEBEB;
}

.service-index-page {
    background-color: #ffffff;
    font-family: inherit;
    overflow-x: hidden;
    /* Prevents horizontal scroll from full-width breakout */
}

.section-padding {
    padding: 50px 0;
}

.container-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 40px;
}

/* Global Buttons */
.btn-pill-pink {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
    color: #ffffff;  
    padding: 16px 45px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(219, 106, 158, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}


.btn-pill-pink:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(148, 97, 156, 0.4);
    color: #fff;
}

/* --- 1. Hero Banner --- */
.sp-hero-banner {
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.sp-hero-content {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 15px 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* text-align: center; */
}

.hero-subtitle {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 35px;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* text-align: center; */
}

/* --- 2. Services Grid (4 Columns) --- */
.sp-tagline {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
}

.sp-main-heading {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.sp-main-heading span {
    color: var(--primary-dark);
}

.sp-desc {
    color: var(--text-body);
    font-size: 16px;
    margin-bottom: 40px;
}

/* 4 Items Per Row */
.sp-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.sp-header-titles {
    text-align: center;
}

.sp-card {
    text-decoration: none;
    display: block;
    position: relative;
}

.sp-card.hidden-card {
    display: none;
}

.sp-card-frame {
    background: #ffffff;
    border: 4px solid var(--primary);
    border-radius: 20px;
    padding: 10px;
    position: relative;
    height: 320px;
    /* Reduced slightly to look good in 4-columns */
    transition: all 0.4s ease;
}

.sp-card:hover .sp-card-frame {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(219, 106, 158, 0.2);
}

.sp-card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    font-weight: 900;
    padding: 5px 10px;
    border-radius: 8px;
    z-index: 2;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sp-card-img-box {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 5px solid var(--primary-dark)
}

.sp-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sp-card:hover .sp-card-img-box img {
    transform: scale(1.08);
}

.sp-card-label {
    position: absolute;
    bottom: -15px;
    left: 8%;
    width: 84%;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
    max-height: 55px;
}

.sp-card:hover .sp-card-label {
    max-height: 150px;
    bottom: 10px;
}

.sp-card-label h3 {
    font-size: 15px;
    /* Scaled down slightly for 4 columns */
    color: var(--primary);
    font-weight: 800;
    margin: 0 0 10px 0;
}

.sp-card-label p {
    font-size: 12px;
    color: var(--text-body);
    line-height: 1.4;
    margin: 0 0 10px 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.sp-card:hover .sp-card-label p {
    opacity: 1;
}

.sp-read-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    opacity: 0;
}

.sp-card:hover .sp-read-more {
    opacity: 1;
}

.sp-view-all-container {
    display: flex;
    justify-content: center;
}

.sp-view-all-link {
    color: var(--text-dark);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.sp-view-all-link:hover {
    color: var(--primary);
}

/* --- 3. Popular Banner (Full 100% Viewport Width Breakout) --- */
.sp-popular-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sp-banner-card {
    height: 350px;
    display: flex;
    align-items: center;
    padding: 0;
}

.sp-discount-badge {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 15px;
    display: inline-block;
    text-transform: uppercase;
}

.sp-banner-content h2 {
    color: #ffffff;
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 15px 0;
}

.sp-banner-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    /* max-width: 500px; */
    line-height: 1.6;
}

/* --- 4. Trust Section (Faint Pink Background) --- */
.sp-trust-section {
    background-color: #FFF0F7;
    /* Applies the #FDF9FB color */
    width: 100%;
    /* Ensures the background stretches edge-to-edge */
    margin: 0;
    /* Padding is handled by the .section-padding class, but we can enforce top/bottom here */
    padding: 80px 0;
}

.sp-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.sp-trust-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.sp-trust-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.sp-trust-text h2 span {
    color: var(--primary-dark);
}

.sp-trust-text p {
    color: #000;
    font-size: 20px;
    line-height: 1.8;
}

/* --- 5. Contact Section --- */
.sp-contact-container {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 25px;
    padding: 50px 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
}

.sp-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.sp-input-row-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.sp-input-row.full-width {
    grid-template-columns: 1fr;
}

.sp-premium-form input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    padding: 15px 0;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
    transition: 0.3s;
    background: transparent;
}

.sp-premium-form input:focus {
    border-bottom-color: var(--primary);
}

.sp-submit-btn {
    width: 100%;
    margin-top: 15px;
    padding: 18px 0;
    font-size: 18px;
}

.sp-info-side h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 35px;
}

.text-purple {
    color: var(--primary-dark);
}

.sp-info-group {
    margin-bottom: 30px;
}

.sp-info-group h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.sp-info-group p {
    color: var(--primary);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
    .sp-photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .sp-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sp-trust-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .sp-contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .sp-hero-banner {
        height: 450px;
        text-align: center;
    }

    .hero-title {
        font-size: 38px;
    }

    .sp-photo-grid {
        grid-template-columns: 1fr;
    }

    .sp-banner-card {
        padding: 40px 20px;
        height: auto;
        text-align: center;
    }

    .sp-banner-content h2 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .sp-banner-content p {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .sp-banner-content .btn-pill-pink {
        display: flex;
        width: 100%;
        margin: 0 0 15px 0;
        box-sizing: border-box;
    }

    .sp-input-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .sp-contact-container {
        padding: 30px 20px;
    }
}