/* ========================  Contact Us Page Styles ======================================= */

/* Contact Us Page Sections */
.contact-information-section,
.location-map-section,
.message-form-section,
.office-hours-section,
.social-media-links-section {
    padding: 40px 20px;
    margin-top: 20px;
}

.contact-information-section .container,
.location-map-section .container,
.message-form-section .container,
.office-hours-section .container,
.social-media-links-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact information section */
.contact-information-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-information-section .card-template:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.contact-information-section .card-content {
    padding: 40px;
}

.contact-information-section h2 {
    color: var(--primary);
    font-size: 2.8em;
    margin-bottom: 25px;
    text-align: center;
}

.contact-information-section h3 {
    color: var(--secondary);
    font-size: 1.8em;
    margin-bottom: 20px;
}

.contact-information-section .contact-details {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1em;
}

.contact-information-section .contact-details p {
    margin-bottom: 20px;
}

.contact-information-section .contact-details a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-information-section .contact-details a:hover {
    color: var(--secondary);
}

/* Location map section */
.location-map-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.location-map-section .card-map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.location-map-section .card-map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.location-map-section .card-content {
    padding: 30px;
}

.location-map-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.location-map-section h4 {
    color: var(--secondary);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.location-map-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Message form section */
.message-form-section .card-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    border-bottom: 1px solid var(--secondary);
}

.message-form-section .card-header h3 {
    margin: 0;
    font-size: 1.8em;
}

.message-form-section .card-content {
    padding: 30px;
}

.message-form-section h4 {
    color: var(--secondary);
    font-size: 1.4em;
    margin-bottom: 20px;
}

.message-form-section .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-form-section .form-group {
    display: flex;
    flex-direction: column;
}

.message-form-section label {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.message-form-section input,
.message-form-section textarea {
    padding: 12px;
    border: 2px solid var(--background-color);
    border-radius: 8px;
    font-family: var(--font-family-sans-serif);
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.message-form-section input:focus,
.message-form-section textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.message-form-section .submit-btn {
    background-color: var(--accent);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.message-form-section .submit-btn:hover {
    background-color: var(--secondary);
}

/* Office hours section */
.office-hours-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.office-hours-section .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.office-hours-section .card-content {
    padding: 30px;
}

.office-hours-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.office-hours-section h4 {
    color: var(--secondary);
    font-size: 1.3em;
    margin-bottom: 20px;
}

.office-hours-section .hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.office-hours-section .hours-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--background-color);
    color: var(--text-color);
}

.office-hours-section p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.office-hours-section .card-footer {
    background-color: var(--background-color2);
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--primary);
}

.office-hours-section .card-footer p {
    margin: 0;
    color: var(--text-color2);
    font-weight: 500;
}

/* Social media links section */
.social-media-links-section .card-template {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    text-align: center;
}

.social-media-links-section .card-profile-image {
    width: 120px;
    height: 120px;
    margin: 30px auto 20px;
    border-radius: 50%;
    border: 5px solid var(--accent);
    overflow: hidden;
}

.social-media-links-section .card-profile-image img {
    width: 1rem;
    height: 1rem;
    object-fit: cover;}

.social-media-links-section .card-content {
    padding: 0 30px 30px;
}

.social-media-links-section h3 {
    color: var(--primary);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.social-media-links-section .card-subtitle {
    color: var(--secondary);
    font-size: 1.1em;
    margin-bottom: 20px;
}

.social-media-links-section p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-media-links-section .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.social-media-links-section .social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: var(--background-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-media-links-section .social-link:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.social-media-links-section .social-icon {
    width: 20px;
    height: 20px;
}

/* Responsive design for contact sections */
@media (max-width: 768px) {
    .contact-information-section h2 {
        font-size: 2.2em;
    }
    
    .location-map-section .card-content {
        padding: 20px;
    }
    
    .social-media-links-section .card-profile-image {
        width: 100px;
        height: 100px;
    }
    
    .social-media-links-section .social-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .contact-information-section .card-content,
    .message-form-section .card-content,
    .office-hours-section .card-content,
    .social-media-links-section .card-content {
        padding: 20px;
    }
    
    .contact-information-section h2 {
        font-size: 1.8em;
    }
    
    .message-form-section .submit-btn {
        width: 100%;
    }
}

/* ------------------------------- end of contact sections --------------------------- */
