/* ===================================================================
   FLYATIVE - CONTACT PAGE STYLESHEET (FULL-WIDTH BG & 3-COLUMNS)
   =================================================================== */

.contact-hero {
    position: relative;
    padding-top: 3.5rem;
    padding-bottom: 2rem;
    background-color: #eef3f8; 
    border-bottom: 1px solid var(--border-color, #d2e3f3);
    text-align: center; /* Centered hero text alignment */
    overflow: hidden;
}

/* Text Container sits safely on its own top layer */
.contact-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.contact-hero h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main, #0f172a);
    letter-spacing: -0.02em;
}

.contact-hero .subtitle {
    color: var(--text-muted, #475569);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    margin-bottom: 0;
    line-height: 1.7;
}

/* Constrained Max-Width Hero Image Container with Overlap */
.contact-hero-img-container {
    max-width: 900px;
    margin: -3.5rem auto -1rem auto;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-color: transparent;
}

/* Explicit Image Sizing, Centering, and Rectangular Alpha Edge Gradient */
.contact-hero-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    opacity: 0.85; 
    transition: opacity 0.2s ease;

    /* Rectangular gradient mask for clean edge fading without corner artifacts */
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 12%, rgba(0,0,0,1) 88%, rgba(0,0,0,0) 100%),
                        linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    -webkit-mask-composite: destination-in;
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 12%, rgba(0,0,0,1) 88%, rgba(0,0,0,0) 100%),
                linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    mask-composite: intersect;
}

.contact-hero-img:hover {
    opacity: 1;
}

.contact-page-section {
    padding-top: 3rem;
    padding-bottom: 6rem;
    border-top: none;
}

/* 3-Column Grid for Contact Info Cards */
.contact-page-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.contact-page-item {
    text-align: left; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-body);
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-page-item h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.contact-page-link {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
}

.contact-page-link:hover {
    text-decoration: underline;
}

.contact-page-address {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: left; 
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 900px) {
    .contact-page-card {
        grid-template-columns: 1fr; 
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding-top: 3.5rem;
        padding-bottom: 3rem;
    }}