/* Contact Hero Area (Base - Mobile) */
.contact-hero {
    height: 50vh;
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)),
        url('/images/contact background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
}

.contact-hero h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contact Grid Section (Base - Mobile) */
.contact-section {
    padding: 60px 1.5rem;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.section-header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #154b0b;
    text-align: center;
}

.section-header p {
    color: #154b0b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    text-align: center;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.25rem;
    color: #154b0b;
    background: var(--accent-soft);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #154b0b;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Form Styling (Base - Mobile) */
.contact-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(100, 255, 218, 0.1);
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-form-card h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #154b0b;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.1rem;
    background: #154b0b;
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    width: 100%;
    padding: 1.1rem;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

/* Map Section (Base) */
.location-map {
    margin-top: 3rem;
}

.map-container {
    /* filter: grayscale(1) invert(0.9) contrast(1.2); */
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
}

/* ────────────────────────────────
   RESPONSIVE ENHANCEMENTS (min-width)
───────────────────────────────── */

/* Tablet & Desktop (min-width: 768px) */
@media (min-width: 768px) {
    .contact-hero {
        height: 60vh;
        background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)),
            url('/images/contact background.jpg');
        background-attachment: fixed;
    }

    .contact-hero h1 {
        font-size: 4rem;
        margin-top: 1rem;
    }

    .contact-section {
        padding: 100px 3rem;
        max-width: var(--container-max-width);
        margin: 0 auto;
    }

    .contact-grid {
        flex-direction: row;
        grid-template-columns: 1fr 1fr;
        display: grid;
        gap: 5rem;
    }

    .section-header h1,
    .section-header p {
        text-align: left;
    }

    .contact-form-card {
        padding: 3.5rem;
    }

    .map-container {
        height: 450px;
    }
}

/* Small mobile tweak: ensure hero title sits below fixed header on very small screens */
@media (max-width: 320px) {
  .contact-hero {
    padding: 140px 1.5rem 60px;
  }

  .contact-section h1 {
    margin-top: 0.9rem;
    font-size: 2.2rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}