/* ========================================
   SAFOOD - Solutions Page
   Complete Responsive 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;
}

* { 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;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  /*padding-bottom: 100px;*/
}
.text-center { text-align: center; }

/* ===== BADGE & SECTION HEADERS ===== */
.badge {
  display: inline-block;
  background: #FFF8E7;
  border: 1px solid rgba(184, 149, 74, 0.30);
  border-radius: 100px;
  padding: 9px 20px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  margin-bottom: 24px;
}
.section-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0.35px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.title-dark { color: var(--text-dark); }
.title-gold { color: var(--gold); }
.section-subtitle {
  font-size: 18px;
  color: var(--text-medium);
  max-width: 768px;
  margin: 0 auto;
}
.section-header { margin-bottom: 80px; }

/* ===== BUTTONS ===== */
.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 ===== */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.01);
  padding: 20px 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}
.logo-gold { color: var(--gold); letter-spacing: 0.07px; }
.logo-white { color: var(--white); }
.logo-dark { color: var(--text-dark); }
.nav-menu {
  display: flex;
  gap: 32px;
}
.nav-menu a {
  color: var(--white);
  font-family: var(--font-montserrat);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-menu a.active,
.nav-menu a:hover {
  color: var(--gold);
  font-weight: 700;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.language-selector {
  color: var(--white);
  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 */
}
.language-selector .lang-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    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);
}
.language-selector.active .lang-options {
    display: block;
}
.language-selector .lang-options li {
    padding: 10px 16px;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
}
.language-selector .lang-options li:hover {
    background: rgba(255,255,255,0.1);
}
.language-selector .lang-options li.active {
    color: #d4af37;
}
.language-selector[dir="rtl"] .lang-options {
    right: auto;
    left: 0;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}
/* change 1 - mobile menu ma actions hide karne ke liye */
.mobile-only-actions {
  display: none;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 879px;
  position: relative;
  padding-top: 151px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: black;
  background-image: url('../Assets/Image/Image (Desert landscape).png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* z-index: 0; */
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(89deg, #2C2416 0%, rgba(44, 36, 22, 0.80) 50%, rgb(0 0 0 / 0%) 100%);
  /* background: linear-gradient(90deg, #2C2416 0%, rgba(44, 36, 22, 0.80) 50%, rgb(0 0 0) 100%); */
  opacity: 0.6;
  /* z-index: 1; */
}
.hero-container {
  position: relative;
  padding: 20px 427px 157px 427px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 176px;
}
.hero-content {
  width: 100%;
  max-width: 808px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero-title {
  font-size: 72px;
  font-weight: 700;
  line-height: 90px;
  letter-spacing: 0.12px;
  color: var(--white);
}
.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 32.5px;
  color: var(--text-light);
  width: 100%;
  max-width: 498px;
}

/* ===== SOLUTIONS PAGE SPECIFIC ===== */
.solutions-page {
  padding: 100px 0;
  background: var(--cream);
}
.solution-card-page {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 80px;
}
.solution-card-page.reverse {
  flex-direction: row-reverse;
}
.solution-image-page {
  flex: 1;
  position: relative;
}
.solution-image-page img {
  width: 100%;
  height: 471px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0px 8px 10px -6px rgba(0,0,0,0.10), 0px 20px 25px -5px rgba(0,0,0,0.10);
}
.solution-badge-page {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--beige);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 9px 20px;
  color: #5A3D0B;
  font-size: 16px;
  font-weight: 400;
}
.solution-text-page {
  flex: 1;
}
.solution-text-page .solution-badge-page {
  position: static;
  display: inline-block;
  margin-bottom: 16px;
}
.solution-text-page h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 37.5px;
  letter-spacing: 0.40px;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.solution-text-page > p {
  font-size: 18px;
  color: var(--text-medium);
  line-height: 29.25px;
  margin-bottom: 24px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-medium);
  font-size: 16px;
}
.feature-list .check-icon {
  width: 24px;
  height: 24px;
  background: var(--gold);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-list .check-icon::after {
  /*content: '';*/
  width: 9.33px;
  height: 6.67px;
  border: 2px solid var(--white);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}
.feature-list-grid li {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-medium);
  font-size: 16px;
}
.feature-list-grid .check-icon {
  width: 24px;
  height: 24px;
 filter: invert(36%) sepia(43%) saturate(421%) hue-rotate(6deg);
  /* background: var(--gold); */
  /* border-radius: 100px; */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-list-grid .check-icon img {
  width: 100%;
}
.feature-list-grid .check-icon::after {
  /*content: '';*/
  width: 9.33px;
  height: 6.67px;
  border: 2px solid var(--white);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}
.comparison-table .check-icon {
  width: 24px;
  height: 24px;
  filter: invert(36%) sepia(43%) saturate(421%) hue-rotate(6deg);
  /* background: var(--gold); */
  border-radius: 100px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comparison-table .check-icon img {
  width: 100%;
}
.comparison-table .check-icon::after {
  /*content: '';*/
  width: 9.33px;
  height: 6.67px;
  border: 2px solid var(--white);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}

/* ===== COMPARISON TABLE ===== */
.comparison {
  padding: 100px 0;
  background: var(--white);
}
.table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  background: #FDFBF6;
  border: 1px solid var(--border-light);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}
.comparison-table thead {
  background: linear-gradient(90deg, var(--dark-brown) 0%, rgba(44,36,22,0.90) 70%, var(--dark-brown) 100%);
}
.comparison-table th {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 15.5px 24px;
  text-align: left;
}
.comparison-table th:first-child { border-top-left-radius: 16px; }
.comparison-table th:last-child { border-top-right-radius: 16px; }
.comparison-table td {
  padding: 16px 24px;
  border-bottom: 1px solid #F0ECE2;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 500;
}
.comparison-table tr:nth-child(even) { background: var(--white); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .check-icon-table {
  width: 20px;
  height: 20px;
  position: relative;
}
.comparison-table .check-icon-table::after {
  content: '';
  position: absolute;
  width: 13.33px;
  height: 9.17px;
  left: 3.33px;
  top: 5px;
  border: 1.67px solid var(--gold);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}

/* ===== CTA SECTION ===== */
.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;
}
.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 ===== */
.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;
}


/* Logo Animation */
.logo {
  animation: fadeInDown 0.8s ease-out;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Language Selector Animation */
.language-selector {
  transition: transform 0.3s ease;
}

.language-selector:hover {
  transform: scale(1.05);
}

/* Input Focus Animation */
.input-wrapper input {
  transition: all 0.3s ease;
}

.input-wrapper input:focus {
  transform: scale(1.02);
}

/* Hamburger Animation */
.hamburger span {
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  animation: rotate 0.3s ease forwards;
}

.hamburger.active span:nth-child(2) {
  animation: fadeOut 0.3s ease forwards;
}

.hamburger.active span:nth-child(3) {
  animation: rotate 0.3s ease reverse forwards;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1400px) {
  :root { --container-padding: 60px; }
  .hero-container { gap: 100px; }
}

@media (max-width: 1199px) {
  :root { --container-padding: 40px; }
  .hero-title { font-size: 56px; line-height: 70px; }
  .hero-subtitle { font-size: 18px; width: 100%; }
  .section-title { font-size: 40px; }
  .solution-card-page { flex-direction: column !important; text-align: center; }
  .solution-image-page img { height: auto; min-height: 400px; }
  /*.feature-list { align-items: center; }*/
  .comparison-table { min-width: 700px; }
  .footer-grid { flex-direction: column; }
  .footer-brand { width: 100%; }
  .footer-links { justify-content: space-between; }
}

@media (max-width: 767px) {
  :root { --container-padding: 24px; }
  /*change*/
  .solutions-page{padding-bottom:0px;}
  /*change*/
  /* Navigation Mobile */
  .nav-menu {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--dark-brown);
    flex-direction: column;
    padding: 40px;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .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;
  }
  
  /* Hero */
  .hero { padding-top: 120px; min-height: auto; padding-bottom: 120px; }
  .hero-container { flex-direction: column; gap: 60px; }
  .hero-content { width: 100%; }
  .hero-title { font-size: 40px; line-height: 50px; }
  .hero-subtitle { font-size: 16px; line-height: 26px; }
  
  /* Sections */
  .section-title { font-size: 32px; line-height: 40px; }
  .section-subtitle { font-size: 16px; }
  .comparison-table { min-width: 500px; font-size: 14px; }
  .comparison-table th, .comparison-table td { padding: 12px 16px; }
  
  .cta-content h2 { font-size: 48px; line-height: 60px; }
  /*.cta-form { flex-direction: column; }*/
  .cta-features { flex-direction: column; gap: 16px; }
  
  .footer-links { flex-direction: column; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 479px) {
    /*change*/
  .solutions-page{padding-bottom:0px;}
  /*change*/
  .hero-title { font-size: 32px; line-height: 42px; }
  .section-title { font-size: 28px; }
  .cta-content h2 { font-size: 36px; line-height: 46px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .solution-image-page img { height: 300px; }
  .hero-container {padding:0px;}
}



html[dir="rtl"] {
  text-align: right;
}
html[dir="rtl"] .nav-menu {
  text-align: right;
}
html[dir="rtl"] .hero-content,
html[dir="rtl"] .about-text,
html[dir="rtl"] .mission-text,
html[dir="rtl"] .vision-text,
html[dir="rtl"] .footer-brand p,
html[dir="rtl"] .footer-column ul li {
  text-align: right;
}
html[dir="rtl"] .vision-card.reverse {
  flex-direction: row-reverse;
}
html[dir="rtl"] .leader-card {
  flex-direction: row-reverse;
}
html[dir="rtl"] .about-wrapper,
html[dir="rtl"] .mission-wrapper {
  flex-direction: row-reverse;
}
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"] .language-selector .lang-options {
  right: auto;
  left: 0;
}