/* ========== CONTACT PAGE STYLES ========== */

/* ========== CONTACT HERO ========== */
.contact-hero {
    position: relative;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    color: #ffffff;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 46, 79, 0.60) 0%,
        rgba(11, 46, 79, 0.78) 50%,
        rgba(11, 46, 79, 0.92) 100%
    );
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    width: 100%;
}

.contact-hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 700px;
}

.contact-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 600px;
    font-weight: 400;
}

/* ========== CONTACT LABEL (reusable) ========== */
.contact-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #0b2e4f;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* ========== CONTACT INFO CARDS ========== */
.contact-info-section {
    padding: 80px 20px;
    background: #ffffff;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-info-card {
    background: #f8f9fb;
    padding: 36px 28px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #eef1f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(11, 46, 79, 0.12);
}

.contact-info-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0b2e4f;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.contact-info-icon-whatsapp {
    background: #25D366;
}

.contact-info-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b2e4f;
    margin-bottom: 12px;
}

.contact-info-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 4px;
}

.contact-info-card a {
    color: #0b2e4f;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: #0066cc;
}

.contact-info-hours {
    font-size: 12px !important;
    color: #888 !important;
    margin-top: 8px !important;
    font-style: italic;
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    margin-top: 12px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #1da851;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 18px;
}

/* ========== CONTACT FORM + MAP GRID ========== */
.contact-form-section {
    padding: 80px 20px;
    background: #f5f5f5;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: start;
}

.contact-form-wrapper h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0b2e4f;
    margin-bottom: 12px;
}

.contact-form-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 32px;
}

.required-star {
    color: #d32f2f;
    font-weight: 700;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #0b2e4f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0b2e4f;
    box-shadow: 0 0 0 3px rgba(11, 46, 79, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: auto;
}

/* --- Anti-Spam CAPTCHA --- */
.captcha-group {
    margin-top: 4px;
}

.captcha-box {
    background: #f0f6ff;
    border: 2px dashed #b6d0ec;
    border-radius: 10px;
    padding: 16px 18px;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #0b2e4f;
    margin-bottom: 12px;
}

.captcha-icon {
    color: #2980b9;
    font-size: 20px;
}

.captcha-refresh {
    background: none;
    border: none;
    color: #2980b9;
    cursor: pointer;
    font-size: 15px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-left: auto;
}

.captcha-refresh:hover {
    background: #dbeafe;
    color: #0b2e4f;
}

.captcha-box input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 16px;
    background: #ffffff;
    transition: border-color 0.2s;
}

.captcha-box input[type="text"]:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.15);
}

.btn-contact-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0b2e4f;
    color: #ffffff;
    border: none;
    padding: 16px 36px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-contact-submit:hover {
    background: #0a2540;
    box-shadow: 0 4px 16px rgba(11, 46, 79, 0.35);
    transform: translateY(-2px);
}

/* Map Wrapper */
.contact-map-wrapper h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0b2e4f;
    margin-bottom: 20px;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 28px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    min-height: 400px;
    border: none;
}

/* Quick Info Boxes */
.contact-quick-info {
    background: #ffffff;
    padding: 24px 28px;
    border-radius: 6px;
    border: 1px solid #eef1f5;
    margin-bottom: 16px;
}

.contact-quick-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0b2e4f;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-quick-info h3 i {
    font-size: 16px;
    color: #0b2e4f;
}

.contact-quick-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-quick-info ul li {
    font-size: 14px;
    color: #555;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-quick-info ul li:last-child {
    border-bottom: none;
}

/* Social Links in Contact */
.contact-social-links {
    display: flex;
    gap: 12px;
}

.contact-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0b2e4f;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-social-links a:hover {
    background: #0066cc;
    transform: translateY(-2px);
    color: #ffffff;
}

/* ========== EMERGENCY STRIP ========== */
.contact-emergency-strip {
    background: #fff3e0;
    padding: 40px 20px;
    border-left: 5px solid #ff9800;
}

.contact-emergency-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-emergency-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ff9800;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-emergency-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #e65100;
    margin-bottom: 6px;
}

.contact-emergency-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.contact-emergency-text a {
    color: #e65100;
    font-weight: 700;
    text-decoration: underline;
}

.contact-emergency-text a:hover {
    color: #bf360c;
}

/* ========== FAQ SECTION ========== */
.contact-faq-section {
    padding: 80px 20px;
    background: #ffffff;
}

.contact-faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-faq-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: #0b2e4f;
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-faq-item {
    background: #f8f9fb;
    padding: 28px;
    border-radius: 6px;
    border: 1px solid #eef1f5;
    transition: box-shadow 0.3s ease;
}

.contact-faq-item:hover {
    box-shadow: 0 6px 20px rgba(11, 46, 79, 0.08);
}

.contact-faq-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0b2e4f;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-faq-item h4 i {
    color: #0066cc;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-faq-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ========== CTA BANNER ========== */
.contact-cta {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-cta-overlay {
    background: rgba(11, 46, 79, 0.88);
    padding: 80px 20px;
}

.contact-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.contact-cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-contact-primary {
    background: #ffffff;
    color: #0b2e4f;
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-contact-primary:hover {
    background: #e8edf2;
    color: #0b2e4f;
    transform: translateY(-2px);
}

.btn-contact-secondary {
    background: transparent;
    color: #ffffff;
    padding: 14px 36px;
    border: 2px solid #ffffff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-contact-secondary:hover {
    background: #ffffff;
    color: #0b2e4f;
    transform: translateY(-2px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 400px;
    }

    .contact-hero-content {
        padding: 0 20px 40px;
    }

    .contact-hero-title {
        font-size: 32px;
    }

    .contact-hero-subtitle {
        font-size: 15px;
    }

    .contact-info-section {
        padding: 50px 15px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form-section {
        padding: 50px 15px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper h2,
    .contact-map-wrapper h2 {
        font-size: 26px;
    }

    .contact-emergency-inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-faq-section {
        padding: 50px 15px;
    }

    .contact-faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-faq-header h2 {
        font-size: 26px;
    }

    .contact-cta-overlay {
        padding: 50px 15px;
    }

    .contact-cta-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 26px;
    }

    .contact-info-card {
        padding: 28px 20px;
    }

    .btn-contact-submit {
        width: 100%;
        justify-content: center;
    }
}
