/* ========================================
   SAFOOD - Privacy Policy Page
   Uses SAME Header/Footer/CTA as Solutions.css
   ======================================== */

/* ===== BASE VARIABLES - Same as Solutions.css ===== */
:root {
  --dark-brown: #2C2416;
  --gold: #B8954A;
  --light-gold: #D4B575;
  --cream: #FBF8F0;
  --beige: #F6EEDB;
  --text-dark: #2C2416;
  --text-medium: #6B5D4F;
  --text-light: #D4C7B5;
  --text-gray: #968778;
  --white: #FFFFFF;
  --border-light: #EAE3D5;
  --font-inter: 'Inter', sans-serif;
  --font-montserrat: 'Montserrat', sans-serif;
  --max-width: 1512px;
  --container-padding: 104px;
}

/* ===== BASE RESET - Same as Solutions.css ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-inter);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }

/* ===== CONTAINER - Same as Solutions.css ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.text-center { text-align: center; }

/* ===== BADGE - Same as Solutions.css ===== */
.badge {
  display: inline-block;
  background: #FFF8E7;
  border: 1px solid rgba(184, 149, 74, 0.30);
  border-radius: 100px;
  padding: 9px 20px;
  margin-bottom: 24px;
}
.badge-text {
  color: #B8954A;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  line-height: 20px;
}

/* ===== BUTTONS - Same as Solutions.css ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #B5911C 0%, #B7931A 50%, #9D7A26 100%);
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(184, 149, 74, 0.3);
}
.btn-white {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid #FAF5E8;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-white-outline {
  background: var(--white);
  color: var(--text-dark);
  border: 2px solid rgba(255, 255, 255, 0.30);
}
.btn-link {
  color: var(--white);
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ===== NAVIGATION - Light Version (Same as Solutions.html) ===== */
.navbar-light {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0px 12px 70px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(44, 36, 22, 0.05);
  padding: 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}
.logo-gold { color: var(--gold); }
.logo-gold:first-child { letter-spacing: 0.07px; }
.logo-gold:nth-child(2) { letter-spacing: 1.07px; }
.logo-dark { color: var(--text-dark); }
.nav-menu {
  display: flex;
  gap: 32px;
}
.nav-menu a {
  color: var(--text-dark);
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-menu a:hover { color: var(--gold); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.language-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-dark);
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  cursor: pointer;
}
.language-selector span{
    display: flex;
    align-items: center;
    gap: 5px; /* icon aur EN ke darmiyan space */
}
.globe-icon {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--text-dark);
  border-radius: 50%;
  position: relative;
}
.globe-icon::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 15px;
  border: 1.5px solid var(--text-dark);
  border-radius: 50%;
  left: 6px;
  top: 1.5px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}
/* change 1 - mobile menu ma actions hide karne ke liye */
.mobile-only-actions {
  display: none;
}

/* ===== PAGE HEADER SECTION ===== */
.page-header {
  padding: 60px 0;
  background: var(--cream);
}
.page-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.page-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0.35px;
  color: var(--text-dark);
}

/* ===== POLICY CONTENT SECTION ===== */
.policy-content {
  padding: 60px 0;
}
.policy-card {
  background: var(--white);
  border-radius: 20px;
  border: 1.08px solid rgba(250, 245, 232, 0.50);
  padding: 60px 59px;
}
.policy-section {
  margin-bottom: 60px;
}
.policy-section:last-child {
  margin-bottom: 0;
}
.policy-heading {
  font-size: 30px;
  font-weight: 700;
  line-height: 37.5px;
  letter-spacing: 0.40px;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.policy-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 29.25px;
  color: var(--text-medium);
}
.policy-text br {
  display: block;
  margin: 8px 0;
}

/* ===== QUOTE BLOCK ===== */
.policy-quote {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 20px 0;
  margin: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.policy-quote::before {
  content: '';
  width: 7px;
  background: var(--text-medium);
  flex-shrink: 0;
  margin-top: 4px;
}
.policy-quote p {
  font-size: 30px;
  font-weight: 400;
  line-height: 52px;
  color: var(--text-medium);
  font-style: italic;
}

/* ===== CTA SECTION - Same as Solutions.css ===== */
.cta-section {
  min-height: 999px;
  background: linear-gradient(135deg, #B8954A 0%, #C4A563 50%, #D4B575 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #2C2416 0%, rgba(44, 36, 22, 0.90) 30%, rgba(44, 36, 22, 0.60) 100%);
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 1176px;
  margin: 0 auto;
  padding: 130px 0;
}
.cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 100px;
  padding: 11px 21px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 32px;
}
.cta-badge span {
    display: flex;
    align-items: center;
    gap: 5px; /* icon aur EN ke darmiyan space */
}
.cta-content h2 {
  font-size: 72px;
  font-weight: 700;
  line-height: 90px;
  color: var(--white);
  margin-bottom: 24px;
}
.cta-content > p {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.90);
  line-height: 39px;
  letter-spacing: 0.07px;
  margin-bottom: 70px;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}
.cta-form {
  display: flex;
  gap: 16px;
  max-width: 672px;
  margin: 0 auto 60px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  padding: 8px;
}
.input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  /* padding-left: 24px; */
  padding-left: 0px;
}
.input-wrapper input {
  width: 100%;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.60);
  font-size: 18px;
  font-family: var(--font-inter);
  outline: none;
}
.input-wrapper input::placeholder { color: rgba(255, 255, 255, 0.60); }
.cta-form .btn-white {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0px 8px 10px -6px rgba(0, 0, 0, 0.10), 0px 20px 25px -5px rgba(0, 0, 0, 0.10);
}
.cta-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  margin-bottom: 48px;
}
.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 16px;
}
.check-icon-white {
  width: 20px;
  height: 20px;
  border: 1.67px solid rgba(255, 255, 255, 0.90);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-icon-white::after {
  /*content: '';*/
  width: 5px;
  height: 3.33px;
  border: 1.67px solid rgba(255, 255, 255, 0.90);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* ===== FOOTER - EXACT COPY FROM SOLUTIONS.CSS ===== */
.footer {
  padding: 80px 0 0;
  background: var(--cream);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 80px;
}
.footer-brand { width: 402.66px; }
.footer-brand p {
  color: var(--text-medium);
  font-size: 16px;
  line-height: 26px;
  margin: 16px 0 24px;
}
.social-links { display: flex; gap: 12px; }
.social-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(180deg, #B8954A 0%, #D4B575 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-links { display: flex; gap: 60px; }
.footer-column h4 {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  margin-bottom: 16px;
}
.footer-column ul { display: flex; flex-direction: column; gap: 12px; }
.footer-column a,
.footer-column li {
  color: var(--text-medium);
  font-size: 14px;
  line-height: 20px;
}
.footer-column a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-top: 1px solid rgba(223.07, 212.32, 196.69, 0.40);
}
.footer-bottom p {
  color: var(--text-medium);
  font-size: 14px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  color: var(--text-medium);
  font-size: 14px;
}

/* ===== RESPONSIVE BREAKPOINTS - Same as Solutions.css ===== */
@media (max-width: 1400px) {
  :root { --container-padding: 60px; }
}

@media (max-width: 1199px) {
  :root { --container-padding: 40px; }
  .page-title { font-size: 40px; }
  .policy-card { padding: 40px; }
  .footer-grid { flex-direction: column; }
  .footer-brand { width: 100%; }
  .footer-links { justify-content: space-between; }
}

@media (max-width: 767px) {
  :root { --container-padding: 24px; }
  
  /* Navigation Mobile */
  .nav-menu {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 40px;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-menu.active { transform: translateX(0); }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
 /* change 2 - desktop nav-actions hide, mobile-only-actions show */
  .nav-actions {
    display: none !important;
  }
  
  .mobile-only-actions {
    display: none;
    padding: 20px 0 0 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
  }
  
  .nav-menu.active .mobile-only-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  /* change 3 - mobile language selector styling */
  .mobile-lang-selector {
    color: var(--white);
    font-family: var(--font-montserrat);
    font-size: 16px;
    font-weight: 500;
    padding: 10px 16px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .mobile-lang-selector .lang-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    margin: 8px 0 0;
    min-width: 120px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  
  .mobile-lang-selector.active .lang-options {
    display: block;
  }
  
  .mobile-lang-selector .lang-options li {
    padding: 10px 16px;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
    text-align: center;
  }
  
  .mobile-lang-selector .lang-options li:hover {
    background: rgba(255,255,255,0.1);
  }
  
  .mobile-lang-selector .lang-options li.active {
    color: #d4af37;
  }
  
  /* change 4 - mobile button styling */
  .mobile-get-started {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
  
  /* RTL support for mobile lang dropdown */
  html[dir="rtl"] .mobile-lang-selector .lang-options {
    left: 50%;
    right: auto;
  }
  
  /* Page Header */
  .page-header { padding: 40px 0; }
  .page-title { font-size: 32px; line-height: 40px; }
  
  /* Policy Content */
  .policy-card { padding: 30px 24px; border-radius: 16px; }
  .policy-heading { font-size: 24px; line-height: 32px; }
  .policy-text { font-size: 16px; line-height: 26px; }
  .policy-quote { flex-direction: column; gap: 16px; padding: 16px 0; }
  .policy-quote::before { width: 4px; }
  .policy-quote p { font-size: 20px; line-height: 32px; }
  
  /* CTA Section */
  .cta-content h2 { font-size: 48px; line-height: 60px; }
  .cta-features { flex-direction: column; gap: 16px; }
  
  /* Footer */
  .footer-links { flex-direction: column; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 479px) {
  .page-title { font-size: 28px; }
  .policy-heading { font-size: 22px; }
  .cta-content h2 { font-size: 36px; line-height: 46px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .policy-quote p { font-size: 18px; line-height: 28px; }
}

/* ===== ACCESSIBILITY ===== */
a:focus, button:focus, input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Language Selector Dropdown */
.language-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-dark);
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  cursor: pointer;
  position: relative;
}
.language-selector .lang-current {
    display: flex;
    align-items: center;
    gap: 5px;
}
.language-selector .lang-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    margin: 8px 0 0;
    min-width: 120px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.language-selector.active .lang-options {
    display: block;
}
.language-selector .lang-options li {
    padding: 10px 16px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
}
.language-selector .lang-options li:hover {
    background: rgba(0,0,0,0.05);
}
.language-selector .lang-options li.active {
    color: #d4af37;
}
.language-selector[dir="rtl"] .lang-options {
    right: auto;
    left: 0;
}

/* RTL Support */
html[dir="rtl"] {
  text-align: right;
}
html[dir="rtl"] .nav-menu {
  text-align: right;
}
html[dir="rtl"] .nav-menu li {
  text-align: right;
}
html[dir="rtl"] .nav-menu li a {
  text-align: right;
  display: block;
}
html[dir="rtl"] .policy-card {
  text-align: right;
}
html[dir="rtl"] .policy-section,
html[dir="rtl"] .policy-quote {
  text-align: right;
}
html[dir="rtl"] .footer-grid {
  flex-direction: row-reverse;
}
html[dir="rtl"] .footer-brand,
html[dir="rtl"] .footer-links {
  text-align: right;
}