
/* New Homepage Sections - Database Driven */

/* Global section styling */
.homepage-section {
    position: relative;
    overflow: hidden;
}

/* Services Section */
.services .service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #203967;
}

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

.services .service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #203967, #6c757d);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.services .service-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.services .service-content h4 {
    color: #203967;
    margin-bottom: 15px;
    font-weight: 600;
}

.services .service-link {
    color: #203967;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.services .service-link:hover {
    color: #6c757d;
}

/* Achievements Stats Section */
.achievements-stats {
    background: linear-gradient(135deg, #203967, #6c757d);
}

.achievements-stats .stat-item {
    text-align: center;
    padding: 20px;
}

.achievements-stats .stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.achievements-stats .stat-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.achievements-stats .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.achievements-stats .stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

/* Mission Vision Section */
.mission-vision .mission-card,
.mission-vision .vision-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.mission-vision .card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #203967;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mission-vision .card-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.mission-vision .card-content h3 {
    color: #203967;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Why Choose Us Section */
.why-choose-us .reason-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.why-choose-us .reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.why-choose-us .reason-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #203967;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.why-choose-us .reason-icon i {
    font-size: 2.2rem;
    color: #ffffff;
}

.why-choose-us .reason-content h4 {
    color: #203967;
    margin-bottom: 15px;
    font-weight: 600;
}

/* How It Works Section */
.how-it-works .step-item {
    position: relative;
    padding: 20px;
}

.how-it-works .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #203967;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.how-it-works .step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #20396733; /* 20% opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.how-it-works .step-icon i {
    font-size: 2.5rem;
    color: #203967;
}

.how-it-works .step-content h4 {
    color: #203967;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Doctors Section */
.doctors-section .doctor-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.doctors-section .doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.doctors-section .doctor-image {
    position: relative;
    overflow: hidden;
}

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

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

.doctors-section .doctor-content {
    padding: 25px;
}

.doctors-section .doctor-content h4 {
    color: #203967;
    margin-bottom: 10px;
    font-weight: 600;
}

.doctors-section .doctor-specialization {
    font-weight: 500;
    margin-bottom: 10px;
}

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

/* Testimonials Section */
.testimonials .testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    margin: 15px;
}

.testimonials .testimonial-image {
    margin-bottom: 20px;
}

.testimonials .testimonial-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.testimonials .testimonial-rating {
    margin-bottom: 20px;
}

.testimonials .testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.testimonials .testimonial-author h5 {
    color: #203967;
    margin-bottom: 5px;
    font-weight: 600;
}

/* Generic Section */
.generic-section .content-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #203967;
}

.generic-section .content-text {
    line-height: 1.7;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .homepage-section {
        padding: 40px 0;
    }
    
    .achievements-stats .stat-number {
        font-size: 2.5rem;
    }
    
    .mission-vision .mission-card,
    .mission-vision .vision-card {
        padding: 30px;
        margin-bottom: 20px;
    }
    
    .services .service-card,
    .why-choose-us .reason-card {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .doctors-section .doctor-image img {
        height: 200px;
    }
}

/* Counter Animation */
.counter {
    transition: all 0.5s ease;
}

/* Owl Carousel customizations */
.owl-carousel .owl-nav button {
    background: #203967 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: #203967 !important;
}