@font-face {
  font-family: 'Sukar';
  src: url('../fonts/Sukar-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sukar';
  src: url('../fonts/Sukar-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sukar';
  src: url('../fonts/Sukar-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2e7d32;
  --primary-dark: #1b5e20;
  --primary-light: #4caf50;
  --accent: #ff8f00;
  --accent-hover: #f57c00;
  --text-dark: #212121;
  --text-muted: #616161;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Sukar', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

/* RTL support for Arabic */
[dir="rtl"] body {
  font-family: 'Sukar', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Top Bar --- */
.top-bar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-info i {
  font-size: 14px;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  font-size: 12px;
  transition: var(--transition);
}

.lang-switch a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* --- Header / Nav --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  height: var(--header-height);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

[dir="rtl"] .logo-icon {
  rotate: 0deg;
}

/* Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(46, 125, 50, 0.06);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
    gap: 4px;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
  }
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #2e7d32;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,94,32,0.75) 0%, rgba(46,125,50,0.5) 50%, rgba(0,0,0,0.3) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 24px;
}

/* Hero decorative elements */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 1;
}

/* Hero dots navigation */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.4s ease;
}

.hero-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.25);
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.hero-dot:hover {
  background: rgba(255,255,255,0.6);
}

/* Hero title animation */
.hero h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s ease 0.3s forwards;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 36px;
  opacity: 0;
  line-height: 1.8;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease 0.5s forwards;
}

.hero .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s ease 0.7s forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero decorative accent line */
.hero-accent {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 24px;
  border-radius: 2px;
  opacity: 0;
  animation: heroFadeIn 0.8s ease 0.4s forwards;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 143, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.35);
}

/* --- Sections --- */
.section {
  padding: 72px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-title p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Features / Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(46, 125, 50, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Products Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.product-img {
  width: 100%;
  height: 200px;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 20px;
}

.product-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- About page --- */
.about-section {
  background: var(--bg-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #e8f5e9;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

/* Vision & Mission */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}

.vm-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.vm-card .vm-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.vm-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.vm-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail .cd-icon {
  width: 44px;
  height: 44px;
  background: rgba(46, 125, 50, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail .cd-text h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-detail .cd-text p {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
  background: var(--bg-white);
}

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

/* --- Footer --- */
footer {
  background: #333333;
  color: #fff;
  padding: 48px 0 24px;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-col h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

[dir="rtl"] .footer-col h4::after {
  left: auto;
  right: 0;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  opacity: 0.8;
  line-height: 2;
  display: block;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

/* --- Page Banner --- */
.page-banner {
  background: linear-gradient(135deg, #1b5e20, #388e3c);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 38px;
  font-weight: 800;
}

.page-banner p {
  font-size: 17px;
  opacity: 0.9;
  margin-top: 8px;
}

/* --- Map --- */
.map-container {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 400px;
  }

  .hero .container {
    padding: 80px 24px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

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

  .top-bar-info span:not(:first-child) {
    display: none;
  }

  .page-banner h1 {
    font-size: 28px;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 24px;
  }

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

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

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

/* --- Toast / Notification --- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

[dir="rtl"] .toast {
  right: auto;
  left: 24px;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
  color: #fff;
}

[dir="rtl"] .whatsapp-btn {
  left: auto;
  right: 24px;
}

@media (max-width: 768px) {
  .whatsapp-btn {
    width: 48px;
    height: 48px;
    font-size: 24px;
    bottom: 20px;
    left: 20px;
  }
  [dir="rtl"] .whatsapp-btn {
    left: auto;
    right: 20px;
  }
}
