/* =========================================
   SERVICE PAGE CUSTOM STYLES (MATCHED TO IMAGE)
   ========================================= */
:root {
    --bg-light-blue: #F0F7FC;
}

/* Typography & Layout Utilities */
.section-padding {
    padding: 80px 0;
    background-color: #E4F6FF;
}

.section-title {
    color: var(--text-dark);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.text-left {
    text-align: left;
}

/* Base Primary Button */
.btn-primary {
    display: inline-block;
    background-color: #70CBFF;
    color: #000000;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #29C3D4;
    color: #000000;
}

/* =========================================
   1. HERO SECTION
   ========================================= */
.rug-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0 60px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.rug-hero-section .container-1200 {
    width: 100%;
    text-align: left;
}

.rug-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.rug-hero-content {
    max-width: 800px;
    margin: 0;
    text-align: left;
    position: relative;
}

.hero-main-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 7);
}

.hero-sub-text {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 500;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 7);

}

.hero-btn-wrapper {
    display: flex;
    gap: 15px;
}

.btn-cyan {
    background-color: #2da1ca;
    color: #fff;
    padding: 9px 19px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cyan:hover {
    background-color: #2da1ca;
    color: #fff;
}

.btn-white {
    background-color: #fff;
    color: var(--sp-text-dark);
    padding: 9px 19px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 7);
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: #f1f1f1;
}

@media (max-width: 767px) {
    .rug-hero-section {
        padding: 80px 0;
        text-align: center;
    }

    .hero-main-title,
    .hero-sub-text {
        margin-left: 0px !important;
    }

    .hero-btn-wrapper {
        /* justify-content: center; */
        margin-left: 0% !important;
    }

    .rug-hero-content {
        margin: 10px 10px;
    }

    .hero-main-title {
        font-size: 32px;
    }
}

/* =========================================
   2. SERVICES SECTION
   ========================================= */
.services-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.services-grid-container .sp-card-wrapper {
    box-sizing: border-box;
}

.sub-title {
    color: #29C3D4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.services-header h2 {
    font-size: 36px;
    color: #1A1A1A;
    font-weight: 800;
    margin: 0 0 10px 0;
}

@media (max-width: 991px) {
    .services-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .services-grid-container {
        grid-template-columns: 1fr;
    }

    .container-1200 {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        box-sizing: border-box;
    }
}

.view-all-wrapper {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px;
}

.expand-toggle-btn {
    background: transparent;
    border: none;
    color: #58B2E0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.expand-toggle-btn:hover {
    color: #29C3D4;
}

.btn-icon {
    display: inline-block;
    transition: transform 0.4s ease;
    background: #F0F7FC;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    text-align: center;
}

.expand-toggle-btn.is-active .btn-icon {
    transform: rotate(180deg);
}

/* Service Card Styles */
.sp-clean-card {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.sp-clean-card:hover {
    transform: translateY(-5px);
}

.card-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 3px solid #7cbcd6;
    box-sizing: border-box;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    padding: 10px;
    border-radius: 30px;
    object-fit: cover;
}

.card-content-overlay {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.card-branding {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    padding: 4px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 0;
}

/* =========================================
   3. DISCOUNT / CTA BANNER
   ========================================= */
.rug-discount-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: left;
    color: #ffffff;
    display: flex;
    align-items: center;
    margin: 20px 20px;
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
}

.rug-discount-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    z-index: 0;
}

.rug-discount-banner .container-1200 {
    width: 100%;
    position: relative;
    z-index: 1;
    text-align: left !important;
}

.discount-content {
    max-width: 850px;
    margin: 0 !important;
    text-align: left !important;
    position: relative;
    z-index: 1;
}

.discount-content span,
.discount-badge {
    display: inline-block;
    background-color: #58B2E0;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.discount-content h2 {
    font-size: clamp(22px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 20px;
    margin-top: 10px;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.797);
}

.discount-content p,
.discount-description {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 20px !important;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.797);
    margin-top: 10px;
}

.cta-wrapper {
    margin-top: 25px;
}

.btn-link {
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
    display: inline-block;
}

.btn-link:hover {
    background-color: #29C3D4;
    transform: translateY(-2px);
    color: #ffffff;
}

@media (max-width: 768px) {
    .rug-discount-banner {
        margin: 10px 15px;
        padding: 50px 20px;
        height: 500px !important;
    }

    .discount-content h2 {
        font-size: clamp(20px, 5vw, 28px);
        margin-bottom: 6px !important;
    }

    .discount-description {
        font-size: 17px !important;
        margin-top: 4px !important;
    }

    .rug-discount-banner {
        border-radius: 10px !important;
    }

    .rug-discount-banner::before {
        border-radius: 10px !important;
    }
}

/* =========================================
   4. LIGHT BLUE INFO SECTION
   ========================================= */
.sp-light-blue-bg {
    background-color: var(--bg-light-blue);
}

.sp-info-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 40px;
}

.sp-info-image-wrapper {
    position: relative;
    /* max-width: 350px; */
}

.sp-info-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 25px;
    position: relative;
    z-index: 2;
}

.sp-info-text p {
    color: #000000;
    line-height: 1.8;
    margin-top: 20px;
    font-size: 16px;
    padding-right: 20px;
}

/* =========================================
   5. CONTACT FORM SECTION
   ========================================= */
.sp-contact-section {
    background-color: #ffffff;
}

.sp-contact-box {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    background: #ffffff;
    padding: 50px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.sp-form .input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.sp-form .input-grid-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.sp-form input {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    transition: border-color 0.3s;
    outline: none;
}

.sp-form input:focus {
    border-bottom-color: var(--primary);
}

.sp-form input::placeholder {
    color: #888;
}

.full-width-input {
    margin-bottom: 40px;
}

.submit-btn {
    background-color: #58B2E0;
    color: #ffffff;
    border: none;
    /* width: 100%; */
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.sp-info-col {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-detail-group {
    margin-bottom: 30px;
}

.contact-detail-group h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-detail-group .primary-text {
    margin: 0;
    color: #29c3d4;
    font-weight: 500;
    font-size: 15px;
}

/* =========================================
   RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 1000px) {
    .sp-info-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .sp-info-image-wrapper {
        /* max-width: 500px; */
    }

    /* .sp-info-text .section-title {
        text-align: center;
    } */

    .sp-contact-box {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .sp-info-col {
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 40px;
    }

    .contact-title,
    .contact-detail-group {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .sp-info-text .section-title {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sp-card-wrapper {
        flex: 0 0 100%;
    }

    .sp-form .input-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sp-contact-box {
        padding: 30px 20px;
        gap: 40px;
    }
}