/* Scoped Styles for Contact Page */
:root {
    --text-primary: #003366;
    --text-secondary: #4a5568;
    --bg-light: #f7f9fc;
    --accent: #00a8ff;
    --dark-bg: #001428;
    --icon-bg: #1a365d;
    /* Dark blue from image */
}

/* Base Styles & Override */
.site-content .ast-container {
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    display: block;
}

.ast-mobile-header-wrap .ast-primary-header-bar,
.ast-primary-header-bar .site-primary-header-wrap {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw;
    max-width: 100vw;
}

.contact-page-wrapper {
    font-family: 'Roboto', sans-serif;
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

.section-padding {
    padding: 80px 20px;
}

.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

/* 1. Hero Section (Matches About Us) */
.contact-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    max-height: 320px;
    display: flex;
    align-items: center;
    background-color: var(--dark-bg);
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 20, 40, 0.9) 0%, rgba(0, 20, 40, 0.4) 100%);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-hero-title {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin: 0 0 15px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
}

.contact-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 600px;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out 0.3s forwards;
}

/* 2. Main Contact Section */
.contact-section {
    position: relative;
    background-color: #ffffff;
    padding: 80px 0;
}

/* Map Background Effect */
.map-bg-decoration {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1920&auto=format&fit=crop');
    /* Global Network Image */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.1;
    /* Subtle effect */
    z-index: 0;
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
    align-items: start;
}

/* Left Column: Info */
.contact-info-wrapper {
    padding-right: 20px;
}

.contact-top-label {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
}

.contact-heading {
    font-size: 3rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--icon-bg);
    /* Dark blue */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.info-content h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0 0 5px 0;
}

.info-content p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.info-content p.address-text {
    max-width: 350px;
}

/* Right Column: Form */
.contact-form-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-placeholder-msg {
    text-align: center;
    border: 2px dashed #ccc;
    padding: 40px;
    color: #999;
    border-radius: 10px;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-img-bg {
        width: 100%;
        opacity: 0.05;
    }
}