/* ================= GLOBAL RESETS & VARIABLES ================= */
:root {
    --primary-red: #E63946;
    --primary-dark: #212529;
    --primary-light: #f8f9fa;
    --text-dark: #333333;
    --text-light: #555555;
    --border-color: #dee2e6;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Archivo', sans-serif;
    color: var(--text-dark);
    background-color: var(--primary-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rasa', serif;
    font-weight: 700;
}

/* WhatsApp Floating Button */
.home-sec-1-whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: white;
    color: #25D366;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 9999;
    border: 1px solid;
}

.home-sec-1-whatsapp-btn i {
    font-size: 1.3rem;
}

.home-sec-1-whatsapp-btn:hover {
    background-color: #25D366;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ================= HERO SECTION ================= */
.contact-hero-section {
    position: relative;
    background-image: url('images/Group 1261157279.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* ================= CONTENT SECTION ================= */
.contact-content-section {
    padding: 4rem 0;
    background-color: white;
}

.contact-form-card {
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    background: white;
    height: 100%;
}

.form-title {
    color: var(--primary-red);
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: white;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
    border-color: var(--primary-red);
}

.form-control::placeholder {
    color: #999;
    font-size: 0.95rem;
}

.custom-send {
    background-color: var(--primary-red);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.custom-send:hover {
    background-color: #d12c3c;
}

/* ================= INFO CARDS ================= */
.info-card {
    border: 1px solid #eee;
    border-radius: 10px;
    background: white;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(230, 57, 70, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box i {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.info-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.info-text {
    font-size: 1.4rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ================= PAN-INDIA SECTION ================= */
.pan-india-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.section-heading {
    color: var(--primary-red);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtext {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.map-container {
    background-color: #e9ecef;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branches-card {
    background: white;
    border-radius: 0 10px 10px 0;
    height: 100%;
}

.branch-icon-wrap {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-red);
    border-radius: 8px;
}

.branch-icon-wrap img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.branch-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.branches-card .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
}

.branches-card ul li {
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.branches-card ul li i {
    color: var(--primary-red);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.branch-note {
    background-color: rgba(230, 57, 70, 0.05);
    border-left: 4px solid var(--primary-red);
    border-radius: 6px;
}

.branch-note p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* ================= CTA BANNER ================= */
.cta-banner {
    background-image: url('images/contact-last-sec-bg-img.svg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.6); */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================= MEDIA QUERIES ================= */

/* Large Desktop (min-width: 1200px) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-heading {
        font-size: 3rem;
    }
    
    .form-title {
        font-size: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 3rem;
    }
}

/* Tablet devices (max-width: 991.98px) */
@media (max-width: 991.98px) {
    .contact-hero-section {
        height: 300px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-content-section,
    .pan-india-section {
        padding: 3rem 0;
    }
    
    .section-heading {
        font-size: 2.2rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .map-container {
        border-radius: 10px 10px 0 0;
        height: 300px;
    }
    
    .branches-card {
        border-radius: 0 0 10px 10px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Mobile devices (max-width: 767.98px) */
@media (max-width: 767.98px) {
    .contact-hero-section {
        height: 250px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-content-section,
    .pan-india-section {
        padding: 2.5rem 0;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .section-subtext {
        font-size: 1rem;
    }
    
    .form-title {
        font-size: 1.6rem;
    }
    
    .form-subtitle {
        font-size: 1rem;
    }
    
    .info-title {
        font-size: 1.1rem;
    }
    
    .info-text {
        font-size: 0.95rem;
    }
    
    .icon-box {
        width: 45px;
        height: 45px;
    }
    
    .icon-box i {
        font-size: 1.3rem;
    }
    
    .branch-title {
        font-size: 1.3rem;
    }
    
    .branches-card ul li {
        font-size: 0.95rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .home-sec-1-whatsapp-btn .whatsapp-text {
        display: none;
    }
    
    .home-sec-1-whatsapp-btn {
        padding: 0.8rem;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
    
    .home-sec-1-whatsapp-btn i {
        font-size: 1.3rem;
        margin: 0;
    }
}

/* Small mobile devices (max-width: 575.98px) */
@media (max-width: 575.98px) {
    .contact-hero-section {
        height: 200px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-content-section,
    .pan-india-section {
        padding: 2rem 0;
    }
    
    .section-heading {
        font-size: 1.6rem;
    }
    
    .form-title {
        font-size: 1.4rem;
    }
    
    .contact-form-card,
    .info-card {
        padding: 1.5rem;
    }
    
    .map-container {
        height: 250px;
    }
    
    .branch-icon-wrap {
        width: 50px;
        height: 50px;
    }
    
    .branch-icon-wrap img {
        width: 35px;
        height: 35px;
    }
    
    .cta-content {
        padding: 2rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .custom-send {
        padding: 0.7rem;
        font-size: 1rem;
    }
}

/* Extra Small Screens (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-heading {
        font-size: 1.4rem;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
    
    .contact-form-card,
    .info-card {
        padding: 1.25rem;
    }
    
    .info-text,
    .form-subtitle,
    .section-subtext,
    .cta-content p {
        font-size: 0.95rem;
    }
    
    .branches-card {
        padding: 1.5rem;
    }
    
    .branch-title {
        font-size: 1.2rem;
    }
    
    .branches-card ul li {
        font-size: 0.9rem;
    }
}