﻿/* ==========================================================================
   Page Header Wrapper
   ========================================================================== */
.page-header {
    position: relative; 
    background-color: var(--primary-blue); 
    padding: 80px 20px; 
    text-align: center; 
    border-bottom: 5px solid var(--primary-red); 
    overflow: hidden; 
}

.page-header::before {
    content: ""; 
    position: absolute; 
    top: -15px; left: -15px; right: -15px; bottom: -15px;
    background: url('header bg.jpg') center/cover no-repeat;
    filter: blur(8px); 
    opacity: 0.25; 
    z-index: 1;
}

.page-header .container { 
    position: relative; 
    z-index: 2; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); 
}

.page-header h1 { 
    font-size: 2.8rem; 
    margin-bottom: 10px; 
    color: var(--white) !important; 
}

.page-header p { 
    font-size: 1.1rem; 
    opacity: 0.95; 
    color: var(--white) !important; 
    margin: 0;
}/* ==========================================================================
   Contact Page Layout
   ========================================================================== */
.contact-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Right column is slightly wider */
    gap: 50px;
    align-items: flex-start;
}

/* ==========================================================================
   Left Column: Info Cards
   ========================================================================== */
.contact-info-col p {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.6;
}

.info-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: var(--primary-blue);
    transform: translateX(5px); /* Gentle hover nudge */
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #eff6ff;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-card:nth-child(2) .info-icon { background: #fef2f2; color: var(--primary-red); }
.info-card:nth-child(3) .info-icon { background: #fefce8; color: #d97706; }

.info-text h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.info-text p {
    margin: 0;
    font-size: 0.95rem;
}

.info-text a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

.info-text a:hover {
    color: var(--primary-red);
}

/* ==========================================================================
   Right Column: Contact Form
   ========================================================================== */
.form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.08);
    border: 1px solid #f1f5f9;
}

.form-container h3 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.form-container > p {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.custom-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.custom-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
}

textarea.custom-input {
    resize: vertical;
}

/* Form Success State */
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
}

.form-success h4 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* ==========================================================================
   Google Map Section
   ========================================================================== */
.map-section {
    width: 100%;
    height: 450px;
    background: #e2e8f0;
    display: block;
    margin-bottom: -10px; /* Removes tiny gap before footer */
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}