/* ===== CONTACT HERO WITH BACKGROUND ===== */
.contact-hero {
    position: relative;
    background-image: url('../photos/logoRB.png');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    padding: 100px 0;
    isolation: isolate;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(10,42,68,0.85) 0%, rgba(10,42,68,0.7) 50%, rgba(163,124,75,0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.contact-hero .container {
    position: relative;
    z-index: 3;
}

.contact-hero-content {
    max-width: 700px;
    color: white;
}

.contact-hero-tag {
    background: rgba(163,124,75,0.9);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-hero h1 {
    color: white;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.contact-hero-text {
    color: rgba(255,255,255,0.95);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 600px;
}

/* ===== CONTACT GRID ===== */
.contact-section {
    margin: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card {
    background: white;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
}

.contact-details {
    margin-bottom: 32px;
}

.director-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a2a44;
    margin-bottom: 5px;
}

.director-title {
    font-size: 1.1rem;
    color: #a37c4b;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-details p {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-details i {
    color: #a37c4b;
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
}

.address {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eef2f6;
}

.whatsapp-contact {
    background: #edf2f7;
    padding: 24px;
    border-radius: 20px;
    margin-top: 24px;
    border-left: 4px solid #25D366;
}

/* ===== MAP WITH SATELLITE TOGGLE ===== */
.map-wrapper {
    margin-top: 24px;
}

.map-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.map-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #d0dbe3;
    background: white;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.map-btn i {
    color: #a37c4b;
}

.map-btn.active {
    background: #0a2a44;
    color: white;
    border-color: #0a2a44;
}

.map-btn.active i {
    color: white;
}

.map-btn:hover {
    background: #f0f4f8;
}

.map-container {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

#map {
    height: 100%;
    width: 100%;
    background: #e9eef2;
}

.map-caption {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #4a5f6e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-caption i {
    color: #a37c4b;
}

/* ===== SMART INQUIRY FORM ===== */
.inquiry-form-container {
    background: white;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
}

.inquiry-form-container h3 {
    font-size: 1.8rem;
    color: #0a2a44;
    margin-bottom: 8px;
}

.form-subhead {
    color: #5a6e7c;
    margin-bottom: 32px;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0a2a44;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: 0.2s;
    background: #fafcfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a37c4b;
    box-shadow: 0 0 0 4px rgba(163,124,75,0.1);
    background: white;
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #e53e3e;
}

.input-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #6b7a86;
}

.input-hint i {
    color: #a37c4b;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    width: 100%;
    background: #0a2a44;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.25s;
    margin: 16px 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn:hover {
    background: #143b5c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10,42,68,0.2);
}

.submit-btn.whatsapp-mode {
    background: #25D366;
}

.submit-btn.whatsapp-mode:hover {
    background: #128C7E;
}

.submit-btn.email-mode {
    background: #a37c4b;
}

.submit-btn.email-mode:hover {
    background: #7e5f3b;
}

.contact-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.whatsapp-btn,
.email-btn {
    flex: 1;
    padding: 14px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.25s;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.email-btn {
    background: #eef2f6;
    color: #0a2a44;
    border: 1px solid #d0dbe3;
}

.whatsapp-btn:hover,
.email-btn:hover {
    transform: translateY(-2px);
}

.form-footer {
    margin-top: 24px;
    font-size: 0.85rem;
    color: #6b7a86;
    text-align: center;
    border-top: 1px solid #edf2f7;
    padding-top: 24px;
}

/* ===== INFO BOXES ===== */
.extra-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.info-box {
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.02);
    border: 1px solid #edf2f7;
}

.info-box h4 {
    margin-bottom: 20px;
    color: #0a2a44;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
}

.language-badge,
.urgent-badge {
    margin-top: 20px;
    background: #f2efe9;
    padding: 10px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5e4b3c;
}

.urgent-badge {
    background: #fff4e6;
    color: #b45a2e;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 70px 0;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .extra-flex {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-card,
    .inquiry-form-container {
        padding: 32px;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero h1 {
        font-size: 1.9rem;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .director-name {
        font-size: 1.5rem;
    }
}