/* Contact Page Redesign - Visual Excellence Styles */
:root {
    --primary-maroon: #5a2420;
    --primary-orange: #d48300;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

/* 1. Premium Hero */
.contact-hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/hero_section_1774284553770.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.contact-hero-content h1 {
    font-size: 4rem;
    font-family: var(--heading-font);
    font-weight: 500;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* 2. Elevated Contact Cards */
.reach-us {
    padding: 100px 0;
    background: #fff;
    margin-top: -80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-info-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.1);
    border-color: var(--primary-orange);
}

.contact-icon-box {
    width: 70px;
    height: 70px;
    background: white;
    color: var(--primary-maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

/* 3. Modernized Form & Info */
.message-section {
    padding: 100px 0;
    background: #fdfdfd;
}

.message-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.message-form-container {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 10px;
    display: block;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1.5px solid #eee;
    background: #f9f9f9;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary-orange);
    background: white;
    box-shadow: 0 0 0 4px rgba(212, 131, 0, 0.1);
}

/* 4. Department Directory */
.dept-directory {
    background: var(--primary-maroon);
    padding: 40px;
    border-radius: 30px;
    color: white;
}

.dept-list {
    margin-top: 30px;
}

.dept-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dept-item:last-child {
    border: none;
}

.dept-name {
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

.dept-contact {
    text-align: right;
    font-family: var(--body-font);
    font-weight: 500;
}

/* 5. Map Snippet UI */
.location-snippet {
    margin-top: 40px;
    background: url('images/index_hero_section_1774287203267.png') center/cover;
    height: 200px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.location-snippet::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(90, 36, 32, 0.7);
}

.location-snippet a {
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 1200px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .message-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-hero-content h1 {
        font-size: 2.8rem;
    }
}
