/* =========================================================
   Wellness Groves - Main Stylesheet
   ========================================================= */

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --accent: #f59e0b;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
  --gradient-soft: linear-gradient(135deg, rgba(16,185,129,.08) 0%, rgba(14,165,233,.08) 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 6px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.12);
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; }

a { text-decoration: none; transition: all .25s ease; }

img { max-width: 100%; height: auto; }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .eyebrow {
  display: inline-block;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .5rem;
}
.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.section-title p {
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
}

section { padding: 5rem 0; }

/* ---------- Buttons ---------- */
.btn { border-radius: 50px; padding: .7rem 1.6rem; font-weight: 600; transition: all .3s ease; }
.btn-primary {
  background: var(--gradient);
  border: none;
  color: #fff;
  box-shadow: 0 6px 18px rgba(14,165,233,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(14,165,233,.45);
  color: #fff;
}
.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50px;
  padding: .6rem 1.5rem;
  font-weight: 600;
}
.btn-outline-light:hover { background: #fff; color: var(--primary); }
.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  padding: .6rem 1.5rem;
  font-weight: 600;
  background: transparent;
}
.btn-outline-primary:hover { background: var(--primary); color: #fff; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: .85rem;
  padding: .5rem 0;
}
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: var(--secondary); }
.topbar i { color: var(--secondary); margin-right: .35rem; }
.topbar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  margin-left: .4rem;
}
.topbar .social-links a:hover { background: var(--secondary); color: #fff; }

/* ---------- Navbar ---------- */
.navbar {
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  transition: all .3s ease;
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  color: var(--dark);
}
.navbar-brand .logo-icon {
  width: 42px; height: 42px;
  background: var(--gradient);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: .55rem;
  font-size: 1.2rem;
}
.navbar-brand span { color: var(--primary); }
.navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
  padding: .5rem 1rem !important;
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary); }
.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1rem; right: 1rem;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.navbar .btn-primary { padding: .5rem 1.3rem; }
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15,23,42,.78) 0%, rgba(2,132,199,.7) 100%),
    url('../img/hero.jpg') center/cover no-repeat;
  color: #fff;
  padding: 6rem 0 4rem;
}
.hero h1 { font-size: 3rem; margin-bottom: 1.2rem; font-weight: 800; }
.hero h1 .highlight {
  background: linear-gradient(135deg, #34d399, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead { font-size: 1.15rem; margin-bottom: 2rem; opacity: .95; max-width: 560px; }
.hero-btns .btn { margin-right: .8rem; margin-bottom: .8rem; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stats .stat h3 {
  font-size: 2rem;
  color: #34d399;
  margin-bottom: 0;
}
.hero-stats .stat p { margin: 0; font-size: .9rem; opacity: .85; }

.hero-shape {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero-shape svg { width: 100%; height: 60px; display: block; }

/* ---------- Feature / Why Choose ---------- */
.features-section { background: var(--light); }
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all .35s ease;
  border: 1px solid var(--border);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card .icon-wrap {
  width: 72px; height: 72px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--secondary);
}
.feature-card h4 { font-size: 1.2rem; margin-bottom: .7rem; }
.feature-card p { color: var(--gray); margin: 0; font-size: .95rem; }

/* ---------- About ---------- */
.about-section .about-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-section .about-img img { width: 100%; display: block; }
.about-section .about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.3rem 1.8rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-section .about-badge h3 { font-size: 2rem; margin: 0; }
.about-section .about-badge p { margin: 0; font-size: .85rem; opacity: .95; }
.about-section ul.check-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.about-section ul.check-list li {
  padding: .5rem 0 .5rem 2rem;
  position: relative;
  color: var(--gray);
}
.about-section ul.check-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0; top: .55rem;
  width: 22px; height: 22px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  font-size: .65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Services ---------- */
.services-section { background: var(--light); }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card .card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .card-img img { transform: scale(1.08); }
.service-card .card-img .card-icon {
  position: absolute;
  bottom: -25px; left: 24px;
  width: 56px; height: 56px;
  background: var(--gradient);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
}
.service-card .card-body { padding: 2rem 1.5rem 1.8rem; flex-grow: 1; display: flex; flex-direction: column; }
.service-card h4 { font-size: 1.2rem; margin-bottom: .7rem; }
.service-card p { color: var(--gray); font-size: .93rem; flex-grow: 1; }
.service-card .btn { align-self: flex-start; margin-top: .5rem; padding: .5rem 1.2rem; font-size: .88rem; }

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: linear-gradient(135deg, #0f172a 0%, #0c4a6e 100%);
  color: #fff;
  position: relative;
}
.testimonials-section .section-title h2 { color: #fff; }
.testimonials-section .section-title p { color: #cbd5e1; }
.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  backdrop-filter: blur(6px);
}
.testimonial-card .quote {
  font-size: 2.5rem;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: .5rem;
}
.testimonial-card p { color: #e2e8f0; font-style: italic; margin-bottom: 1.3rem; }
.testimonial-card .author { display: flex; align-items: center; }
.testimonial-card .author img {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 3px solid var(--secondary);
}
.testimonial-card .author h5 { margin: 0; font-size: 1.05rem; }
.testimonial-card .author span { color: #94a3b8; font-size: .85rem; }
.testimonial-card .stars { color: #fbbf24; margin-bottom: .8rem; }

/* ---------- Blog ---------- */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all .35s ease;
  border: 1px solid var(--border);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card .blog-img { height: 210px; overflow: hidden; }
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.08); }
.blog-card .blog-body { padding: 1.6rem; }
.blog-card .meta {
  font-size: .82rem;
  color: var(--gray);
  margin-bottom: .7rem;
}
.blog-card .meta i { color: var(--secondary); margin-right: .3rem; }
.blog-card .meta .category {
  background: var(--gradient-soft);
  color: var(--secondary-dark);
  padding: .2rem .7rem;
  border-radius: 50px;
  font-weight: 600;
  margin-right: .5rem;
}
.blog-card h4 { font-size: 1.15rem; margin-bottom: .7rem; line-height: 1.4; }
.blog-card h4 a { color: var(--dark); }
.blog-card h4 a:hover { color: var(--primary); }
.blog-card p { color: var(--gray); font-size: .92rem; margin-bottom: 1rem; }
.blog-card .read-more { color: var(--primary); font-weight: 600; font-size: .9rem; }
.blog-card .read-more i { margin-left: .3rem; transition: margin .25s ease; }
.blog-card .read-more:hover i { margin-left: .6rem; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--light); }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.2rem 1.5rem;
  background: #fff;
}
.accordion-button:not(.collapsed) {
  background: var(--gradient-soft);
  color: var(--primary-dark);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: var(--secondary); }
.accordion-button::after { background-size: 1.2rem; }
.accordion-body {
  padding: 1rem 1.5rem 1.5rem;
  color: var(--gray);
}
.faq-contact-box {
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  height: 100%;
}
.faq-contact-box i { font-size: 2.5rem; margin-bottom: 1rem; }
.faq-contact-box h4 { margin-bottom: .7rem; }
.faq-contact-box p { opacity: .95; margin-bottom: 1.3rem; }
.faq-contact-box .btn-light { border-radius: 50px; font-weight: 600; padding: .6rem 1.5rem; }

/* ---------- CTA ---------- */
.cta-section {
  background: var(--gradient);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before, .cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-section::before { width: 300px; height: 300px; top: -120px; left: -80px; }
.cta-section::after { width: 220px; height: 220px; bottom: -100px; right: -60px; }
.cta-section h2 { font-size: 2.2rem; margin-bottom: 1rem; position: relative; }
.cta-section p { font-size: 1.1rem; opacity: .95; max-width: 620px; margin: 0 auto 1.8rem; position: relative; }
.cta-section .btn-light {
  border-radius: 50px;
  padding: .8rem 2rem;
  font-weight: 600;
  color: var(--primary-dark);
  position: relative;
}
.cta-section .btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- Footer ---------- */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4rem 0 0;
}
.footer h5 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.3rem;
  position: relative;
  padding-bottom: .7rem;
}
.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.footer p { color: #94a3b8; font-size: .93rem; }
.footer a { color: #94a3b8; font-size: .93rem; display: inline-block; padding: .25rem 0; }
.footer a:hover { color: var(--secondary); transform: translateX(4px); }
.footer .footer-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.footer .footer-brand .logo-icon {
  width: 40px; height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: .55rem;
}
.footer .contact-list { list-style: none; padding: 0; }
.footer .contact-list li {
  padding: .4rem 0;
  display: flex;
  align-items: flex-start;
  font-size: .93rem;
  color: #94a3b8;
}
.footer .contact-list i {
  color: var(--secondary);
  margin-right: .7rem;
  margin-top: .35rem;
  width: 16px;
}
.footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  margin-right: .5rem;
  font-size: .9rem;
}
.footer .social-icons a:hover { background: var(--gradient); transform: translateY(-3px); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.3rem 0;
  margin-top: 3rem;
  text-align: center;
  font-size: .88rem;
  color: #64748b;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, rgba(15,23,42,.85), rgba(2,132,199,.8)),
    url('../img/hero.jpg') center/cover no-repeat;
  color: #fff;
  padding: 6rem 0 4rem;
  text-align: center;
}
.page-header h1 { font-size: 2.6rem; margin-bottom: .5rem; font-weight: 800; }
.page-header .breadcrumb {
  justify-content: center;
  background: transparent;
  margin: 0;
}
.page-header .breadcrumb a { color: #34d399; }
.page-header .breadcrumb-item { color: rgba(255,255,255,.8); }
.page-header .breadcrumb-item.active { color: #fff; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }

/* ---------- Contact Page ---------- */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid var(--border);
  transition: all .3s ease;
}
.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-info-card .icon-wrap {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.contact-info-card h5 { margin-bottom: .5rem; }
.contact-info-card p { color: var(--gray); margin: 0; }

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 .2rem rgba(16,185,129,.15);
}
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Newsletter ---------- */
.newsletter-section {
  background: var(--gradient-soft);
  padding: 4rem 0;
}
.newsletter-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.newsletter-form .input-group {
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-form .form-control {
  border-radius: 50px 0 0 50px;
  padding: .85rem 1.3rem;
  height: auto;
}
.newsletter-form .btn { border-radius: 0 50px 50px 0; padding: .85rem 1.8rem; }
.newsletter-icon {
  width: 80px; height: 80px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.2rem;
}

/* subscribe / unsubscribe result message */
.form-result {
  margin-top: 1rem;
  padding: .9rem 1.2rem;
  border-radius: 10px;
  font-weight: 500;
  display: none;
}
.form-result.show { display: block; }
.form-result.success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.form-result.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ---------- Legal Pages (Privacy / Terms) ---------- */
.legal-content h3 {
  color: var(--primary-dark);
  margin-top: 2rem;
  margin-bottom: .8rem;
  font-size: 1.3rem;
}
.legal-content p, .legal-content li { color: #475569; }
.legal-content ul { padding-left: 1.3rem; }
.legal-content .last-updated {
  background: var(--gradient-soft);
  padding: 1rem 1.3rem;
  border-radius: 10px;
  border-left: 4px solid var(--secondary);
  color: var(--gray);
  margin-bottom: 2rem;
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .3s ease;
  z-index: 999;
  border: none;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { color: #fff; transform: translateY(-4px); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero h1 { font-size: 2.3rem; }
  .section-title h2 { font-size: 1.8rem; }
  section { padding: 4rem 0; }
  .about-section .about-badge { right: 10px; }
  .navbar-collapse { padding-top: 1rem; }
  .navbar-nav .nav-link.active::after { display: none; }
}
@media (max-width: 576px) {
  .hero h1 { font-size: 1.9rem; }
  .hero { min-height: auto; padding: 5rem 0 3rem; }
  .hero-stats { gap: 1.5rem; }
  .cta-section h2 { font-size: 1.7rem; }
  .page-header h1 { font-size: 2rem; }
  .topbar { display: none; }
  .contact-form-wrap, .newsletter-box { padding: 1.5rem; }
}


.navbar-brand img{
  width: 250px;
}