/* Contact Page Styles */

/* Contact Hero */
.contact-hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
    text-align: center;
    color: white;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.contact-hero h1 {
    color: white;
    margin-bottom: 25px;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Contact Info */
.contact-info {
    padding: 100px 0;
    background-color: #f8fafc;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background-color: white;
    padding: 40px 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.info-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    height: 80px;
    width: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.info-card h3 {
    margin-bottom: 30px;
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.address, .email-item, .phone-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
    flex-grow: 1;
}

.address:last-child, .email-item:last-child, .phone-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.address h4, .email-item h4, .phone-item h4 {
    margin-bottom: 12px;
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.address p, .email-item a, .phone-item a {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 5px;
    display: block;
    font-size: 1rem;
}

.email-item a, .phone-item a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.2s ease;
}

.email-item a:hover, .phone-item a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.phone-item p {
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 8px;
    line-height: 1.5;
}

.emergency {
    color: #ef4444 !important;
    font-weight: 700;
    font-size: 0.95rem;
}

.business-hours {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}

.business-hours h4 {
    margin-bottom: 12px;
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.business-hours p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Form */
.contact-form-section {
    padding: 100px 0;
    background-color: white;
}

.form-container {
    max-width: 850px;
    margin: 0 auto;
    background-color: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.form-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 50px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.contact-form .form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.contact-form .form-row .form-group {
    flex: 1;
}

.contact-form .form-group {
    margin-bottom: 30px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background-color: white;
    color: #1f2937;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.checkbox input {
    width: auto;
    margin-top: 5px;
    transform: scale(1.2);
}

.checkbox label {
    color: #4b5563;
    font-size: 1rem;
    /* line-height: 1.5; */
    flex: 1;
}

.checkbox label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox label a:hover {
    text-decoration: underline;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.contact-form button[type="submit"]:active {
    transform: translateY(-1px);
}

/* Map Section */
.map-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 500px;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.map-info {
    text-align: center;
    margin-top: 40px;
}

.map-info p {
    color: #4b5563;
    font-size: 1.2rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-info .btn {
    padding: 14px 35px;
    font-size: 1.1rem;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-hero h1 {
        font-size: 2.8rem;
    }
    
    .form-container {
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .contact-hero h1 {
        font-size: 2.3rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
        max-width: 90%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .contact-info, .contact-form-section, .map-section {
        padding: 70px 0;
    }
    
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-container {
        padding: 40px 30px;
        margin: 0 20px;
    }
    
    .form-container h2 {
        font-size: 2rem;
    }
    
    .map-container {
        height: 350px;
        margin: 0 20px 30px;
    }
    
    .map-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .info-card {
        padding: 30px 25px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 15px;
        font-size: 1rem;
    }
    
    .contact-form button[type="submit"] {
        padding: 16px;
        font-size: 1.1rem;
    }
    
    .map-container {
        height: 300px;
    }
}

/* Animation for loading elements */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}