/* Hero Overlay Section */
.hero-overlay {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('img/new/brand.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    color: white;
    animation: fadeInUp 1s ease;
    text-transform: uppercase;
    letter-spacing: 5px;
}

/* Contact Grid */
.contact-container {
    max-width: 1200px;
    margin: -50px auto 50px; /* Overlaps slightly with hero */
    padding: 0 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    background: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Sidebar Info */
.contact-info {
    background-color: #281f60;
    color: white;
    padding: 50px;
}

.contact-info h2 {
    margin-bottom: 30px;
    color: #1e72b8;
}
.contact-form h2{font-size: 2.8rem;color: #281f60;}
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    margin-right: 15px;
    color: #1e72b8;
    font-size: 1.2rem;
}

.social-links {
    margin-top: 40px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #1e72b8;
}

/* Contact Form */
.contact-form {
    padding: 50px;
}

.contact-form h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    font-size: 1rem;
}
a {
    text-decoration: none;
}
input:focus, textarea:focus {
    border-color: #1e72b8;
}

.full-width {
    margin-bottom: 20px;
}

.submit-btn {
    background-color: #1e72b8;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s ease;
}
body{font-family: "avenir-next-regular", sans-serif;}
.submit-btn:hover {
    background-color: #281f60;
}
.b{color:white;}
.b:hover{color:#1e72b8;}
/* Map Section */
.map-section {
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.map-section iframe {
    width: 100%;
    height: 500px;
    border: none;
}
.line { width: 250px; height: 2px; background: #1e72b8; margin-top:10px; margin-bottom: 10px;}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
    }

    /* --- Compact hero for mobile (matching home page style) --- */
    .hero-overlay {
        height: 55vh;
        padding: 60px 1.5rem 80px;   /* consistent with other pages */
    }

    .hero-content h1 {
        font-size: 2rem;            /* reduced from 4rem */
        letter-spacing: 3px;
    }
}

/* Extra‑small phones */
@media (max-width: 480px) {
    .hero-overlay {
        height: 45vh;
        padding: 40px 1rem 60px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
}

@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(40px); } 
    to { opacity: 1; transform: translateY(0); } 
}