/* Erode Women's Health Life Foundation – public site styles
   Palette taken from the centre's flyer: forest green, marigold orange, cream, maroon */
:root {
    --green: #2f5d2a;
    --green-dark: #1d3d1a;
    --green-soft: #e7efdf;
    --orange: #e8612c;
    --orange-dark: #c94c1b;
    --marigold: #f5b51b;
    --cream: #fdf5e2;
    --maroon: #a3162a;
    --plum: #9b5fc0;
    --ink: #2a2a2a;
    --muted: #6b6b6b;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(29, 61, 26, .10);
}

body { font-family: 'Mukta Malar', system-ui, sans-serif; color: var(--ink); font-size: 17px; line-height: 1.7; background: #fff; }
h1, h2, h3, h4, h5, .section-title { font-family: 'Playfair Display', Georgia, serif; color: var(--green-dark); line-height: 1.25; }
h5, h6 { font-family: 'Mukta Malar', sans-serif; font-weight: 700; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--orange); }
.text-accent { color: var(--orange) !important; }
img { max-width: 100%; }

/* Buttons */
.btn { border-radius: 50px; font-weight: 600; padding: .6rem 1.5rem; }
.btn-lg { padding: .8rem 1.9rem; }
.btn-accent { background: var(--orange); color: #fff; border: 2px solid var(--orange); }
.btn-accent:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn-primary-c { background: var(--green); color: #fff; border: 2px solid var(--green); }
.btn-primary-c:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-outline-c { border: 2px solid var(--green); color: var(--green); background: transparent; }
.btn-outline-c:hover { background: var(--green); color: #fff; }

/* Top bar */
.topbar { background: var(--green-dark); color: #e9f1e4; font-size: 14px; padding: 7px 0; }
.topbar a, .topbar span { color: #e9f1e4; margin-right: 22px; }
.topbar a:hover { color: var(--marigold); }
.topbar i { color: var(--marigold); margin-right: 5px; }
.topbar-tamil { color: var(--marigold); font-weight: 700; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 1030; box-shadow: 0 2px 14px rgba(0,0,0,.06); transition: padding .3s; }
.site-header .navbar { padding: 10px 0; }
.navbar-brand img { border-radius: 50%; margin-right: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: 'Playfair Display', serif; color: var(--green-dark); font-size: 1.25rem; }
.brand-text small { color: var(--orange); font-weight: 700; font-size: .85rem; letter-spacing: .3px; }
.navbar-toggler { border: 0; font-size: 1.5rem; color: var(--green); }
.navbar-toggler:focus { box-shadow: none; }
.nav-link { font-weight: 600; color: var(--ink) !important; padding: .5rem .9rem !important; position: relative; }
.nav-link.active, .nav-link:hover { color: var(--orange) !important; }
.dropdown-menu { border: 0; border-radius: 12px; box-shadow: var(--shadow); padding: 8px; border-top: 3px solid var(--orange); }
.dropdown-item { border-radius: 8px; padding: 8px 14px; font-weight: 500; }
.dropdown-item:hover { background: var(--green-soft); color: var(--green-dark); }
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}

/* Hero slider */
.hero-slider { position: relative; height: 640px; overflow: hidden; background: var(--green-dark); }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,45,18,.92) 0%, rgba(29,61,26,.75) 50%, rgba(29,61,26,.25) 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 1140px; }
.hero-content h1, .hero-content .h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 720px; margin-bottom: 14px; }
.hero-content .lead { max-width: 620px; font-size: 1.2rem; color: #eef3ea; }
.hero-slide.active .hero-content > * { animation: fadeUp .9s ease both; }
.hero-slide.active .hero-content > *:nth-child(2) { animation-delay: .15s; }
.hero-slide.active .hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero-slide.active .hero-content > *:nth-child(4) { animation-delay: .45s; }
.hero-badge { display: inline-block; background: rgba(245,181,27,.18); border: 1px solid var(--marigold); color: var(--marigold); padding: 4px 14px; border-radius: 50px; font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.tamil-line { color: var(--marigold); font-weight: 800; font-size: 1.35rem; margin-bottom: 6px; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); background: rgba(0,0,0,.15); color: #fff; }
.hero-nav:hover { background: var(--orange); border-color: var(--orange); }
.hero-nav.prev { left: 20px; } .hero-nav.next { right: 20px; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50px; border: 0; background: rgba(255,255,255,.5); transition: all .3s; }
.hero-dots button.active { width: 34px; background: var(--marigold); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: none; } }

/* Highlight strip */
.highlight-strip { position: relative; z-index: 5; margin-top: -55px; }
.highlight-strip .row { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.hl { padding: 26px 18px; text-align: center; border-right: 1px solid #f0ead9; height: 100%; }
.hl i { font-size: 1.7rem; color: var(--orange); display: block; margin-bottom: 6px; }
.hl strong { display: block; font-size: 1.5rem; color: var(--green-dark); font-family: 'Playfair Display', serif; }
.hl span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 90px 0; }
.bg-cream { background: var(--cream); }
.eyebrow { display: inline-block; color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; font-size: .85rem; margin-bottom: 8px; }
.eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--orange); vertical-align: middle; margin-right: 8px; }
.eyebrow.light { color: var(--marigold); } .eyebrow.light::before { background: var(--marigold); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 18px; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto; }
.tamil-title { font-family: 'Mukta Malar', sans-serif; font-weight: 800; }
.tamil-small { color: var(--orange); font-weight: 700; margin-bottom: 2px; font-size: .95rem; }

/* About */
.about-media { position: relative; padding: 0 60px 60px 0; }
.about-media .img-main { width: 100%; height: 470px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media .img-sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 8px solid #fff; box-shadow: var(--shadow); background: #fff; }
.exp-badge { position: absolute; left: -10px; top: 30px; background: var(--orange); color: #fff; padding: 16px 22px; border-radius: 14px; text-align: center; box-shadow: var(--shadow); }
.exp-badge strong { display: block; font-size: 2rem; font-family: 'Playfair Display', serif; line-height: 1; }
.exp-badge span { font-size: .85rem; font-weight: 600; }
.vm-box { background: var(--green-soft); border-radius: 14px; padding: 20px; height: 100%; border-left: 4px solid var(--orange); }
.vm-box i { font-size: 1.5rem; color: var(--orange); }
.vm-box h5, .vm-box h4 { margin: 8px 0; }
.vm-box p { margin: 0; font-size: .97rem; }
.vm-box.big { padding: 34px; background: #fff; box-shadow: var(--shadow); }

/* Service cards */
.service-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; color: var(--ink); transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(29,61,26,.18); color: var(--ink); }
.sc-img { height: 190px; background-size: cover; background-position: center; }
.sc-body { padding: 0 22px 24px; position: relative; }
.sc-icon { width: 62px; height: 62px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 1.5rem; margin-top: -31px; margin-bottom: 12px; border: 4px solid #fff; }
.sc-body h3 { font-size: 1.3rem; }
.sc-body p { font-size: .97rem; color: var(--muted); }
.sc-more { color: var(--green); font-weight: 700; }
.service-card:hover .sc-more { color: var(--orange); }

/* Awareness */
.awareness { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='3' fill='%23f5b51b' opacity='.18'/%3E%3C/svg%3E"); }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.check-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--green); }
.tamil-sub { font-family: 'Mukta Malar', sans-serif; font-weight: 800; color: var(--maroon); margin: 24px 0 14px; }
.pill { background: var(--cream); border-radius: 50px; padding: 9px 16px; font-weight: 600; font-size: .95rem; }
.pill i { color: var(--orange); margin-right: 6px; }
.call-card { background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; border-radius: 22px; padding: 40px 30px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.call-card::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(245,181,27,.12); right: -70px; bottom: -70px; }
.call-card img { border-radius: 50%; background: #fff; padding: 4px; margin-bottom: 14px; }
.call-card h4 { color: #fff; font-family: 'Mukta Malar', sans-serif; font-weight: 800; }
.call-number { display: block; color: var(--marigold); font-size: 2rem; font-weight: 800; }
.call-number.small { font-size: 1.3rem; color: #fff; }
.call-number:hover { color: #fff; }

/* Why */
.why-section { background: linear-gradient(rgba(29,61,26,.93), rgba(29,61,26,.93)), url('../images/gallery/ewhlf-08.jpg') center/cover fixed; }
.why-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px 22px; height: 100%; color: #e7eee3; transition: all .3s; }
.why-card:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-5px); }
.why-card i { font-size: 2rem; color: var(--marigold); margin-bottom: 14px; }
.why-card:hover i { color: #fff; }
.why-card h5 { color: #fff; }
.why-card p { margin: 0; font-size: .95rem; }

/* Process */
.step { text-align: center; padding: 34px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); position: relative; height: 100%; }
.step-no { position: absolute; top: 12px; right: 18px; font-size: 2.4rem; font-weight: 800; color: var(--green-soft); font-family: 'Playfair Display', serif; }
.step i { width: 72px; height: 72px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--cream); color: var(--orange); font-size: 1.7rem; margin-bottom: 16px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Facility / gallery */
.facility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.facility-item, .gallery-item { position: relative; display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 4/3; background: #eee; }
.facility-item img, .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.facility-item:hover img, .gallery-item:hover img { transform: scale(1.08); }
.facility-item span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(29,61,26,.55); color: #fff; font-size: 1.6rem; opacity: 0; transition: opacity .3s; }
.facility-item:hover span { opacity: 1; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gi-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-weight: 600; font-size: .95rem; }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(10,20,10,.92); z-index: 2000; display: none; align-items: center; justify-content: center; flex-direction: column; padding: 20px; }
.lb.open { display: flex; }
.lb img { max-height: 82vh; max-width: 92vw; border-radius: 10px; }
.lb p { color: #fff; margin-top: 12px; }
.lb button { position: absolute; background: transparent; border: 0; color: #fff; font-size: 2rem; }
.lb .lb-close { top: 16px; right: 24px; }
.lb .lb-prev { left: 20px; top: 50%; } .lb .lb-next { right: 20px; top: 50%; }

/* Contact & enquiry */
.contact-list { list-style: none; padding: 0; margin-top: 24px; }
.contact-list li { display: flex; gap: 16px; margin-bottom: 20px; }
.contact-list i { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--orange); font-size: 1.2rem; }
.contact-list strong { display: block; color: var(--green-dark); }
.enquiry-card { background: #fff; border-radius: 22px; padding: 36px; box-shadow: var(--shadow); border-top: 5px solid var(--orange); scroll-margin-top: 110px; }
.enquiry-card h3 { font-size: 1.6rem; }
.form-label { font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.form-control, .form-select { border-radius: 10px; padding: .7rem 1rem; border-color: #e4dccb; background-color: #fffdf8; }
.form-control:focus, .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(47,93,42,.15); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.info-card { background: #fff; border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow); height: 100%; }
.info-card i { font-size: 1.8rem; color: var(--orange); margin-bottom: 10px; }
.address-card { background: var(--cream); border-radius: var(--radius); padding: 28px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Page hero */
.page-hero { background-size: cover; background-position: center; padding: 90px 0 80px; color: #fff; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumb { justify-content: center; margin: 0; }
.breadcrumb-item a { color: var(--marigold); }
.breadcrumb-item.active, .breadcrumb-item + .breadcrumb-item::before { color: #e7eee3; }

/* Inner pages */
.feature-box { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); height: 100%; }
.feature-box i { font-size: 1.6rem; color: var(--orange); width: 56px; height: 56px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; flex-shrink: 0; }
.feature-box p { margin: 0; color: var(--muted); font-size: .96rem; }
.service-row { margin-bottom: 70px; }
.service-row:last-child { margin-bottom: 0; }
.service-img { width: 100%; height: 380px; object-fit: cover; }
.service-hero-img { height: 420px; object-fit: cover; }
.lead-p { font-size: 1.12rem; }
.note-box { display: flex; gap: 18px; background: var(--green-soft); border-radius: var(--radius); padding: 24px; }
.note-box i { font-size: 2rem; color: var(--green); }
.sidebar { position: sticky; top: 110px; }
.side-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; margin-bottom: 4px; background: #faf7ef; }
.side-links a i { color: var(--orange); width: 22px; }
.side-links a.active, .side-links a:hover { background: var(--green); color: #fff; }
.side-links a.active i, .side-links a:hover i { color: var(--marigold); }
.side-card.help { background: linear-gradient(160deg, var(--orange), var(--orange-dark)); color: #fff; }
.side-card.help h5 { color: #fff; }

/* Mission band */
.mission-band { background: linear-gradient(120deg, var(--orange) 0%, var(--maroon) 100%); color: #fff; padding: 70px 0; }
.mission-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 820px; margin: 0 auto 10px; }
.mission-band .tamil-line { color: #ffe6a6; }

/* Footer */
.site-footer { background: #142b12; color: #c8d4c3; padding: 70px 0 0; font-size: .97rem; }
.site-footer h5, .site-footer h6 { color: #fff; }
.site-footer h6 { font-size: 1.1rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.site-footer h6::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--orange); }
.footer-logo { border-radius: 50%; background: #fff; padding: 2px; }
.licence { color: var(--marigold); }
.footer-links, .footer-contact { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-contact a { color: #c8d4c3; }
.footer-links a:hover, .footer-contact a:hover { color: var(--marigold); }
.footer-links a::before { content: '\203A'; margin-right: 8px; color: var(--orange); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact i { color: var(--orange); margin-top: 5px; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .9rem; }

/* Floating */
.float-actions { position: fixed; left: 18px; bottom: 22px; z-index: 1040; display: flex; flex-direction: column; gap: 12px; }
.float-actions a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.fa-wa { background: #25d366; animation: pulse 2s infinite; }
.fa-call { background: var(--orange); }
.float-actions a:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.back-top { position: fixed; right: 20px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--green); color: #fff; z-index: 1040; opacity: 0; pointer-events: none; transition: opacity .3s; }
.back-top.show { opacity: 1; pointer-events: auto; }

/* Responsive */
@media (max-width: 991px) {
    .hero-slider { height: 560px; }
    .hl { border-bottom: 1px solid #f0ead9; }
    .facility-grid { grid-template-columns: repeat(2, 1fr); }
    .navbar-collapse { padding: 10px 0 16px; }
    .sidebar { position: static; }
}
@media (max-width: 575px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }
    .hero-slider { height: 600px; }
    .hero-nav { display: none; }
    .brand-text strong { font-size: 1.05rem; }
    .brand-text small { font-size: .75rem; }
    .navbar-brand img { width: 50px; height: 50px; }
    .about-media { padding: 0 30px 40px 0; }
    .about-media .img-main { height: 320px; }
    .enquiry-card { padding: 24px 18px; }
    .service-img, .service-hero-img { height: 260px; }
}
