/* --- STYLES FOR CONTACT.HTML (REVISED) --- */

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0A2342;
    --secondary-color: #f4f4f4;
    --accent-color: #FFC400;
    --text-color: #333333;
    --light-text-color: #FFFFFF;
    --border-color: #e0e0e0;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

body {
    margin: 0;
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--heading-font); color: var(--primary-color); margin-top: 0; }
a { text-decoration: none; color: var(--primary-color); transition: color 0.3s ease; }
a:hover { color: var(--accent-color); }
img { max-width: 100%; height: auto; display: block; }

/* --- Shared Header & Navigation --- */
.main-header { background: var(--light-text-color); box-shadow: 0 2px 5px rgba(0,0,0,0.1); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--heading-font); font-size: 1.8rem; font-weight: 700; color: var(--primary-color); }
.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; }
.main-nav ul li { margin-left: 30px; }
.main-nav ul li a { font-weight: 600; padding: 5px 0; border-bottom: 2px solid transparent; }
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--primary-color); border-bottom-color: var(--accent-color); }

/* --- Shared Buttons --- */
.cta-button { background: var(--primary-color); color: var(--light-text-color); padding: 14px 30px; border-radius: 5px; font-weight: 600; display: inline-block; transition: all 0.3s ease; border: none; cursor: pointer; font-size: 1rem; font-family: var(--body-font); text-align: center; }
.cta-button:hover { background: #004385; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

/* --- Shared Page Header --- */
.page-header { background: var(--primary-color); color: var(--light-text-color); text-align: center; padding: 60px 0; }
.page-header h1 { color: var(--light-text-color); font-size: 3rem; }
.page-header p { font-size: 1.2rem; color: #a9b8cc; margin: 0; }

/* --- Styles SPECIFIC to Contact Page --- */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

/* Form Container */
.contact-form-container h3, .contact-info-container h3 { font-size: 2rem; margin-bottom: 10px; }
.contact-form-container p { margin-bottom: 30px; color: #555; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 5px; font-family: var(--body-font); font-size: 1rem; box-sizing: border-box; transition: all 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.3); }
.full-width-btn { width: 100%; padding: 16px; font-size: 1.1rem; }

/* Info Container */
.contact-info-container { background-color: var(--secondary-color); padding: 40px; border-radius: 8px; }
.info-card { display: flex; align-items: flex-start; margin-bottom: 30px; }
.info-card:last-child { margin-bottom: 0; }
.info-icon { flex-shrink: 0; margin-right: 20px; width: 50px; height: 50px; background-color: var(--accent-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.info-icon svg { width: 24px; height: 24px; stroke: var(--primary-color); stroke-width: 2; }
.info-text h4 { margin-bottom: 5px; font-size: 1.2rem; }
.info-text p { margin: 0; line-height: 1.5; color: #555; }

.map-container { width: 100%; height: 450px; line-height: 0; }

/* Responsive adjustments */
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } .contact-info-container { grid-row: 1; /* Moves info to the top on mobile */ } }

/* --- Shared Footer --- */
.main-footer { background: var(--primary-color); color: #e0e0e0; padding: 60px 0 20px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h3, .footer-col h4 { color: var(--light-text-color); font-family: var(--heading-font); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #e0e0e0; }
.footer-col ul li a:hover { color: var(--accent-color); }
.footer-bottom { text-align: center; border-top: 1px solid #2a4a75; padding-top: 20px; font-size: 0.9rem; color: #a9b8cc; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } }
.heading-with-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.heading-with-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
