/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 120px; /* Adjusted to account for top bar */
}

/* Top Bar */
.top-bar {
    background: #2c3e50;
    color: white;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.contact-info span {
    margin-right: 1rem;
}

.time-info span {
    margin-left: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 40px; /* Adjusted to position below the top bar */
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-brand {
    flex: 1;
}

.nav-links {
    flex: 4;
    display: flex;
    justify-content: center;
}

.nav-appointment {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-appointment .appointment-btn {
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-appointment .appointment-btn i {
    font-size: 1.1rem;
}

.nav-appointment .appointment-btn:hover {
    background: #2980b9;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: #2c3e50;
}

.nav-brand p {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a i {
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a.active {
    color: #3498db;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Sections */
.hero, .about-hero, .services-hero, .contact-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                #3498db; /* Fallback color if image is missing */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: -80px; /* Offset the padding-top from body */
    padding-top: 80px; /* Add padding to push content below navbar */
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-banner-1.jpg') no-repeat center center/cover;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 40px 20px;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    text-align: left;
    max-width: 600px;
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Services Section */
.services-overview {
    position: relative;
    overflow: hidden;
    padding: 5rem 5%;
    background: #f9f9f9;
    text-align: center;
}

.services-overview::before {
    content: none;
}

.services-overview > * {
    position: relative;
    z-index: 1;
}

.services-overview h2 {
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    background: #f8f9fa;
}

.service-card .service-icon {
    width: 60px;
    height: 60px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #2196f3;
    transform: scale(1.1);
}

.service-card .service-icon i {
    font-size: 24px;
    color: #2196f3;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: #fff;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #2196f3;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.service-card::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #3498db;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.service-card:hover::after {
    transform: translateX(5px);
    background: #3498db;
    color: white;
}

/* Testimonials */
.testimonials {
    padding: 5rem 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../images/testimonial-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    padding: 2rem;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    text-align: center;
    background: #3498db;
    color: white;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #3498db;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: linear-gradient(rgba(37, 58, 80, 0.95), rgba(67, 115, 163, 0.95)), url('../images/footer-background.jpg') no-repeat center center/cover;
    color: white;
    padding: 4rem 5% 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 3rem 2% 1.5rem;
        background-position: center top;
    }
}

/* Mobile Navigation */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-links.active a {
    margin: 0.5rem 0;
}

/* Additional Styles for About Page */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                #2980b9; /* Different fallback color for about page */
}

/* Additional Styles for Services Page */
.services-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                #2c3e50; /* Different fallback color for services page */
}

/* Additional Styles for Contact Page */
.contact-hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    padding: 4rem 5% 4rem;
    color: white;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0; /* Ensure no bottom margin */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png');
    opacity: 0.1;
    z-index: 1;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-hero .hero-text {
    text-align: center;
    margin-top: 0; /* Removed top margin */
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeInUp 1s ease;
}

.contact-hero .hero-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: forwards;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.hero-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hero-card:hover .card-icon {
    transform: scale(1.1);
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.card-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

@media (max-width: 992px) {
    .hero-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 5% 3rem; /* Reduced padding for mobile */
    }

    .contact-hero .hero-text {
        margin-top: 0; /* Removed margin for mobile */
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .hero-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 2rem 5% 2rem; /* Further reduced padding for smaller screens */
    }

    .contact-hero .hero-text {
        margin-top: 0; /* Removed margin for smallest screens */
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero .hero-text p {
        font-size: 1rem;
    }

    .hero-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-icon {
        margin-bottom: 1rem;
    }
}

/* Map Container Styles */
.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* Contact Form Styles */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    background: #3498db;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #2980b9;
}

/* Doctor Profile Styles */
.doctor-profile {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.profile-container {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-image-wrapper {
    flex: 0 0 400px;
    position: relative;
}

.profile-image {
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.social-link {
    color: #3498db;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #2980b9;
    transform: translateY(-3px);
}

.profile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-header {
    margin-bottom: 1rem;
}

.profile-header h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.profile-header h3 {
    color: #3498db;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.profile-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 20px;
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.badge i {
    color: #3498db;
}

.badge:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.badge:hover i {
    color: white;
}

.profile-description {
    color: #7f8c8d;
    line-height: 1.8;
    font-size: 1.1rem;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.detail-group {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.detail-group:hover {
    transform: translateY(-5px);
}

.detail-group h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-group h4 i {
    color: #3498db;
}

.detail-group ul {
    list-style: none;
}

.detail-group li {
    color: #7f8c8d;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.detail-group li:before {
    content: '•';
    color: #3498db;
    position: absolute;
    left: 0;
}

.profile-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: #3498db;
    color: white;
}

.cta-button.secondary {
    background: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #3498db;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button.primary:hover {
    background: #2980b9;
}

.cta-button.secondary:hover {
    background: #3498db;
    color: white;
}

/* Responsive Styles for Doctor Profile */
@media (max-width: 992px) {
    .profile-container {
        flex-direction: column;
        padding: 1.5rem;
    }

    .profile-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .profile-image {
        height: 400px;
    }

    .profile-header h2 {
        font-size: 1.8rem;
    }

    .profile-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-badges {
        justify-content: center;
    }

    .profile-cta {
        flex-direction: column;
    }

    .cta-button {
        text-align: center;
        justify-content: center;
    }
}

/* Team Section Styles */
.team-section {
    padding: 5rem 5%;
    background: #f9f9f9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* FAQ Section Styles */
.faq-section {
    padding: 5rem 5%;
    background: white;
}

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

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Facilities Section */
.facilities-section {
    position: relative;
    padding: 5rem 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('../images/facilities-bg.jpg') no-repeat center center/cover;
    color: white;
}

.facilities-overlay {
    position: relative;
    z-index: 2;
}

.facilities-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: white;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.facility-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.facility-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.facility-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}

.facility-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.facility-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.facility-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.facility-btn:hover {
    background: #2980b9;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .facility-card {
        margin-bottom: 1rem;
    }
}

/* Treatment Process Section */
.treatment-process {
    padding: 5rem 5%;
    background: #fff;
    text-align: justify;
}

.treatment-process h2 {
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
    text-align: justify;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.treatment-process h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3498db;
}

.process-timeline {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3498db;
    z-index: 1;
}

.process-step {
    flex: 1;
    min-width: 200px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.process-step p {
    color: #7f8c8d;
}

/* Insurance Information Section */
.insurance-info {
    padding: 5rem 5%;
    background: #f9f9f9;
    text-align: center;
}

.insurance-info h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.insurance-content {
    max-width: 800px;
    margin: 0 auto;
}

.insurance-content p {
    margin-bottom: 2rem;
    color: #7f8c8d;
}

.insurance-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.insurance-logo-placeholder {
    width: 150px;
    height: 80px;
    background: #e0e0e0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design for Treatment Process */
@media (max-width: 768px) {
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        min-width: 100%;
        margin-bottom: 2rem;
    }
    
    .insurance-logo-placeholder {
        width: 120px;
        height: 60px;
    }
}

/* Associations and Awards Section */
.associations-awards {
    padding: 5rem 5%;
    background: #fff;
    text-align: center;
}

.associations-awards h2 {
    margin-bottom: 3rem;
    color: #2c3e50;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.award-card {
    background: #f9f9f9;
    padding: 2rem 1.2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.award-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.award-card h3 {
    color: #2c3e50;
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.award-card p {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-size: 0.97rem;
}

.award-year {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #3498db;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: auto;
}

@media (max-width: 1100px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
    .award-card {
        min-width: 0;
        max-width: 100%;
    }
}

/* Professional Collaborations Section */
.professional-collaborations {
    padding: 5rem 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('../images/collaborations-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.professional-collaborations h2 {
    margin-bottom: 3rem;
    color: white;
}

.collaborations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.collaboration-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.collaboration-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.collaboration-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.collaboration-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.collaboration-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.collaboration-type {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #3498db;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .awards-grid,
    .collaborations-grid {
        grid-template-columns: 1fr;
    }
    
    .collaboration-logo {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
    }
}

/* Committee Memberships Styles */
.committee-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.committee-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.committee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.committee-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.committee-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.committee-details {
    flex: 1;
}

.committee-details h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.committee-details p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .committee-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .committee-icon {
        margin-bottom: 0.5rem;
    }
}

/* Appointment Form Styles */
.appointment-form-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 350px;
    position: absolute;
    right: 50px;
    top: 50%;
    z-index: 10;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.appointment-form .form-group {
    position: relative;
    margin-bottom: 0.3rem;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    background: white;
    transition: border-color 0.3s ease;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.appointment-form textarea {
    height: 70px;
    resize: vertical;
}

.appointment-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 0.5rem;
}

.appointment-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .appointment-form-container {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin: 2rem auto;
    }
}

@media (max-width: 768px) {
    .appointment-form-container {
        margin: 1rem;
        padding: 1.2rem;
    }
}

/* Expert Section Styles */
.expert-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.expert-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 20px;
}

.expert-image {
    flex: 1;
    max-width: 400px;
}

.expert-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.expert-image img:hover {
    transform: scale(1.02);
}

.expert-content {
    flex: 1.5;
}

.expert-content h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.expert-content h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #3498db;
}

.expert-content h3 {
    color: #3498db;
    font-size: 1.8rem;
    margin: 20px 0 10px;
}

.expert-title {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.expert-description {
    color: #34495e;
    line-height: 1.8;
    margin-bottom: 25px;
}

.expert-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.credential i {
    color: #3498db;
    font-size: 1.2rem;
}

.credential span {
    color: #2c3e50;
    font-weight: 500;
}

.expert-btn {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.expert-btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

/* Responsive styles for expert section */
@media (max-width: 992px) {
    .expert-container {
        flex-direction: column;
        text-align: center;
    }
    
    .expert-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .expert-content h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .expert-credentials {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .expert-section {
        padding: 50px 0;
    }
    
    .expert-content h2 {
        font-size: 2rem;
    }
    
    .expert-content h3 {
        font-size: 1.5rem;
    }
    
    .expert-credentials {
        flex-direction: column;
        align-items: center;
    }
    
    .credential {
        width: 100%;
        justify-content: center;
    }
}

/* Academic Achievements Styles */
.academic-achievements {
    margin: 30px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.academic-achievements h4 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.academic-achievements h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #3498db;
}

.achievement-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.achievement-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #3498db;
}

.achievement-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.achievement-icon i {
    font-size: 1.2rem;
}

.achievement-details {
    flex: 1;
}

.achievement-details h5 {
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.achievement-details p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive styles for academic achievements */
@media (max-width: 992px) {
    .academic-achievements h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .academic-achievements h4 {
        display: block;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .achievement-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .achievement-icon {
        margin-bottom: 10px;
    }
    
    .achievement-card:hover {
        transform: translateY(-5px);
    }
}

/* Committee Section Styles */
.committee-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.committee-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.committee-section h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.committee-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3498db;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.8;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.committee-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.committee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.committee-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.committee-details {
    flex: 1;
}

.committee-details h5 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.committee-details p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive styles for committee section */
@media (max-width: 992px) {
    .committee-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .committee-section {
        padding: 60px 0;
    }
    
    .committee-section h2 {
        font-size: 2rem;
    }
    
    .committee-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .committee-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    
    .committee-icon {
        margin-bottom: 15px;
    }
}

/* Values Showcase Section Styles */
.values-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.values-showcase:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.png');
    opacity: 0.05;
    z-index: 1;
}

.values-showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.values-showcase-container::before {
    content: none;
}

.values-showcase {
    position: relative;
    overflow: hidden;
}

.values-showcase::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../images/services-bg.jpg') no-repeat center center/cover;
    filter: blur(2px);
    opacity: 0.5;
    z-index: 0;
}

.values-showcase > * {
    position: relative;
    z-index: 1;
}

.values-showcase h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.values-showcase h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.7);
}

.values-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.8;
}

.values-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-showcase-card {
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.value-showcase-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #2ecc71);
}

.value-showcase-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.value-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.value-showcase-card:hover .value-icon-wrapper {
    background-color: white;
    color: #3498db;
    transform: rotateY(180deg);
}

.value-showcase-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-showcase-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}

/* Responsive styles for values showcase */
@media (max-width: 992px) {
    .values-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-showcase {
        padding: 70px 0;
    }
    
    .values-showcase h2 {
        font-size: 2.2rem;
    }
    
    .values-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .value-showcase-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .values-showcase h2 {
        font-size: 1.8rem;
    }
    
    .value-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Facilities Showcase Modifications */
.facilities-showcase {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.value-showcase-card {
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.facility-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: white;
    color: #3498db;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.facility-link:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.facilities-showcase .value-showcase-card:before {
    background: linear-gradient(90deg, #3498db, #2ecc71, #f1c40f);
}

/* Testimonials Client Section */
.testimonials-client {
    padding: 5rem 5% 4rem 5%;
    background: linear-gradient(135deg, #f9f9f9 60%, #eaf6fb 100%);
    position: relative;
    text-align: center;
}

.testimonials-client-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0 1rem 0;
}

.testimonials-client-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.testimonials-client-icon i {
    font-size: 2rem;
    color: #3498db;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.08);
    padding: 0.7rem 0.9rem;
}

.testimonials-client h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.testimonials-client-slider {
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    gap: 2rem;
    overflow: hidden;
    min-height: 350px;
}

.testimonial-client-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.08);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    min-width: 250px;
    max-width: 300px;
    flex: 1 0 22%;
    margin: 0;
    opacity: 0;
    transform: translateX(60px) scale(0.95);
    transition: opacity 0.7s cubic-bezier(0.4, 0.2, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    margin-bottom: 2rem;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-client-card.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    position: relative;
    pointer-events: auto;
}

.testimonial-client-card p {
    color: #34495e;
    font-size: .9rem;
    font-style: italic;
    margin-bottom: 1.1rem;
    line-height: 1.6;
}

.testimonial-stars {
    margin-bottom: 0.7rem;
}

.testimonial-stars i {
    color: #f1c40f;
    font-size: 1.1rem;
    margin: 0 1.5px;
}

.testimonial-client-name {
    color: #3498db;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 0.2rem;
}

.testimonials-client-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.testimonials-client-dot {
    width: 12px;
    height: 12px;
    background: #d0e6f7;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s;
}

.testimonials-client-dot.active {
    background: #3498db;
}

@media (max-width: 1200px) {
    .testimonials-client-container {
        max-width: 1000px;
    }
    .testimonial-client-card {
        min-width: 200px;
        max-width: 250px;
    }
}

@media (max-width: 900px) {
    .testimonials-client-slider {
        gap: 1rem;
    }
    .testimonial-client-card {
        min-width: 160px;
        max-width: 200px;
    }
}

@media (max-width: 700px) {
    .testimonials-client-slider {
        flex-direction: column;
        gap: 1rem;
    }
    .testimonial-client-card {
        min-width: 90vw;
        max-width: 95vw;
        position: relative !important;
        left: unset;
        right: unset;
        margin-left: unset;
        margin-right: unset;
    }
}

/* Education Section Styles */
.education-section {
    padding: 5rem 5%;
    background: #f9f9f9;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.education-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.education-details h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.education-details .year {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-details p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* Certifications Section Styles */
.certifications-section {
    padding: 5rem 5%;
    background: white;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certification-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.certification-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.certification-card ul {
    list-style: none;
}

.certification-card li {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.certification-card li:before {
    content: '•';
    color: #3498db;
    position: absolute;
    left: 0;
}

/* Fellowships Section Styles */
.fellowships-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.fellowships-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.05;
    z-index: 1;
}

.fellowships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.fellowship-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.fellowship-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #3498db, #2980b9);
    transition: width 0.3s ease;
}

.fellowship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.fellowship-card:hover::before {
    width: 8px;
}

.fellowship-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.fellowship-card:hover .fellowship-icon {
    transform: scale(1.1);
    background: #2980b9;
}

.fellowship-details {
    flex: 1;
}

.fellowship-details h3 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.fellowship-card:hover .fellowship-details h3 {
    color: #3498db;
}

.fellowship-details p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .fellowship-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }
    
    .fellowship-icon {
        margin-bottom: 1rem;
    }
    
    .fellowship-card::before {
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, #3498db, #2980b9);
    }
    
    .fellowship-card:hover::before {
        height: 8px;
    }
}

/* Editorial Section Styles */
.editorial-section {
    padding: 5rem 5%;
    background: white;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.editorial-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.editorial-card:hover {
    transform: translateY(-5px);
}

.editorial-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.editorial-details h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.editorial-details p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* Publications Section Styles */
.publications-section {
    padding: 5rem 5%;
    background: #f9f9f9;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.publication-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.publication-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.publication-list {
    list-style: none;
}

.publication-list li {
    color: #7f8c8d;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
}

.publication-list li:before {
    content: '•';
    color: #3498db;
    position: absolute;
    left: 0;
}

/* Section Headers */
.section-container h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-container h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3498db;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .education-card,
    .fellowship-card,
    .editorial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .education-icon,
    .fellowship-icon,
    .editorial-icon {
        margin-bottom: 1rem;
    }

    .section-container h2 {
        font-size: 2rem;
    }

    .publication-list li {
        font-size: 0.9rem;
    }
}

/* Navigation Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown a i.fa-chevron-down {
    font-size: 0.8rem;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.dropdown:hover a i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 270px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: #2c3e50;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    margin: 0;
}

.dropdown-content a:hover {
    background: #f8f9fa;
    color: #3498db;
}

.dropdown-content a i {
    width: 20px;
    text-align: center;
    color: #3498db;
}

/* Responsive Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 0;
        padding: 0;
        opacity: 1;
        transform: none;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 1rem 2rem;
    }
}

/* Contact Info Section Styles */
.contact-info-section {
    padding: 5rem 5%;
    background: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Contact Form and Map Section */
.contact-form-map {
    padding: 5rem 5%;
    background: white;
    position: relative;
    z-index: 1;
    margin-top: 2rem; /* Add space after hero section */
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: visible;
    align-items: start;
    position: relative;
    margin-top: 0; /* Reset any top margin */
}

.doctor-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    height: 100%;
}

.appointment-form-container {
    background: #f8f9fa;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 120px;
    z-index: 10;
    margin-top: 0;
    max-width: 450px; /* Set maximum width */
    width: 100%; /* Take full width up to max-width */
    margin-left: auto; /* Push to the right */
    margin-right: 0; /* Remove right margin */
}

.appointment-form-container h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%; /* Ensure form takes full width of container */
}

@media (max-width: 992px) {
    .appointment-form-container {
        max-width: 100%; /* Full width on tablets */
        margin: 2rem auto; /* Center on tablets */
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .appointment-form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .appointment-form-container {
        padding: 1rem;
    }
}

/* Update hero section to prevent overlap */
.contact-hero {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    padding: 4rem 5% 4rem;
    color: white;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0; /* Ensure no bottom margin */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (max-width: 992px) {
    .appointment-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .doctor-info {
        padding: 1.5rem;
    }

    .appointment-form-container {
        position: relative;
        top: 0;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .appointment-wrapper {
        gap: 1.5rem;
    }

    .contact-form-map {
        padding: 3rem 5%;
    }
}

@media (max-width: 576px) {
    .contact-form-map {
        padding: 2rem 1rem;
    }

    .appointment-wrapper {
        border-radius: 15px;
    }

    .doctor-info,
    .appointment-form-container {
        padding: 1rem;
    }
}

/* Emergency Contact Section Styles */
.emergency-contact {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.emergency-icon {
    font-size: 3rem;
    animation: pulse 2s infinite;
}

.emergency-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.emergency-text p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.emergency-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #e74c3c;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.emergency-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles for Contact Page */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-icon {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-form-container h2 {
        font-size: 1.8rem;
    }
    
    .emergency-text h2 {
        font-size: 1.8rem;
    }
}

/* Appointment Section Styles */
.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.doctor-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.doctor-image {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.doctor-image img:hover {
    transform: scale(1.05);
}

.doctor-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.doctor-description h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.doctor-title {
    color: #3498db;
    font-size: 1.1rem;
    font-weight: 500;
}

.doctor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.5rem 0;
}

.doctor-specialties span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2c3e50;
}

.doctor-specialties i {
    color: #3498db;
}

.doctor-bio {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 0.95rem;
}

.doctor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    color: #3498db;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.stat .label {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.appointment-form-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.appointment-form-container h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #2c3e50;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.submit-btn {
    background: #3498db;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

@media (max-width: 992px) {
    .appointment-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .doctor-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .appointment-wrapper {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .doctor-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .doctor-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .doctor-specialties {
        flex-direction: column;
    }

    .doctor-specialties span {
        width: 100%;
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: -80px;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.slide-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    color: white;
    text-align: left;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.prev-slide,
.next-slide {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-slide:hover,
.next-slide:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
    .slide-content h1 {
        font-size: 2.8rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slider-controls {
        bottom: 1rem;
    }
    
    .prev-slide,
    .next-slide {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .slide-content {
        padding: 0 1rem;
        text-align: center;
    }
    
    .slider-controls {
        gap: 1rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Gallery Styles */
.gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-banner-1.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    
}

.gallery-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-hero .hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background-color: white;
    color: #333;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
    background-color: #007bff;
    color: white;
}

.filter-btn.active {
    background-color: #007bff;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .gallery-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        height: 250px;
    }
    
    .gallery-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .gallery-hero .hero-content p {
        font-size: 1rem;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .gallery-section {
        padding: 2rem 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item img {
        height: 250px;
    }
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1001;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 2%;
        font-size: 0.95rem;
        gap: 0.3rem;
        position: static;
    }
    .top-bar .contact-info,
    .top-bar .time-info {
        margin: 0.2rem 0;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-start;
    }
    .top-bar .contact-info span,
    .top-bar .time-info span {
        margin: 0 0.5rem 0.2rem 0;
        font-size: 0.95rem;
    }
    .navbar {
        top: 0 !important;
        position: sticky;
        z-index: 1002;
        padding: 0.7rem 2%;
    }
    body {
        padding-top: 120px !important;
    }
}
@media (max-width: 576px) {
    .top-bar {
        font-size: 0.85rem;
        padding: 0.3rem 1%;
    }
    .navbar {
        padding: 0.5rem 1%;
    }
    .nav-brand h1 {
        font-size: 1.1rem;
    }
    .nav-brand p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px !important;
    }
    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1001;
    }
    .navbar {
        top: 40px !important;
        position: fixed;
        width: 100%;
        z-index: 1002;
    }
}
@media (max-width: 576px) {
    body {
        padding-top: 70px !important;
    }
    .top-bar {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1001;
        height: 40px;
        min-height: 40px;
        padding: 0 2%;
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .navbar {
        position: fixed;
        top: 40px;
        left: 0;
        width: 100%;
        z-index: 1000;
        padding: 0.7rem 2%;
        height: 56px;
        min-height: 56px;
        display: flex;
        align-items: center;
    }
    body {
        padding-top: 96px !important; /* 40px top bar + 56px navbar */
    }
}
@media (max-width: 576px) {
    .top-bar {
        height: 36px;
        min-height: 36px;
        font-size: 0.8rem;
        padding: 0 1%;
    }
    .navbar {
        top: 36px;
        height: 50px;
        min-height: 50px;
        padding: 0.5rem 1%;
    }
    body {
        padding-top: 86px !important; /* 36px top bar + 50px navbar */
    }
}

@media (max-width: 768px) {
    .nav-appointment {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
    .nav-appointment .appointment-btn {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        text-align: center;
        font-size: .8rem;
        padding: 0.6rem 0.4rem;
        border-radius: 8px;
        box-sizing: border-box;
    }
}
@media (max-width: 576px) {
    .nav-appointment .appointment-btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.25rem;
        max-width: 100%;
        margin-bottom: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 768px) {
    .testimonials-client {
        padding: 2.5rem 2% 1.5rem 2%;
    }
    .testimonials-client-container {
        padding: 1rem 0 0.5rem 0;
    }
    .testimonial-client-card {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        min-width: 90vw;
        max-width: 95vw;
        margin-bottom: 1rem;
    }
    .testimonials-client-slider {
        min-height: unset;
        gap: 0.5rem;
    }
}
@media (max-width: 576px) {
    .testimonials-client {
        padding: 1.2rem 1% 0.7rem 1%;
    }
    .testimonial-client-card {
        padding: 0.7rem 0.3rem 0.7rem 0.3rem;
        min-width: 98vw;
        max-width: 99vw;
        margin-bottom: 0.5rem;
    }
    .testimonials-client-slider {
        min-height: unset;
    }
}