/* ==========================================================================
   index.css — Sneh Shikshan Avam Manav Seva Sansthan (Rewa, MP)
   Homepage Sections Styling
   ========================================================================== */

/* -------------------- Variables (match top.css) -------------------- */
:root {
    --orange:        #ffa500;
    --orange-dark:   #e69500;
    --navy:          #1a2c4e;
    --navy-dark:     #0f1c34;
    --navy-light:    #2a3f66;
    --white:         #ffffff;
    --text-dark:     #222222;
    --text-muted:    #667085;
    --bg-soft:       #f7f9fc;
    --shadow-sm:     0 2px 10px rgba(0, 0, 0, 0.06);
    --shadow-md:     0 6px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg:     0 12px 40px rgba(0, 0, 0, 0.15);
    --radius:        14px;
}

/* -------------------- Utility -------------------- */
.section-pad { padding: 70px 0; }

.section-tag {
    display: inline-block;
    background: rgba(255, 165, 0, 0.15);
    color: var(--orange-dark);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.25;
}

.section-sub {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 40px;
}

.section-text {
    color: #4a5568;
    font-size: 15.5px;
    line-height: 1.75;
}

.section-head { margin-bottom: 40px; }

/* -------------------- Buttons -------------------- */
.btn-brand {
    background: var(--orange);
    color: var(--white) !important;
    font-weight: 700;
    border: 2px solid var(--orange);
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 14.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-brand:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 44, 78, 0.3);
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-slider .carousel-item img {
    width: 100%;
    height: clamp(280px, 55vw, 620px);
    object-fit: cover;
}

.hero-slider .carousel-indicators {
    bottom: 15px;
}

.hero-slider .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.hero-slider .carousel-indicators .active {
    background: var(--orange);
    width: 32px;
    border-radius: 6px;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.hero-slider .carousel-control-prev { left: 20px; }
.hero-slider .carousel-control-next { right: 20px; }

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: var(--orange);
    opacity: 1;
}

/* ==========================================================================
   WELCOME / ABOUT SECTION
   ========================================================================== */
.welcome-section {
    background: var(--white);
}

.about-card {
    background: var(--white);
    padding: 10px 0;
}

.feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    border-left: 4px solid var(--orange);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.feature-item i {
    font-size: 26px;
    color: var(--orange);
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.feature-item h6 {
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 4px;
    font-size: 15px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Enquiry Form */
.enquiry-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border-top: 5px solid var(--orange);
    position: sticky;
    top: 220px;
}

.enquiry-head {
    background: var(--navy);
    color: var(--white);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.enquiry-head i {
    font-size: 22px;
    color: var(--orange);
}

.enquiry-head h5 {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
}

.enquiry-form {
    padding: 24px;
}

.enquiry-form .form-control {
    border: 1.5px solid #e5e9f0;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    transition: all 0.25s ease;
}

.enquiry-form .form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.15);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 55px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.12), transparent 70%);
    border-radius: 50%;
}

.stat-box {
    color: var(--white);
    padding: 20px 10px;
    position: relative;
    z-index: 1;
}

.stat-box i {
    font-size: 38px;
    color: var(--orange);
    margin-bottom: 12px;
    display: inline-block;
}

.stat-box h3 {
    font-size: 40px;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--white);
    line-height: 1;
}

.stat-box p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ==========================================================================
   PROGRAMS SECTION
   ========================================================================== */
.programs-section {
    background: var(--bg-soft);
}

.program-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 22px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
   