/* ===============================
   MILASTY THEME COLORS
================================ */
:root {
  --primary: #6b4e2e;
  --secondary: #fdf8f2;
  --accent: #c07a3a;
  --text: #2e2e2e;
  --muted: #666;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
}

/* ===============================
   GLOBAL RESET
================================ */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: var(--secondary);
  color: var(--text);
  line-height: 1.7;
}

/* ===============================
   HEADER (DESKTOP)
================================ */
.site-header {
  background: var(--primary);
  color: white;

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

  padding: 16px 24px;
}

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

/* Desktop Navigation */
.nav-links {
  display: flex;
}

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

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

/* ===============================
   HAMBURGER BUTTON (DEFAULT HIDDEN)
================================ */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

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

/* Hamburger → X Animation */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===============================
   PAGE TITLE
================================ */
.page-title {
  text-align: center;
  padding: 34px 16px;
}

.page-title h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.page-title p {
  color: var(--muted);
  font-size: 1rem;
}

/* ===============================
   MAIN CONTENT
================================ */
.container {
  max-width: 900px;
  margin: auto;
  padding: 0 16px 45px;
}

.policy-card {
  background: var(--card);
  padding: 26px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.updated {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ===============================
   SECTIONS
================================ */
.section {
  margin-bottom: 28px;
}

.section h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.section ul {
  padding-left: 18px;
}

.section ul li {
  margin-bottom: 8px;
  color: var(--muted);
}

/* Highlight Box */
.highlight {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(192, 122, 58, 0.12);
  border-left: 5px solid var(--accent);
  border-radius: 12px;
}

/* Contact Box */
.contact-box {
  margin-top: 35px;
  padding: 18px;
  border-radius: 16px;
  background: var(--primary);
  color: white;
  text-align: center;
}

.contact-box a {
  color: white;
  font-weight: 600;
  text-decoration: underline;
}

/* ===============================
   FOOTER (MILASTY PREMIUM)
================================ */
.site-footer {
  background: #5a3f24;
  color: white;
  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;
}

@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 */
  }
}


/* ===============================
   ✅ MOBILE PREMIUM MENU FIX
================================ */
@media (max-width: 650px) {

  /* ✅ FORCE HEADER INTO ONE LINE */
  .site-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;

    padding: 16px 18px !important;
    position: relative !important;
  }

  /* ✅ Keep Logo Center */
  .logo {
    flex: 1 !important;
    text-align: center !important;
  }

  /* ✅ FORCE HAMBURGER TOP RIGHT */
  .menu-toggle {
    display: block !important;
    position: absolute !important;
    right: 18px !important;
    top: 18px !important;
    z-index: 2000 !important;
  }

  /* ✅ Dropdown Menu */
  .nav-links {
    display: none !important;
    flex-direction: column !important;
    background: var(--primary) !important;

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

    padding: 14px 0 !important;
    text-align: center !important;
    border-radius: 0 0 14px 14px !important;
    z-index: 1500 !important;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links a {
    padding: 12px 0 !important;
    margin: 0 !important;
  }
}

@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 */
  }
}
