/*=============================
    CONTACT HERO
=============================*/

.contact-hero {
    position: relative;
    background: url('/background-img/images (1).jpg') center center/cover no-repeat;
    height: 220px; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .contact-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(0,0,0,.75), rgba(198,40,40,.55));
    }

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 10px 15px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 30px;
    font-size: 12px;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #fff;
}

.hero-content p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 12px;
    color: rgba(255,255,255,.9);
}

.hero-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

    .hero-breadcrumb a,
    .hero-breadcrumb span {
        color: #fff;
        text-decoration: none;
    }

        .hero-breadcrumb a:hover {
            color: #ffc107;
        }

@media (max-width:768px) {

    .contact-hero {
        height: 180px;
    }

    .hero-tag {
        display: none;
    }

    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .hero-content p {
        display: none;
    }

    .hero-breadcrumb {
        font-size: 13px;
    }
}


/* DESIGN SYSTEM TOKENS */
:root {
    --brand-primary: #e63329;
    --brand-hover: #c94444;
    --dark-slate: #1e293b;
    --muted-slate: #64748b;
    --border-light: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   CONTACT SECTION LAYOUT
   ========================================== */
.sanstha-contact-section {
    padding: 60px 20px 30px 20px;
    background-color: #ffff; /* Updated main background */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.sanstha-contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sanstha-contact-wrapper {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

@media (min-width: 992px) {
    .sanstha-contact-wrapper {
        grid-template-columns: 1.25fr 1fr;
    }
}

/* Form Container Elements */
.sanstha-form-box {
    padding: 30px;
}

@media (min-width: 768px) {
    .sanstha-form-box {
        padding: 45px;
    }
}

.sanstha-form-title {
    font-size: 30px;
    color: var(--dark-slate);
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.sanstha-form-subtitle {
    color: var(--muted-slate);
    font-size: 15px;
    margin: 0 0 30px 0;
}

.sanstha-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .sanstha-form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .span-full {
        grid-column: span 2;
    }
}

.sanstha-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .sanstha-input-group label {
        font-size: 13.5px;
        font-weight: 600;
        color: #475569;
        margin: 0;
    }

        .sanstha-input-group label span {
            color: var(--brand-primary);
        }

.sanstha-control {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    color: #0f172a;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: var(--transition-smooth);
}

    .sanstha-control:focus {
        outline: none;
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 4px rgba(224, 86, 86, 0.12);
    }

textarea.sanstha-control {
    resize: vertical;
    min-height: 130px;
}

/* Action Trigger Elements */
.sanstha-form-actions {
    margin-top: 25px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sanstha-btn {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: #e63329;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(224, 86, 86, 0.25);
}

    .btn-primary:hover {
        background-color: #e63329;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(224, 86, 86, 0.35);
    }

.btn-secondary {
    background-color: #2b2b2b;
    color: #ffff;
}

    .btn-secondary:hover {
        background-color: #e8541a;
        color: #ffff;
    }

/* Contact Cards Sidebar */
.sanstha-info-sidebar {
    background-color: #1e293b; /* Tweaked sidebar container tint to separate from white layout form */
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.1);
    justify-content: center;
}

@media (min-width: 992px) {
    .sanstha-info-sidebar {
        padding: 45px;
        border-top: none;
        border-left: 1px solid rgba(226, 232, 240, 0.1);
    }
}

.sanstha-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition-smooth);
}

    .sanstha-info-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
        border-color: rgba(224, 86, 86, 0.2);
    }

.sanstha-icon-wrapper {
    width: 44px;
    height: 44px;
    background-color: rgba(224, 86, 86, 0.08);
    color: var(--brand-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.sanstha-info-card:hover .sanstha-icon-wrapper {
    background-color: var(--brand-primary);
    color: #ffffff;
}

.sanstha-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

.sanstha-card-text h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark-slate);
    margin: 0 0 4px 0;
}

.sanstha-card-text p,
.sanstha-card-text a {
    color: #475569;
    font-size: 14.5px;
    text-decoration: none;
    line-height: 1.5;
    margin: 0;
}

.sanstha-card-text a {
    display: block;
    transition: var(--transition-smooth);
}

    .sanstha-card-text a:hover {
        color: var(--brand-primary);
    }

/* ==========================================
   GOOGLE MAP COMPONENT SECTION
   ========================================== */
.sanstha-map-section {
    padding: 0 10px 12px 20px;
    background-color: #ffff; /* Updated background wrapper */
}

.sanstha-map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.1);
    background: #1e293b;
    padding: 10px;
}

    .sanstha-map-container iframe {
        width: 100%;
        border: 0;
        border-radius: 16px;
        display: block;
    }

/* ==========================================
   MOTION LOGIC (CSS Keyframes Entry Animations)
   ========================================== */
@keyframes customFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes customFadeRight {
    from {
        opacity: 0;
        transform: translateX(25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Execution Triggers */
.sanstha-form-box {
    animation: customFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-card-1 {
    animation: customFadeRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.1s;
}

.animate-card-2 {
    animation: customFadeRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.2s;
}

.animate-card-3 {
    animation: customFadeRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.3s;
}

.sanstha-map-container {
    animation: customFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.4s;
}
