/* ==========================================================================
   CSS VARIABLES & RESET (UNIFIED WITH MAIN ABOUT ENGINE)
   ========================================================================== */
:root {
    --primary-purple: #004d4d;
    --secondary-purple: #004d4d;
    --dark-purple: #004d4d;
    --accent-plum: #004d4d;
    --soft-lavender: #e3eeee;
    --tint-purple: #e3eeee;
    
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --white: #ffffff;
    
    --light-bg: #fafafa;
    --bg-light: #e3eeee;
    --card-bg: #ffffff;
    --border-color: #e3eeee;
    
    --shadow-sm: 0 4px 15px rgba(92, 29, 92, 0.04);
    --shadow-md: 0 10px 30px rgba(92, 29, 92, 0.08);
    --shadow-lg: 0 15px 35px rgba(92, 29, 92, 0.14);
    
    --transition-speed: 0.35s;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   COMMON LAYOUT REUSABLES (INHERITED BOUNDARIES)
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
    padding: 20px 0;
}

/* ==========================================================================
   TYPOGRAPHY & REUSABLE ELEMENTS
   ========================================================================== */
.sub-title {
    color: var(--accent-plum);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 10px;
}

h1 {
    font-size: 34px;
    font-weight: 700;
    color: var(--primary-purple);
    line-height: 1.25;
}

h1 .highlight {
    color: var(--primary-purple);
    position: relative;
}

h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 4px;
    background-color: var(--accent-plum);
    border-radius: 2px;
}

h2 {
    font-size: 34px;
    color: var(--primary-purple);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.contact-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding-top: 20px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 25px;
    max-width: 480px;
}

.quick-contact-row {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 15px 20px;
    border-radius: 50px;
    flex: 1;
    min-width: 220px;
    border: 1px solid var(--border-color);
}

.quick-card .icon-box {
    background: #ffffff;
    color: var(--primary-purple);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.card-info label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.card-info span, .card-info a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-purple);
}

.hero-image-wrapper {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: flex-end;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 0 200px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}
/* 
.curved-bg-shape {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 95%;
    height: 102%;
    border: 2px solid var(--border-color);
    border-radius: 0 0 0 210px;
    z-index: 1;
} */

/* ==========================================================================
   VISIT & FORM SECTION
   ========================================================================== */
.visit-form-section {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
}

.visit-info h2 {
    font-size: 34px;
    color: var(--primary-purple);
    font-weight: 700;
}

.visit-info .description {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 40px;
}

.detailed-address-list {
    list-style: none;
    position: relative;
    padding-left: 0;
}

.detailed-address-list::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 1px;
    border-left: 2px dashed var(--border-color);
}

.detailed-address-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--accent-plum);
    border-radius: 50%;
    z-index: 1;
}

.list-icon {
    background-color: var(--tint-purple);
    color: var(--primary-purple);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 2;
    flex-shrink: 0;
}

.list-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-plum);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 2px;
}

.list-text p, .list-text a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
}

.form-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 45px;
    box-shadow: var(--shadow-sm);
}

.form-container h3 {
    font-size: 24px;
    color: var(--primary-purple);
    text-align: center;
    font-weight: 700;
    margin-bottom: 8px;
}

.heading-decorator {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100px;
    margin: 0 auto 15px auto;
    height: 2px;
    background-color: var(--border-color);
}

.decorator-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-plum);
    border-radius: 50%;
    position: absolute;
}

.form-subtext {
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 35px;
}

/* Flex layout se button centering handle hogi aur inputs automatic alignment me rahenge */
.message-form {
    display: flex;
    flex-direction: column;
}

.message-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.message-form .form-group {
    margin-bottom: 16px;
}

.message-form input, 
.message-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-dark);
    background-color: var(--white);
    outline: none;
    transition: border-color var(--transition-speed);
}

.message-form input::placeholder,
.message-form textarea::placeholder {
    color: #999999;
}

.message-form input:focus, 
.message-form textarea:focus {
    border-color: var(--accent-plum);
}

/* BUTTON CENTERED MODIFICATION */
.submit-btn {
    background-color: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 14px 32px; /* Thoda wide kiya premium look ke liye */
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color var(--transition-speed), transform 0.2s ease;
    margin: 10px auto 0 auto; /* Yeh margin auto button ko automatic beech me lata h */
    width: max-content; /* Button sirf utna hi lamba hoga jitna uske andr text h */
}

.submit-btn:hover {
    background-color: var(--dark-purple);
}

.submit-btn:active {
    transform: scale(0.98); /* Click pr smooth soft push feel */
}

/* ==========================================================================
   FEATURES BAR STRIP
   ========================================================================== */
.features-bar-container {
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: var(--shadow-sm);
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 15px;
    position: relative;
}

.feature-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: var(--border-color);
}

.feature-icon-wrapper {
    background-color: var(--tint-purple);
    color: var(--primary-purple);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 15px;
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 3px;
}

.feature-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   MAP MODULE
   ========================================================================== */
.map-section-container {
    width: 100%;
}

.map-split-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    background-color: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.map-iframe-wrapper {
    width: 100%;
    height: 380px;
    background-color: #e5e3df;
}

.map-iframe-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.map-info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 50px;
}

.map-info-card h3 {
    font-size: 24px;
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 6px;
}

.map-decorator {
    display: flex;
    align-items: center;
    position: relative;
    width: 70px;
    height: 2px;
    background-color: var(--border-color);
    margin-bottom: 25px;
}

.map-decorator-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-plum);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.map-info-card .map-details {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.map-info-card .map-details strong {
    color: var(--text-dark);
    font-weight: 600;
}

.directions-btn {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.directions-btn:hover {
    background-color: var(--dark-purple);
}

/* ==========================================================================
   UNIFIED RESPONSIVE MEDIA BREAKPOINT ENGINE
   ========================================================================== */
@media (max-width: 1100px) {
    section {
        padding: 60px 0;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image-wrapper {
        height: 350px;
        justify-content: center;
    }

    .hero-img, .curved-bg-shape {
        width: 100%;
        border-radius: 0 0 0 120px;
    }

    .visit-form-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
        padding: 30px 20px;
    }
    
    .feature-card:nth-child(2)::after,
    .feature-card:not(:last-child)::after {
        display: none;
    }

    .feature-card {
        padding: 0 20px;
    }

    .map-split-wrapper {
        grid-template-columns: 1fr;
    }
    
    .map-iframe-wrapper {
        height: 320px;
    }
    
    .map-info-card {
        padding: 40px 30px;
        align-items: center;
        text-align: center;
    }
    
    .map-decorator {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    h1, h2, .visit-info h2 { font-size: 32px; }

    .message-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }

    h1, h2, .visit-info h2 { font-size: 26px; }

    .form-container {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .map-iframe-wrapper {
        height: 260px;
    }
    
    .map-info-card h3 {
        font-size: 1.4rem;
    }
}