﻿
/* =========================================
   JAGDAMBA DEGREE COLLEGE - CONTACT PAGE
   Premium Blue & Gold Theme
========================================= */

:root {
    --contact-blue: #123B70;
    --contact-dark: #0B2545;
    --contact-light: #EAF2FB;
    --contact-gold: #D6A63A;
    --contact-gold-hover: #B88922;
    --contact-white: #ffffff;
    --contact-text: #52647A;
    --contact-border: #E3EAF2;
}

/* HERO */
.contact-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, rgba(11,37,69,.96), rgba(18,59,112,.89)), url('../images/college-banner.jpg') center/cover no-repeat;
    overflow: hidden;
}

    .contact-hero::after {
        content: "";
        position: absolute;
        right: -100px;
        top: -140px;
        width: 430px;
        height: 430px;
        border: 1px solid rgba(214,166,58,.25);
        border-radius: 50%;
    }

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(214,166,58,.12), transparent 45%);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 75px 25px;
}

.contact-eyebrow,
.section-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--contact-gold);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 6vw, 66px);
    color: #fff;
    font-weight: 700;
    margin: 0 0 18px;
}

    .contact-hero h1 span {
        color: var(--contact-gold);
    }

.contact-hero-content > p {
    max-width: 650px;
    color: rgba(255,255,255,.78);
    font-size: 16px;
    line-height: 1.8;
}

.contact-breadcrumb {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 25px;
    font-size: 13px;
    color: rgba(255,255,255,.65);
}

    .contact-breadcrumb a {
        color: var(--contact-gold);
        text-decoration: none;
    }

        .contact-breadcrumb a:hover {
            color: #fff;
        }

/* MAIN LAYOUT */
.contact-section {
    padding: 90px 20px;
    background: #F7F9FC;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
    align-items: start;
}

.contact-heading {
    margin-bottom: 35px;
}

    .contact-heading h2,
    .form-card-heading h2,
    .contact-map-heading h2 {
        font-family: 'Playfair Display', serif;
        font-size: 38px;
        line-height: 1.3;
        color: var(--contact-dark);
        margin-bottom: 18px;
    }

        .contact-heading h2 span,
        .form-card-heading h2 span,
        .contact-map-heading h2 span {
            color: var(--contact-blue);
        }

    .contact-heading > p,
    .form-card-heading > p,
    .contact-map-heading > p {
        color: var(--contact-text);
        line-height: 1.8;
        font-size: 15px;
    }

/* INFO CARDS */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 20px;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid var(--contact-border);
    border-radius: 12px;
    transition: .3s ease;
}

    .contact-info-card:hover {
        transform: translateY(-3px);
        border-color: var(--contact-gold);
        box-shadow: 0 12px 30px rgba(18,59,112,.06);
    }

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--contact-light);
    border-radius: 10px;
    font-size: 21px;
}

.contact-info-card h4 {
    margin: 0 0 8px;
    color: var(--contact-dark);
    font-size: 16px;
    font-weight: 800;
}

.contact-info-card p {
    color: var(--contact-text);
    margin: 0 0 7px;
    font-size: 14px;
    line-height: 1.7;
}

.contact-info-card a {
    display: inline-block;
    color: var(--contact-blue);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

    .contact-info-card a:hover {
        color: var(--contact-gold-hover);
    }

.contact-social-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 28px;
}

.gold-line {
    width: 45px;
    height: 3px;
    margin-top: 10px;
    background: var(--contact-gold);
    flex-shrink: 0;
}

.contact-social-note p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 17px;
    color: var(--contact-blue);
    line-height: 1.7;
    margin: 0;
}

/* FORM CARD */
.contact-form-card {
    background: #fff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 15px 55px rgba(11,37,69,.07);
    border: 1px solid #E9EEF5;
}

.form-card-heading {
    margin-bottom: 30px;
}

    .form-card-heading h2 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .form-card-heading > p {
        margin-bottom: 0;
        font-size: 14px;
    }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .form-group label {
        color: var(--contact-dark);
        font-size: 13px;
        font-weight: 700;
    }

        .form-group label span {
            color: #D94848;
        }

.contact-input {
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid #DCE4EE;
    border-radius: 8px;
    outline: none;
    background: #FBFCFE;
    color: #253A52;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    transition: .25s;
}

    .contact-input:focus {
        background: #fff;
        border-color: var(--contact-blue);
        box-shadow: 0 0 0 3px rgba(18,59,112,.08);
    }

    .contact-input::placeholder {
        color: #9AA9BA;
    }

.contact-select {
    cursor: pointer;
}

.contact-textarea {
    min-height: 130px;
    resize: vertical;
}

.field-error {
    display: block;
    color: #D43F3F;
    font-size: 12px;
    margin-top: 2px;
}

/* SUBMIT BUTTON */
.contact-submit-btn {
    width: 100%;
    min-height: 54px;
    background: var(--contact-blue);
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s;
}

    .contact-submit-btn:hover {
        background: var(--contact-dark);
        box-shadow: 0 8px 22px rgba(18,59,112,.2);
        transform: translateY(-2px);
    }

.form-privacy-note {
    text-align: center;
    color: #8593A5;
    font-size: 12px;
    margin: -5px 0 0;
    line-height: 1.6;
}

/* STATUS MESSAGE */
.contact-message {
    padding: 15px 18px;
    border-radius: 9px;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 14px;
}

.contact-message-success {
    background: #EAF7EF;
    border: 1px solid #B8E0C5;
    color: #247344;
}

.contact-message-error {
    background: #FFF0F0;
    border: 1px solid #F0C3C3;
    color: #A33434;
}

/* HONEYPOT */
.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* MAP */
.contact-map-section {
    padding: 0 20px 90px;
    background: #F7F9FC;
}

.contact-map-heading {
    max-width: 1200px;
    margin: 0 auto 30px;
    text-align: center;
}

    .contact-map-heading h2 {
        margin-bottom: 12px;
    }

.contact-map {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    border-radius: 18px;
    border: 5px solid #fff;
    box-shadow: 0 15px 45px rgba(11,37,69,.12);
}

    .contact-map iframe {
        display: block;
        width: 100%;
        height: 450px;
        border: 0;
    }

/* RESPONSIVE */
@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-column {
        max-width: 700px;
    }

    .contact-form-card {
        padding: 32px;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        min-height: 280px;
    }

    .contact-hero-content {
        padding: 55px 20px;
    }

    .contact-hero h1 {
        font-size: 42px;
    }

    .contact-section {
        padding: 55px 15px;
    }

    .contact-heading h2,
    .contact-map-heading h2 {
        font-size: 31px;
    }

    .form-card-heading h2 {
        font-size: 27px;
    }

    .contact-form-card {
        padding: 23px 18px;
        border-radius: 13px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .contact-map-section {
        padding: 0 15px 55px;
    }

    .contact-map iframe {
        height: 350px;
    }

    .contact-info-card {
        padding: 18px 15px;
    }
}
