/* ============================================
   SIDUS NATURAL PRODUCTS - WEBSITE STYLES
   ============================================ */

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --primary-teal: #17A2B8;
  --primary-teal-dark: #138496;
  --secondary-gray: #9CA3AF;
  --highlight-green: #7CB518;
  --primary-dark: #1F2937;
  --primary-navy: #111827;
  --text-dark: #374151;
  --text-light: #ffffff;
  --text-gray: #6B7280;
  --bg-light: #F9FAFB;
  --bg-white: #ffffff;
  --border-light: #E5E7EB;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: #4CAF50;
}

nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #4CAF50;
}

/* Mobile Menu Button - Hidden checkbox method */
#mobile-menu-toggle {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger animation when menu is open */
#mobile-menu-toggle:checked~.header-container .mobile-menu-btn span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

#mobile-menu-toggle:checked~.header-container .mobile-menu-btn span:nth-child(2) {
  opacity: 0;
}

#mobile-menu-toggle:checked~.header-container .mobile-menu-btn span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%2317A2B8" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: 100px 100px;
  opacity: 0.3;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(23, 162, 184, 0.15);
  color: var(--primary-teal);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  border: 1px solid var(--primary-teal);
}

.hero-content h1 {
  font-size: 2.6rem;
  color: var(--text-light);
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--primary-teal);
}

.hero-content p {
  font-size: 1.15rem;
  color: #b0b0b0;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(23, 162, 184, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-dark) !important;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--primary-teal);
  font-weight: 700;
}

.stat-item p {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image-placeholder {
  background: linear-gradient(135deg, #2a2a4a 0%, #1a1a2e 100%);
  border-radius: 20px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(23, 162, 184, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-image-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(23, 162, 184, 0.1) 0%, transparent 70%);
}

.placeholder-content {
  text-align: center;
  color: #666;
  z-index: 1;
}

.placeholder-content i {
  font-size: 4rem;
  color: var(--primary-teal);
  opacity: 0.5;
  margin-bottom: 15px;
}

.placeholder-content p {
  font-size: 0.9rem;
  color: #888;
}

/* ============================================
   SECTIONS COMMON STYLES
   ============================================ */

section {
  padding: 55px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.section-header h2 span {
  color: var(--primary-teal);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   FEATURES / WHY CHOOSE US
   ============================================ */

.features {
  background-color: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-teal);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-teal), var(--highlight-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
}

/* ============================================
   CERTIFICATIONS
   ============================================ */

.certifications {
  background-color: var(--bg-white);
}

.cert-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cert-item {
  text-align: center;
  padding: 30px;
  background-color: var(--bg-light);
  border-radius: 15px;
  min-width: 150px;
  transition: all 0.3s ease;
}

.cert-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cert-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--primary-teal);
  font-weight: bold;
  font-size: 0.8rem;
}

.cert-item h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.cert-item p {
  font-size: 0.8rem;
  color: var(--text-gray);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-preview {
  background-color: var(--bg-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 200px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
}

.product-content {
  padding: 25px;
}

.product-category {
  display: inline-block;
  background-color: rgba(23, 162, 184, 0.15);
  color: var(--primary-teal);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-content h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.product-content p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.product-link {
  color: var(--primary-teal);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-link:hover {
  gap: 10px;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
  padding: 80px 0 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 1.2rem;
  color: #b0b0b0;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary-teal);
}

.breadcrumb span {
  color: #888;
}

/* About Content */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.about-text h2 span {
  color: var(--primary-teal);
}

.about-text p {
  color: var(--text-gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-image-placeholder {
  height: 400px;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/* Stats Bar */
.stats-bar {
  background-color: var(--primary-dark);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stats-grid .stat-item h3 {
  font-size: 2.8rem;
  color: var(--primary-teal);
  margin-bottom: 10px;
}

.stats-grid .stat-item p {
  font-size: 1rem;
  color: #b0b0b0;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background-color: var(--primary-teal);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-content {
  background-color: var(--bg-white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-width: 350px;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  right: -10px;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: var(--primary-teal);
  border-radius: 50%;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -10px;
  right: auto;
}

.timeline-content h3 {
  color: var(--primary-teal);
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* ============================================
   PRODUCTS PAGE STYLES
   ============================================ */
/* Product Categories - Mobile Fix */
.product-categories {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  padding: 0 15px;
}

.category-btn {
  padding: 12px 25px;
  background-color: var(--bg-light);
  border: 2px solid var(--border-light);
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Product Detail Card - Responsive */
.product-detail-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.product-detail-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
  padding: 30px;
  color: white;
}

.product-detail-body {
  padding: 30px;
}

/* Product Image and Text Grid - Responsive */
.product-detail-body>div[style*="grid-template-columns"] {
  display: grid !important;
  grid-template-columns: 200px 1fr !important;
  gap: 30px !important;
  margin-bottom: 30px !important;
}

/* Ensure images have proper container */
.product-detail-body>div[style*="grid-template-columns"]>div[class*="-Line"],
.product-detail-body>div[style*="grid-template-columns"]>div[class*="-Extracts"],
.product-detail-body>div[style*="grid-template-columns"]>div[class*="-img"] {
  width: 100%;
  height: 200px;
  border-radius: 15px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Description container */
.product-detail-body>div[style*="grid-template-columns"]>div:last-child {
  width: 100%;
}

.product-detail-body>div[style*="grid-template-columns"]>div:last-child p {
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Product Table - Responsive */
.product-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: table;
}

.product-table th,
.product-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.product-table th {
  background-color: var(--bg-light);
  font-weight: 600;
  color: var(--primary-dark);
}

/* Features Grid - Responsive */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* ============================================
   TECHNOLOGY PAGE STYLES
   ============================================ */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.tech-card {
  background-color: var(--bg-white);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-teal);
}

.tech-card h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-card h3::before {
  content: '';
  width: 10px;
  height: 10px;
  background-color: var(--primary-teal);
  border-radius: 50%;
}

.tech-card p {
  color: var(--text-gray);
  font-size: 1rem;
}

.tech-card ul {
  margin-top: 15px;
}

.tech-card ul li {
  padding: 8px 0;
  color: var(--text-gray);
  padding-left: 20px;
  position: relative;
}

.tech-card ul li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--primary-teal);
  font-weight: bold;
}

/* Process Flow */
.process-flow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.process-step {
  text-align: center;
  flex: 1;
  min-width: 150px;
  max-width: 180px;
  position: relative;
}

.process-step::after {
  content: '>';
  position: absolute;
  right: -15px;
  top: 30px;
  font-size: 1.5rem;
  color: var(--primary-teal);
}

.process-step:last-child::after {
  display: none;
}

.process-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-teal), var(--highlight-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  color: white;
}

.process-step h4 {
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.4;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-teal), var(--highlight-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.contact-details p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--primary-teal);
}

.contact-form {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 20px;
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-teal);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Map Placeholder */
.map-section {
  background-color: var(--bg-light);
}

.map-placeholder {
  height: 400px;
  background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-teal);
}

.footer-about p {
  color: #b0b0b0;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary-teal);
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--text-light);
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #b0b0b0;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--primary-teal);
}

.footer-contact p {
  color: #b0b0b0;
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  color: #888;
  font-size: 0.9rem;
}

/*--------------------------start-images--------------------------*/
.hero-img {
  background-image: url(../img/hero-img.webp);
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.cert-icon.FDA {
  background-image: url(../img/fad.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
}

.cert-icon.ISO {
  background-image: url(../img/ISO.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
}

.cert-icon.HACCP {
  background-image: url(../img/HACCP.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
}

.cert-icon.GMP {
  background-image: url(../img/gmp.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
}

.cert-icon.HALAL {
  background-image: url(../img/halal.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
}

.product-image.curcumin-img {
  background-image: url(../img/Curcumin-Product.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.product-image.Spice-Extract {
  background-image: url(../img/Spice-Extract.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.product-image.Botanical-Extracts {
  background-image: url(../img/Botanical-Extracts.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.about-image-placeholder.story-img {
  background-image: url(../img/story.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.about-image-placeholder.KINFRA {
  background-image: url(../img/KINFRA.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.Curcumin-Line {
  background-image: url(../img/Curcumin-Line.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.Spice-Extracts {
  background-image: url(../img/Spice-Extracts.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.Herbal-img {
  background-image: url(../img/Herbal-Extracts.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.about-image-placeholder.lab-img {
  background-image: url(../img/lab-img.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.about-image-placeholder.edge {
  background-image: url(../img/Technology-Edge.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.about-image-placeholder.quality-img {
  background-image: url(../img/quality-img.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.about-image-placeholder.integration-img {
  background-image: url(../img/Integration.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.page-hero {
  background-image: url(../img/page-hero.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.page-hero.contact-hero {
  background-image: url(../img/contact-hero.png);
}

.page-hero.t-hero {
  background-image: url(../img/t-hero.png);
}

.page-hero.p-hero {
  background-image: url(../img/Products-hero.png);
}

.hero {
  background-image: url(../img/hero.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*--------------------------end-images--------------------------*/
.Leadership-img {
  height: 300px;
  width: 100%;
}

.category-btn:hover {
  transform: scale(1.1);
}

/* ============================================
   RESPONSIVE STYLES - FIXED VERSION
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .Leadership-img {
    height: 366px;
    width: 100%;
    object-position: top;
  }

  .hero-content p {
    margin: 0 auto 30px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  /* .hero-image {
    display: none;
  } */

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .certifications>.container>div[style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
  }

  section div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }

  /* Leadership Team Grid - 2 columns on tablets */
  section div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }

  .hero-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .Leadership-img {
    height: auto;
    width: 100%;
    object-position: top;
  }

  section div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 25px !important;
  }

  section {
    padding: 60px 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  /* Show menu when checkbox is checked */
  #mobile-menu-toggle:checked~.header-container nav {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f0f0f0;
  }

  nav ul li a.active::after {
    display: none;
  }

  nav ul li a.active {
    background-color: #f8f8f8;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
  }

  .hero-stats {
    gap: 30px;
  }

  .stat-item h3 {
    font-size: 1.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .page-hero {
    padding: 100px 0 60px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .process-flow {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    max-width: 100%;
  }

  .process-step::after {
    display: none;
  }

  /* Product Categories */
  .product-categories {
    gap: 10px;
  }

  .category-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  /* Product Detail */
  .product-detail-header {
    padding: 25px 20px;
  }

  .product-detail-body {
    padding: 20px;
  }

  .product-detail-body>div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .product-detail-body>div[style*="grid-template-columns"]>div[class*="-Line"],
  .product-detail-body>div[style*="grid-template-columns"]>div[class*="-Extracts"],
  .product-detail-body>div[style*="grid-template-columns"]>div[class*="-img"] {
    height: 250px !important;
    width: 100% !important;
  }

  /* Product Table - Scrollable */
  .product-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .product-table thead,
  .product-table tbody,
  .product-table tr {
    display: table;
    width: 100%;
  }

  .product-table th,
  .product-table td {
    padding: 10px 8px;
    font-size: 0.85rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    right: auto;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .certifications>.container>div[style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .certifications>.container>div[style*="grid-template-columns: repeat(5, 1fr)"]>div {
    padding: 30px 15px !important;
  }

  .cert-icon {
    width: 80px !important;
    height: 80px !important;
  }

  .certifications h4 {
    font-size: 0.95rem !important;
  }

  .certifications p {
    font-size: 0.85rem !important;
  }

  /* Contact Grid - Stack vertically */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Contact Info */
  .contact-info h2 {
    font-size: 1.8rem;
  }

  .contact-item {
    gap: 15px;
    margin-bottom: 25px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }

  .contact-details h4 {
    font-size: 1rem;
  }

  .contact-details p {
    font-size: 0.9rem;
  }

  /* Contact Form */
  .contact-form {
    padding: 30px 25px;
  }

  .contact-form h3 {
    font-size: 1.3rem;
  }

  /* Form Two-Column Layout - Keep side-by-side on tablets */
  .contact-form form>div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px;
    font-size: 0.95rem;
  }

  .form-group label {
    font-size: 0.95rem;
  }

  /* Export Markets - Stay 2 columns */
  section div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-top: 40px !important;
  }

  section div[style*="grid-template-columns: repeat(4, 1fr)"]>div {
    padding: 25px 20px !important;
  }

  section div[style*="grid-template-columns: repeat(4, 1fr)"] h4 {
    font-size: 1rem !important;
  }

  section div[style*="grid-template-columns: repeat(4, 1fr)"] p {
    font-size: 0.85rem !important;
  }

  /* Quick Contact Banner */
  section div[style*="display: flex; justify-content: space-between"] {
    flex-direction: column !important;
    text-align: center !important;
    gap: 25px !important;
  }

  section div[style*="display: flex; justify-content: space-between"]>div:last-child {
    justify-content: center !important;
  }

  section div[style*="display: flex; justify-content: space-between"] h3 {
    font-size: 1.5rem !important;
  }

  section div[style*="display: flex; justify-content: space-between"] p {
    font-size: 0.95rem !important;
  }

  /* Map Section */
  .map-placeholder iframe {
    height: 350px !important;
  }
}

@media (max-width: 480px) {
  section {
    padding: 40px 0;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .stat-item {
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .cert-grid {
    flex-direction: column;
    align-items: center;
  }

  /* Page Hero */
  .page-hero {
    padding: 80px 0 50px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .page-hero p {
    font-size: 0.9rem;
  }

  /* Section Headers */
  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* About Text */
  .about-text h2 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .about-text h4 {
    font-size: 1.1rem;
  }

  .about-text ul li {
    font-size: 0.85rem;
  }

  .about-image-placeholder {
    height: 250px;
  }

  /* Product Categories */
  .product-categories {
    gap: 8px;
  }

  .category-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  /* Product Detail Card */
  .product-detail-header {
    padding: 20px 15px;
  }

  .product-detail-header h3 {
    font-size: 1.1rem;
  }

  .product-detail-header p {
    font-size: 0.85rem;
  }

  .product-detail-body {
    padding: 15px;
  }

  .product-detail-body>div[style*="grid-template-columns"]>div[class*="-Line"],
  .product-detail-body>div[style*="grid-template-columns"]>div[class*="-Extracts"],
  .product-detail-body>div[style*="grid-template-columns"]>div[class*="-img"] {
    height: 200px !important;
  }

  /* Product Table - Card Style for Small Screens */
  .product-table {
    display: block;
  }

  .product-table thead {
    display: none;
  }

  .product-table tbody {
    display: block;
  }

  .product-table tr {
    display: block;
    margin-bottom: 15px;
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .product-table td {
    display: block;
    text-align: left;
    padding: 6px 0;
    border: none;
    font-size: 0.8rem;
  }

  .product-table td::before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 0.75rem;
    text-transform: uppercase;
  }

  /* Features */
  .feature-card {
    padding: 25px 15px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.85rem;
  }

  /* Tech Cards */
  .tech-card {
    padding: 25px 20px;
  }

  .tech-card h3 {
    font-size: 1.1rem;
  }

  .tech-card p {
    font-size: 0.9rem;
  }

  .tech-card ul li {
    font-size: 0.85rem;
  }

  /* Process Steps */
  .process-icon {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .process-step h4 {
    font-size: 0.85rem;
  }

  .process-step p {
    font-size: 0.75rem;
  }

  /* Contact */
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }

  .contact-details h4 {
    font-size: 1rem;
  }

  .contact-details p {
    font-size: 0.85rem;
  }

  .contact-form {
    padding: 25px 15px;
  }

  .contact-form h3 {
    font-size: 1.2rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px;
    font-size: 0.9rem;
  }

  /* Footer */
  footer {
    padding-top: 50px;
  }

  .footer-about h3 {
    font-size: 1.2rem;
  }

  .footer-about p {
    font-size: 0.85rem;
  }

  .footer-links h4 {
    font-size: 1rem;
  }

  .footer-links ul li a {
    font-size: 0.85rem;
  }

  .footer-contact p {
    font-size: 0.85rem;
  }

  /* CTA Sections */
  section[style*="background: linear-gradient"] h2 {
    font-size: 1.8rem !important;
  }

  section[style*="background: linear-gradient"] p {
    font-size: 0.95rem !important;
  }

  .certifications>.container>div[style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    margin-top: 30px !important;
  }

  .certifications>.container>div[style*="grid-template-columns: repeat(5, 1fr)"]>div {
    padding: 25px 20px !important;
  }

  .cert-icon {
    width: 90px !important;
    height: 90px !important;
  }

  .certifications h4 {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
  }

  .certifications p {
    font-size: 0.85rem !important;
  }

  /* Contact Info */
  .contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .contact-info>p {
    font-size: 0.9rem !important;
    margin-bottom: 30px !important;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 12px;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }

  .contact-details h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .contact-details p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Contact Form - Stack name fields vertically */
  .contact-form {
    padding: 25px 20px;
  }

  .contact-form h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  /* IMPORTANT: Stack first/last name on mobile */
  .contact-form form>div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px;
    font-size: 0.9rem;
  }

  .form-group textarea {
    min-height: 140px;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  /* Export Markets - Single column */
  section div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 30px !important;
  }

  section div[style*="grid-template-columns: repeat(4, 1fr)"]>div {
    padding: 30px 20px !important;
  }

  section div[style*="grid-template-columns: repeat(4, 1fr)"]>div>div {
    width: 70px !important;
    height: 70px !important;
    margin-bottom: 15px !important;
  }

  section div[style*="grid-template-columns: repeat(4, 1fr)"]>div>div i {
    font-size: 1.8rem !important;
  }

  section div[style*="grid-template-columns: repeat(4, 1fr)"] h4 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
  }

  section div[style*="grid-template-columns: repeat(4, 1fr)"] p {
    font-size: 0.9rem !important;
  }

  /* Quick Contact Banner */
  section[style*="background: linear-gradient"][style*="padding: 60px 0"] {
    padding: 40px 0 !important;
  }

  section div[style*="display: flex; justify-content: space-between"] h3 {
    font-size: 1.3rem !important;
    margin-bottom: 8px !important;
  }

  section div[style*="display: flex; justify-content: space-between"] p {
    font-size: 0.9rem !important;
  }

  section div[style*="display: flex; justify-content: space-between"]>div:last-child {
    width: 100%;
    flex-direction: column !important;
  }

  section div[style*="display: flex; justify-content: space-between"] .btn {
    width: 100%;
    justify-content: center;
  }

  /* Map */
  .map-placeholder iframe {
    height: 300px !important;
    border-radius: 12px !important;
  }

  /* Section Padding */
  section[style*="padding: 100px 0"] {
    padding: 60px 0 !important;
  }

  section[style*="padding: 80px 0"] {
    padding: 50px 0 !important;
  }

  .contact-form div[style*="background: rgba(124, 181, 24"] {
    padding: 10px 12px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.4rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .category-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .product-detail-header h3 {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .cert-icon {
    width: 80px !important;
    height: 80px !important;
  }

  .certifications h4 {
    font-size: 0.95rem !important;
  }

  .certifications p {
    font-size: 0.8rem !important;
  }

  .contact-info h2 {
    font-size: 1.3rem;
  }

  .contact-form h3 {
    font-size: 1.1rem;
  }

  .contact-icon {
    width: 55px;
    height: 55px;
    font-size: 1.2rem;
  }

  .contact-details h4 {
    font-size: 1rem;
  }

  .contact-details p {
    font-size: 0.85rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 11px;
    font-size: 0.85rem;
  }

  .form-group label {
    font-size: 0.85rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  section div[style*="grid-template-columns: repeat(4, 1fr)"]>div {
    padding: 25px 15px !important;
  }

  section div[style*="display: flex; justify-content: space-between"] h3 {
    font-size: 1.2rem !important;
  }

  section div[style*="display: flex; justify-content: space-between"] p {
    font-size: 0.85rem !important;
  }
}