/* =====================================================
   FILE PATH: public/css/Contact.css
   PURPOSE  : Contact page — redesigned cards + form
===================================================== */

/* ── PAGE HEADER ──────────────────────────────────── */
.page-header {
    background: var(--maroon);
    padding: 28px 0 22px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    right: -80px; top: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,150,26,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.page-header::after {
    content: '';
    position: absolute;
    left: -60px; bottom: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.page-header-title {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 800;
    color: var(--white);
    margin-bottom: 4px; line-height: 1.2;
    position: relative; z-index: 1;
}
.page-header-sub {
    font-family: var(--font-marathi);
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0;
    position: relative; z-index: 1;
}
.page-header .section-tag {
    background: rgba(255,255,255,0.15) !important;
    color: var(--light-gold) !important;
    margin-bottom: 8px;
    position: relative; z-index: 1;
}

/* ── SECTION ──────────────────────────────────────── */
.sec        { }
.py-section { padding: 32px 0 44px; }
.bg-white   { background: var(--white); }

/* ── MAIN GRID ────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 36px;
    align-items: start;
}

/* ── LEFT — INFO CARDS ────────────────────────────── */
.contact-info .section-tag   { margin-bottom: 6px; }
.contact-info .section-title { margin-bottom: 4px; font-size: 22px; }
.contact-info .section-sub   { margin-bottom: 18px; }

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

/* Base card */
.contact-info-card {
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    border: 1.5px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: default;
    /* Entry state */
    opacity: 0;
    transform: translateX(-18px);
    transition:
        opacity      0.45s ease,
        transform    0.45s ease,
        box-shadow   0.3s ease,
        border-color 0.3s ease;
}
.contact-info-card.visible {
    opacity: 1;
    transform: translateX(0);
}
.contact-info-card:hover {
    box-shadow: 0 10px 32px rgba(122,31,31,0.12);
    transform: translateY(-3px) translateX(0) !important;
}

/* Unique gradient backgrounds per card */
.contact-info-card:nth-child(1) {
    background: linear-gradient(135deg, #E8FFF2 0%, #BBEDCE 100%);
    border-color: #A0D8B4;
}
.contact-info-card:nth-child(1):hover { border-color: #25D366; }

.contact-info-card:nth-child(2) {
    background: linear-gradient(135deg, #FFF0F8 0%, #FFCCE0 100%);
    border-color: #FFAAC8;
}
.contact-info-card:nth-child(2):hover { border-color: #E1306C; }

.contact-info-card:nth-child(3) {
    background: linear-gradient(135deg, #FFFBEC 0%, #FFE898 100%);
    border-color: #F5D060;
}
.contact-info-card:nth-child(3):hover { border-color: var(--gold); }

.contact-info-card:nth-child(4) {
    background: linear-gradient(135deg, #FFF4EE 0%, #FFCFB0 100%);
    border-color: #F5B898;
}
.contact-info-card:nth-child(4):hover { border-color: var(--saffron); }

/* Decorative circle watermark inside card */
.contact-info-card::after {
    content: '';
    position: absolute;
    bottom: -20px; right: -20px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.30);
    pointer-events: none;
    transition: transform 0.4s ease;
}
.contact-info-card:hover::after {
    transform: scale(1.6);
}

/* Icon box */
.cic-icon {
    width: 46px; height: 46px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    position: relative; z-index: 1;
}
.contact-info-card:hover .cic-icon {
    transform: scale(1.12) rotate(-4deg);
}

.cic-wa  { background: rgba(37,211,102,0.18);  color: #1A9950; }
.cic-ig  { background: rgba(225,48,108,0.15);  color: #C0204A; }
.cic-mem { background: rgba(232,150,26,0.20);  color: #8A6000; }
.cic-loc { background: rgba(200,82,10,0.15);   color: var(--saffron); }

/* Text content */
.cic-text { position: relative; z-index: 1; }
.cic-text strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--maroon);
    margin-bottom: 3px;
}
.cic-text p {
    font-family: var(--font-marathi);
    font-size: 11.5px;
    color: var(--text-mid);
    margin-bottom: 10px;
    line-height: 1.65;
}

/* Small button variant */
.btn-sm-vmf {
    font-size: 11.5px !important;
    padding: 6px 14px !important;
    border-radius: 18px !important;
}

/* ── RIGHT — CONTACT FORM ─────────────────────────── */
.contact-form-col {
    /* Entry animation */
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}
.contact-form-col.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-form-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 22px;
    padding: 28px 26px;
    box-shadow: 0 8px 32px rgba(122,31,31,0.07);
    position: relative;
    overflow: hidden;
}
/* Gold top shimmer line */
.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 20px; right: 20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

.contact-form-title {
    font-family: var(--font-marathi);
    font-size: 20px; font-weight: 700;
    color: var(--maroon); margin-bottom: 4px;
}
.contact-form-sub {
    font-family: var(--font-marathi);
    font-size: 12px; color: var(--text-soft);
    margin-bottom: 22px;
}

/* Form labels */
.form-label {
    font-family: var(--font-marathi);
    font-size: 12.5px; font-weight: 700;
    color: var(--text-dark); margin-bottom: 5px;
}

/* Inputs — custom styling */
.form-control, .form-select {
    border: 1.5px solid var(--border) !important;
    border-radius: 11px !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    font-family: var(--font-marathi) !important;
    background: var(--cream) !important;
    color: var(--text-dark) !important;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s !important;
}
.form-control:focus, .form-select:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(232,150,26,0.14) !important;
    background: var(--white) !important;
    outline: none !important;
}
.form-control::placeholder { color: rgba(122,58,16,0.4); font-family: var(--font-marathi); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* Submit button full width */
.btn-primary-vmf.w-100 {
    width: 100%;
    justify-content: center;
    padding: 13px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    transition: background 0.2s, transform 0.15s !important;
}
.btn-primary-vmf.w-100:hover {
    transform: translateY(-2px);
}

/* Success alert */
.alert-success {
    background: #E8FFF2 !important;
    border: 1.5px solid #A0D8B4 !important;
    border-radius: 12px !important;
    color: #0A6B30 !important;
    font-family: var(--font-marathi) !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
    margin-bottom: 18px !important;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 576px) {
    .page-header-title { font-size: 22px; }
    .contact-form-card { padding: 22px 16px; }
}