/* Hero Section */
.hero-section {
    margin-top: -76px;
    position: relative;
}

.hero-slider .carousel-item {
    height: 500px;
}

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

.hero-slider .carousel-caption {
    background: rgba(43, 45, 66, 0.7);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    bottom: 50%;
    transform: translateY(50%);
}

.hero-slider .carousel-caption h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-slider .carousel-caption p {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hero-slider .btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.hero-slider .btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--gray-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* Doctors Section */
.doctors-section {
    padding: 4rem 0;
}

.doctor-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

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

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

.doctor-info {
    padding: 1.5rem;
    text-align: center;
}

.doctor-info h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.doctor-info p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.doctor-social a {
    color: var(--text-color);
    margin: 0 10px;
    transition: var(--transition);
}

.doctor-social a:hover {
    color: var(--primary-color);
}

/* Facilities Section */
.facilities-section {
    padding: 4rem 0;
    background-color: var(--gray-color);
}

.facility-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.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: 1.5rem;
}

.facility-info h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin: 1rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-text {
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

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

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

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

.author-info h5 {
    color: var(--secondary-color);
    margin: 0;
}

.author-info p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design for Hero Slider */
@media (max-width: 1200px) {
    .hero-slider .carousel-item {
        height: 450px;
    }
}

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

    .hero-slider .carousel-caption {
        max-width: 500px;
        padding: 1.5rem;
    }

    .hero-slider .carousel-caption h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 350px;
    }

    .hero-slider .carousel-caption {
        max-width: 90%;
        padding: 1.2rem;
    }

    .hero-slider .carousel-caption h2 {
        font-size: 1.8rem;
    }

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

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

    .hero-slider .carousel-caption {
        padding: 1rem;
    }

    .hero-slider .carousel-caption h2 {
        font-size: 1.5rem;
    }

    .hero-slider .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-slider .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}
