/* HEADER SECTION */
.header-section {
    position: relative;
    width: 100%;
    min-height: 300px;
    background-color: #a0aec0;
    background-image: url('Images/faqsBanner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4rem 2rem;
    box-sizing: border-box;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(41, 128, 185, 0.7), rgba(52, 152, 219, 0.7));
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    padding: 0 1rem;
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
}

/* MAIN CONTENT AREA */
.main-content-area {
    background-color: #f3f4f6;
    padding: 4rem 0;
}

/* IMAGE GALLERY SECTION */
.image-gallery-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.image-gallery-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
}

.gallery-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    flex: 1 1 300px;
    max-width: calc(33.333% - 20px);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* RESPONSIVE GALLERY */
@media (max-width: 992px) {
    .gallery-item {
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .gallery-row {
        gap: 15px;
    }

    .gallery-item {
        max-width: 100%;
    }
}

/* FOOTER SECTION */
.footer-wrapper {
    background: #2c3e50;
    color: white;
}

.footer-top-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top-item-area {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.image-placeholder-text {
    width: 80px;
    height: 80px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ecf0f1;
    font-size: 12px;
    text-align: center;
}

.footer-top-item-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-top-item-content p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.contact-number {
    font-size: 20px;
    font-weight: bold;
    color: #3498db;
}

.appointment-button-top {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.appointment-button-top:hover {
    background: #2980b9;
}

.main-footer {
    background: #34495e;
    padding: 40px 20px 20px;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-section-item h3 {
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section-item p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-section-item ul {
    list-style: none;
    padding: 0;
}

.footer-section-item ul li {
    margin-bottom: 10px;
}

.footer-link {
    color: #ecf0f1;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 1;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-icons a {
    color: #ecf0f1;
    font-size: 20px;
    transition: color 0.3s;
}

.footer-social-icons a:hover {
    color: #3498db;
}

.copyright-section {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #7f8c8d;
    opacity: 0.8;
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .footer-top-section {
        grid-template-columns: 1fr;
    }

    .footer-top-item-area {
        flex-direction: column;
        text-align: center;
    }

    .header-content {
        font-size: 2.2rem;
    }

    .image-gallery-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header-section {
        padding: 2rem 1rem;
        min-height: 200px;
    }

    .header-content {
        font-size: 1.8rem;
    }

    .footer-top-item-content h3 {
        font-size: 16px;
    }

    .footer-top-item-content p {
        font-size: 14px;
    }

    .contact-number {
        font-size: 18px;
    }
}
