/* ===== CSS Variables & Reset ===== */
:root {
  --primary: #1a5f3a;
  --primary-light: #2d8a5e;
  --primary-dark: #0e3d24;
  --accent: #c9a84c;
  --accent-light: #e0c878;
  --bg: #fafaf7;
  --bg-card: #ffffff;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --text-on-dark: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
  --glass: rgba(255,255,255,0.15);
  --glass-border: rgba(255,255,255,0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Heebo', sans-serif;
  --font-body: 'Heebo', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-on-dark);
  transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
  color: var(--primary-dark);
}

.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-on-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--text);
}

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

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

.nav-links a:hover {
  color: var(--accent-light);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--primary-dark) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}

.nav-cta::after { display: none !important; }

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--text);
}

.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);
}

/* ===== Hero Sections ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,61,36,0.82) 0%, rgba(26,95,58,0.72) 50%, rgba(44,44,44,0.65) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.92;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

/* Page Hero (smaller for inner pages) */
.hero-page {
  min-height: 60vh;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-on-dark);
  border: 2px solid var(--text-on-dark);
}

.btn-outline:hover {
  background: var(--text-on-dark);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

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

.btn-green:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,95,58,0.35);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Sections ===== */
section {
  padding: 100px 0;
}

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

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

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

.section-header .divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== Cards ===== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #fff;
}

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

.card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

/* ===== Features Section ===== */
.features-section {
  background: var(--bg);
}

/* ===== Benefits Section ===== */
.benefits-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-on-dark);
  position: relative;
}

.benefits-section .section-header h2 {
  color: var(--text-on-dark);
}

.benefits-section .section-header p {
  color: rgba(255,255,255,0.8);
}

.benefit-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.benefit-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-light);
}

.benefit-card p {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
}

/* ===== Testimonials ===== */
.testimonials-section {
  background: #f5f3ee;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-dark);
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #d4a843 50%, var(--accent-light) 100%);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--primary-dark);
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-section p {
  color: rgba(14,61,36,0.8);
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== About Page ===== */
.about-content {
  background: var(--bg);
}

.about-image-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.about-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

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

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 28px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Timeline */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  opacity: 0.2;
  transform: translateX(50%);
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-dot {
  position: absolute;
  right: calc(50% - 8px);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--primary);
  z-index: 1;
}

.timeline-content {
  width: 45%;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

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

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

/* Values */
.values-section {
  background: #f5f3ee;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.value-card h3 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ===== Contact Page ===== */
.contact-section {
  background: var(--bg);
}

.contact-form-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  color: var(--text-light);
  margin-bottom: 28px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8e8e8;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: all var(--transition);
  direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,95,58,0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-message {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-weight: 600;
  display: none;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  display: block;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
  display: block;
}

/* Contact Info Cards */
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  margin-bottom: 20px;
}

.contact-info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-hover);
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}

.contact-info-card h3 {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-info-card p {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.contact-info-card a {
  color: var(--primary);
  font-weight: 700;
}

.contact-info-card a:hover {
  color: var(--accent);
}

/* Social links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-col h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 4px 0;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.footer-col a:hover {
  color: var(--accent-light);
  padding-right: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .timeline::before {
    right: 20px;
  }
  .timeline-dot {
    right: 12px;
  }
  .timeline-content {
    width: 85%;
    margin-right: 50px !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: right var(--transition);
    box-shadow: -4px 0 24px rgba(0,0,0,0.2);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    color: var(--text-on-dark) !important;
    font-size: 1.1rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .about-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  .contact-form-wrapper {
    padding: 28px 20px;
  }
  section {
    padding: 60px 0;
  }
  .hero-page {
    min-height: 50vh;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Overlay for mobile menu */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* WhatsApp float button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 900;
  transition: all var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}
