/* =========================================
   CUSTOM PAGE STYLES (MATCHING IMAGE)
   ========================================= */

:root {
    --primary-dark: #0D8BCE;
    --primary-light: #039BE5;
    --bg-light-blue: #DCF3FF;
    --white: #ffffff;
    --black: #000000;
    --text-body: #333333;
}

.custom-page-wrapper {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    color: var(--black);
    line-height: 1.6;
    background-color: var(--white);
}

.cp-container {
    max-width: 1521px;
    margin: 0 auto;
    padding: 0 20px;
}

.cp-section {
    padding: 0px 0;
}

.cp-hero {
    padding-top: 40px;
}

.text-light {
    color: #2AB0DD;
}

.text-center {
    text-align: left;
}

.text-center1 {
    text-align: center;
}

.bg-dark {
    background-color: #29C3D4 !important;
}

.bg-light {
    background-color: #29C3D4 !important;
}

.cp-heading {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: var(--black);
}

.cp-text {
    font-size: 14px;
    color: var(--text-body);
    margin: 0 0 20px 0;
    line-height: 1.8;
}

.cp-bordered-img {
    width: 100%;
    height: auto;
    display: block;
    border: 3px solid #7cbcd6;
    border-radius: 4px;
}

.cp-callout-box {
    display: flex;
    border: 2px solid #7cbcd6;
    background-color: var(--white);
    margin: 40px 0;
    min-height: 120px;
}

.cp-callout-letter {
    background-color: #2AB0DD;
    color: var(--white);
    font-size: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    flex-shrink: 0;
}

.cp-callout-content {
    padding: 25px 30px;
    display: flex;
    align-items: center;
}

.cp-callout-content p {
    margin: 0;
    font-size: 15px;
    color: var(--black);
    line-height: 1.6;
}

.cp-two-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.cp-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}

.cp-process-card {
    background-color: var(--bg-light-blue);
    /* border-radius: 15px 15px 0 0; */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-bottom: solid 30px #29C3D4;
}

.cp-card-header {
    height: 30px;
    width: 100%;
}

.cp-card-body {
    padding: 25px 20px 10px 20px;
    /* border-bottom: solid 8px #206C86; */
}

.cp-step-number {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
}

.cp-step-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--black);
    margin: 0 0 10px 0;
}

.cp-step-desc {
    font-size: 13px;
    color: var(--text-body);
    margin: 0;
    line-height: 1.5;
}

.cp-cta-banner {
    background-color: var(--bg-light-blue);
    padding: 60px 0;
    margin-top: 40px;
}

.cp-cta-subtitle {
    color: #2AB0DD;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.cp-cta-heading {
    font-size: 32px;
    font-weight: 800;
    color: var(--black);
    margin: 0 0 20px 0;
}

.cp-cta-text {
    font-size: 15px;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.cp-btn {
    display: inline-block;
    background-color: #206C86;
    color: var(--white);
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cp-btn:hover {
    background-color: #2AB0DD;
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

/* Tablets */
@media (max-width: 991px) {
    .cp-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .cp-callout-box {
        flex-direction: column;
    }

    .cp-callout-letter {
        width: 100%;
        height: 80px;
    }
}

@media (max-width: 767px) {
    .cp-heading {
        font-size: 24px;
    }

    .cp-two-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cp-process-grid {
        grid-template-columns: 1fr;
    }

    .cp-cta-heading {
        font-size: 26px;
    }

    .cp-callout-content {
        padding: 20px;
    }
}

.sd-hero {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-direction: column;
}

.sd-hero-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.sd-hero-subtitle {
    color: #ffffff;
    font-size: 20px;
    margin: 0;
    font-weight: 500;
    text-align: left;
}

@media (max-width: 767px) {
    .sd-hero {
        height: 200px;
    }

    .sd-hero-title {
        font-size: 32px;
    }
}

/* =========================================
   NEW HERO & OVERLAP STYLES
   ========================================= */

.rug-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0 180px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.rug-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.rug-hero-content {
    max-width: 800px;
    position: relative;
}

.hero-main-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
        /* Strong readable shadow */
    text-shadow:
        2px 2px 4px rgba(0,0,0,0.8),
        0 0 10px rgba(0,0,0,0.6),
        0 0 20px rgba(0,0,0,0.4);
    margin-left: 200px;
}

.hero-sub-text {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1.5);
    margin-left: 200px;
}

.hero-btn-wrapper {
    display: flex;
    gap: 15px;
    margin-left: 200px;
}

.btn-cyan {
    background-color: #3DBFEA;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid #3DBFEA;
}

.btn-cyan:hover {
    background-color: #2da1ca;
    border-color: #2da1ca;
    color: #ffffff;
}

.btn-white {
    background-color: #ffffff;
    color: #3DBFEA;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid #ffffff;
}

.btn-white:hover {
    background-color: transparent;
    color: #ffffff;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #222222;
    margin-bottom: 20px;
    line-height: 1.3;
}

.text-cyan {
    color: #29C3D4 !important;
}

.text-dark-gray {
    color: #000000;
    line-height: 1.8;
    font-size: 16px;
}

@media (max-width: 767px) {
    .rug-hero-section {
        padding: 80px 0;
        text-align: center;
    }

    .hero-main-title {
        margin-left: 0px !important;
    }

    .hero-sub-text {
        margin-left: 0px !important;
    }

    .hero-btn-wrapper {
        justify-content: center;
        margin-left: 0% !important;
    }

    .rug-hero-content {
        margin: 10px 10px;
    }

    .hero-btn-wrapper {
        justify-content: center;
    }

    .hero-main-title {
        font-size: 32px;
    }
}


/* =========================================
   CUSTOM GRID & OVERLAP FIX
   ========================================= */

.container-1200 {
    max-width: 1528px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}

@media (min-width: 768px) {
    .row {
        grid-template-columns: 1fr 1fr;
    }
}

.section-padding {
    padding: 0px 0;
    background-color: #ffffff;
    position: relative;
    z-index: 2;
}

.section-padding1 {
    padding: 20px 0;
    background-color: #E4F6FF;
}

.overlap-image-wrapper {
    position: relative;
    z-index: 10;
}

.overlap-image {
    /* width: 100%; */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    display: block;
}

@media (min-width: 768px) {
    .overlap-image-wrapper {
        margin-top: -150px;
    }
}

.rug-discount-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0;
    text-align: center;
    color: #ffffff;
    display: flex;
    align-items: left;
    justify-content: center;
    margin-left: 40px;
    margin-right: 40px;
    border-radius: 30px;
}

.discount-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: left;
    justify-content: center;
}

.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;
    margin-bottom: 20px;
    font-size: 14px;
}

.discount-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 0.2;
}

.discount-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #f0f0f0;
    margin: 0;
}

@media (max-width: 768px) {
    .rug-discount-banner {
        padding: 60px 0;
    }

    .discount-title {
        font-size: 32px;
    }

    .discount-content p {
        font-size: 16px;
    }
}

/* =========================================
   FAQ SECTION STYLES
   ========================================= */

.sp-light-blue-bg {
    background-color: #EAF7FB;
    padding-top: 10px;
    padding-bottom: 10px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .faq-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 80px;
    }
}

.sp-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.faq-left .section-title {
    font-size: 38px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 40px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 2px solid #D1E5EB;
    padding: 20px 0;
}

.faq-item:first-child {
    border-top: 2px solid #D1E5EB;
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: #222222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #3DBFEA;
}

.faq-icon {
    font-size: 16px;
    font-weight: 900;
}

.faq-answer {
    padding-top: 15px;
    padding-right: 40px;
    padding-left: 20px;
}

.faq-answer p {
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.faq-right {
    display: flex;
    justify-content: center;
}

.faq-contact-box {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.faq-contact-box p {
    font-size: 24px;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

/* =========================================
   STATISTICS BANNER STYLES
   ========================================= */

.stats-banner-section {
    background: linear-gradient(135deg, #29C3D4 50%, #2FBCCC 100%);
    padding: 20px 0;
    margin-top: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;

}

.stat-box {
    text-align: center;
    color: #ffffff;
    border-right: 1px solid #58B2E0;
    /* padding: 0px 50px 0px 50px !important; */
}

.stat-box:last-child {
    border-right: none;
}

/* .stat-num {
    display: block;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-text {
    display: block;
    font-size: 16px;
    font-weight: 600;
} */

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 991px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 50px;
    }

    .stat-box:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 767px) {
    .stats-banner-section {
        padding: 50px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        padding-bottom: 30px;
    }

    .stat-box:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .stat-num {
        font-size: 42px;
    }
}