/* Contact Page Styles */

/* Page Banner */
.contact-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
}

/* Contact Info Section */
.contact-info-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 70px;
    height: 70px;
    background-color: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 30px;
    color: #1a73e8;
}

.info-card:nth-child(2) .info-icon {
    background-color: #e8f5e9;
}

.info-card:nth-child(2) .info-icon i {
    color: #43a047;
}

.info-card:nth-child(3) .info-icon {
    background-color: #fff8e1;
}

.info-card:nth-child(3) .info-icon i {
    color: #ffb300;
}

.info-card:nth-child(4) .info-icon {
    background-color: #e3f2fd;
}

.info-card:nth-child(4) .info-icon i {
    color: #2196f3;
}

.info-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.info-card p {
    margin-bottom: 8px;
    color: #555;
}

.info-card a {
    color: #1a73e8;
    transition: all 0.3s ease;
}

.info-card a:hover {
    color: #0d47a1;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    color: #1a73e8;
    font-weight: 500;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-text i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-text:hover {
    color: #0d47a1;
}

.btn-text:hover i {
    transform: translateX(5px);
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    color: #1a73e8;
    margin-bottom: 10px;
}

.form-header p {
    color: #777;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
    outline: none;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
}

.btn-block {
    width: 100%;
}

/* Map Container */
.map-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.map-header {
    padding: 30px;
    background-color: #f5f5f5;
}

.map-header h2 {
    color: #1a73e8;
    margin-bottom: 10px;
}

.map-header p {
    color: #777;
    margin-bottom: 0;
}

.map {
    height: 300px;
    position: relative;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.map-overlay p {
    margin-bottom: 20px;
}

.map-info {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.map-info-item {
    display: flex;
    align-items: center;
}

.map-info-item i {
    font-size: 24px;
    color: #1a73e8;
    margin-right: 15px;
}

.map-info-item h4 {
    margin-bottom: 5px;
    color: #333;
}

.map-info-item p {
    margin-bottom: 0;
    color: #777;
}

/* Appointment Section */
.appointment-section {
    background-color: #f0f8ff;
    padding: 80px 0;
}

.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.appointment-image {
    height: 100%;
}

.appointment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appointment-form-container {
    padding: 40px;
}

.appointment-form .form-group {
    margin-bottom: 20px;
}

.appointment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
    outline: none;
}

/* Social Media Section */
.social-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.social-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    z-index: -1;
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.social-card:hover::before {
    background-color: #1a73e8;
}

.social-card.facebook:hover::before {
    background-color: #3b5998;
}

.social-card.twitter:hover::before {
    background-color: #1da1f2;
}

.social-card.instagram:hover::before {
    background-color: #e1306c;
}

.social-card.linkedin:hover::before {
    background-color: #0077b5;
}

.social-icon {
    width: 70px;
    height: 70px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.social-card:hover .social-icon {
    background-color: #ffffff;
}

.social-icon i {
    font-size: 30px;
    color: #333;
    transition: all 0.3s ease;
}

.social-card.facebook .social-icon i {
    color: #3b5998;
}

.social-card.twitter .social-icon i {
    color: #1da1f2;
}

.social-card.instagram .social-icon i {
    color: #e1306c;
}

.social-card.linkedin .social-icon i {
    color: #0077b5;
}

.social-card h3 {
    margin-bottom: 10px;
    color: #333;
    transition: all 0.3s ease;
}

.social-card p {
    color: #777;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.social-card:hover h3,
.social-card:hover p {
    color: #ffffff;
}

.follow-text {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: #1a73e8;
    transition: all 0.3s ease;
}

.follow-text i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.social-card:hover .follow-text {
    color: #ffffff;
}

.social-card:hover .follow-text i {
    transform: translateX(5px);
}

/* FAQ Section */
.contact-faq-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: #ffffff;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: #e8f0fe;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.faq-icon {
    color: #1a73e8;
    font-size: 16px;
}

.faq-answer {
    background-color: #ffffff;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-grid, 
    .appointment-container {
        grid-template-columns: 1fr;
    }
    
    .map-info {
        grid-template-columns: 1fr;
    }
    
    .appointment-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form-container,
    .appointment-form-container {
        padding: 30px;
    }
    
    .map-header {
        padding: 20px;
    }
    
    .map {
        height: 250px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .info-card,
    .contact-form-container,
    .map-container,
    .appointment-form-container {
        padding: 20px;
    }
    
    .info-icon,
    .social-icon {
        width: 60px;
        height: 60px;
    }
    
    .info-icon i,
    .social-icon i {
        font-size: 24px;
    }
    
    .map {
        height: 200px;
    }
    
    .appointment-image {
        height: 200px;
    }
}