/* CONTACT PAGE SPECIFIC STYLES */

/* --- HERO SECTION --- */
.contact-hero {
    position: relative;
    padding: 160px 0 120px;
    background: linear-gradient(rgba(11, 28, 51, 0.4), rgba(11, 28, 51, 0.8)), url('https://images.unsplash.com/photo-1544735716-392fe2489ffa?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
    color: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-hero-content {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero-subtitle {
    font-family: 'Great Vibes', cursive;
    font-size: 32px;
    color: var(--accent-green);
    margin-bottom: 10px;
}

.contact-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-hero-title .highlight-cursive {
    font-family: 'Great Vibes', cursive;
    color: var(--accent-green);
    font-size: 64px;
    font-weight: 400;
}

.contact-hero-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
}

.contact-hero-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.ch-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ch-icon {
    width: 32px;
    height: 32px;
    color: var(--accent-green);
}

.ch-info h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.ch-info span {
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.3;
}

.contact-hero-wave {
    position: absolute;
    bottom: -2px; /* Fix for potential gaps */
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.contact-hero-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* --- FLOATING INFO CARDS --- */
.contact-info-container {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    width: 90%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ci-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.ci-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ci-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-green);
}

.ci-content h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.ci-main {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.ci-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- MAIN CONTACT SECTION --- */
.contact-main {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
}

.contact-form-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    align-self: start;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.highlight {
    color: var(--accent-green);
}

.form-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.select-wrapper select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    background: #f8fafc;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.select-wrapper select:focus {
    border-color: var(--accent-green);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(114, 194, 77, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    pointer-events: none;
}

.btn-full {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 10px;
}

.form-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 12px;
}

.form-security svg {
    width: 14px;
    height: 14px;
}

/* Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.office-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.office-box h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.office-address {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.wave-divider {
    margin: 20px 0;
}

.office-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.od-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.od-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-green);
    margin-top: 2px;
    flex-shrink: 0;
}

.od-item strong {
    display: block;
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.od-item span,
.od-item a {
    font-size: 13px;
    color: var(--text-muted);
}

.od-item a:hover {
    color: var(--accent-green);
}

.office-image-box {
    border-radius: 12px;
    overflow: hidden;
}

.office-image-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.map-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.map-box iframe {
    flex-grow: 1;
    width: 100%;
    height: 100% !important;
}

.map-overlay-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: 12px;
}

.map-overlay-info strong {
    display: block;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 4px;
}

.map-overlay-info p {
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

.view-map-link {
    color: var(--accent-green);
    font-weight: 500;
}

/* --- ASSISTANCE BANNER --- */
.assistance-banner {
    padding: 60px 0 80px;
}

.ab-content {
    background: linear-gradient(rgba(11, 28, 51, 0.9), rgba(11, 28, 51, 0.9)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=1600&auto=format&fit=crop') center/cover;
    border-radius: 16px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(11, 28, 51, 0.15);
}

.ab-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.ab-icon svg {
    width: 100%;
    height: 100%;
}

.ab-text {
    flex: 1;
}

.ab-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ab-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}

.ab-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.ab-buttons .btn {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ab-buttons .btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.section-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.faq-subtitle {
    font-family: 'Great Vibes', cursive;
    color: var(--accent-green);
    font-size: 24px;
}

.section-header-center h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 5px;
}

.wave-divider-center {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.wave-divider-center svg {
    width: 50px;
    height: 10px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.faq-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
    background: #fff;
}

.faq-item.active {
    border-color: var(--accent-green);
    box-shadow: 0 5px 15px rgba(114, 194, 77, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 10px;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-green);
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    flex: 1;
}

.faq-toggle {
    width: 12px;
    height: 12px;
    position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--text-muted);
    transition: all 0.3s;
}

.faq-toggle::before {
    width: 2px;
    height: 12px;
    left: 5px;
    top: 0;
}

.faq-toggle::after {
    width: 12px;
    height: 2px;
    left: 0;
    top: 5px;
}

.faq-item.active .faq-toggle::before {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-toggle::after {
    background: var(--accent-green);
}

.faq-answer {
    display: none;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px dashed #e2e8f0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-book-btn {
    display: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .ab-content {
        flex-direction: column;
        text-align: center;
    }
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 80px;
    }
    .contact-hero-title {
        font-size: 36px;
    }
    .contact-hero-title .highlight-cursive {
        font-size: 44px;
    }
    .contact-hero-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .contact-hero-features .ch-feature:nth-child(3) {
        display: none;
    }
    .hero-book-btn {
        display: inline-block;
        margin-top: 25px;
        align-self: flex-start;
        padding: 12px 28px;
        font-size: 14px;
    }
    .contact-info-container {
        margin-top: -40px;
    }
    .contact-info-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-box,
    .office-box {
        padding: 24px 20px;
    }
    .assistance-banner {
        padding: 40px 0 60px;
    }
    .ab-content {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 20px;
        text-align: left;
        padding: 30px 20px;
        align-items: center;
    }
    .ab-icon {
        width: 48px;
        height: 48px;
    }
    .ab-text h2 {
        font-size: 22px;
    }
    .ab-text p {
        font-size: 13px;
    }
    .ab-buttons {
        grid-column: span 2;
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }
    .ab-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }
    .faq-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .faq-col {
        display: contents;
    }
}
