/* Contact Page Styles */

/* --- Hero Section --- */
.contact-hero {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(45, 74, 124, 0.80) 100%), url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 60px 20px;
    position: relative;
    margin: 0;
}

.contact-hero-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.contact-hero-label {
    display: block;
    font-size: 14px;
    color: #d4af37;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
}

.contact-hero p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
}

/* --- Quick Actions Section --- */
.quick-actions-section {
    padding: 80px 20px;
    background-color: white;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.action-card {
    background: #fafafa;
    border: 2px solid #e2e8f0;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.action-card:hover {
    border-color: #d4af37;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.action-icon {
    color: #d4af37;
    margin-bottom: 8px;
}

.action-card h3 {
    font-size: 20px;
    color: #1e3a8a;
    font-weight: 700;
    margin: 0;
}

.action-card p {
    color: #64748b;
    margin: 0;
    font-size: 15px;
}

.action-link-text {
    font-size: 18px;
    color: #1e3a8a;
    font-weight: 600;
    margin-top: 4px;
}

.btn-whatsapp-card {
    background-color: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    transition: background-color 0.3s ease;
}

.btn-whatsapp-card:hover {
    background-color: #128c7e;
    color: white;
}

/* --- Main Contact Section --- */
.main-contact-section {
    background-color: #fafafa;
    padding: 100px 20px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Form Styles */
.contact-form-container {
    background: white;
    padding: 48px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 28px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 12px;
}

.form-header p {
    font-size: 15px;
    color: #64748b;
}

.form-row {
    margin-bottom: 20px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 8px;
    display: block;
}

.form-required {
    color: #d4af37;
}

.form-control {
    width: 100%;
    background: #fafafa;
    border: 2px solid #e2e8f0;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s ease;
    font-family: inherit;
    color: #334155;
}

.form-control:focus {
    outline: none;
    border-color: #d4af37;
    background: white;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.form-checkbox {
    margin-top: 4px;
    accent-color: #1e3a8a;
}

.form-checkbox-label {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.btn-submit {
    background: #1e3a8a;
    color: white;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #152865;
}

.success-message {
    background: #f0fdf4;
    border: 2px solid #86efac;
    padding: 20px;
    border-radius: 8px;
    color: #16a34a;
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
    display: none;
    /* Hidden by default */
}

.success-message.error-state {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* Info Column */
.info-column {
    padding-top: 20px;
}

.info-title {
    font-size: 20px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 24px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    color: #d4af37;
    flex-shrink: 0;
}

.info-content label {
    display: block;
    font-size: 14px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.info-content p,
.info-content a {
    font-size: 16px;
    color: #1e3a8a;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.trust-section {
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
}

.trust-title {
    font-size: 18px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #475569;
    font-size: 15px;
}

.trust-badge svg {
    color: #d4af37;
}

/* --- Map Section --- */
.map-section {
    background: white;
}

.map-title {
    padding: 60px 20px 40px;
    text-align: center;
}

.map-title h2 {
    font-size: 32px;
    color: #1e3a8a;
    font-weight: 700;
    margin: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    background: #e2e8f0;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-footer {
    padding: 24px 20px;
    text-align: center;
    color: #64748b;
    font-size: 16px;
    background: #f8fafc;
}

/* --- FAQ Section --- */
.faq-section {
    background: #fafafa;
    padding: 100px 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-header h2 {
    font-size: 36px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 16px;
}

.faq-header p {
    font-size: 17px;
    color: #64748b;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-question {
    padding: 24px;
    font-size: 18px;
    color: #1e3a8a;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #64748b;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #d4af37;
}

.faq-item.active .faq-question {
    color: #1e3a8a;
}

.faq-answer {
    padding: 0 24px 24px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Final CTA --- */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 36px;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px auto;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-whatsapp-large {
    background-color: #25D366;
    color: white;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
}

.btn-whatsapp-large:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    color: white;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}


/* --- Responsive Breakpoints --- */

@media (max-width: 991px) {

    /* Tablet */
    .contact-hero {
        height: 55vh;
        min-height: 450px;
        padding: 50px 20px;
    }

    .contact-hero h1 {
        font-size: 40px;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Last card spans full width on tablet grid */
    .quick-actions-grid .action-card:last-child {
        grid-column: span 2;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        /* Stack form and info */
        gap: 40px;
        max-width: 700px;
    }

    .info-column {
        padding-top: 0;
        border-top: 1px solid #e2e8f0;
        padding-top: 40px;
    }
}

@media (max-width: 768px) {

    /* Mobile */
    .contact-hero {
        height: 55vh;
        min-height: 400px;
        padding: 40px 20px;
    }

    .contact-hero h1 {
        font-size: 32px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    .quick-actions-section {
        padding: 50px 20px;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
        /* Stack cards */
    }

    .quick-actions-grid .action-card:last-child {
        grid-column: auto;
    }

    .action-card {
        padding: 24px;
    }

    .main-contact-section {
        padding: 60px 20px;
    }

    .contact-form-container {
        padding: 32px 24px;
    }

    .form-header h2 {
        font-size: 24px;
    }

    .map-container {
        height: 350px;
    }

    .map-title {
        padding: 40px 20px 20px;
    }

    .map-title h2 {
        font-size: 24px;
    }

    .faq-section {
        padding: 60px 20px;
    }

    .faq-header h2 {
        font-size: 28px;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px;
    }

    .cta-section {
        padding: 60px 20px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .btn-whatsapp-large,
    .btn-outline-white {
        width: 100%;
        justify-content: center;
    }
}