/* ==========================================
   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;
}

/* Navbar logo handled uniformly by style.css for all pages */

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

.contact-hero-section {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-image: url('../images/contact-us/contact-us-banner.webp');
    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: 270px;
    z-index: 2;
}

/* Dark contrast overlay for hero banner */
.contact-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

/* 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: 860px;
    margin-inline: auto;
    margin-top: 0;
    margin-bottom: 0;
    color: #ffffff;
    text-align: center;
    width: 100%;
}

/* 4. Standardized Typography Rules */

/* Line 1: Every Great */
.hero-line-1 {
    font-size: clamp(34px, 3.2vw, 46px);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 6px;
    color: #ffffff;
    text-align: center;
}

/* Line 2: Partnership */
.txt-huge-red {
    font-size: clamp(62px, 6vw, 84px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -1.5px;
    margin-bottom: 8px;
    color: #ff0015;
    text-shadow: 0 0 30px rgba(255, 0, 21, 0.35);
    text-align: center;
}

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

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

/* 5. Paragraph Specifications */
.contact-hero-desc {
    max-width: 720px;
    font-size: 16.5px;
    line-height: 1.65;
    margin-top: 24px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.88);
    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: 50px;
    padding: 0 40px;
    border-radius: 50px;
    background: #ff1a26;
    background: linear-gradient(135deg, #ff2a2a 0%, #d60011 100%);
    color: #ffffff !important;
    font-size: 1.05rem;
    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.webp');
    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;
}

/* ==========================================
   WHAT HAPPENS NEXT? - SWIPER PROCESS SLIDER
   ========================================== */
.next-section-title {
    font-size: 64px;
    font-weight: 400;
    color: #3a3a3a;
    line-height: 1.1;
    text-align: center;
    margin: 0 0 35px 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Slider Track & Wrapper */
.next-slider-wrapper {
    position: relative;
    max-width: 980px;
    margin: 0 auto 50px;
    padding: 0;
    z-index: 5;
}

/* Top Right Navigation Controls Bar directly above slider */
.next-slider-top-bar {
    position: relative;
    z-index: 10;
    margin-bottom: 15px;
}

.next-nav-controls {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.next-swiper-prev,
.next-swiper-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #333333;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.next-swiper-prev:hover,
.next-swiper-next:hover {
    background-color: #ff2a2a;
    color: #ffffff;
    border-color: #ff2a2a;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255, 42, 42, 0.35);
}

.next-swiper-prev.swiper-button-disabled,
.next-swiper-next.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.next-steps-swiper {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 15px 0 !important;
}

.next-steps-swiper .swiper-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

/* Inter-Slide Dotted Connector with Clear Gap on Both Sides */
.slide-connector-dots {
    position: absolute;
    right: -48px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 6px;
    background: repeating-linear-gradient(90deg, #ff2a2a, #ff2a2a 6px, transparent 6px, transparent 12px);
    background-size: 24px 100%;
    animation: move-dots-horizontal 1.2s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes move-dots-horizontal {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 24px 0;
    }
}

@media (max-width: 991.98px) {
    .slide-connector-dots {
        right: -32px;
        width: 24px;
    }
}

@media (max-width: 575.98px) {
    .slide-connector-dots {
        display: none;
    }
}

.next-card {
    width: 280px;
    max-width: 100%;
    height: 170px;
    border-radius: 18px;
    background-color: #d9d9d9;
    border: 2px solid transparent;
    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;
    position: relative;
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: grab;
}

.next-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(255, 42, 42, 0.25);
    border-color: rgba(255, 42, 42, 0.8);
}

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

.next-card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.next-card:hover .next-card-icon img {
    transform: scale(1.08);
}

.next-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #2b2b2b;
    margin: 0;
    text-align: center;
    line-height: 1.25;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

@media (max-width: 991.98px) {
    .next-section-header {
        flex-direction: column;
        gap: 20px;
    }

    .next-nav-controls {
        position: static;
        transform: none;
    }
}

@media (max-width: 767px) {
    .next-section-title {
        font-size: clamp(24px, 6.8vw, 36px);
        line-height: 1.15;
        margin-bottom: 24px;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .next-swiper-prev,
    .next-swiper-next {
        width: 38px;
        height: 38px;
    }

    .next-card {
        max-width: 290px;
        height: 165px;
    }
}

.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 (Bridging Section 2 & Form) */
.next-gear-img {
    position: absolute;
    top: 600px;
    left: -40px;
    width: clamp(280px, 24vw, 420px);
    height: auto;
    z-index: 999;
    pointer-events: none;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .next-gear-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.webp');
    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;
    padding-inline: 12px;
}

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

.facility-tabs .tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
    color: #666666;
    cursor: pointer;
    text-align: center;
    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: 1180px;
    margin: 0 auto 50px;
    padding-inline: 0;
}

.facility-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.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: 20px;
    width: 100%;
    max-height: 640px;
    object-fit: cover;
    display: block;
}

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

.btn-build-darshan:hover {
    transform: translateY(-2.5px);
    box-shadow: 0 10px 22px rgba(214, 9, 20, 0.5);
}

.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.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding-top: 400px;
    padding-bottom: 140px;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 2;
    margin-top: -110px;
}

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

/* Card Progressive Reveal Animation */
@keyframes stepCardReveal {
    0% {
        opacity: 0;
        transform: translateY(35px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-card.step-revealed {
    animation: stepCardReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Step Row combining Left Circle + Right Card */
.form-step-row {
    display: flex;
    gap: 45px;
    align-items: flex-start;
    position: relative;
    margin-bottom: 45px;
}

.form-step-row.step-revealed {
    animation: stepCardReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.timeline-step-col {
    position: relative;
    width: 60px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 38px;
    align-self: stretch;
}

/* Glowing Step Circle */
.step-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #8e0b12;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
    transition: all 0.35s ease;
    flex-shrink: 0;
    cursor: pointer;
}

/* Pending/Upcoming Step Circle */
.form-step-row:not(.active):not(.completed) .step-circle {
    opacity: 0.55;
}

/* Active Step Circle */
.form-step-row.active .step-circle {
    background: linear-gradient(135deg, #e61c24 0%, #a80007 100%);
    border-color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.95), 0 0 15px rgba(230, 28, 36, 0.9);
    opacity: 1;
}

/* Completed Step Circle */
.form-step-row.completed .step-circle {
    background: #ffffff;
    color: #e60404;
    border-color: #ffffff;
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.9);
    opacity: 1;
}

/* Dotted Line Connector running down from circle to bottom of step row */
.timeline-step-connector {
    position: absolute;
    top: 96px;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    border-left: 2px dashed rgba(255, 255, 255, 0.85);
    z-index: 1;
    display: block;
}

.form-step-row .form-card {
    flex-grow: 1;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .timeline-step-col {
        display: none;
    }
}

/* Step Continue & Back Buttons */
.btn-step-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #e60404 0%, #a80007 100%);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(230, 4, 4, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-step-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(230, 4, 4, 0.45);
    background: linear-gradient(135deg, #ff1a1a 0%, #cc0000 100%);
    color: #ffffff;
}

.btn-step-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    color: #666666;
    border: 1px solid #d0d0d0;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-step-back:hover {
    background: #f0f0f0;
    color: #222222;
    border-color: #999999;
}

/* 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;
    position: relative;
}

/* Ensure earlier cards have a higher z-index so custom dropdowns overlap subsequent cards */
.form-card[data-step="1"] {
    z-index: 10;
}

.form-card[data-step="2"] {
    z-index: 9;
}

.form-card[data-step="3"] {
    z-index: 8;
}

.form-card[data-step="4"] {
    z-index: 7;
}

.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: #e60404;
    box-shadow: 0 0 0 4px rgba(230, 46, 61, 0.12);
    outline: none;
}

/* Custom Dropdown Styling matched exactly to target screenshot */
.custom-dropdown {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    color: #222222;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: pointer;
}

.custom-dropdown-trigger.placeholder {
    color: #888888;
}

.custom-dropdown.open .custom-dropdown-trigger {
    background-color: #222222;
    color: #ffffff;
    border-color: #ff0015;
    box-shadow: 0 0 0 4px rgba(255, 0, 21, 0.15);
}

.custom-dropdown.open .custom-dropdown-trigger.placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.custom-dropdown-arrow {
    width: 24px;
    height: 24px;
    background-color: #ff0015;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.custom-dropdown.open .custom-dropdown-arrow {
    transform: rotate(180deg);
}

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    display: none;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.custom-dropdown.open .custom-dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.custom-dropdown-option-item {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    font-size: 15px;
    color: #333333;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    padding-left: 32px;
}

/* Red bullet point styling */
.custom-dropdown-option-item::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #ff0015;
    border-radius: 50%;
    transition: background-color 0.25s ease;
}

/* Hover and Selected state with red gradient pill matching screenshot */
.custom-dropdown-option-item:hover,
.custom-dropdown-option-item.selected {
    background: linear-gradient(90deg, #ff0015 0%, rgba(255, 0, 21, 0.05) 100%) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.custom-dropdown-option-item:hover::before,
.custom-dropdown-option-item.selected::before {
    background-color: #ffffff;
}

/* Validation overrides for Custom Dropdowns */
.custom-dropdown.is-invalid .custom-dropdown-trigger {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15) !important;
}

.custom-dropdown.is-valid .custom-dropdown-trigger {
    border-color: #198754 !important;
}

.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: 8px 18px;
    border-radius: 30px;
    margin-top: 15px;
    font-size: 14px;
    color: #222222 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.file-preview-item .file-name {
    color: #222222 !important;
    font-weight: 500;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.btn-remove-file {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 20px;
    font-weight: 700;
    margin-left: 12px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: transform 0.2s ease;
}

.btn-remove-file:hover {
    transform: scale(1.2);
}

/* 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: #e60404;
    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: #e60404;
    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
   ========================================== */

/* High Priority Modal Container */
.custom-modern-modal {
    z-index: 1060 !important;
}

/* Modal Dark Blur Backdrop Overlay */
.modal-backdrop {
    z-index: 1055 !important;
    background-color: #000000 !important;
}

.modal-backdrop.show {
    opacity: 0.75 !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

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

.custom-modern-modal.fade .modal-dialog {
    transform: scale(0.85) translateY(20px);
    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);
    }

    /* Mobile Multi-Step Stepper Display */
    .c-step-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        padding: 0 15px;
        margin-bottom: 30px;
        width: 100%;
        max-width: 480px;
        margin-inline: auto;
    }

    /* Hide desktop submit on mobile if preferred, or keep unified */
    .desktop-submit-wrap {
        display: block;
    }

    /* Form step row responsive layout */
    .form-step-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 25px;
    }

    .form-card {
        width: 100%;
    }
}

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

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

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

    .txt-huge-red {
        font-size: 76px;
        letter-spacing: -1.5px;
    }

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

    .contact-hero-desc {
        font-size: 16px;
        max-width: 700px;
        margin-top: 22px;
        margin-bottom: 30px;
    }
}

/* 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) {
    /* Navbar logo handled uniformly by style.css for all pages */

    .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: clamp(24px, 7vw, 36px);
        margin-bottom: 4px;
        line-height: 1.15;
    }

    .txt-huge-red {
        font-size: clamp(38px, 12.5vw, 64px);
        letter-spacing: -0.5px;
        margin-bottom: 6px;
        line-height: 1;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .hero-line-3 {
        font-size: clamp(20px, 6vw, 32px);
        line-height: 1.2;
    }

    .contact-hero-desc {
        font-size: clamp(14px, 3.8vw, 16px);
        line-height: 1.55;
        max-width: 100%;
        margin-top: 18px;
        margin-bottom: 28px;
    }

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

    .btn-hero-contact {
        width: auto;
        min-width: 200px;
        max-width: 100%;
        height: 50px;
        padding: 12px 36px;
        font-size: 1rem;
        line-height: 1;
    }

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

    .next-section-title {
        font-size: clamp(24px, 6.8vw, 32px);
        line-height: 1.15;
        margin-bottom: 24px;
        word-break: normal;
        overflow-wrap: break-word;
    }

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

    .facility-tabs {
        width: 100%;
        max-width: 360px;
        padding: 4px;
        border-radius: 50px;
    }

    .facility-tabs .tab-btn {
        flex: 1;
        padding: 10px 14px;
        font-size: 13px;
        line-height: 1.25;
        border-radius: 50px;
    }

    .btn-build-darshan {
        width: auto;
        min-width: 220px;
        height: 48px;
        padding: 12px 30px;
        font-size: 14px;
    }

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

    /* Form step button center in mobile, arrow in right */
    .card-step-nav {
        text-align: center !important;
        justify-content: center !important;
        flex-direction: column-reverse;
        gap: 12px;
    }

    .btn-step-continue {
        width: 100%;
        max-width: 320px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 13px 44px 13px 20px;
        margin: 0 auto;
    }

    .btn-step-continue span {
        margin: 0 auto;
        text-align: center;
    }

    .btn-step-continue i {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.35rem;
    }

    .btn-step-back {
        width: 100%;
        max-width: 320px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 11px 20px 11px 40px;
        margin: 0 auto;
    }

    .btn-step-back span {
        margin: 0 auto;
        text-align: center;
    }

    .btn-step-back i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.35rem;
    }

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