/* ===== CONTACT PAGE STYLES ===== */

/* Contact Page Wrapper */
.contact-page-wrapper {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
}

.contact-page-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0 40px;
    min-height: 70vh;
}

.hero-contact .hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.hero-contact .hero-content p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e3ccfc, #f3e8ff);
    color: #8b5cf6;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.contact-quick-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #3A7B6E;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.quick-info-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(58, 123, 110, 0.15);
}

/* Alternating colors for quick info items */
.quick-info-item:nth-child(1) {
    border-left-color: #3A7B6E;
}

.quick-info-item:nth-child(2) {
    border-left-color: #8c255e;
}

.quick-info-item:nth-child(3) {
    border-left-color: #f97316;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: #3A7B6E;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-info-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #1a1a2e;
}

.quick-info-item span {
    font-size: 14px;
    color: #6b7280;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Contact Main Section */
.contact-main-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #e3f5f1 50%, #f3e8ff 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(58, 123, 110, 0.15), rgba(58, 123, 110, 0.08));
    color: #3A7B6E;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(58, 123, 110, 0.2);
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.contact-form-section p,
.contact-info-section p {
    color: #6b7280;
    margin-bottom: 32px;
    font-size: 16px;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a2e;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3A7B6E;
    box-shadow: 0 0 0 3px rgba(58, 123, 110, 0.1);
}

.btn-primary-contact {
    width: 100%;
    background: linear-gradient(135deg, #3A7B6E, #2d5f56);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(58, 123, 110, 0.3);
}

.btn-primary-contact:hover {
    background: linear-gradient(135deg, #2d5f56, #1f4a43);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 123, 110, 0.4);
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #3A7B6E;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(58, 123, 110, 0.15);
}

/* Alternating colored borders for info cards */
.contact-info-cards .info-card:nth-child(1) {
    border-left-color: #3A7B6E;
}

.contact-info-cards .info-card:nth-child(2) {
    border-left-color: #8c255e;
}

.contact-info-cards .info-card:nth-child(3) {
    border-left-color: #f97316;
}

/* Working Hours Card (Below Form) */
.working-hours-card {
    margin-top: 30px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-left: 4px solid #3A7B6E;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3A7B6E, #2d5f56);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.info-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.info-card p {
    color: #6b7280;
    margin-bottom: 16px;
    font-size: 15px;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3A7B6E;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border: 2px solid #3A7B6E;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.info-link:hover {
    background: #3A7B6E;
    color: white;
    transform: translateY(-1px);
}

.info-link.whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

.info-link.whatsapp:hover {
    background: #1fb855;
    border-color: #1fb855;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Hours List */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-item.emergency {
    color: #ef4444;
    font-weight: 600;
}

/* Map Section */
.map-section {
    padding: 50px 0;
    text-align: center;
}

.map-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.map-section p {
    color: #6b7280;
    margin-bottom: 40px;
    font-size: 16px;
}

.map-container {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.location-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: 10px;
    font-weight: 600;
    color: #1a1a2e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #3A7B6E;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(58, 123, 110, 0.15);
}

.feature-item i {
    color: #3A7B6E;
    font-size: 18px;
}

/* Emergency Section */
.emergency-section {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 40px 0;
    margin: 50px 0;
    border-radius: 20px;
}

.emergency-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.emergency-icon {
    font-size: 48px;
    color: #fef2f2;
}

.emergency-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.emergency-text p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.emergency-actions {
    display: flex;
    gap: 16px;
}

.btn-emergency,
.btn-emergency-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-emergency {
    background: white;
    color: #ef4444;
}

.btn-emergency:hover {
    background: #f9fafb;
    transform: translateY(-2px);
}

.btn-emergency-whatsapp {
    background: #25D366;
    color: white;
}

.btn-emergency-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

/* FAQ Section */
.contact-faq-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #fff5ed 0%, #fce8f3 50%, #f3e8ff 100%);
    text-align: center;
}

.contact-faq-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.contact-faq-section p {
    color: #6b7280;
    margin-bottom: 40px;
    font-size: 16px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    text-align: left;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Alternating colored top borders for FAQ items */
.faq-grid .faq-item:nth-child(4n+1) {
    border-top-color: #3A7B6E;
}

.faq-grid .faq-item:nth-child(4n+2) {
    border-top-color: #a78bfa;
}

.faq-grid .faq-item:nth-child(4n+3) {
    border-top-color: #f97316;
}

.faq-grid .faq-item:nth-child(4n+4) {
    border-top-color: #8c255e;
}

.faq-item h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.faq-item h4 i {
    color: #3A7B6E;
}

.faq-item p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-contact {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .emergency-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-page-content {
        padding: 0 16px;
    }
    
    .hero-contact {
        padding: 40px 0 30px;
    }
    
    .hero-contact .hero-content h1 {
        font-size: 32px;
    }
    
    .contact-main-section {
        padding: 40px 0;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .emergency-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-emergency,
    .btn-emergency-whatsapp {
        justify-content: center;
    }
    
    .location-features {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .info-link {
        justify-content: center;
        margin-right: 0;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .hero-contact .hero-content h1 {
        font-size: 28px;
    }
    
    .contact-faq-section h2,
    .map-section h2,
    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 28px;
    }
    
    .quick-info-item {
        padding: 16px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .emergency-content {
        padding: 0 20px;
    }
}