/* ===== YUVA INDIA "CONTACT US" SPECIAL SCScoped STYLE MODULE - YUVA 2026 ===== */

/* Scoped Background Fix for About Page Container */
.about-page {
    background-color: #fafbfd !important;
    background-image:
        radial-gradient(at 0% 0%, rgba(255, 153, 51, 0.09) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(19, 136, 8, 0.09) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(0, 0, 128, 0.04) 0px, transparent 50%),
        linear-gradient(rgba(0, 0, 128, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 128, 0.02) 1px, transparent 1px) !important;
    background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px !important;
    background-attachment: fixed !important;
}

/* Glassmorphism Refinements for Cards */
.info-bullet-card {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
}

.coordinator-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
}

.map-wrapper {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
}

/* Contact Page Scoped Containers */
.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    position: relative;
    z-index: 2;
}


/* Glassmorphic Contact Card */
.contact-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: clamp(24px, 4vw, 48px);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.contact-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--saffron-primary) 0%, var(--navy-chakra) 50%, var(--green-primary) 100%);
}

.contact-glass-card:hover {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 80, 0.15);
}

/* Form Styles & Focus Animations */
.contact-form-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy-chakra);
    margin: 0 0 8px 0;
}

.contact-form-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0 0 32px 0;
    line-height: 1.5;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}



.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: var(--transition-base);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-base);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--navy-chakra);
    background: var(--white-primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 128, 0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

/* Captcha Verification Module */
.captcha-container {
    background: rgba(255, 255, 255, 0.65);
    border: 1px dashed var(--saffron-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}



.captcha-question {
    font-size: 14px;
    font-weight: 700;
    color: var(--saffron-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-input {
    width: 70px;
    text-align: center;
    font-weight: 700;
    padding: 8px;
    border: 2px solid var(--saffron-primary);
}

/* Form Action Buttons */
.submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--white-primary);
    background: linear-gradient(135deg, var(--navy-chakra) 0%, var(--navy-dark) 100%);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-bounce);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 80, 0.25);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Success Slate Animation Container */
.submit-success-card {
    text-align: center;
    padding: 40px 20px;
    display: none;
    animation: fadeInUp 0.6s var(--transition-base) both;
}

.success-check-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-green);
    color: var(--white-primary);
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 25px rgba(19, 136, 8, 0.2);
}

.success-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--green-dark);
    margin: 0 0 12px 0;
}

.success-message {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

/* Side Card Information Block */
.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-bullet-card {
    background: var(--white-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 16px;
    transition: var(--transition-base);
}

.info-bullet-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-bullet-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white-primary);
    flex-shrink: 0;
}

.saffron-bg {
    background: var(--gradient-saffron);
}

.green-bg {
    background: var(--gradient-green);
}

.navy-bg {
    background: var(--gradient-navy);
}

.info-bullet-content h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.info-bullet-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.info-bullet-content a {
    color: var(--navy-chakra);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.info-bullet-content a:hover {
    color: var(--saffron-dark);
    text-decoration: underline;
}

/* ===== DYNAMIC WORKING HOURS BADGES ===== */
.hq-status-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.05em;
    line-height: 1;
}

.hq-status-badge.open {
    background: var(--green-pale);
    color: var(--green-dark);
    border: 1px solid var(--green-light);
}

.hq-status-badge.closed {
    background: #FFEBEB;
    color: #C21A1A;
    border: 1px solid #FFA1A1;
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.open .status-pulse {
    background: var(--green-primary);
    box-shadow: 0 0 0 0 rgba(19, 136, 8, 0.4);
    animation: pulse-green 1.5s infinite;
}

.closed .status-pulse {
    background: #E11D48;
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4);
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(19, 136, 8, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(19, 136, 8, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(19, 136, 8, 0);
    }
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(225, 29, 72, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

/* ===== DIGITAL COMMUNITY & SOCIAL MEDIA DIRECTORY ===== */
.social-media-section {
    padding: 80px 0;
    background: var(--bg-subtle);
    border-radius: var(--radius-2xl);
    margin-bottom: 48px;
}

.social-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 20px;
}

.social-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy-chakra);
    margin: 0 0 12px 0;
}

.social-header p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social-card {
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: var(--radius-2xl);
    padding: 36px 28px;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.social-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-light);
    transition: var(--transition-base);
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.social-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white-primary);
    margin-bottom: 24px;
    transition: var(--transition-bounce);
}

.social-card:hover .social-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.social-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: var(--text-primary);
}

.social-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.social-card-action {
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
}

.social-card:hover .social-card-action {
    gap: 12px;
}

/* Custom Themed Branding for each Platform */
/* WhatsApp: Saffron Theme */
.whatsapp-card .social-card-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-card::after {
    background: #25D366;
}

.whatsapp-card .social-card-action {
    color: #128C7E;
}

/* Instagram: Tricolor/Pink Gradient */
.instagram-card .social-card-icon {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #F56040 100%);
}

.instagram-card::after {
    background: #E1306C;
}

.instagram-card .social-card-action {
    color: #E1306C;
}

/* LinkedIn: Navy theme */
.linkedin-card .social-card-icon {
    background: linear-gradient(135deg, #0077B5 0%, #005983 100%);
}

.linkedin-card::after {
    background: #0077B5;
}

.linkedin-card .social-card-action {
    color: #0077B5;
}

/* YouTube: Red */
.youtube-card .social-card-icon {
    background: linear-gradient(135deg, #FF0000 0%, #C40000 100%);
}

.youtube-card::after {
    background: #FF0000;
}

.youtube-card .social-card-action {
    color: #FF0000;
}

/* Telegram: Sky Blue */
.telegram-card .social-card-icon {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.telegram-card::after {
    background: #0088cc;
}

.telegram-card .social-card-action {
    color: #0088cc;
}

/* Facebook: Blue */
.facebook-card .social-card-icon {
    background: linear-gradient(135deg, #1877F2 0%, #0F52BA 100%);
}

.facebook-card::after {
    background: #1877F2;
}

.facebook-card .social-card-action {
    color: #1877F2;
}

/* ===== GLASSMORPHIC FAQ ACCORDIONS ===== */
.faq-section-wrapper {
    margin-bottom: 80px;
}

.faq-section-wrapper .team-header {
    text-align: center;
}

.faq-accordion-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 850px;
    margin: 0 auto;
}

.faq-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.faq-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-md);
}

.faq-trigger {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 16px;
    user-select: none;
    gap: 16px;
}

.faq-arrow {
    font-size: 14px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-card.open {
    border-left: 4px solid var(--saffron-primary);
    border-color: var(--border-medium);
}

.faq-card.open .faq-arrow {
    transform: rotate(180deg);
    color: var(--saffron-dark);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-panel p {
    margin: 0;
    padding: 0 24px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== MAP MODULE WIDGET ===== */
.map-section {
    margin-bottom: 48px;
}

.map-section .team-header {
    text-align: center;
}

.map-quick-links {
    margin-top: 24px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-pan-badge {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-base);
}

.quick-pan-badge i {
    color: var(--saffron-primary);
}

.quick-pan-badge:hover {
    background: var(--navy-chakra);
    color: var(--white-primary);
    border-color: var(--navy-chakra);
    transform: translateY(-2px);
}

.quick-pan-badge:hover i {
    color: var(--saffron-light);
}

.map-wrapper {
    background: var(--white-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    padding: 16px;
    box-shadow: var(--shadow-xl);
}

.map-container {
    height: 450px;
    width: 100%;
    border-radius: var(--radius-xl);
    z-index: 1;
}

/* Leaflet Grayscale and Popup Customization styling */
.leaflet-container {
    font-family: inherit;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.08);
}

.leaflet-popup-content-wrapper {
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: var(--shadow-lg);
}

.leaflet-popup-content h3 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-chakra);
}

.leaflet-popup-content p {
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary);
}

.leaflet-popup-tip {
    box-shadow: var(--shadow-sm);
}

/* Tricolor dynamic map marker overrides */
.tricolor-pin {
    width: 24px;
    height: 24px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: absolute;
    box-shadow: var(--shadow-md);
}

.tricolor-pin::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--white-primary);
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.saffron-pin {
    background: var(--saffron-primary);
    border: 2px solid var(--saffron-dark);
}

.green-pin {
    background: var(--green-primary);
    border: 2px solid var(--green-dark);
}

.navy-pin {
    background: var(--navy-chakra);
    border: 2px solid var(--navy-dark);
}

/* ===== CUSTOM DROPDOWN SELECT ===== */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    user-select: none;
    font-family: inherit;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
    width: 100%;
}

.custom-select-trigger:hover,
.custom-select-trigger:focus {
    outline: none;
    border-color: var(--navy-chakra);
    background: var(--white-primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 128, 0.1);
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--navy-chakra);
    background: var(--white-primary);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 0 0 4px rgba(0, 0, 128, 0.1);
}

.custom-select-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 0, 128, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--navy-chakra);
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.2s ease;
}

.custom-select-wrapper.open .custom-select-icon {
    transform: scale(1.1);
}

.custom-select-label {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.custom-select-arrow {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.custom-select-wrapper.open .custom-select-arrow {
    transform: rotate(180deg);
    color: var(--navy-chakra);
}

/* Dropdown Options Panel */
.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1.5px solid var(--navy-chakra);
    border-top: none;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    list-style: none;
    margin: 0;
    padding: 8px;
    z-index: 100;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 128, 0.18);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease,
        transform 0.25s ease;
    pointer-events: none;
}

.custom-select-wrapper.open .custom-select-options {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    overflow-y: auto;
}

/* Scrollbar for options */
.custom-select-options::-webkit-scrollbar {
    width: 5px;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 10px;
}

/* Individual Option Items */
.custom-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: background 0.15s ease, color 0.15s ease;
    position: relative;
}

.custom-option:hover {
    background: rgba(0, 0, 128, 0.05);
    color: var(--navy-chakra);
}

.custom-option.selected {
    background: rgba(255, 153, 51, 0.09);
    color: var(--saffron-dark);
    font-weight: 700;
}

.custom-option.selected:hover {
    background: rgba(255, 153, 51, 0.14);
}

.option-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: rgba(0, 0, 128, 0.07);
    color: var(--navy-chakra);
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.custom-option.selected .option-icon {
    background: linear-gradient(135deg, var(--saffron-primary), var(--saffron-dark));
    color: white;
}

.custom-option:hover .option-icon {
    background: rgba(0, 0, 128, 0.12);
}

.option-text {
    flex: 1;
}

.option-check {
    font-size: 11px;
    color: var(--saffron-primary);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.custom-option.selected .option-check {
    opacity: 1;
    transform: scale(1);
}

/* Separator line between options */
.custom-option+.custom-option {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* =======================================================
   CONTACT US PAGE — COMPLETE RESPONSIVE MEDIA QUERIES
   Replaces ALL existing @media blocks in ContactUs.css
   Breakpoints: 1200 | 992 | 768 | 576 | 480 | 375 | 320
   ======================================================= */

/* ── 992px: Tablets — stack contact grid to single column ── */
@media (max-width: 992px) {

    /* Override the min-width 992px grid rule */
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-glass-card {
        padding: clamp(20px, 4vw, 36px);
    }

    .contact-info-block {
        gap: 16px;
        /* Switch info cards to 2-column grid on mid tablets */
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .social-media-section {
        padding: 60px 0;
        margin-bottom: 36px;
    }

    .social-header h2 {
        font-size: 26px;
    }

    .social-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }

    .map-container {
        height: 380px;
    }

    .map-quick-links {
        gap: 6px;
    }
}

/* ── 768px: Standard tablets / large phones landscape ── */
@media (max-width: 768px) {

    /* Override the min-width 768px form-group-row rule */
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-container {
        padding: 24px 14px 48px;
        gap: 36px;
    }

    .contact-glass-card {
        padding: clamp(18px, 5vw, 28px);
        border-radius: var(--radius-xl);
    }

    .contact-form-title {
        font-size: 22px;
    }

    .contact-form-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .contact-info-block {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .info-bullet-card {
        padding: 18px;
        gap: 14px;
    }

    .info-bullet-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .info-bullet-content h4 {
        font-size: 15px;
    }

    .social-media-section {
        padding: 48px 0;
        border-radius: var(--radius-xl);
        margin-bottom: 28px;
    }

    .social-header {
        margin-bottom: 32px;
        padding: 0 14px;
    }

    .social-header h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .social-header p {
        font-size: 14px;
    }

    .social-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 0 14px;
    }

    .social-card {
        padding: 24px 18px;
    }

    .social-card h3 {
        font-size: 17px;
    }

    .social-card p {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .social-card-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
        margin-bottom: 18px;
    }

    .faq-section-wrapper {
        margin-bottom: 56px;
    }

    .faq-trigger {
        padding: 18px 20px;
        font-size: 15px;
    }

    .faq-panel p {
        padding: 0 20px 20px;
        font-size: 13px;
    }

    .map-container {
        height: 340px;
    }

    .map-wrapper {
        padding: 10px;
        border-radius: var(--radius-xl);
    }

    .quick-pan-badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    .captcha-container {
        flex-direction: column;
        gap: 10px;
    }

    .captcha-question {
        font-size: 13px;
    }

    .submit-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    /* Custom dropdown */
    .custom-select-trigger {
        padding: 12px 14px;
    }

    .custom-select-label {
        font-size: 14px;
    }

    .custom-option {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ── 576px: Large phones — captcha already column, restore ── */
@media (max-width: 576px) {

    /* Override the min-width 576px captcha row rule — keep column */
    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
    }

    .social-grid {
        grid-template-columns: 1fr;
        padding: 0 12px;
        gap: 14px;
    }

    .social-card {
        padding: 22px 18px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
    }

    .social-card-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        margin-bottom: 0;
        margin-right: 14px;
    }

    .social-card h3 {
        font-size: 16px;
        align-self: center;
        flex: 1;
        margin: 0 0 0 0;
    }

    .social-card p {
        width: 100%;
        margin-top: 12px;
        margin-bottom: 14px;
    }

    .social-card-action {
        width: 100%;
    }

    .contact-container {
        padding: 20px 12px 40px;
        gap: 28px;
    }

    .map-container {
        height: 300px;
    }

    .map-quick-links {
        gap: 5px;
        margin-top: 16px;
    }

    .quick-pan-badge {
        font-size: 10.5px;
        padding: 5px 9px;
    }

    .faq-accordion-grid {
        gap: 12px;
    }

    .faq-trigger {
        padding: 16px 18px;
        font-size: 14px;
        gap: 12px;
    }

    .form-control {
        padding: 12px 14px;
        font-size: 14px;
    }

    textarea.form-control {
        min-height: 110px;
    }
}

/* ── 480px: Standard phones ── */
@media (max-width: 480px) {
    .contact-glass-card {
        padding: 18px 14px;
        border-radius: var(--radius-lg);
    }

    .contact-form-title {
        font-size: 20px;
    }

    .contact-form-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-label {
        font-size: 13px;
    }

    .form-control {
        padding: 11px 13px;
        font-size: 14px;
    }

    textarea.form-control {
        min-height: 100px;
    }

    .captcha-container {
        padding: 13px;
    }

    .captcha-input {
        width: 62px;
        padding: 7px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 13px 18px;
        font-size: 14px;
    }

    .info-bullet-card {
        padding: 16px;
        gap: 12px;
        border-radius: var(--radius-lg);
    }

    .info-bullet-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .info-bullet-content h4 {
        font-size: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .info-bullet-content p {
        font-size: 13px;
    }

    .hq-status-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .social-media-section {
        padding: 36px 0;
        border-radius: var(--radius-lg);
        margin-bottom: 20px;
    }

    .social-header h2 {
        font-size: 20px;
    }

    .social-grid {
        padding: 0 10px;
        gap: 12px;
    }

    .social-card {
        padding: 18px 14px;
        border-radius: var(--radius-xl);
    }

    .social-card-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: var(--radius-sm);
    }

    .social-card h3 {
        font-size: 15px;
    }

    .social-card p {
        font-size: 12.5px;
    }

    .social-card-action {
        font-size: 13px;
    }

    .faq-trigger {
        padding: 14px 16px;
        font-size: 13.5px;
    }

    .faq-panel p {
        padding: 0 16px 18px;
        font-size: 12.5px;
    }

    .map-container {
        height: 270px;
    }

    .map-wrapper {
        padding: 8px;
        border-radius: var(--radius-lg);
    }

    .custom-select-trigger {
        padding: 11px 12px;
    }

    .custom-select-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .custom-select-label {
        font-size: 13.5px;
    }

    .custom-option {
        padding: 9px 10px;
        font-size: 12.5px;
    }

    .option-icon {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }

    /* Success card */
    .success-check-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .success-title {
        font-size: 20px;
    }

    .success-message {
        font-size: 14px;
    }

    /* Submit success card spacing */
    .submit-success-card {
        padding: 28px 14px;
    }

    /* Map quick links wrap more naturally */
    .map-quick-links {
        gap: 4px;
    }

    .quick-pan-badge {
        font-size: 10px;
        padding: 4px 8px;
        gap: 4px;
    }
}

/* ── 375px: iPhone SE / compact phones ── */
@media (max-width: 375px) {
    .contact-container {
        padding: 16px 10px 32px;
        gap: 22px;
    }

    .contact-glass-card {
        padding: 14px 11px;
    }

    .contact-form-title {
        font-size: 18px;
    }

    .contact-form-subtitle {
        font-size: 12.5px;
        margin-bottom: 16px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .form-control {
        padding: 10px 11px;
        font-size: 13.5px;
        border-radius: var(--radius-sm);
    }

    textarea.form-control {
        min-height: 90px;
    }

    .captcha-container {
        padding: 11px;
        gap: 8px;
    }

    .captcha-question {
        font-size: 12.5px;
        gap: 6px;
    }

    .captcha-input {
        width: 56px;
        padding: 6px;
        font-size: 13px;
    }

    .submit-btn {
        padding: 11px 14px;
        font-size: 13.5px;
        gap: 8px;
    }

    .info-bullet-card {
        padding: 13px 12px;
        gap: 10px;
    }

    .info-bullet-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .info-bullet-content h4 {
        font-size: 13px;
    }

    .info-bullet-content p {
        font-size: 12px;
    }

    .social-header h2 {
        font-size: 18px;
    }

    .social-header p {
        font-size: 12.5px;
    }

    .social-card {
        padding: 15px 12px;
    }

    .social-card-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .social-card h3 {
        font-size: 14px;
    }

    .social-card p {
        font-size: 12px;
        margin-top: 10px;
    }

    .social-card-action {
        font-size: 12px;
    }

    .faq-trigger {
        padding: 12px 14px;
        font-size: 13px;
        gap: 10px;
    }

    .faq-panel p {
        padding: 0 14px 14px;
        font-size: 12px;
    }

    .faq-accordion-grid {
        gap: 10px;
    }

    .map-container {
        height: 240px;
    }

    .map-wrapper {
        padding: 6px;
    }

    .quick-pan-badge {
        font-size: 9.5px;
        padding: 4px 7px;
    }

    .custom-select-trigger {
        padding: 10px 11px;
    }

    .custom-select-label {
        font-size: 13px;
    }

    .custom-option {
        padding: 8px 9px;
        font-size: 12px;
        gap: 10px;
    }

    .custom-select-wrapper.open .custom-select-options {
        max-height: 260px;
    }

    .success-check-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin-bottom: 16px;
    }

    .success-title {
        font-size: 18px;
    }

    .success-message {
        font-size: 13px;
    }
}

/* ── 320px: Very small phones (Galaxy S5, older Android) ── */
@media (max-width: 320px) {
    .contact-container {
        padding: 12px 8px 28px;
        gap: 18px;
    }

    .contact-glass-card {
        padding: 12px 10px;
    }

    .contact-form-title {
        font-size: 16px;
    }

    .form-control {
        padding: 9px 10px;
        font-size: 13px;
    }

    textarea.form-control {
        min-height: 80px;
    }

    .captcha-container {
        padding: 9px;
    }

    .captcha-input {
        width: 50px;
        font-size: 12.5px;
    }

    .submit-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    .info-bullet-card {
        padding: 11px 10px;
        gap: 8px;
    }

    .info-bullet-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .info-bullet-content h4 {
        font-size: 12.5px;
    }

    .info-bullet-content p,
    .social-card p,
    .faq-panel p {
        font-size: 11.5px;
    }

    .social-media-section {
        padding: 28px 0;
    }

    .social-header h2 {
        font-size: 16px;
    }

    .social-card {
        padding: 13px 10px;
    }

    .social-card h3 {
        font-size: 13px;
    }

    .social-card-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .faq-trigger {
        padding: 11px 12px;
        font-size: 12.5px;
    }

    .faq-panel p {
        padding: 0 12px 12px;
    }

    .map-container {
        height: 210px;
    }

    .quick-pan-badge {
        font-size: 9px;
        padding: 3px 6px;
    }

    .map-quick-links {
        gap: 3px;
    }

    .custom-select-trigger {
        padding: 9px 10px;
        gap: 8px;
    }

    .custom-select-label {
        font-size: 12.5px;
    }

    .custom-option {
        font-size: 11.5px;
        padding: 7px 8px;
        gap: 8px;
    }

    .option-icon {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
}