/* ==========================================
   DARSHAN EXTRUSIONS - CONTACT US PAGE STYLES
   ========================================== */

/* Outer Page Body */
body.contact-us-page-body {
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}

/* Scoped Logo Inset Styling for Header */
body.contact-us-page-body .navbar-brand-card {
    top: 30px;
    left: 32px;
    border-radius: 16px;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

body.contact-us-page-body .navbar-brand-card img {
    width: 92px;
    height: auto;
}

/* Outer Section Container */
.contact-us-page {
    width: 100%;
    padding: 0;
    position: relative;
    box-sizing: border-box;
    overflow-x: clip;
}

/* Full Screen Hero Section maintaining 100vh */
.contact-hero-section {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-image: url('../images/contact-us/contact-us-banner.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    padding-top: 130px;
    padding-bottom: 200px;
    z-index: 2;
}

/* 1. Hero Content Container - Exact 980px Container & ~40px Downward Offset */
.contact-hero-container {
    max-width: 980px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding-inline: 32px;
    position: relative;
    z-index: 10;
    transform: translateY(40px);
}

/* Centered Flex Stack */
.contact-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* 3. Heading Width Limit ~900px */
.contact-hero-title {
    max-width: 900px;
    margin-inline: auto;
    margin-top: 0;
    margin-bottom: 0;
    color: #ffffff;
    text-align: center;
    width: 100%;
}

/* 4. Typography Exact Rules */

/* Line 1: Every Great */
.hero-line-1 {
    font-size: clamp(58px, 4vw, 72px);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: center;
}

/* Line 2: Partnership */
.txt-huge-red {
    font-size: clamp(110px, 8vw, 140px);
    font-weight: 600;
    line-height: 0.88;
    letter-spacing: -3px;
    margin-bottom: 16px;
    color: #ff0015;
    text-shadow: 0 0 40px rgba(255, 0, 21, 0.45);
    text-align: center;
}

/* Line 3: Starts with a Conversation. */
.hero-line-3 {
    font-size: clamp(52px, 3.5vw, 68px);
    font-weight: 400;
    line-height: 1.05;
    color: #ffffff;
    text-align: center;
}

.hero-line-3 strong {
    font-weight: 700;
    color: #ffffff;
}

/* 5. Paragraph Specifications */
.contact-hero-desc {
    max-width: 800px;
    font-size: 28px;
    line-height: 1.55;
    margin-top: 50px;
    margin-bottom: 52px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    text-align: center;
    margin-inline: auto;
}

/* 6. Buttons Stack & Gap */
.contact-hero-btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

/* Primary Red Contact Button */
.btn-hero-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 68px;
    padding: 22px 80px;
    border-radius: 50px;
    background: #ff1a26;
    background: linear-gradient(135deg, #ff2a2a 0%, #d60011 100%);
    color: #ffffff !important;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(255, 26, 38, 0.55), 0 0 25px rgba(255, 26, 38, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    box-sizing: border-box;
}

.btn-hero-contact:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 45px rgba(255, 26, 38, 0.75), 0 0 35px rgba(255, 26, 38, 0.5);
    color: #ffffff !important;
}

.btn-hero-contact:active {
    transform: translateY(-1px) scale(0.99);
}

/* ==========================================
   SECTION 2: WHAT HAPPENS NEXT?
   ========================================== */

.what-happens-next-section {
    position: relative;
    width: 100%;
    background-image: url('../images/contact-us/section-two-bg.png');
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    padding-top: 200px;
    padding-bottom: 150px;
    margin-top: -120px;
    overflow: visible;
    box-sizing: border-box;
    z-index: 1;
}

.next-section-title {
    font-size: 64px;
    font-weight: 400;
    color: #3a3a3a;
    line-height: 1.1;
    text-align: center;
    margin-top: 0;
    margin-bottom: 70px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.next-cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-bottom: 70px;
    position: relative;
    z-index: 5;
}

.next-cards-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.next-card {
    width: 280px;
    height: 170px;
    border-radius: 18px;
    background-color: #d9d9d9;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    box-sizing: border-box;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
}

.next-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.next-card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.next-card-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.next-card-title {
    font-size: 20px;
    font-weight: 500;
    color: #222222;
    margin: 0;
    text-align: center;
    line-height: 1.25;
}

.next-bottom-text {
    font-size: 34px;
    font-weight: 400;
    color: #444444;
    text-align: center;
    margin-top: 0;
    margin-bottom: 80px;
    position: relative;
    z-index: 5;
}

.next-silver-strip {
    position: absolute;
    width: 100%;
    z-index: 9999999;
    bottom: 20px;
}

.next-silver-strip img {
    display: block;
    width: 100%;
    height: auto;
}

/* Decorative floating objects */
.next-gear-img {
    position: absolute;
    top: 600px;
    left: -40px;
    width: clamp(250px, 22vw, 360px);
    height: auto;
    z-index: 999;
    pointer-events: none;
}

.next-solar-img {
    position: absolute;
    bottom: -100px;
    right: -20px;
    width: clamp(250px, 22vw, 360px);
    height: auto;
    z-index: 1010;
    pointer-events: none;
}

@media (max-width: 767.98px) {

    .next-gear-img,
    .next-solar-img {
        display: none !important;
    }
}



/* ==========================================
   SECTION 2.5: PARTNERSHIPS & FACILITIES
   ========================================== */

.partnerships-section {
    position: relative;
    width: 100%;
    background-image: url('../images/contact-us/build-with-darshan-bg.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding-top: 100px;
    padding-bottom: 120px;
    color: #3a3a3a;
    z-index: 5;
    box-sizing: border-box;
}

.partnerships-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    color: #3a3a3a;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.2;
}

.partnerships-title .txt-red {
    color: #ff2a2a;
    font-weight: 700;
}

.partnerships-desc {
    max-width: 760px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
    padding-inline: 16px;
}

.facility-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 45px;
}

.facility-tabs {
    display: inline-flex;
    background: #ffffff;
    border: 1.5px solid #eaeaea;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.facility-tabs .tab-btn {
    background: transparent;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.facility-tabs .tab-btn.active {
    background: linear-gradient(135deg, #d60914 0%, #a80007 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(214, 9, 20, 0.35);
}

.facility-content-wrap {
    max-width: 1000px;
    margin: 0 auto 50px;
    padding-inline: 16px;
}

.facility-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    border: none;
    padding: 0;
}

.facility-view {
    display: none;
    opacity: 0;
}

.facility-view.active {
    display: block;
    opacity: 1;
    animation: fadeInFacility 0.5s ease-out forwards;
}

@keyframes fadeInFacility {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.facility-img {
    border-radius: 18px;
    width: 100%;
    height: auto;
    display: block;
}

.btn-build-darshan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 48px;
    border-radius: 50px;
    background: linear-gradient(135deg, #d60914 0%, #a80007 100%);
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(214, 9, 20, 0.4);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
}

.btn-build-darshan:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(214, 9, 20, 0.55);
}

.btn-build-darshan:active {
    transform: translateY(0) scale(0.98);
}


/* ==========================================
   SECTION 3: CONTACT FORM & TIMELINE STYLES
   ========================================== */

.contact-form-section {
    position: relative;
    width: 100%;
    background-image: url(../images/contact-us/contact-form-bg.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding-top: 200px;
    padding-bottom: 140px;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 1;
    margin-top: -110px;
}

/* Form & Timeline Grid Container */
.contact-form-grid {
    display: flex;
    gap: 45px;
    align-items: flex-start;
    position: relative;
}

/* Timeline Column */
.contact-timeline-col {
    position: relative;
    width: 70px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

/* Vertical Dotted White Line */
.contact-timeline-line {
    position: absolute;
    top: 40px;
    bottom: 220px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    border-left: 2px dashed rgba(255, 255, 255, 0.85);
    z-index: 1;
}

/* Timeline Step Item */
.timeline-step {
    position: relative;
    z-index: 2;
    margin-bottom: 540px;
}

.timeline-step.step-3 {
    margin-bottom: 0;
}

/* Glowing Step Circle */
.step-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e61c24 0%, #a80007 100%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.9), 0 0 15px rgba(230, 28, 36, 0.8);
}

/* Cards Column */
.contact-cards-col {
    flex-grow: 1;
}

/* White Form Card */
.form-card {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 40px 45px;
    margin-bottom: 45px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-header-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.card-title-icon {
    object-fit: contain;
}

.card-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* Form Controls & Inputs */
.form-control,
.form-select {
    background-color: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 15px;
    color: #222222;
    transition: all 0.25s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: #ffffff;
    border-color: #e62e3d;
    box-shadow: 0 0 0 4px rgba(230, 46, 61, 0.12);
    outline: none;
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #198754 !important;
    background-image: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545 !important;
    background-image: none;
}

.form-label-custom {
    font-size: 14px;
    font-weight: 600;
    color: #444444;
    margin-bottom: 8px;
    display: block;
}

.error-feedback {
    color: #dc3545;
    font-size: 13px;
    font-weight: 500;
    margin-top: 5px;
    min-height: 18px;
}

/* Upload Dropzone Box */
.upload-dropzone {
    border: 2px dashed #ff2a2a;
    border-radius: 20px;
    background-color: #fffafb;
    padding: 35px 25px;
    text-align: center;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.upload-dropzone.dragover {
    background-color: #ffe6e8;
    border-color: #b4121e;
}

.upload-icon {
    margin-bottom: 12px;
}

.upload-text {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 4px;
}

.upload-or {
    font-size: 13px;
    color: #888888;
    margin-bottom: 10px;
}

.btn-browse-file {
    background-color: #ffffff;
    border: 1px solid #ff2a2a;
    color: #ff2a2a;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 24px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.btn-browse-file:hover {
    background-color: #ff2a2a;
    color: #ffffff;
}

.upload-hint {
    font-size: 12px;
    color: #777777;
    margin-top: 14px;
    margin-bottom: 0;
}

.file-preview-item {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 6px 16px;
    border-radius: 30px;
    margin-top: 15px;
    font-size: 14px;
}

.btn-remove-file {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 18px;
    font-weight: 700;
    margin-left: 10px;
    cursor: pointer;
    line-height: 1;
}

/* Submit Button */
.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 16px 64px;
    border-radius: 50px;
    background-color: #ffffff;
    color: #e62e3d;
    font-size: 20px;
    font-weight: 700;
    border: none;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.85), 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-contact-submit:hover {
    background-color: #e62e3d;
    color: #ffffff !important;
    box-shadow: 0 0 45px rgba(255, 255, 255, 0.95), 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}



/* ==========================================
   MODERN POPUP MODAL STYLES
   ========================================== */

/* Backdrop Blur & Dark Overlay */
.modal-backdrop.show {
    opacity: 1 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Modal Dialog & Scale/Fade Transition */
.custom-modern-modal .modal-dialog {
    max-width: 440px;
    margin: 1.75rem auto;
}

.custom-modern-modal.fade .modal-dialog {
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.custom-modern-modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Modal Card Surface */
.custom-modal-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22), 0 0 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.modal-card-inner {
    padding: 40px 32px 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Icon Badge Container & Pulse Animation */
.modal-icon-badge {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin-bottom: 24px;
    z-index: 1;
}

/* Success Badge (Green/Emerald Accent) */
.modal-icon-badge.success-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.modal-icon-badge.success-badge .icon-pulse-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px dashed rgba(16, 185, 129, 0.4);
    animation: modalRingRotate 12s linear infinite;
}

/* Error Badge (Red Accent) */
.modal-icon-badge.error-badge {
    background: linear-gradient(135deg, #ff2a2a 0%, #d60011 100%);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(255, 42, 42, 0.4);
}

.modal-icon-badge.error-badge .icon-pulse-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 42, 42, 0.4);
    animation: modalRingRotate 12s linear infinite;
}

@keyframes modalRingRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Title & Description */
.modal-card-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.modal-card-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 28px;
    font-weight: 400;
}

/* Action Buttons */
.btn-modal-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    min-width: 170px;
    padding: 0 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.btn-modal-action.btn-modal-success {
    background: linear-gradient(135deg, #ff2a2a 0%, #d60011 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(255, 26, 38, 0.4);
}

.btn-modal-action.btn-modal-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 26, 38, 0.55);
}

.btn-modal-action.btn-modal-error {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.btn-modal-action.btn-modal-error:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-2px);
}

.btn-modal-action:active {
    transform: translateY(0) scale(0.98);
}

/* ==========================================
   MOBILE MULTI-STEP WIZARD STYLES
   ========================================== */

/* Hide stepper & step-nav on desktop */
.c-step-bar {
    display: none;
}

.mobile-step-nav {
    display: none;
}

/* Desktop: show all cards and the regular submit button */
.desktop-submit-wrap {
    display: block;
}

/* Tablet & Mobile: activate multi-step */
@media (max-width: 991.98px) {

    /* Show mobile stepper */
    .c-step-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        padding: 0 15px;
        margin-bottom: 35px;
        width: 100%;
        max-width: 480px;
        margin-inline: auto;
    }

    /* Background track line */
    .c-step-track {
        position: absolute;
        top: 20px;
        left: 45px;
        right: 45px;
        height: 3px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 3px;
        z-index: 1;
    }

    /* Animated progress fill */
    .c-step-fill {
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, #ff2a2a, #ff6b6b);
        border-radius: 3px;
        transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 0 12px rgba(255, 42, 42, 0.5);
    }

    /* Each step indicator */
    .c-step-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 2;
        flex: 1;
        text-align: center;
    }

    .c-step-dot {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.35);
        color: rgba(255, 255, 255, 0.5);
        font-size: 16px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .c-step-label {
        display: block;
        font-size: 10px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.4);
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-top: 10px;
        white-space: nowrap;
        transition: color 0.3s ease;
    }

    /* Active step */
    .c-step-indicator.active .c-step-dot {
        background: linear-gradient(135deg, #ff2a2a, #d60011);
        border-color: #ffffff;
        color: #ffffff;
        box-shadow: 0 0 20px rgba(255, 42, 42, 0.6), 0 4px 15px rgba(0, 0, 0, 0.3);
        transform: scale(1.15);
    }

    .c-step-indicator.active .c-step-label {
        color: #ffffff;
    }

    /* Completed step */
    .c-step-indicator.completed .c-step-dot {
        background: linear-gradient(135deg, #10b981, #059669);
        border-color: #ffffff;
        color: #ffffff;
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    }

    .c-step-indicator.completed .c-step-label {
        color: rgba(255, 255, 255, 0.85);
    }

    /* Show step navigation buttons */
    .mobile-step-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 28px;
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
    }

    /* Next button */
    .btn-step-next {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 48px;
        padding: 0 28px;
        background: linear-gradient(135deg, #ff2a2a, #d60011);
        color: #ffffff;
        font-size: 15px;
        font-weight: 600;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 6px 20px rgba(255, 42, 42, 0.35);
    }

    .btn-step-next:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(255, 42, 42, 0.5);
    }

    .btn-step-next:active {
        transform: translateY(0) scale(0.97);
    }

    /* Previous button */
    .btn-step-prev {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 48px;
        padding: 0 24px;
        background: #f1f5f9;
        color: #475569;
        font-size: 15px;
        font-weight: 600;
        border: 1px solid #e2e8f0;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-step-prev:hover {
        background: #e2e8f0;
        color: #1e293b;
        transform: translateY(-1px);
    }

    /* Mobile Submit button inside card */
    .btn-step-submit {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 48px;
        padding: 0 32px;
        background: linear-gradient(135deg, #ff2a2a, #d60011);
        color: #ffffff;
        font-size: 16px;
        font-weight: 700;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 6px 20px rgba(255, 42, 42, 0.35);
    }

    .btn-step-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(255, 42, 42, 0.5);
    }

    /* Hide desktop submit on mobile */
    .desktop-submit-wrap {
        display: none !important;
    }

    /* Hide vertical timeline on mobile */
    .contact-timeline-col {
        display: none !important;
    }

    /* Hide non-active cards (JS controlled) */
    .form-card {
        display: none;
    }

    .form-card.step-active {
        display: block;
        animation: stepSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    @keyframes stepSlideIn {
        from {
            opacity: 0;
            transform: translateX(30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Slide out to left (going forward) */
    .form-card.step-exit-left {
        animation: stepSlideOutLeft 0.3s ease both;
    }

    @keyframes stepSlideOutLeft {
        from {
            opacity: 1;
            transform: translateX(0);
        }

        to {
            opacity: 0;
            transform: translateX(-30px);
        }
    }

    /* Slide in from left (going backward) */
    .form-card.step-active-reverse {
        display: block;
        animation: stepSlideInReverse 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    @keyframes stepSlideInReverse {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

/* Laptop (1440px) Breakpoint */
@media (max-width: 1599.98px) {
    .contact-hero-container {
        transform: translateY(30px);
    }

    .hero-line-1 {
        font-size: 60px;
    }

    .txt-huge-red {
        font-size: 120px;
        letter-spacing: -2px;
    }

    .hero-line-3 {
        font-size: 50px;
    }

    .contact-hero-desc {
        font-size: 18px;
        max-width: 800px;
        margin-top: 50px;
        margin-bottom: 44px;
    }
}

/* Tablet (768px to 1199.98px) */
@media (max-width: 1199.98px) {
    .contact-hero-container {
        max-width: 820px;
        transform: translateY(20px);
        padding-inline: 24px;
    }

    .what-happens-next-section {
        margin-top: -80px;
        padding-top: 80px;
    }

    .next-section-title {
        font-size: 48px;
        margin-bottom: 50px;
    }

    .next-cards-container {
        gap: 20px;
        margin-bottom: 50px;
    }

    .next-cards-row.top-row,
    .next-cards-row.bottom-row {
        gap: 20px;
    }

    .next-card {
        width: 240px;
        height: 155px;
    }

    .next-card-title {
        font-size: 18px;
    }

    .next-bottom-text {
        font-size: 26px;
        margin-bottom: 60px;
    }



    .contact-form-grid {
        gap: 30px;
    }

    .timeline-step {
        margin-bottom: 580px;
    }
}

@media (max-width: 991.98px) {
    body.contact-us-page-body .navbar-brand-card {
        top: 10px;
        left: 14px;
        border-radius: 12px;
        padding: 0.45rem 0.75rem;
    }

    body.contact-us-page-body .navbar-brand-card img {
        width: 48px;
        height: auto;
    }

    .contact-hero-section {
        padding-top: 130px;
        padding-bottom: 120px;
    }

    .contact-form-grid {
        flex-direction: column;
        gap: 0;
    }

    .form-card {
        padding: 30px 25px;
        border-radius: 22px;
        margin-bottom: 0;
    }

    .contact-form-section {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

/* Mobile (<768px) Breakpoint */
@media (max-width: 767.98px) {
    .contact-hero-section {
        padding-top: 125px;
        padding-bottom: 80px;
        min-height: auto;
    }

    .contact-hero-container {
        transform: translateY(0);
        padding-inline: 16px;
        max-width: 100%;
    }

    .hero-line-1 {
        font-size: 36px;
        margin-bottom: 6px;
    }

    .txt-huge-red {
        font-size: 64px;
        letter-spacing: -1.5px;
        margin-bottom: 8px;
    }

    .hero-line-3 {
        font-size: 32px;
    }

    .contact-hero-desc {
        font-size: 16px;
        line-height: 1.5;
        max-width: 100%;
        margin-top: 20px;
        margin-bottom: 32px;
    }

    .contact-hero-btn-wrap {
        width: 100%;
    }

    .btn-hero-contact {
        width: 100%;
        height: 60px;
        padding: 16px 24px;
        font-size: 1.05rem;
    }

    .what-happens-next-section {
        margin-top: -40px;
        padding-top: 60px;
    }

    .next-section-title {
        font-size: 34px;
        margin-bottom: 36px;
    }

    .next-cards-container {
        gap: 16px;
        margin-bottom: 45px;
    }

    .next-cards-row {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .next-card {
        width: 100%;
        max-width: 300px;
        height: 150px;
    }

    .next-bottom-text {
        font-size: 20px;
        margin-bottom: 50px;
        padding-inline: 16px;
    }



    .contact-form-section {
        padding-top: 60px;
        padding-bottom: 90px;
    }

    .btn-contact-submit {
        width: 100%;
        padding: 16px 32px;
    }


}