/* =========================================
   GLOBAL VARIABLES & UTILITIES
   ========================================= */
:root {
    --sp-cyan: #3DBFEA;
    /* Cyan highlight color from image */
    --sp-bg-light: #F0F7FC;
    /* Very faint blue background */
    --sp-text-dark: #222222;
    --sp-text-gray: #666666;
}

body {
    font-family: 'Inter', sans-serif;
    /* Use your global font */
    color: var(--sp-text-gray);
    line-height: 1.6;
}

.text-cyan {
    color: var(--sp-cyan) !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 30px;
}

.sp-light-blue-bg {
    background-color: var(--sp-bg-light);
}

.container-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

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

.text-center {
    /* text-align: center; */
    color: #ffffff;
}

.section-title {
    color: var(--sp-text-dark);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.bold-title {
    color: var(--sp-text-dark);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

img.img-fluid {
    max-width: 100%;
    height: auto;
}

/* =========================================
   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::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;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1.5);
    margin-left: 200px !important;
}

.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 !important;
}

.hero-btn-wrapper {
    display: flex;
    gap: 15px;
    margin-left: 200px !important;
}

.btn-cyan {
    background-color: var(--sp-cyan);
    color: #fff;
    padding: 14px 35px;
    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: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    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 {
        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;
    }
}

/* =========================================
   2. SERVICES SECTION
   ========================================= */
.services-section {
    /* Using the wood lines background */
    background-image: url('path/to/Rectangle-12377.jpg');
    /* Update this path to your actual wood image */
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
    background-color: #fdfdfd;
}

.services-header {
    text-align: left;
    margin-bottom: 40px;
}

.services-header .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;
    /* Black for "Our" */
    font-weight: 800;
    margin: 0 0 10px 0;
}

.text-cyan {
    color: #29C3D4 !important;
    /* Cyan for "Services" */
}

.services-header p {
    color: #666666;
    margin: 0;
}

/* Grid Layout */
.services-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 30px; */
}

/* Card Styling - Matching the cyan double-border design 
*/
.sp-clean-card {
    display: block;
    text-decoration: none;
    border: 4px solid #29C3D4;
    /* Thick outer cyan border */
    padding: 8px;
    /* White gap between borders */
    background: #ffffff;
    aspect-ratio: 1 / 1;
    /* Keeps cards perfectly square */
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-clean-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(41, 195, 212, 0.15);
}

.card-image-box {
    /* border: 2px solid #29C3D4; */
    /* Inner cyan border */
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bottom White Label Overlay */
/* .card-content-overlay {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
} */

.card-branding {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 15px;
    font-weight: 700;
    padding: 4px 15px;
    border-radius: 20px;
    /* Pill shape */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-service-title {
    color: #29C3D4;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.view-all-link {
    text-align: center;
    margin-top: 40px;
}

.view-all-link a {
    color: #1A1A1A;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.view-all-link a:hover {
    color: #29C3D4;
}

/* Responsive Grid Adjustments */
@media (max-width: 991px) {
    .services-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .services-grid-container {
        grid-template-columns: 1fr;
    }
}


/* =========================================
           3. DISCOUNT BANNER
           ========================================= */
.discount-banner {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    margin: 60px 0;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    color: white;
}

.discount-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.discount-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.discount-label {
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

.discount-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

/* =========================================
           4. TRUST SECTION
           ========================================= */
.trust-section {
    background-color: #E4F6FF;
    padding: 40px 0;
}

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

.trust-img-wrapper img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.trust-content h2 {
    font-size: 32px;
    color: var(--sp-text-dark);
    margin-bottom: 20px;
}

.trust-content p {
    color: #000000;
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================
           5. CONTACT FORM SECTION
========================================= */

.contact-container {
    padding: 80px 0;
}

.contact-box {
    border: 1px solid #E5E5E5;
    border-radius: 15px;
    padding: 50px;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
}

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

.form-group {
    width: 100%;
}

.form-group.full-width {
    grid-column: span 2;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #DDDDDD;
    padding: 10px 0;
    font-size: 14px;
    font-family: var(--font-family);
    outline: none;
    background: transparent;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form .btn-submit {
    background-color: #58B2E0;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.contact-form .btn-submit:hover {
    background-color: #29C3D4;
    color: #000000;
}

.contact-info-title {
    font-size: 24px;
    font-weight: 700;
    color: #29C3D4;
    margin-bottom: 30px;
}

.info-block {
    margin-bottom: 25px;
}

.info-block h4 {
    font-size: 16px;
    color: var(--sp-text-dark);
    margin: 0 0 5px 0;
}

.info-block p {
    color: #29C3D4;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================
           RESPONSIVE DESIGN
           ========================================= */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .contact-box {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .hero-main-title {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .discount-banner {
        padding: 40px 20px;
    }
}


.rug-discount-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 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: 1160px;
    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: 1.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;
    }
}