/* =====================================
   GENERAL
===================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f8fafc;
    color: #333;
    overflow-x: hidden;
}

/* =====================================
   HERO SECTION
===================================== */

.hero-section {
    height: 100vh;
    background: url("../images/hero-child.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.60);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    color: white;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* =====================================
   BUTTONS
===================================== */

.btn-success {
    background: #20c997;
    border: none;
}

.btn-success:hover {
    background: #17a97f;
    transform: translateY(-2px);
}

.btn {
    transition: 0.3s ease;
}

/* =====================================
   STATS SECTION
===================================== */

.stats-section {
    background: linear-gradient(135deg, #0d6efd, #20c997);
    color: white;
    padding: 70px 0;
}

.stats-section h2 {
    font-size: 3rem;
    font-weight: bold;
}

.stats-section p {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* =====================================
   SECTION HEADINGS
===================================== */

section h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.text-primary {
    color: #0d6efd !important;
}

/* =====================================
   ABOUT SECTION
===================================== */

#about img {
    border-radius: 20px;
}

#about ul li {
    margin-bottom: 8px;
}

/* =====================================
   DOCTOR PROFILE
===================================== */

.doctor-image {
    border-radius: 20px;
}

.doctor-card {
    border-radius: 20px;
}

.doctor-card ul li {
    margin-bottom: 12px;
}

/* =====================================
   SERVICE CARDS
===================================== */

.service-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    background: #0d6efd;
    color: white;
}

/* =====================================
   CAROUSEL
===================================== */

.carousel-image {
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: center;
}

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

/* =====================================
   WHY CHOOSE US
===================================== */

.card {
    border: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

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

.shadow {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
}

/* =====================================
   TESTIMONIALS
===================================== */

.testimonial-card {
    border-radius: 20px;
    background: white;
}

.testimonial-card h5 {
    color: #ffc107;
}

/* =====================================
   CONTACT CTA
===================================== */

#contact {
    background: linear-gradient(135deg, #0d6efd, #20c997);
}

#contact h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

/* =====================================
   FOOTER
===================================== */

/* =========================
   FOOTER
========================= */

.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer h4 {
    margin-bottom: 20px;
    color: #20c997;
}

.footer a {
    color: #d1d5db;
    text-decoration: none;
}

.footer a:hover {
    color: #20c997;
}

.footer hr {
    margin: 30px 0;
    border-color: rgba(255, 255, 255, 0.2);
}

.powered-by {
    color: #20c997;
    font-size: 15px;
    font-weight: 500;
}

/* =====================================
   NAVBAR
===================================== */

.custom-navbar {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 0;
}

.navbar-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 5px;
}

.logo-title {
    color: white;
    font-weight: bold;
}

.logo-subtitle {
    color: #20c997;
}

.nav-link {
    color: white !important;
    font-weight: 500;
}

.nav-link:hover {
    color: #20c997 !important;
}

.book-btn {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: bold;
}

.admin-btn {
    border-radius: 30px;
}

/* =====================================
   WHATSAPP FLOAT
===================================== */

.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 65px;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover {
    color: white;
    transform: scale(1.1);
}

/* =====================================
   ANIMATIONS
===================================== */

.fade-in {
    animation: fadeIn 1.2s ease-in;
}

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =====================================
   RESPONSIVE
===================================== */

@media(max-width: 991px) {

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

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

    .carousel-image {
        width: 100%;
        height: 650px;
        object-fit: cover;
        object-position: center;
    }

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

    .navbar-logo {
        width: 70px;
        height: 70px;
    }

    #contact h2 {
        font-size: 2rem;
    }

}

/* =========================
   GALLERY SECTION
========================= */

.gallery-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.portrait {
    height: 500px;
}

@media (max-width:768px) {

    .gallery-img,
    .portrait {
        height: 300px;
    }

}