/* Contact Page Specific Styles */
.contact-section {
    padding: 8px 0;
    margin-top: 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    color: #1a365d;
    font-size: 2rem;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 1.5rem;
    color: #3182ce;
    margin-right: 20px;
    margin-top: 5px;
    min-width: 30px;
}

.info-item h3 {
    color: #1a365d;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.info-item p {
    color: #666;
    line-height: 1.6;
}

.info-item a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #1a365d;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: #1a365d;
    font-size: 2rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1a365d;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e53e3e;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.6;
}

.checkbox-group label a {
    color: #3182ce;
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #f8fafc;
}

.map-section h2 {
    color: #1a365d;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 15px;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #e6f3ff 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.map-placeholder i {
    font-size: 4rem;
    color: #3182ce;
    margin-bottom: 20px;
}

.map-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.map-note {
    font-size: 1rem;
    color: #1a365d;
    font-weight: 600;
}

/* Quick Contact */
.quick-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a365d 0%, #2c5aa0 100%);
}

.quick-contact h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 50px;
    text-align: center;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.quick-contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.quick-contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.quick-contact-item i {
    font-size: 2.5rem;
    color: #63b3ed;
    margin-bottom: 20px;
}

.quick-contact-item h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.quick-contact-item p {
    color: #e6f3ff;
    margin-bottom: 25px;
}

.quick-contact-item .btn {
    border-color: white;
    color: white;
}

.quick-contact-item .btn:hover {
    background: white;
    color: #1a365d;
}

/* Modal Styles */
.modal-header {
    padding: 30px 30px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.modal-header h2 {
    color: #1a365d;
    margin-bottom: 10px;
}

.modal-header p {
    color: #666;
    margin-bottom: 20px;
}

/* General modal scrollbar hiding (applies to all modals) */
.modal-content {
    /* Hide scrollbar while keeping scroll functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer and Edge */
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari) */
.modal-content::-webkit-scrollbar {
    display: none;
}

#appointmentModal .modal-content {
    max-width: 600px;
    /* Hide scrollbar while keeping scroll functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer and Edge */
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari) */
#appointmentModal .modal-content::-webkit-scrollbar {
    display: none;
}

#appointmentModal form {
    padding: 0 30px 30px;
}

/* Success Message */
.success-message {
    background: linear-gradient(45deg, #38a169, #68d391);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Styles */
.error-message {
    color: #e53e3e;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info {
        width: 100%;
        padding: 0 8px;
        box-sizing: border-box;
    }
    .contact-info h2 {
        text-align: center;
        margin-bottom: 24px;
    }
    .info-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        margin-bottom: 18px;
        width: 100%;
        box-sizing: border-box;
    }
    .info-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .quick-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px auto;
    }
    
    .modal-header,
    #appointmentModal form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-form h2,
    .contact-info h2,
    .map-section h2,
    .quick-contact h2 {
        font-size: 1.6rem;
    }
    
    .info-item {
        padding: 15px;
    }
    
    .quick-contact-item {
        padding: 30px 20px;
    }
    
    .checkbox-group {
        flex-direction: column;
    }
    
    .checkbox-group input[type="checkbox"] {
        margin-top: 0;
        margin-bottom: 10px;
    }
}
