/* --- Global Font Rule (Times New Roman) --- */
.font-serif,
.contact-banner,
.contact-footer,
.admission-strip,
.info-card,
.dept-card,
.protocol-card,
.section-tag,
.section-title {
    font-family: 'Times New Roman', Times, serif !important;
}

.bg-light-section {
    background-color: #f7faff;
}

/* --- Hero Banner --- */
.contact-banner {
    position: relative;
    min-height: 300px;
    background-image: url('../images/b2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 60px 15px;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 34, 68, 0.92) 0%, rgba(2, 136, 209, 0.85) 100%);
    z-index: 1;
}

.contact-banner .container {
    z-index: 2;
}

.contact-badge {
    display: inline-block;
    background: rgba(255, 213, 79, 0.2);
    border: 1px solid #ffd54f;
    color: #ffd54f;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.contact-main-heading {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-sub-heading {
    font-size: 18px;
    font-style: italic;
    opacity: 0.95;
    max-width: 720px;
    margin: 8px auto 0;
}

.contact-divider {
    width: 65px;
    height: 3px;
    background-color: #ffd54f;
    margin-top: 16px;
    border-radius: 2px;
}

.contact-divider-small {
    width: 50px;
    height: 3px;
    background-color: #0288d1;
    margin-top: 8px;
    border-radius: 2px;
}

/* --- Red Contact Strip --- */
.admission-strip {
    background-color: #d32f2f;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

/* --- Top Info Cards --- */
.info-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 28px 18px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #0288d1;
    box-shadow: 0 10px 22px rgba(2, 136, 209, 0.16);
}

.icon-bubble {
    width: 54px;
    height: 54px;
    background-color: #e1f5fe;
    color: #0288d1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.info-card:hover .icon-bubble {
    background-color: #0288d1;
    color: #ffffff;
}

.info-card h5 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    font-weight: 600;
    border-radius: 20px;
    padding: 6px 14px;
    transition: background-color 0.2s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    color: #ffffff;
}

/* --- Department Directory Cards --- */
.section-tag {
    color: #0288d1;
    font-size: 14.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 29px;
    font-weight: 700;
    color: #0f172a;
}

.section-lead {
    font-size: 16px;
    color: #64748b;
    font-style: italic;
}

.dept-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.dept-card:hover {
    transform: translateY(-5px);
    border-color: #0288d1;
    box-shadow: 0 10px 24px rgba(2, 136, 209, 0.16);
}

.dept-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 18px 20px;
    display: flex;
    align-items: center;
}

.dept-icon {
    font-size: 26px;
    color: #0288d1;
    margin-right: 15px;
}

.dept-body {
    padding: 20px;
}

.dept-details li {
    padding: 4px 0;
    border-bottom: 1px dashed #f1f5f9;
}

.dept-details li:last-child {
    border-bottom: none;
}

.dept-details a {
    color: #0288d1;
    text-decoration: none;
    font-weight: 600;
}

/* --- Protocol Card & Map Box --- */
.protocol-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.map-card-wrapper {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.map-frame {
    border: 2px solid #e2e8f0;
}

/* --- Footer --- */
.contact-footer {
    background: #002244;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .contact-banner {
        min-height: 220px;
        padding: 40px 15px;
        background-attachment: scroll;
    }
    .contact-main-heading {
        font-size: 26px;
    }
    .section-title {
        font-size: 23px;
    }
}