
.contact-hero {
    min-height: 400px;
    margin-top: 1rem;
    padding-top: 100px;
    padding-bottom: 3rem;
    background-image: linear-gradient(147deg, rgba(41,46,80,0.85) 13%, rgba(46,51,84,0.8) 40%, rgba(62,66,97,0.6) 63%, rgba(237,221,83,0) 100%), url('/assets/images/contact.jpg');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
.contact-hero-content {
    padding-inline-start: clamp(1rem, 5vw, 6rem);
    max-width: 650px;
}
.contact-hero-text h1 {
    font-family: "Josefin Sans", sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.contact-hero-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}
.contact-main-grid {
    max-width: 1300px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: stretch;
}

/* Only change background to navy for the page body */
body {
    background: #0a0f35;
}

/* Remove backgrounds from containers so navy shows through */
.contact-main-grid,
.hours-map-section,
.contact-faq-teaser {
    background: transparent;
}

/* Keep cards with original styling and add subtle shadows */
.contact-info-panel {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.info-card {
    background: white;
    padding: 1.8rem;
    border-radius: 28px;
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.3);
}
.info-icon img {
    width: 42px;
    margin-bottom: 1rem;
}
.info-card h3 {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #0a0f35;
    margin-bottom: 0.75rem;
}
.info-detail {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}
.info-sub {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.25rem;
}
.contact-form-panel {
    flex: 2;
    background: white;
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    height: fit-content;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-form-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.3);
}
.form-header h2 {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.8rem;
    color: #0a0f35;
    margin-bottom: 0.5rem;
}
.form-header p {
    color: #475569;
    margin-bottom: 2rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}
.form-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.full-width {
    width: 100%;
}
.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
    letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.6rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #e2e8f0;
    border-radius: 0;
    transition: border-color 0.2s ease;
    outline: none;
    width: 100%;
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 1.1rem;
    padding-right: 1.5rem;
    cursor: pointer;
}
.form-group select option {
    background: white;
    color: #1e293b;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: #fe6b01;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #cbd5e1;
    font-weight: 400;
}
.form-group textarea {
    resize: vertical;
    min-height: 80px;
    border-bottom: 1.5px solid #e2e8f0;
    padding-top: 0.3rem;
}
.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}
.checkbox-group input {
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    accent-color: #fe6b01;
}
.checkbox-group label {
    font-weight: 400;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}
.submit-btn {
    background: #fe6b01;
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: fit-content;
    margin-top: 0.75rem;
}
.submit-btn:hover {
    background: #0a0f35;
    transform: scale(1.02);
}
.form-note {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}
.hours-map-section {
    max-width: 1300px;
    margin: 2rem auto 4rem;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.hours-card,
.map-card {
    flex: 1;
    background: white;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hours-card:hover,
.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.3);
}
.hours-icon img {
    width: 44px;
    margin-bottom: 1rem;
}
.hours-card h3,
.map-card h3 {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0a0f35;
}
.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.hours-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #fe6b01;
}
.map-placeholder {
    overflow: visible;
}
.map-static {
    position: relative;
}
.map-static img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}
.map-overlay {
    padding: 1rem 0 0;
    overflow: visible;
}
.map-overlay p {
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.map-overlay a {
    color: #fe6b01;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}
.contact-faq-teaser {
    background: transparent;
    padding: 4rem 2rem;
}
.faq-teaser-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.faq-teaser-content h3 {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 2rem;
}
.teaser-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.teaser-item {
    background: white;
    padding: 1.5rem;
    border-radius: 24px;
    width: 280px;
    text-align: left;
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.teaser-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.3);
}
.teaser-question {
    font-weight: 700;
    color: #0a0f35;
    margin-bottom: 0.5rem;
}
.teaser-answer {
    font-size: 0.9rem;
    color: #475569;
}
.teaser-link {
    color: #fe6b01;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}


@media (max-width: 768px) {
    .contact-hero-content {
        padding-inline-start: 1.5rem;
    }
    .form-row {
        flex-direction: column;
        gap: 1.25rem;
    }
    .contact-main-grid {
        padding: 0 1rem;
        gap: 2rem;
    }
    .contact-form-panel {
        padding: 1.5rem;
    }
    .teaser-item {
        width: 100%;
    }
    .hours-map-section {
        padding: 0 1rem;
        flex-direction: column; 
    }

    .hours-card,
    .map-card {
        flex: 0 0 100%; 
        width: 100%;
        margin-bottom: 1rem; 
    }

    .map-placeholder {
        overflow: hidden;
    }
}
