/* ============================================================
   Contact Page Styles - Lagos Aviation Academy
   Design System aligned with homepage.css
   ============================================================ */

/* === CSS Variables (matches homepage design tokens) === */
:root {
    --contact-cyan-icon: #01B2CB;
    --contact-ink: #1F1F1F;
    --contact-muted: #636363;
    --contact-gray-bg: #F8F8F8;
    --contact-card-bg: #F9F9F9;
    --contact-border: #D9D9D9;
    --contact-white: #FFFFFF;
}

/* === Hero Section === */
.contact-hero-banner {
    background-color: var(--navy);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.contact-hero-banner h1 {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: clamp(44px, 6vw, 70px);
    font-weight: 900;
    color: var(--contact-white);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin: 0;
    text-align: left;
    line-height: 1.12;
}

.contact-hero-image {
    height: 300px;
    background-image: url('/assets/images/contact-us-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* === Contact Section (Two-Column) === */
.contact-section {
    padding: 80px 0;
    background-color: var(--contact-gray-bg);
}

.contact-left-col {
    padding-right: 40px;
}

.contact-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .18em;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-label::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background-color: var(--cyan);
    flex-shrink: 0;
}

.contact-heading {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-size: clamp(32px, 3.5vw, 44px);
    font-weight: 600;
    color: var(--contact-ink);
    text-transform: uppercase;
    line-height: 1.12;
    margin: 0;
}

.contact-heading .line-break {
    display: block;
}

/* === Form Card === */
.form-card {
    background-color: var(--contact-white);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 24px;
}

.form-card .form-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 6px;
}

.form-card .required-asterisk {
    color: #d32f2f;
    font-weight: 700;
}

.form-card .form-control {
    height: 44px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--contact-muted);
    padding: 10px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-card .form-control:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(1, 96, 131, 0.15);
    outline: none;
}

.form-card textarea.form-control {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.form-card .form-group {
    margin-bottom: 16px;
}

.form-card .mb-20 {
    margin-bottom: 20px;
}

/* Checkbox styling */
.form-check-custom {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.form-check-custom input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--navy);
    cursor: pointer;
}

.form-check-custom label {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--contact-muted);
    line-height: 1.5;
    cursor: pointer;
}

.form-check-custom label a {
    color: var(--navy);
    text-decoration: underline;
}

/* Submit button */
.btn-submit-contact {
    width: 100%;
    height: 44px;
    background-color: var(--navy);
    color: var(--contact-white);
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-submit-contact:hover {
    background-color: #095570;
}

.btn-submit-contact:active {
    transform: scale(0.98);
}

.btn-submit-contact:focus {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* === Contact Info Cards (Figma Specs) === */
.contact-cards-section {
    padding: 0 0 60px 0;
    background-color: var(--contact-gray-bg);
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
    background: var(--contact-card-bg);
    border: 0.5px solid var(--contact-border);
    border-radius: 16px;
    min-height: 188px;
    transition: box-shadow 0.2s ease;
}

.contact-info-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Icon container (Frame 28) */
.contact-info-card .card-icon-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px;
    gap: 8px;
    width: 40px;
    height: 40px;
    background: var(--contact-cyan-icon);
    border-radius: 4px;
    flex: none;
    flex-shrink: 0;
}

.contact-info-card .card-icon-wrap i {
    font-size: 1.2rem;
    color: var(--contact-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card content wrapper */
.contact-info-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    align-self: stretch;
    flex: none;
}

.contact-info-card .card-title {
    font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.15px;
    color: var(--contact-ink);
    margin: 0;
}

.contact-info-card .card-text {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--contact-muted);
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.contact-info-card .card-text a {
    color: var(--contact-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-card .card-text a:hover {
    color: var(--navy);
}

.contact-info-card .card-text .phone-item {
    display: block;
}

/* Social icons in card (Figma Frame 40098) */
.social-icons-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 16px;
    margin-top: 4px;
}

.social-icons-card a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 3px;
    gap: 8px;
    width: 48px;
    height: 48px;
    background: #F0F0F0;
    border-radius: 100px;
    color: #828282;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    flex: none;
}

.social-icons-card a:hover {
    background: #e0e0e0;
    color: #666666;
}

.social-icons-card a:focus {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

/* === Map Section === */
.map-section {
    padding: 60px 0 80px 0;
    background-color: var(--contact-white);
}

.map-container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 540px;
    display: block;
    border: none;
}

/* === Error/Success Messages === */
.contact-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.contact-alert-danger {
    background-color: #fde8e8;
    color: #c53030;
    border: 1px solid #feb2b2;
}

/* === Responsive Styles === */
@media (max-width: 991px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-left-col {
        padding-right: 15px;
        margin-bottom: 40px;
    }

    .contact-heading {
        font-size: clamp(28px, 3.5vw, 38px);
    }
}

@media (max-width: 767px) {
    .contact-hero-banner {
        height: 160px;
    }

    .contact-hero-banner h1 {
        font-size: clamp(36px, 5.5vw, 52px);
        letter-spacing: 4px;
    }

    .contact-hero-image {
        height: 200px;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-heading {
        font-size: clamp(24px, 4vw, 30px);
    }

    .contact-info-card {
        min-height: auto;
        margin-bottom: 16px;
    }

    .map-section {
        padding: 40px 0;
    }

    .map-container iframe {
        height: 320px;
    }

    .contact-cards-section {
        padding: 0 0 40px 0;
    }
}

@media (max-width: 575px) {
    .contact-hero-banner h1 {
        font-size: clamp(30px, 7vw, 44px);
        letter-spacing: 3px;
    }

    .form-card {
        padding: 16px;
    }

    .contact-hero-image {
        height: 160px;
    }
}
