/* =========================================
   ✅ STORY PAGE HEADER (Scoped Override)
========================================= */

.our-story-page .site-header {
  background: #6b4e2e;
  color: white;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 24px;
}

/* Logo */
.our-story-page .logo a {
  color: white;
  font-size: 1.7rem;
  font-weight: bold;
  text-decoration: none;
}

/* Desktop Nav */
.our-story-page .nav-links {
  display: flex;
}

.our-story-page .nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 18px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.our-story-page .nav-links a:hover,
.our-story-page .nav-links a.active {
  opacity: 1;
  text-decoration: underline;
}

/* Hamburger Button */
.our-story-page .menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.our-story-page .menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px;
  background: white;
  border-radius: 6px;
  transition: 0.3s ease;
}

.our-story-page .story-hero h1 {
  text-align: center !important;
}


.story-subtitle {
  text-align: center;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 12px auto 0;
  opacity: 0.85;
  line-height: 1.6;
}


/* Hamburger Animation */
.our-story-page .menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.our-story-page .menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.our-story-page .menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ✅ Mobile Nav */
@media (max-width: 650px) {

  .our-story-page .site-header {
    position: relative;
    padding: 16px 18px;
  }

  /* Center logo */
  .our-story-page .logo {
    flex: 1;
    text-align: center;
  }

  /* Show Hamburger */
  .our-story-page .menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 18px;
  }

  /* Dropdown Menu */
  .our-story-page .nav-links {
    display: none;
    flex-direction: column;
    background: #6b4e2e;

    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;

    padding: 14px 0;
    text-align: center;
    border-radius: 0 0 14px 14px;
    z-index: 999;
  }

  .our-story-page .nav-links.active {
    display: flex;
  }

  .our-story-page .nav-links a {
    margin: 0;
    padding: 12px 0;
    font-size: 1rem;
  }
}


.founder-image img {
  width: 100%;
  max-width: 420px;
  /* aspect-ratio: 1 / 1; */
  height: 440px;
  border-radius: 18px;
  object-fit: cover;
}

@media (max-width: 600px) {
  .founder-image img {
    max-width: 280px;
    height: 295px;
  }
}

/* /* ✅ Mobile Fix */
@media (max-width: 600px) {
  .founder-image img {
    object-fit: contain;   /* No cropping */
    background: #f3f3f3;   /* Optional: adds padding look */
  }
} */



/* ===============================
   FOOTER (MILASTY PREMIUM)
================================ */
.site-footer {
  background: #5a3f24 !important;
  color: white !important;
  text-align: center;
  padding: 30px 14px;
  font-size: 0.92rem;
}

/* Footer Links */
.site-footer a {
  color: #ffd7a8 !important;
  font-weight: 500;
  text-decoration: none;
}

.site-footer a:visited {
  color: #ffd7a8 !important;
}

.site-footer a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* FSSAI Block */
.footer-fssai {
  margin-top: 18px;
}

.fssai-logo {
  width: 85px;
  height: auto;
  display: block;
  margin: auto;
}
/* ✅ Footer Logo Top Center */
.footer-logo-wrap {
  margin-bottom: 14px;
}

.footer-logo {
  width: 85px;       /* Premium size */
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.97;
}


.fssai-number {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Footer links row */
.footer-links {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.6;
}

.footer-links a {
  color: #ffd7a8 !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links span {
  opacity: 0.5;
}



/* =========================================
   ✅ Footer Note Links (Dark + Visible)
========================================= */

.our-story-page .footer-note {
  margin-top: 22px;
  font-size: 0.88rem;
  color: #4a2e16;
}

.our-story-page .footer-note a {
  color: #6b4e2e !important;
  font-weight: 600;
  text-decoration: none;
}

.our-story-page .footer-note a:hover {
  text-decoration: underline;
}

/* =========================================
   ✅ Mobile Footer
========================================= */

@media (max-width: 650px) {

  .footer-links {
    flex-direction: column; /* ✅ Stack links vertically */
    gap: 6px;
  }

  .footer-links span {
    display: none; /* ✅ Remove separators on mobile */
  }

  .footer-links a {
    font-size: 0.95rem;
  }
}

@media (max-width: 650px) {

  .footer-logo {
    width: 70px;  /* Smaller on mobile */
  }
}



/* ✅ FINAL FOOTER OVERRIDE (Our Story Only) */
.our-story-page footer.site-footer {
  background: #5a3f24 !important;
  color: white !important;
}

/* ✅ Footer Links Visibility Fix */
.our-story-page .site-footer a {
  color: #ffd7a8 !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* ✅ Footer Row Links */
.our-story-page .footer-links a {
  color: #ffd7a8 !important;
  font-size: 0.95rem !important;
}

/* ✅ Separators */
.our-story-page .footer-links span {
  opacity: 0.6 !important;
}


/* =========================================
   ✅ FORCE CTA BUTTON FIX (Our Story Page)
========================================= */

.our-story-page .story-cta {
  text-align: center !important;
  padding: 70px 20px;
  background: #F3E6D6;
}

/* ✅ CTA Button Proper Styling */
.our-story-page .story-cta-btn {
  display: inline-block !important;
  margin-top: 18px !important;

  background: #6b4e2e !important;
  color: white !important;

  padding: 14px 36px !important;
  border-radius: 30px !important;

  font-size: 1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.25s ease;
}

/* ✅ Hover Effect */
.our-story-page .story-cta-btn:hover {
  background: #563b22 !important;
  transform: translateY(-2px);
}


@media (max-width: 650px) {
  .our-story-page .story-cta-btn {
    width: 85% !important;
    max-width: 280px !important;
    text-align: center !important;
  }
}

