/* ========== GLOBAL STYLES ========== */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@500;700&display=swap");

:root {
  --primary-color: #5cb85c; /* Health/Nutrition Green */
  --secondary-color: #2c3e50; /* Dark contrast for text */
  --accent-color: #f4f9f4; /* Light soothing background */
  --white: #fff;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--accent-color);
  color: var(--secondary-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== HEADER ========== */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  z-index: 1000;
}

/* Hamburger Menu */
.menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--secondary-color);
}

/* Logo */
header .logo img {
  height: 55px;
  width: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.05);
}

/* Navigation Bar */
.mobile-social {
  display: none;
}
.nav-bar {
  display: flex;
  gap: 50px;
  align-items: center;
}

.nav-bar a {
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  color: var(--secondary-color);
  font-weight: 600;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
}

.nav-bar a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-bar a:hover {
  color: var(--primary-color);
}

.nav-bar a:hover::after {
  width: 100%;
}

/* Close Button (for mobile) */
.close-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ========== SOCIAL ICONS ========== */
.social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social a {
  color: var(--secondary-color);
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social a:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

/* ========== MOBILE MENU OVERLAY ========== */
@media (max-width: 900px) {
  header {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  /* Hamburger Menu Visible */
  .menu-btn {
    display: block;
    color: var(--secondary-color);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1100;
  }

  /* Fullscreen Overlay Menu (Transparent + Animated) */
  .nav-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.4s ease-in-out;
    z-index: 1000;
  }

  .nav-bar.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Nav links inside overlay */
  .nav-bar a {
    color: #2c3e50;
    font-size: 1.3rem;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s ease;
  }

  .nav-bar a:hover {
    color: var(--primary-color);
    transform: scale(1.15);
  }
  .nav-bar a:hover::after {
    width: 0%;
  }

  /* Close button inside overlay */
  .close-btn {
    display: block;
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 3rem;
    color: #2c3e50;
    cursor: pointer;
  }

  /* Mobile Social Icons */
  .mobile-social {
    display: flex;
    gap: 25px;
    margin-top: 40px;
  }

  .mobile-social a {
    color: #2c3e50;
    font-size: 1.3rem;
    transition: color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
  }

  .mobile-social a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
  }

  /* Hide desktop social icons */
  .social {
    display: none;
  }

  header .logo img {
    height: 45px;
  }
}
/* ========== Sec1 ========== */
/* Section 1 Styling */
.sec-1 {
  text-align: center;
  /* padding: 2rem 1rem; */
}

.sec-1 .main-img img {
  max-width: 100%;
  height: auto;
  display: block;
  /* margin: 0 auto 1.5rem auto; */
}

/* Centered Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-content h1 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin: 1rem 0 1rem 0;
}

/* Button Styling */
.hero-content button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-content button:hover {
  background-color: #4cae4c; /* Darker gree*/
  transform: translateY(-2px);
}

/* === Why Choose Me Section === */
.why-us {
  background-color: var(--accent-color);
  padding: 4rem 1.5rem;
  text-align: center;
}

.why-us h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.why-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 1rem;
  color: #555;
}

/* Responsive Grid */
@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-us h2 {
    font-size: 2.5rem;
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* === Your Journey With Me Section === */
.journey {
  padding: 4rem 1.5rem;
  background-color: var(--white);
  text-align: center;
}

.journey h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.journey-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step-card {
  background-color: var(--accent-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 1rem;
  color: #555;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .journey-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey h2 {
    font-size: 2.5rem;
  }
}

/* ========== Sec2 ========== */
.hero-2 img {
  width: 100%;
}

/* === About Nutriewind Section === */
.about-nutriewind {
  background-color: var(--accent-color);
  padding: 2rem 1.5rem;
}

.about-content {
  width: 80%;
  margin: 0 auto;
  text-align: left;
  color: var(--secondary-color);
}

.about-content h2 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.5rem;
}

.about-content strong {
  color: var(--secondary-color);
  font-weight: 600;
}

.about-content em {
  font-style: italic;
  color: #333;
}

/* Responsive Tweaks */
@media (min-width: 560px) {
  .about-content h2 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1.1rem;
  }
}
/* ========== CTA SECTION ========== */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--accent-color) 0%, #f9fff9 100%);
  padding: 3rem 6%;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.cta-image {
  text-align: center;
}
.cta-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.cta-image img:hover {
  transform: scale(1.05);
}

/* Content Styling */
.cta-content {
  background: #ffffffd8;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.cta-content h3 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.5rem;
}

.cta-content strong {
  color: var(--primary-color);
}

/* Button */
.cta-content button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.cta-content button:hover {
  background-color: #4cae4c;
  transform: translateY(-3px);
}

/* ========== Responsive Design ========== */
@media (max-width: 560px) {
  .cta-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 5%;
  }

  .cta-content {
    margin-top: 1.5rem;
  }

  .cta-content h3 {
    font-size: 1.7rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}
@media (max-width: 1024px) and (min-width: 561px) {
  .cta-section {
    display: flex;
    flex-direction: column;
  }
}

/* Home reviews preview (2 cards) */
.home-reviews {
  padding: 10px 40px;
  background: linear-gradient(180deg, rgba(92, 184, 92, 0.03), transparent);
  margin-top: 1.6rem;
  border-radius: 12px;
}

.home-reviews-inner {
  margin: 0 auto;
  text-align: center;
}
.home-reviews h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 0.35rem;
}
.home-reviews-lead {
  color: #5a6b5a;
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
}

/* grid */
.home-reviews-grid {
  display: flex;
  gap: 5rem;
  grid-template-columns: 1fr;
  justify-content: center;
  margin-bottom: 1rem;
}

/* card */
.home-review-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  background: var(--white);
  height: 220px;
  max-width: 500px;
  padding: 0.9rem;
  border-radius: 10px;
  gap: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.home-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.home-review-media {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: #f7faf7;
}
.home-review-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-review-name {
  font-size: 0.98rem;
  color: var(--secondary-color);
  margin-bottom: 0.1rem;
  font-weight: 700;
}
.home-review-date {
  display: block;
  color: #7a7a7a;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.home-review-text {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
}

/* CTA button */
.home-reviews-cta {
  margin-top: 1.5rem;
}
.home-reviews-btn {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 0.65rem 1.05rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(92, 184, 92, 0.14);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.home-reviews-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(92, 184, 92, 0.18);
}
/* Small tablets and large phones (portrait tablets / landscape phones) */
@media (max-width: 1024px) and (min-width: 561px) {
  .home-reviews {
    padding: 18px 5%;
    border-radius: 12px;
  }

  .home-reviews-inner {
    padding: 0 6px;
  }

  /* Slightly tighter grid and spacing for tablets */
  .home-reviews-grid {
    gap: 2.5rem;
    /* grid-template-columns: repeat(2, 1fr); */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin-bottom: 0.8rem; */
  }

  .home-review-card {
    grid-template-columns: 92px 1fr;
    padding: 0.85rem;
    gap: 2rem;
    /* align-items: start; */
    height: 260px;
    width: 560px; /* remove fixed height so content wraps naturally */
  }

  .home-review-media {
    width: 92px;
    height: 92px;
    border-radius: 10px;
  }

  .home-review-name {
    font-size: 1rem;
  }
  .home-review-text {
    font-size: 0.96rem;
    line-height: 1.55;
  }
  .home-reviews-cta {
    margin-top: 2.8rem;
  }
}

/* Phones and small screens (mobile-first adjustments) */
@media (max-width: 560px) {
  .home-reviews {
    padding: 14px 5%;
    border-radius: 10px;
    margin: 1rem 0;
  }

  .home-reviews-inner {
    padding: 0 4px;
  }

  /* Single column stack on phones */
  .home-reviews-grid {
    /* grid-template-columns: 1fr; */
    gap: 0.95rem;
    display: flex;
    flex-direction: column;
  }

  /* Stack the image above the text for better mobile reading */
  .home-review-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 0.6rem;
    align-items: start;
    padding: 0.85rem;
    height: auto; /* ensure flexible height for varied text */
  }

  .home-review-media {
    width: 100%;
    height: 160px; /* taller hero image feel on mobile */
    border-radius: 10px;
    overflow: hidden;
  }
  .home-review-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home-review-body {
    padding: 0 4px;
    text-align: left;
  }
  .home-review-name {
    font-size: 1.02rem;
    margin-top: 0.15rem;
  }
  .home-review-date {
    font-size: 0.85rem;
  }
  .home-review-text {
    font-size: 0.96rem;
    line-height: 1.6;
    margin-top: 0.25rem;
  }

  /* Make CTA button larger/touch-friendly on mobile */
  .home-reviews-cta {
    margin-top: 1.8rem;
  }
  .home-reviews-btn {
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 1rem;
  }

  /* Reduce box-shadow intensity to keep visual crispness */
  .home-review-card {
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  }
}

/* Tiny devices (very small phones) — ensure min tappable area and readable text */
@media (max-width: 360px) {
  .home-review-media {
    height: 140px;
  }
  .home-review-name {
    font-size: 1rem;
  }
  .home-review-text {
    font-size: 0.95rem;
  }
  .home-reviews-btn {
    padding: 11px 16px;
  }
}
/* responsive */
/* @media (min-width: 760px) {
  .home-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-review-card {
    grid-template-columns: 100px 1fr;
  }
} */

/* reuse reveal stagger animation if present; otherwise fallback */
.reveal {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(135deg, var(--accent-color), #eaf8ea);
  color: #333;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-family: "Lato", sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  padding: 0 6% 2rem;
}
.footer-about,
.footer-links,
.footer-contact {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Brand / About */
.footer-logo {
  width: 150px;
  margin-bottom: 1rem;
  margin-right: 40px;
}
.footer-about p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* Links */
.footer-links h4,
.footer-contact h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--primary-color);
}

/* Contact */
.footer-contact p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}
.footer-contact a {
  color: #333;
  text-decoration: none;
}
.footer-contact a:hover {
  color: var(--primary-color);
}

/* Social Icons */
.footer-socials {
  margin-top: 1rem;
}
.footer-socials a {
  display: inline-block;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 0.8rem;
  transition: transform 0.3s ease, color 0.3s ease;
}
.footer-socials a:hover {
  color: #4cae4c;
  transform: translateY(-3px);
}

/* Bottom Bar */
.footer-bottom {
  background-color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #333;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 561px) {
  .footer-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-socials a {
    margin: 0 0.5rem;
  }
  .footer-about,
  .footer-links,
  .footer-contact {
    width: 100%;
  }
  .footer-logo {
    margin-right: 0;
  }
}
@media (max-width: 1024px) and (min-width: 561px) {
  .footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .footer-about,
  .footer-links,
  .footer-contact {
    width: 33%;
  }
  .footer-about p,
  .footer-contact p {
    font-size: 12px;
    text-align: center;
  }
  .footer-logo {
    margin-right: 0;
  }
}

/* feedback.css — Style 2: minimal white form inside highlighted background */
:root {
  --primary: #5cb85c;
  --bg: #f6fbf6;
  --card: #ffffff;
  --text: #2c3e50;
  --muted: #6c756c;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Section */
.feedback-section {
  background: linear-gradient(
    180deg,
    rgba(92, 184, 92, 0.03),
    rgba(244, 249, 244, 1)
  );
  padding: 2.2rem 6%;
}

/* container centering */
.feedback-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Card */
.feedback-card {
  /* display: grid;
  grid-template-columns: 260px 1fr; */
  gap: 1.4rem;
  align-items: center;
}

/* visual */
.feedback-visual {
  background: linear-gradient(180deg, #fff, #f9fff9);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.feedback-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* form card */
.feedback-form {
  background: var(--card);
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.feedback-form h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.35rem;
  margin-bottom: 0.15rem;
  text-align: center;
}

.feedback-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* fields */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.label {
  font-size: 0.85rem;
  color: var(--muted);
}
.field input[type="text"],
.field input[type="email"],
.field textarea {
  border: 1px solid rgba(44, 62, 80, 0.06);
  padding: 0.7rem;
  border-radius: 8px;
  font-size: 0.98rem;
  color: var(--text);
  background: #fff;
  transition: box-shadow 0.12s ease, border-color 0.12s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(92, 184, 92, 0.08);
}

/* Star rating */
.rating-group {
  border: none;
  padding: 0;
  margin: 0;
}
.stars {
  display: flex;
  flex-direction: row-reverse;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  font-size: 1.6rem;
}
.stars input {
  display: none;
}
.stars label {
  cursor: pointer;
  color: #d7d7d7;
  transition: transform 0.12s ease, color 0.12s ease;
  user-select: none;
}
.stars label:hover,
.stars label:hover ~ label {
  color: #f0c419;
  transform: scale(1.1);
}
.stars input:checked ~ label,
.stars input:checked + label,
.stars input:checked + label ~ label {
  color: #f0c419;
} /* highlight logic handled in JS below for proper selection */

/* actions */
.feedback-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.25rem;
  justify-content: center;
}
.fb-status {
  font-size: 0.95rem;
  color: var(--muted);
}

/* button */
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(92, 184, 92, 0.12);
}
.btn-primary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* responsiveness */
@media (max-width: 900px) {
  .feedback-card {
    grid-template-columns: 1fr;
  }
  .feedback-visual {
    order: -1;
    min-height: 160px;
  }
}
