/* Global Styles */
:root {
    --primary-color: #033c75;
    --secondary-color: #000474;
    --accent-color: #b40205;
    --text-color: #000;
    --dark-color: #1f2022;
    --light-color: #ffffff;
    --gray-color: #f8f9fa;
    --border-radius: 5px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 120px;
 
}


.contact-top-bar {
    background-color: var(--accent-color);
    color: var(--light-color);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    display: flex;
    justify-content: center;
}

.contact-top-bar-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
}

.contact-top-info {
    display: flex;
    flex-wrap: wrap; /* This allows the items to wrap if needed */
    justify-content: center;
}

.contact-top-item {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.contact-top-item i {
    margin-right: 0.5rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .contact-top-bar {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    .contact-top-bar-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-top-info {
        flex-direction: row; /* Ensure side-by-side layout */
        justify-content: space-evenly; /* Distribute items evenly */
        width: 100%; /* Ensure it takes the full width */
    }

    .contact-top-item {
        margin-right: 1rem; /* Space between items */
        margin-bottom: 0; /* No bottom margin */
    }

    .contact-top-item i {
        font-size: 1.2rem; /* Adjust icon size for mobile */
    }

    /* Show only phone and email on mobile */
    .contact-top-item:nth-child(n+3) {
        display: none; /* Hide all items after the second one */
    }
}

@media (max-width: 480px) {
    .contact-top-bar {
        font-size: 0.75rem;
        padding: 0.2rem 0;
    }

    .contact-top-item {
        margin-bottom: 0.3rem;
    }

    .contact-top-item i {
        font-size: 1rem;
    }

    /* Show only phone and email on very small screens */
    .contact-top-item:nth-child(n+3) {
        display: none; /* Hide all items after the second one */
    }
}




.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

/* Navigation Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.navbar-brand i {
    margin-right: 0.5rem;
}
.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1rem 0;
}
.dropdown-item {
    padding: 0.5rem 1.5rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
}
.dropdown-item:hover,
.dropdown-item.active {
    background: var(--primary-color);
    color: white;
}
.dropdown-item.active {
    font-weight: 600;
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.1;
}
.page-header h1 {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.page-header .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    justify-content: center;
}
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}
.page-header .breadcrumb-item a:hover {
    color: white;
}
.page-header .breadcrumb-item.active {
    color: white;
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .contact-top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    .contact-top-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    .page-header {
        padding: 40px 0;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .nav-link::after {
        display: none;
    }
    .nav-link.active {
        background: var(--primary-color);
        color: white;
        border-radius: 5px;
    }
}
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #c0392b;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.section-title {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: #777;
}

/* Page Header */
.page-header {
    background-color: var(--light-color);
    padding: 60px 0;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

/* Hero Slider */
.hero-slider {
    margin-bottom: 50px;
}

.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 0 auto;
    bottom: 50%;
    transform: translateY(50%);
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.feature-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-align: center;
}

.feature-card p {
    color: #555;
    margin-bottom: 0;
    text-align: center;
}

/* Doctors Page Styles */
.doctors-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.filter-buttons {
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    margin: 0 10px 10px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.doctor-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

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

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

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

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

.doctor-info {
    padding: 20px;
}

.doctor-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.specialty {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.experience {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.doctor-description {
    margin-bottom: 20px;
    color: #555;
}

.doctor-actions {
    display: flex;
    gap: 10px;
}

.join-team-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.join-team-content {
    padding: 30px;
}

.join-team-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.join-team-content .lead {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.join-team-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.join-team-features li {
    margin-bottom: 15px;
    color: #555;
}

.join-team-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

.join-team-image img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Facilities Section */
.facilities-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.facility-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-10px);
}

.facility-image {
    height: 250px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facility-info {
    padding: 20px;
}

.facility-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
    height: 100%;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #777;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

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

/* Call to Action */
.cta-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: #fff;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.cta-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
}

/* Contact Page Styles */
.contact-info-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.info-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-form-section {
    padding: 80px 0;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-form p {
    margin-bottom: 30px;
    color: #777;
}

.map-container {
    height: 100%;
}

.map-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.map-wrapper {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.business-hours {
    padding: 80px 0;
    background-color: var(--light-color);
}

.hours-card, .appointment-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
}

.hours-card h2, .appointment-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hours-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.hours-list li:last-child {
    border-bottom: none;
}

.emergency-note {
    font-weight: 600;
    color: var(--primary-color);
}

.appointment-card p {
    margin-bottom: 30px;
    color: #777;
}

.faq-section {
    padding: 80px 0;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-button {
    font-weight: 600;
    color: var(--secondary-color);
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #fff;
}

.accordion-body {
    padding: 20px;
    color: #777;
}

/* Gallery Page Styles */
.gallery-filter {
    padding: 30px 0;
}

.gallery-item {
    margin-bottom: 30px;
}

.gallery-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.gallery-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Video Gallery Styles */
.video-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.category-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.playlist-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
}

.playlist-card:hover {
    transform: translateY(-10px);
}

.playlist-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.playlist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.playlist-overlay i {
    font-size: 3rem;
    color: #fff;
}

.playlist-info {
    padding: 20px;
}

.playlist-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.playlist-info p {
    margin-bottom: 20px;
    color: #777;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .carousel-item {
        height: 500px;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }

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

@media (max-width: 767.98px) {
    .carousel-item {
        height: 400px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .cta-section .text-md-end {
        text-align: center !important;
        margin-top: 20px;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        height: 300px;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .feature-card, .doctor-card, .facility-card, .testimonial-card {
        margin-bottom: 20px;
    }
}

/* Header & Navigation */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    margin-top: 0;
    position: fixed;
    top: 2.5rem;
    left: 0;
    right: 0;
    z-index: 1030;
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Animations */
[data-aos="fade-right"] {
    transform: translateX(-100px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-left"] {
    transform: translateX(100px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

/* Enhanced Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 4rem 0 2rem;
}

footer h5 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light-color);
    padding: 0.8rem 1.2rem;
}

.newsletter-form .form-control::placeholder {
    color: var(--text-color);
}

.newsletter-form .btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
}

.newsletter-form .btn-primary:hover {
    background-color: var(--accent-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .nav-link::after {
        display: none;
    }

    footer {
        text-align: center;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .newsletter-form {
        max-width: 100%;
    }
}

/* About Page Styles */
.about-section {
    padding: 80px 0;
}

.about-image {
    margin-bottom: 30px;
}

.about-content {
    padding: 20px 0;
}

.about-content h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.about-content .lead {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-stats {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 15px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.mission-vision-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.mission-card, .vision-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    text-align: center;
    transition: var(--transition);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-card h3, .vision-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.team-section {
    padding: 80px 0;
}

.team-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.team-info p {
    color: #777;
    margin-bottom: 15px;
}

.values-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.value-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    margin-bottom: 30px;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Services Page Styles */
.services-section {
    padding: 80px 0;
}

.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-align: center;
}

.service-card p {
    color: #555;
    margin-bottom: 20px;
    text-align: center;
}

.emergency-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.emergency-content {
    padding: 30px;
}

.emergency-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.emergency-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.emergency-features li {
    margin-bottom: 15px;
    color: #555;
}

.emergency-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

.emergency-image img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.diagnostic-section {
    padding: 80px 0;
}

.diagnostic-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

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

.diagnostic-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.diagnostic-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.diagnostic-card p {
    color: #555;
    margin-bottom: 0;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--light-color);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
    border: none;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.show .dropdown-menu {
    display: block;
}

.dropdown-item {
    color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Hide dropdown icon for Gallery menu */
#galleryDropdown::after {
    display: none;
}

/* Adjust the top margin of the main content to account for the fixed navbar */
main {
    margin-top: 0px;
}
