/* ============================================
   Contact Page Styles
   ============================================ */

/* Hero Section */
.contact-hero {
    background: var(--brand-gradient);
    padding: 80px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 194, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 194, 255, 0.1) 0%, transparent 50%);
    opacity: 0.8;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.contact-hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: #ff0000;
}

.contact-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 0;
    color: #d9c9c9;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(27, 14, 84, 0.08);
}

.contact-form-header {
    margin-bottom: 32px;
}

.contact-form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1B0E54;
    margin-bottom: 12px;
}

.contact-form-header p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group a {
    color: var(--brand);
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--brand);
    font-size: 1rem;
}

.form-control {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #00C2FF;
    box-shadow: 0 0 0 4px rgba(0, 194, 255, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="%236b7280" stroke-width="2" stroke-linecap="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.checkbox-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

.checkbox-text a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--brand-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-submit:hover {
    background: var(--brand-gradient) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 194, 255, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(27, 14, 84, 0.08);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1B0E54;
    margin-bottom: 28px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e7eb;
}

.contact-info-item:last-of-type {
    margin-bottom: 32px;
    padding-bottom: 32px;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--brand-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1B0E54;
    margin-bottom: 8px;
}

.contact-info-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.contact-info-content a {
    color: #6d747d;
    color: #6d747d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-content a:hover {
    color: #1B0E54;
    text-decoration: underline;
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
}

/* Social Links */
.social-links {
    border-top: 1px solid #e5e7eb;
    padding-top: 24px;
}

.social-links h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1B0E54;
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #00C2FF 0%, #1B0E54 100%);
    color: white;
    transform: translateY(-2px);
}

/* Quick Actions */
.quick-actions-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(27, 14, 84, 0.08);
}

.quick-actions-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1B0E54;
    margin-bottom: 16px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.quick-action-btn:last-child {
    margin-bottom: 0;
}

.quick-action-btn i {
    font-size: 1.25rem;
}

.quick-action-btn.call {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.quick-action-btn.call:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.quick-action-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.quick-action-btn.whatsapp:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.quick-action-btn.survey {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.quick-action-btn.survey:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.map-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1B0E54;
    margin-bottom: 16px;
}

.map-header p {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.6;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    display: block;
}

/* Service Areas Section */
.service-areas-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-areas-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.service-areas-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1B0E54;
    margin-bottom: 16px;
}

.service-areas-header p {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.6;
}

.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-area-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #00C2FF;
}

.service-area-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #00C2FF 0%, #1B0E54 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 1.5rem;
}

.service-area-card:hover .service-area-icon {
    transform: scale(1.1);
}

.service-area-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1B0E54;
    margin-bottom: 4px;
}

.service-area-card p {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .service-areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0 60px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.125rem;
    }
    
    .contact-section,
    .map-section,
    .service-areas-section {
        padding: 60px 0;
    }
    
    .contact-form-wrapper,
    .contact-info-card,
    .quick-actions-card {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .map-header h2,
    .service-areas-header h2 {
        font-size: 2rem;
    }
    
    .service-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-form-header h2 {
        font-size: 1.5rem;
    }
    
    .service-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .map-wrapper iframe {
        height: 350px;
    }
}
