/* =========================================================
   REFINED CONTACT PAGE STYLES - CLEAN & PROFESSIONAL
   ========================================================= */

.contact-page-content {
    background: #fcfdfe;
    padding: 60px 0 100px;
    position: relative;
}

.contact-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    gap: 54px;
    padding: 0 4%;
    align-items: flex-start;
}

.contact-info {
    flex: 1.15;
    padding-top: 10px;
}

.contact-form-container {
    flex: 1.05;
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 42px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    margin-top: 57px;
}

/* Info Section Header Badge */
.contact-info .section-badge,
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 600;
    color: #991b1b;
    margin: 0 0 14px 0;
    letter-spacing: 0.3px;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(153, 27, 27, 0.04);
    box-sizing: border-box;
    width: fit-content;
    transition: all 0.25s ease;
}

.contact-info .section-badge:hover,
.section-badge:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    transform: translateY(-1px);
}

.contact-info .section-badge .badge-dot,
.section-badge .badge-dot {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
    flex-shrink: 0;
    display: inline-block;
    animation: pulseBadgeDot 2s infinite ease-in-out;
}

@keyframes pulseBadgeDot {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.1);
        transform: scale(1.08);
    }
}

.eyebrow {
    display: inline-block;
    color: #991b1b;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.contact-info h2 {
    font-size: 38px;
    font-weight: 850;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.contact-info > p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 520px;
}

/* Info Grid Layout - Desktop 2x2 Clean Cards with Perfect Alignment */
.info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;
    min-width: 0;
}

.info-item:hover {
    transform: translateY(-3px);
    border-color: rgba(153, 27, 27, 0.25);
    box-shadow: 0 10px 25px rgba(153, 27, 27, 0.08);
}

.icon-circle {
    width: 44px;
    height: 44px;
    background: rgba(153, 27, 27, 0.08);
    color: #991b1b;
    border: 1px solid rgba(153, 27, 27, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 0 14px 0;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.info-item:hover .icon-circle {
    background: #991b1b;
    color: #ffffff;
    border-color: #991b1b;
    transform: scale(1.05);
}

.info-text {
    width: 100%;
    min-width: 0;
    text-align: left;
}

.info-text h4 {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px 0;
    line-height: 1.3;
    text-align: left;
}

.info-text p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
}

.info-text p a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-text p a:hover {
    color: #991b1b;
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    font-size: 12px;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: #111;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    font-size: 14.5px;
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #991b1b;
    box-shadow: 0 0 0 4px rgba(153, 27, 27, 0.05);
}

.btn-submit {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    font-weight: 800;
    background: #991b1b;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-submit:hover {
    background: #111;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Overrides */
@media (max-width: 1100px) {
    .contact-container {
        flex-direction: column;
        gap: 48px;
    }

    .contact-form-container {
        padding: 36px 28px;
        margin-top: 0 !important;
    }
}

@media (max-width: 900px) {
    .contact-page-content {
        padding-top: 62px !important;
        padding-bottom: 50px !important;
    }

    .contact-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        gap: 22px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        box-sizing: border-box !important;
    }

    .contact-info {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding-top: 0 !important;
        box-sizing: border-box !important;
    }

    .contact-info .section-badge {
        font-size: 12.5px !important;
        padding: 5px 14px !important;
        margin: 0 auto 10px auto !important;
    }

    .contact-info .section-badge .badge-dot {
        width: 6px !important;
        height: 6px !important;
    }

    .contact-info .eyebrow {
        display: inline-block !important;
        margin: 0 auto 10px !important;
    }

    .contact-info h2 {
        font-size: 26px !important;
        margin-bottom: 10px !important;
    }

    .contact-info > p {
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
    }

    /* 2x2 Grid Layout for Mobile */
    .info-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px 10px !important;
        margin-bottom: 28px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .info-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        padding: 14px 8px 12px !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .icon-circle {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
        background: rgba(153, 27, 27, 0.08) !important;
        color: #991b1b !important;
        border: 1px solid rgba(153, 27, 27, 0.15) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 16px !important;
        margin: 0 auto 10px !important;
        flex-shrink: 0 !important;
    }

    .info-text {
        width: 100% !important;
        min-width: 0 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .info-text h4 {
        font-size: 11.5px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        margin-bottom: 5px !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .info-text p {
        font-size: 11px !important;
        line-height: 1.4 !important;
        color: #64748b !important;
        margin: 0 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
        width: 100% !important;
    }

    .info-text p a {
        color: #64748b !important;
        text-align: center !important;
        display: inline-block !important;
        font-size: 10.8px !important;
        word-break: break-all !important;
    }

    /* Mobile Form Full Alignment */
    .contact-form-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 24px 18px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
        box-sizing: border-box !important;
    }

    .contact-form {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        box-sizing: border-box !important;
    }

    .form-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
        margin-bottom: 14px !important;
        box-sizing: border-box !important;
    }

    .form-group {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
    }

    .form-group label {
        font-size: 11.5px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        margin-bottom: 2px !important;
        text-align: left !important;
        padding-left: 0 !important;
        display: block !important;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        height: 48px !important;
        padding: 0 16px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        font-size: 14px !important;
        color: #0f172a !important;
        box-sizing: border-box !important;
        transition: all 0.2s ease !important;
    }

    .form-group select {
        padding-right: 42px !important;
        background-position: right 14px center !important;
    }

    .form-group textarea {
        height: auto !important;
        min-height: 110px !important;
        padding: 14px 16px !important;
        resize: vertical !important;
        line-height: 1.5 !important;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        background: #ffffff !important;
        border-color: #991b1b !important;
        box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.08) !important;
        outline: none !important;
    }

    .btn-submit {
        width: 100% !important;
        height: 50px !important;
        padding: 0 20px !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        background: #991b1b !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        text-transform: uppercase !important;
        letter-spacing: 1.5px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 6px !important;
        box-shadow: 0 6px 18px rgba(153, 27, 27, 0.2) !important;
        box-sizing: border-box !important;
    }
}

/* Professional Styled Select Element */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23991b1b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 15px;
    padding-right: 50px !important;
    cursor: pointer;
    background-color: #f8fafc;
}

.form-group select:focus {
    background-color: #ffffff;
    border-color: #991b1b;
}

/* Global Shadow Fixes (Remove Blue Tint) */
.navbar {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

.navbar:hover {
    box-shadow: 0 20px 50px rgba(153, 27, 27, 0.08) !important;
}

.btn-submit {
    box-shadow: 0 10px 20px rgba(153, 27, 27, 0.15) !important;
}

.btn-submit:hover {
    box-shadow: 0 15px 30px rgba(153, 27, 27, 0.25) !important;
}

/* Universal Alignment & Professionalism Fixes for "Boxes" */

/* 1. Featured Product Cards Alignment */
.product-card-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px !important;
}

.card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.card-info h4 {
    margin-bottom: 12px !important;
}

.card-info p {
    margin-bottom: 20px !important;
}

/* 2. Category Cards Alignment */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 3. About Stats Alignment */
@media (max-width: 900px) {
    .about-stats {
        justify-content: center !important;
        text-align: center;
        width: 100%;
    }

    .stat-item {
        align-items: center;
    }
}

/* 4. Client Card Fixes */
.client-card {
    height: 120px !important;
    /* Standardized height */
    padding: 20px !important;
}

.client-card img {
    max-width: 80% !important;
    max-height: 70% !important;
}

/* 5. Working Process Icons */
.step-item {
    align-items: center !important;
}

.step-icon-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* 6. Contact Form Dropdown Alignment */
.form-group select {
    text-align: left;
    /* Keep text left but keep box balanced */
    padding-left: 20px !important;
}


/* FINAL BRAND CLEANUP - REMOVING ALL BLUE & CONSOLIDATING */

/* 1. Header & Navigation */
.top-banner {
    background-color: #f8fafc !important;
    color: #111 !important;
    border-bottom: 1px solid #e2e8f0;
}

.navbar {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.navbar:hover {
    box-shadow: 0 20px 50px rgba(153, 27, 27, 0.08) !important;
}

.mobile-nav-toggle:hover {
    color: #991b1b !important;
}

/* 2. Hero Section */
.hero-split {
    background-color: #ffffff !important;
}

.hero-content h1 {
    letter-spacing: -2px;
}

.content-dots .dot.active {
    background-color: #991b1b !important;
}

/* 3. Global Section Header Styling */
.section-header .eyebrow {
    color: #991b1b !important;
    font-weight: 800;
}

.sparkle-svg,
.sparkle-svg-left {
    color: #991b1b !important;
}

/* 4. Product Card Refinement */
.product-card-small:hover {
    border-color: #991b1b !important;
}

.btn-learn-more {
    color: #991b1b !important;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.btn-learn-more:hover {
    color: #000 !important;
}

/* 5. Mobile Adjustments Refined */
@media (max-width: 900px) {
    .content-slider {
        min-height: 240px !important;
    }

    .content-dots {
        margin-top: 10px !important;
    }

    .hero-image {
        height: 260px !important;
        margin-top: 0 !important;
    }
}


/* FORM INPUT PERFECT ALIGNMENT FIX (DESKTOP) */
@media (min-width: 901px) {
    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 0 !important;
    }

    .form-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        /* Guarantees exactly equal widths */
        gap: 20px !important;
        margin-bottom: 20px !important;
    }

    .form-group {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        height: 54px !important;
        /* Force identical height for alignment */
        padding: 0 18px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .form-group textarea {
        height: auto !important;
        min-height: 140px !important;
        padding: 15px 18px !important;
    }

    .contact-form-container {
        margin-left: 0 !important;
    }
}

/* CTA Arrow Alignments */
.btn-solid,
.btn-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-solid:hover .btn-arrow,
.btn-submit:hover .btn-arrow {
    transform: translateX(4px) !important;
}

/* UNIVERSAL BUTTON STYLING (Red Theme) */
.btn-learn-more,
.btn-quote,
.category-link,
#viewAllWashroom,
.btn-solid,
.btn-submit {
    background-color: #991b1b !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid #991b1b !important;
    box-shadow: 0 4px 10px rgba(153, 27, 27, 0.1) !important;
}

/* OUTLINE BUTTON STYLE (As shown in design) */
.btn-outline {
    background-color: transparent !important;
    background-image: none !important;
    color: #991b1b !important;
    border: 1px solid #991b1b !important;
    box-shadow: none !important;
}

.btn-learn-more:hover,
.btn-quote:hover,
.category-link:hover,
#viewAllWashroom:hover,
.btn-solid:hover,
.btn-submit:hover {
    background-color: #7f1d1d !important;
    border-color: #7f1d1d !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(153, 27, 27, 0.3) !important;
    transform: translateY(-3px) !important;
    background-image: none !important;
}

.btn-outline:hover {
    background-color: #991b1b !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(153, 27, 27, 0.2) !important;
}

/* Ensure arrows are white if present and animate properly */
.btn-learn-more .btn-arrow,
.btn-outline .btn-arrow,
.btn-quote .btn-arrow {
    stroke: #ffffff !important;
    transition: transform 0.3s ease !important;
}

.btn-learn-more:hover .btn-arrow,
.btn-outline:hover .btn-arrow,
.btn-quote:hover .btn-arrow {
    transform: translateX(4px) !important;
}

/* Contact Us Button Override (Changed from Blue to Red to match design) */
.btn-contact-blue {
    background-color: #991b1b !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid #991b1b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(153, 27, 27, 0.1) !important;
}

.btn-contact-blue:hover {
    background-color: #7f1d1d !important;
    border-color: #7f1d1d !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(153, 27, 27, 0.3) !important;
    transform: translateY(-3px) !important;
    background-image: none !important;
}


/* Slider Categories Pill Colors (Brand Red) */
.sub-nav-pill:hover {
    border-color: #991b1b !important;
    color: #991b1b !important;
    box-shadow: 0 4px 12px rgba(153, 27, 27, 0.15) !important;
}

.sub-nav-pill.active {
    background: #991b1b !important;
    color: #ffffff !important;
    border-color: #991b1b !important;
    box-shadow: 0 6px 15px rgba(153, 27, 27, 0.3) !important;
}


/* Navbar Center Items Hover Styling */
.navbar-center .nav-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.navbar-center .nav-item:hover {
    background-color: #fff5f5 !important;
    color: #991b1b !important;
    box-shadow: 0 4px 12px rgba(153, 27, 27, 0.15) !important;
    transform: translateY(-1px) !important;
}

.navbar-center .nav-item:hover .chevron {
    color: #991b1b !important;
}


/* Hide Desktop Header CTAs on Mobile */
@media (max-width: 900px) {

    .navbar-right .btn-contact-blue,
    .navbar-right .btn-outline {
        display: none !important;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}