@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Tajawal:wght@300;400;500;700;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand Colors */
  --primary-color: #5d8f4e; /* Green from logo */
  --primary-dark: #3f6534;
  --primary-light: #ebf3e8;
  --primary-glow: rgba(93, 143, 78, 0.4);
  --accent-color: #e5af3c; /* Golden accent for a touch of luxury */
  --accent-light: #fef8eb;
  
  /* Neutral Colors */
  --bg-light: #f7faf6;
  --bg-white: #ffffff;
  --text-dark: #1b2618;
  --text-medium: #4e5c4a;
  --text-light: #80907b;
  --border-color: #e2ebd0;
  
  /* Fonts */
  --font-primary: 'Cairo', sans-serif;
  --font-secondary: 'Tajawal', sans-serif;
  
  /* Layout & Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 25px rgba(93, 143, 78, 0.08);
  --shadow-lg: 0 20px 40px rgba(93, 143, 78, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(93, 143, 78, 0.08);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  
  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  text-align: right;
}

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

ul {
  list-style: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--text-dark);
}

.section-subtitle {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
  position: relative;
  padding-bottom: 5px;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  line-height: 1.4;
}

.section-title span {
  color: var(--primary-color);
}

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

.section-header-center {
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header-center .section-subtitle::after {
  right: 50%;
  transform: translateX(50%);
}

/* Section Spacing */
section {
  padding: 8rem 2rem;
  position: relative;
}

/* Glassmorphism Class */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-glass);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 1.2rem 0;
}

header.scrolled {
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(93, 143, 78, 0.1);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrapper img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  background: #fff;
  padding: 2px;
  border: 2px solid var(--primary-light);
  transition: var(--transition-normal);
}

header.scrolled .logo-wrapper img {
  height: 42px;
}

.logo-text {
  font-family: var(--font-secondary);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(93, 143, 78, 0.2);
  border: 1px solid transparent;
  transition: var(--transition-normal);
}

.nav-cta:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 6px 15px rgba(93, 143, 78, 0.35);
}

.menu-btn {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--text-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.lang-toggle {
  background: rgba(93, 143, 78, 0.08);
  color: var(--primary-color);
  border: 1px solid rgba(93, 143, 78, 0.2);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-normal);
}

.lang-toggle:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(93, 143, 78, 0.2);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(235, 243, 232, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%),
              url('assets/images/hero_bg.png') no-repeat center center/cover;
  padding: 0;
  margin-top: 0;
}

/* Hero elements decoration */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(93, 143, 78, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(229, 175, 60, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  z-index: 5;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(93, 143, 78, 0.1);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  border: 1px solid rgba(93, 143, 78, 0.2);
  margin-bottom: 2rem;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); box-shadow: 0 0 10px rgba(93, 143, 78, 0.15); }
  100% { transform: scale(1); }
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
}

.hero-title span {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-medium);
  max-width: 750px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-slow);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 10px 20px rgba(93, 143, 78, 0.2);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(93, 143, 78, 0.35);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(93, 143, 78, 0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
}

.hero-scroll-icon {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-light);
  border-radius: 15px;
  position: relative;
}

.hero-scroll-icon::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll-dot 1.6s infinite ease-in-out;
}

@keyframes scroll-dot {
  0% { top: 8px; opacity: 1; }
  50% { top: 22px; opacity: 0.2; }
  100% { top: 8px; opacity: 1; }
}

/* About Us Section */
.about {
  background-color: var(--bg-white);
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.about-content {
  text-align: right;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.about-feature-item i {
  font-size: 1.6rem;
  color: var(--primary-color);
  background: var(--primary-light);
  padding: 10px;
  border-radius: 12px;
  margin-top: 3px;
}

.about-feature-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.about-feature-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-img-box {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}

.about-img-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-img-box:hover img {
  transform: scale(1.05);
}

.about-badge-card {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  z-index: 3;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge-card .num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--font-secondary);
  line-height: 1.1;
  display: block;
}

.about-badge-card .txt {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.about-visual::after {
  content: '';
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary-color);
  opacity: 0.15;
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 1;
}

/* Products Section */
.products {
  background-color: var(--bg-light);
}

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product-img-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  border: 1px solid var(--primary-light);
}

.product-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(27, 38, 24, 0.7) 0%, rgba(27, 38, 24, 0) 50%);
  opacity: 0.8;
  z-index: 1;
}

.product-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-secondary);
  transition: var(--transition-fast);
}

.product-card:hover .product-info h3 {
  color: var(--primary-color);
}

.product-info p {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  line-height: 1.65;
  flex-grow: 1;
}

.product-list {
  margin-bottom: 1.8rem;
}

.product-list li {
  font-size: 0.9rem;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.product-list li i {
  color: var(--primary-color);
  font-size: 0.8rem;
}

.product-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  border: 1px solid rgba(93, 143, 78, 0.15);
}

.product-card:hover .product-card-btn {
  background-color: var(--primary-color);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 5px 12px rgba(93, 143, 78, 0.2);
}

/* Why Choose Us (Features) Section */
.features {
  background-color: var(--bg-white);
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition-slow);
  text-align: center;
}

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

.feature-icon-box {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-box {
  background-color: var(--primary-color);
  color: #fff;
  transform: rotateY(180deg);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-secondary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* Contact & Location Section */
.contact {
  background-color: var(--bg-light);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary-color);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
}

.contact-text p, 
.contact-text a {
  font-size: 0.95rem;
  color: var(--text-medium);
}

.contact-text a:hover {
  color: var(--primary-color);
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-phones a {
  direction: ltr;
  text-align: right;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid var(--border-color);
  color: var(--text-medium);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

/* Map Container */
.map-box {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 4px solid #fff;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Form */
.contact-form-box {
  padding: 3rem;
  border-radius: var(--radius-lg);
}

.contact-form-box h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: right;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: #fff;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(93, 143, 78, 0.1);
  background-color: #fff;
}

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

.submit-btn {
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Form success message */
.form-message {
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
  display: none;
}

.form-message.success {
  background-color: #e2f0d9;
  color: #385723;
  border: 1px solid #c5e0b4;
  display: block;
}

.form-message.error {
  background-color: #fce4d6;
  color: #c65911;
  border: 1px solid #f8cbad;
  display: block;
}

/* Footer styling */
footer {
  background-color: #172014;
  color: #d1ddd0;
  padding: 5rem 2rem 2rem 2rem;
  border-top: 4px solid var(--primary-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 55px;
  width: auto;
  border-radius: 50%;
  background-color: #fff;
  padding: 2px;
}

.footer-logo-text {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.footer-logo-text span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #9cb299;
}

.footer-about p {
  font-size: 0.95rem;
  color: #a4b6a2;
  line-height: 1.8;
}

.footer-links-box h4,
.footer-contact-box h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
  position: relative;
  padding-bottom: 8px;
}

.footer-links-box h4::after,
.footer-contact-box h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: #a4b6a2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(-5px);
}

.footer-links a:hover i {
  transform: translateX(-3px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #a4b6a2;
}

.footer-contact-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-contact-item .direction-ltr {
  direction: ltr;
  text-align: right;
  display: block;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #8fa38d;
}

.footer-bottom p span {
  color: #fff;
  font-weight: 600;
}

/* Animations */
.reveal {
  position: relative;
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

.reveal.reveal-left {
  transform: translateX(-80px);
}

.reveal.reveal-right {
  transform: translateX(80px);
}

.reveal.reveal-bottom {
  transform: translateY(80px);
}

.reveal.active {
  transform: translate(0, 0);
  opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .about-container {
    gap: 3rem;
  }
  
  .about-img-box img {
    height: 400px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 1.5rem;
  }
  
  .menu-btn {
    display: block;
    z-index: 1001;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    padding: 6rem 2rem 2rem 2rem;
    gap: 1.5rem;
    transition: var(--transition-normal);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
  }
  
  .nav-cta {
    display: none; /* Put CTA inside drawer or hide for simplicity */
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .about-visual {
    order: 2;
    margin-top: 3rem;
  }
  
  .about-badge-card {
    right: 0;
    bottom: -1rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .contact-form-box {
    padding: 1.8rem;
  }
}

/* ==========================================================================
   LTR / English Layout Overrides
   ========================================================================== */
html[lang="en"] {
  --font-primary: 'Outfit', 'Cairo', sans-serif;
  --font-secondary: 'Outfit', 'Tajawal', sans-serif;
}

html[lang="en"] body {
  text-align: left;
}

html[lang="en"] .section-subtitle::after {
  right: auto;
  left: 0;
}

html[lang="en"] .section-header-center .section-subtitle::after {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

html[lang="en"] .nav-links a::after {
  right: auto;
  left: 0;
}

html[lang="en"] .about-content {
  text-align: left;
}

html[lang="en"] .about-badge-card {
  right: auto;
  left: -2rem;
}

html[lang="en"] .about-visual::after {
  left: auto;
  right: -2rem;
}

html[lang="en"] .footer-links-box h4::after,
html[lang="en"] .footer-contact-box h4::after {
  right: auto;
  left: 0;
}

html[lang="en"] .footer-links a:hover {
  transform: translateX(5px);
}

html[lang="en"] .footer-links a:hover i {
  transform: translateX(3px);
}

html[lang="en"] .footer-links i {
  transform: rotate(180deg);
}

html[lang="en"] .footer-contact-item .direction-ltr,
html[lang="en"] .contact-phones a {
  text-align: left;
}

/* Entrance reveal animations direction in LTR */
html[lang="en"] .reveal.reveal-left {
  transform: translateX(80px);
}

html[lang="en"] .reveal.reveal-right {
  transform: translateX(-80px);
}

html[lang="en"] .reveal.active {
  transform: translate(0, 0);
}

/* Mobile drawer direction adjustments for English */
@media (max-width: 768px) {
  html[lang="en"] .nav-links {
    right: auto;
    left: -100%;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.05);
  }
  
  html[lang="en"] .nav-links.active {
    left: 0;
    right: auto;
  }
}
