/* =========================================
   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;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: 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 13px rgba(0, 0, 0, 1.5);
    margin-left: 0 !important;
}

.hero-sub-text {
width: 571px;
    position: relative;
    font-size: 20px;
    line-height: 38px;
    font-weight: 500;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    text-align: center;
    display: inline-block;
    height: 38px;
    margin-top: 0px;
    margin-bottom: 10px;
    text-shadow: 2px 15px 15px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6), 2px 2px 3px rgba(0, 0, 0, 1);
}

.hero-btn-wrapper {
    display: flex;
    gap: 15px;
    margin-left: 0 !important;
    justify-content: center;
}

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

    .rug-hero-content {
        margin: 0 auto;
        padding: 0 15px;
    }

    .hero-btn-wrapper {
        justify-content: center;
    }

    .hero-main-title {
        font-size: 32px;
    }
}

/* =========================================
   2. SERVICES SECTION
   ========================================= */
.services-section {
    background-color: #f4f9ff;
    /* Light bluish background from image */
    padding: 60px 0;
}

.services-header {
    text-align: center;
    /* Centered as per image */
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 32px;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 10px;
}

.text-cyan {
    color: #007bff !important;
    /* Adjust blue/cyan to match your branding */
}

.services-header p {
    color: #444;
    font-size: 18px;
}

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

/* Card Styling */
.service-card {
    background: #ffffff;
    border-radius: 15px;
    /* Rounded corners */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-image-box {
    width: 100%;
    height: 200px;
    /* Fixed height for consistency */
    overflow: hidden;
}

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

.card-text-content {
    padding: 25px;
    text-align: left;
}

.service-title {
    font-size: 20px;
    color: #007bff;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Container for the button */
.view-all-wrapper {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The button reset */
.expand-toggle-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 15px;
    /* Space between text and circle */
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.expand-toggle-btn:hover {
    opacity: 0.8;
}

/* The "View All Services" Text */
.btn-text {
    font-size: 24px;
    font-weight: 600;
    color: #001a33;
    /* Dark navy/black from image */
    font-family: sans-serif;
}

/* The White Circular Icon */
.btn-icon {
    background-color: #ffffff;
    color: #007bff;
    /* Blue arrow color */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Subtle shadow from image */
    transition: transform 0.3s ease;
}

/* Rotation effect when expanded (optional logic for your JS) */
.expand-toggle-btn[data-expanded="true"] .btn-icon {
    transform: rotate(180deg);
}

.learn-more-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}

.learn-more-link:hover {
    text-decoration: underline;
}

/* Responsive */
@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
           ========================================= */
.about-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-flex-container {
    display: flex;
    align-items: center;
    /* Vertically centers the image with the text */
    gap: 60px;
    /* Space between image and text */
}

/* Image Styling */
.about-image-wrapper {
    flex: 1;
    /* Takes up 50% width */
}

.about-main-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 20px;
    /* Matching the rounded corners in your image */
    display: block;
}

/* Content Styling */
.about-content {
    flex: 1;
    /* Takes up 50% width */
}

.about-title {
    font-size: 38px;
    font-weight: 800;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 30px;
    font-family: sans-serif;
}

.text-blue {
    color: #007bff;
    /* Matching the blue from your previous section */
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .about-flex-container {
        flex-direction: column;
        /* Stacks image on top of text on mobile */
        text-align: center;
    }

    .about-image-wrapper {
        margin-bottom: 40px;
    }

    .about-title {
        font-size: 32px;
    }
}

/* =========================================
           4. TRUST SECTION
           ========================================= */
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f4f8;
    /* Matches the light blue bg */
    color: #333;
}

.service-banner {
    padding: 60px 20px;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Typography */
.top-title {
    color: #0061d5;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-transform: capitalize;
}

.main-title span {
    color: #0061d5;
}

/* Grid Layout */
.grid-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.feature-card {
    flex: 1;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Borders for middle column */
.border-sides {
    border-left: 1px solid #c8d6e5;
    border-right: 1px solid #c8d6e5;
}

/* Icons */
.icon-circle {
    width: 50px;
    height: 50px;
    border: 1px solid #0061d5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0061d5;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.feature-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 50px;
    /* Keeps buttons aligned */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    width: 100%;
    max-width: 200px;
}

.btn-filled {
    background-color: #0061d5;
    color: white;
    border: 1px solid #0061d5;
}

.btn-filled:hover {
    background-color: #004bb1;
}

.btn-outline {
    background-color: transparent;
    color: #0061d5;
    border: 1px solid #0061d5;
}

.btn-outline:hover {
    background-color: #0061d5;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-wrapper {
        flex-direction: column;
    }

    .feature-card {
        padding: 40px 0;
    }

    .border-sides {
        border-left: none;
        border-right: none;
        border-top: 1px solid #c8d6e5;
        border-bottom: 1px solid #c8d6e5;
    }
}

/* =========================================
           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: #0061d5;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.contact-info-title {
    font-size: 24px;
    font-weight: 700;
    color: #0061d5;
    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: #0061d5;
    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;
    }
}