/* ==========================================================================
   contact_us.css — Sneh Shikshan Avam Manav Seva Sansthan (Rewa, MP)
   Contact Us Page Styling
   ========================================================================== */

:root {
    --orange:        #ffa500;
    --orange-dark:   #e69500;
    --navy:          #1a2c4e;
    --navy-dark:     #0f1c34;
    --navy-light:    #2a3f66;
    --white:         #ffffff;
    --text-dark:     #222222;
    --text-muted:    #667085;
    --bg-soft:       #f7f9fc;
    --green:         #10b981;
    --red:           #ef4444;
    --shadow-sm:     0 2px 10px rgba(0, 0, 0, 0.06);
    --shadow-md:     0 6px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg:     0 12px 40px rgba(0, 0, 0, 0.15);
    --radius:        14px;
}

/* -------------------- Utility -------------------- */
.section-pad { padding: 70px 0; }

.section-tag {
    display: inline-block;
    background: rgba(255, 165, 0, 0.15);
    color: var(--orange-dark);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.25;
}

.section-sub {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-head { margin-bottom: 40px; }

/* -------------------- Buttons -------------------- */
.btn-brand {
    background: var(--orange);
    color: var(--white) !important;
    font-weight: 700;
    border: 2px solid var(--orange);
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 14.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-brand:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 44, 78, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

/* ==========================================================================
   PAGE HERO (shared)
   ========================================================================== */
.page-hero {
    position: relative;
    min-height: 280px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 0;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(255, 165, 0, 0.20), transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(255, 165, 0, 0.15), transparent 45%);
    pointer-events: none;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(255,255,255,0.03) 0 20px,
            transparent 20px 40px);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin: 0 0 14px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.page-breadcrumb {
    justify-content: center;
    margin: 0;
    background: transparent;
    padding: 0;
}

.page-breadcrumb .breadcrumb-item,
.page-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.page-breadcrumb .breadcrumb-item a:hover { color: var(--orange); }
.page-breadcrumb .breadcrumb-item.active { color: var(--orange); font-weight: 700; }

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    line-height: 1;
}

.page-breadcrumb i { margin-right: 4px; }

/* ==========================================================================
   CONTACT INFO SECTION
   ========================================================================== */
.contact-info-section { background: var(--white); }

.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px 26px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid transparent;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--orange);
    transition: width 0.35s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--orange);
}

.info-card:hover::before { width: 100%; }

.info-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), rgba(26, 44, 78, 0.08));
    color: var(--orange);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.35s ease;
}

.info-card:hover .info-icon {
    background: var(--orange);
    color: var(--white);
    transform: rotate(-8deg) scale(1.06);
}

.info-card h5 {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-card p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 14px;
    flex: 1;
}

.info-card p a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
    word-break: break-word;
}

.info-card p a:hover { color: var(--orange-dark); }

.info-link {
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease;
}

.info-link:hover { color: var(--navy); gap: 10px; }

.info-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green);
    font-size: 12.5px;
    font-weight: 700;
}

/* ==========================================================================
   FORM + MAP SECTION
   ========================================================================== */
.form-map-section { background: var(--bg-soft); }

/* -------------------- Contact Form Card -------------------- */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 32px 28px;
    height: 100%;
    border-top: 5px solid var(--orange);
}

.form-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px dashed #eef1f6;
}

.form-head-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--orange);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-head h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 2px;
}

.form-head p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Form */
.contact-form .form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    display: block;
    letter-spacing: 0.3px;
}

.contact-form .req { color: var(--red); }

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-soft);
    border: 1.5px solid #e5e9f0;
    border-radius: 10px;
    transition: all 0.25s ease;
    padding-left: 42px;
}

.input-wrap:focus-within {
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.15);
}

.input-wrap > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange);
    font-size: 15px;
    pointer-events: none;
    z-index: 2;
}

.input-wrap .form-control {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 12px 14px 12px 0;
    font-size: 14px;
    color: var(--navy);
    border-radius: 10px;
    width: 100%;
}

.input-wrap .form-control:focus {
    box-shadow: none;
    outline: none;
    background: transparent;
}

.input-wrap .form-control::placeholder { color: #9ca3af; }

.input-wrap--textarea {
    padding-left: 42px;
    align-items: flex-start;
}

.input-wrap--textarea > i {
    top: 16px;
    transform: none;
}

.input-wrap--textarea .form-control {
    resize: vertical;
    min-height: 100px;
    padding-top: 12px;
}

/* Alert styling */
.contact-form-card .alert {
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-card .alert-success {
    background: rgba(16, 185, 129, 0.12);
    color: #0e8c65;
}

.contact-form-card .alert-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.form-note {
    font-size: 12.5px;
    color: var(--text-muted);
    text-align: center;
    margin: 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-note i { color: var(--green); }

/* -------------------- Map Card -------------------- */
.map-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 5px solid var(--navy);
}

.map-head {
    background: var(--navy);
    color: var(--white);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-head i {
    font-size: 22px;
    color: var(--orange);
}

.map-head h5 {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
}

.map-wrap {
    flex: 1;
    position: relative;
    min-height: 420px;
    background: #eef1f6;
}

.map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ==========================================================================
   QUICK ACTIONS
   ========================================================================== */
.quick-actions {
    background: var(--white);
    padding: 50px 0;
}

.action-tile {
    background: var(--white);
    border: 1.5px solid #eef1f6;
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.action-tile::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 4px;
    height: 100%;
    background: var(--orange);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
}

.action-tile:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.action-tile:hover::before { transform: scaleY(1); }

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: var(--orange);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.action-tile:hover .action-icon {
    background: var(--orange);
    color: var(--white);
    transform: rotate(-6deg);
}

.action-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.action-text span {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-text strong {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 55px 0;
    color: var(--white);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--white);
}

.cta-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {

    .section-pad { padding: 50px 0; }
    .section-head { margin-bottom: 30px; }

    .page-hero { min-height: 220px; padding: 40px 0; }

    .info-card { padding: 26px 18px 22px; }
    .info-icon { width: 64px; height: 64px; font-size: 26px; }

    .contact-form-card { padding: 26px 22px; }
    .form-head-icon { width: 48px; height: 48px; font-size: 20px; }
    .form-head h4 { font-size: 16px; }

    .map-wrap { min-height: 340px; }

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-buttons { justify-content: center; width: 100%; }
}

@media (max-width: 575.98px) {

    .section-pad { padding: 40px 0; }
    .section-title { font-size: 1.3rem; }
    .section-sub { font-size: 14px; margin-bottom: 30px; }

    .page-hero { min-height: 180px; padding: 30px 0; }
    .page-hero-title { font-size: 1.5rem; }

    .info-card { padding: 22px 16px 20px; }
    .info-icon { width: 56px; height: 56px; font-size: 24px; margin-bottom: 14px; }
    .info-card h5 { font-size: 15px; }
    .info-card p { font-size: 13px; }

    .contact-form-card { padding: 22px 18px; }
    .form-head { gap: 12px; margin-bottom: 20px; padding-bottom: 16px; }
    .form-head-icon { width: 42px; height: 42px; font-size: 18px; border-radius: 12px; }
    .form-head h4 { font-size: 15px; }
    .form-head p { font-size: 12px; }

    .input-wrap .form-control { padding: 10px 12px 10px 0; font-size: 13.5px; }

    .map-wrap { min