/**
 * Contact Page Styles
 */

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
    z-index: 2;
    position: relative;
}

.contact-info-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-info-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-info-card p strong {
    color: var(--dark);
    font-weight: 600;
}

.contact-info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white !important;
}

/* Contact Forms Section */
.contact-forms-section {
    padding: 80px 0;
    background: white;
}

.contact-form-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.form-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
}

.form-section {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 1rem;
}

.required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #374151;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8, 104, 150, 0.1);
    outline: none;
    transform: translateY(-1px);
}

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

select.form-control {
    cursor: pointer;
}

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

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.form-check-input {
    margin: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    flex-shrink: 0;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    color: #374151;
    line-height: 1.5;
    cursor: pointer;
}

.form-check-label a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(8, 104, 150, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(8, 104, 150, 0.4);
}

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

/* Quick Contact Card */
.quick-contact-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.quick-contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.quick-contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
}

.quick-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.quick-contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-contact-item i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 5px;
}

.quick-contact-item h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.quick-contact-item p {
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 104, 150, 0.3);
    color: white;
}

/* Hours Card */
.hours-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.hours-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.hours-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hours-item:hover {
    transform: translateX(3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.hours-item.emergency {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.hours-item.emergency .day,
.hours-item.emergency .time {
    color: white;
    font-weight: 600;
}

.day {
    font-weight: 600;
    color: var(--dark);
}

.time {
    font-weight: 500;
    color: var(--primary);
}

/* Map Section */
.map-section {
    position: relative;
}

.map-container {
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

.map-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.map-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.map-info p {
    color: #64748b;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.map-info i {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-form-card {
        padding: 40px 30px;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .form-section {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .contact-info-section,
    .contact-forms-section {
        padding: 60px 0;
    }
    
    .contact-info-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .contact-form-card {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .form-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .quick-contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .quick-contact-item i {
        margin-top: 0;
    }
    
    .hours-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .map-overlay {
        position: relative;
        top: 0;
        left: 0;
        margin: 20px;
        max-width: none;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .submit-btn {
        padding: 15px 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .form-control {
        padding: 12px 15px;
    }
    
    .contact-info-card h4 {
        font-size: 1.3rem;
    }
    
    .quick-contact-card,
    .hours-card {
        padding: 25px 20px;
    }
    
    .map-overlay {
        margin: 15px;
        padding: 20px;
    }
}