/* =========================
   Root Theme Colors (Pink)
========================= */
:root {
    --primary-color: #e83e8c;      /* main pink */
    --secondary-color: #6c757d;
    --accent-color: #f783ac;       /* light pink */
}

/* =========================
   Global
========================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   
}

/* =========================
   Navbar
========================= */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* =========================
   Hero Section
========================= */
.hero-section {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.hero-img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    display: block;
}

.hero-buttons .btn-custom {
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 30px;
    padding: 12px 28px;
    transition: all 0.3s ease;
}

/* =========================
   Buttons (Pink Primary)
========================= */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #d63384;
    border-color: #d63384;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-custom {
    border-radius: 50px;
    transition: all 0.4s ease;
}

.btn-custom:hover {
    transform: scale(1.08);
}

/* =========================
   Section Title
========================= */
.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

/* =========================
   Feature Cards
========================= */
/* Container for the Features Section */
/* Features Section Background */
.features-section {
    background: #fabed7; /* subtle light gray */
    padding: 80px 0;
}

/* Row spacing */
.features-section .row {
    justify-content: center; /* center the row if space left */
}

.feature-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    text-align: center;
    margin: 15px; /* <-- horizontal + vertical spacing */
    flex: 0 0 30%; /* <-- make each card take ~30% width */
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.4s ease, color 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(15deg) scale(1.2);
    color: var(--accent-color);
}


/* =========================
   Services Section
========================= */
.service-section {
    background: #f5b4d5; /* light pink */
    padding: 60px 0;
}

.service-card {
    background: #ffffff;
    border-radius: 0;
    padding: 25px 20px;
    height: 100%;
    text-align: center;
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* simple hover animation */
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 2.5rem;
    color: #ff69b4;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* gentle icon animation */
.service-card:hover .service-icon {
    transform: scale(1.1);
}


/* =========================
   Doctors Section
========================= */
.doctor-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.doctor-card:hover {
    transform: scale(1.05);
}

.doctor-img {
    height: 300px;
    object-fit: cover;
}

/* =========================
   Stats Section
========================= */
.stats-section {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05); /* softer overlay */
    z-index: 0;
}

.stats-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 80px;
}

.stat-item {
    font-weight: 700;
    text-align: center;
}

/* clear & readable numbers */
.stat-number {
    font-size: 4rem;
    color: #ffffff; /* solid white */
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* readable labels */
.stat-label {
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.95);
}


/* =========================
   Testimonials
========================= */
.testimonial-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
}

/* =========================
   Appointment Section
========================= */
.appointment-section {
    /* Premium gradient background */
    background: linear-gradient(135deg, #f8f1f1, #fde2e4);

    /* Optional: add subtle pattern image */
    background-image: url('/static/images/form.png'); /* add your own image */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    padding: 80px 0;
    position: relative;
}

/* Optional: dark overlay to make the form stand out */
.appointment-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.05); /* subtle shading */
    z-index: 1;
}

.appointment-form {
    position: relative; /* above overlay */
    z-index: 2;

    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); /* stronger shadow for depth */
    border: 1px solid rgba(255, 255, 255, 0.3); /* subtle premium border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect to make it feel “interactive premium” */
.appointment-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.contact-section {
    background: linear-gradient(120deg, #ffe6f0, #ffd0e5);
    padding: 80px 0;
}

.contact-items {
    display: flex;
    justify-content: center;
    gap: 60px; /* space between items horizontally */
    flex-wrap: nowrap; /* keep all items in a single line */
}

.contact-item {
    text-align: center;
    transition: transform 0.4s ease;
    flex: 1; /* ensures all 3 items share the same width */
    max-width: 300px;
}

.contact-item:hover {
    transform: translateY(-10px);
}

.icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ffb6c1, #ff69b4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.icon-wrapper:hover {
    transform: scale(1.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.contact-icon {
    font-size: 2.5rem;
    color: #fff;
}

.contact-item h5 {
    margin-top: 15px;
    color: #ff1493;
    font-weight: 600;
}

.contact-item p {
    color: #555;
    margin-top: 10px;
    line-height: 1.6;
}


/* =========================
   Footer
========================= */
footer {
    background: #2c3e50;
    color: #ffffff;
    padding: 40px 0 20px;
}

/* =========================
   Animate.css Import
========================= */
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');
