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

:root {
  --green: #2d7a3a;
  --green-light: #4caf50;
  --green-dark: #1a5226;
  --green-pale: #e8f5e9;
  --gold: #c9a84c;
  --text: #1a2e1a;
  --text-light: #5a7a5a;
  --white: #ffffff;
  --gray: #f5f7f5;
  --border: #d4e8d4;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: transform 0.3s;
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
  padding: 4px 8px;
}

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

.logo-img-footer {
  height: 80px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 6px 10px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}

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

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

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--green-light); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0d2b0d 0%, #1a5226 40%, #2d7a3a 70%, #4caf50 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.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.03'%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");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 0 24px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.green-text { color: #a8e6a8; }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}

.btn-primary:hover {
  background: #e0b84d;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  transform: translateY(-2px);
}

.full-width { width: 100%; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  z-index: 2;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  margin: 8px auto 0;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ===== STATS ===== */
.stats {
  background: var(--green-dark);
  padding: 48px 24px;
}

.stats-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item { color: white; }

.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  opacity: 0.85;
  font-weight: 600;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: var(--green-pale);
  padding: 4px 16px;
  border-radius: 20px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-light);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== SERVICES ===== */
.services {
  padding: 96px 24px;
  background: var(--gray);
}

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

.service-card {
  background: white;
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(45,122,58,0.12);
  border-color: var(--green-light);
}

.service-card.featured {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: white;
  border-color: transparent;
}

.service-card.featured h3 { color: white; }
.service-card.featured p { color: rgba(255,255,255,0.85); }
.service-card.featured .service-link { color: var(--gold); }

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 20px;
}

.service-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: gap 0.3s;
}

.service-link:hover { color: var(--green-light); }

/* ===== ABOUT ===== */
.about {
  padding: 96px 24px;
  background: white;
}

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

.about-image {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 480px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2d7a3a, #4caf50, #81c784);
  position: relative;
  overflow: hidden;
}

.about-logo-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  aspect-ratio: 1;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 56px rgba(0,0,0,0.22);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-img-main:hover .about-logo-circle {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 24px 64px rgba(0,0,0,0.30);
}

.about-logo-img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--green-dark);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}

.badge-num {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.badge-text {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.about-content { padding-right: 20px; }

.about-content h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.3;
}

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

.about-list {
  list-style: none;
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--green-pale);
  color: var(--green);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.about-info {
  background: var(--gray);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
}

.info-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.info-item:last-child { border-bottom: none; padding-bottom: 0; }

.info-label { color: var(--text-light); font-weight: 600; }
.info-value { color: var(--text); font-weight: 700; }

/* ===== GALLERY ===== */
.gallery {
  padding: 96px 24px;
  background: var(--gray);
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 16px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.g1 { background: linear-gradient(135deg, #1b5e20, #2e7d32); }
.g2 { background: linear-gradient(135deg, #2e7d32, #388e3c); }
.g3 { background: linear-gradient(135deg, #388e3c, #43a047); grid-column: span 1; }
.g4 { background: linear-gradient(135deg, #1a3a1a, #2d7a3a); }
.g5 { background: linear-gradient(135deg, #43a047, #4caf50); grid-column: span 1; }
.g6 { background: linear-gradient(135deg, #4caf50, #66bb6a); }

.gallery-item::before {
  content: '🌿';
  font-size: 80px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  opacity: 0.2;
  transition: transform 0.4s;
}

.gallery-item:hover::before {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 0.3;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h4 {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}

/* ===== PROCESS ===== */
.process {
  padding: 96px 24px;
  background: white;
}

.process-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.step {
  flex: 1;
  text-align: center;
  max-width: 220px;
}

.step-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--green-pale);
  line-height: 1;
  margin-bottom: 16px;
  -webkit-text-stroke: 2px var(--green-light);
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.step-content p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.step-arrow {
  font-size: 28px;
  color: var(--green-light);
  margin-top: 28px;
  flex-shrink: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 96px 24px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.section-header.light .section-tag {
  background: rgba(255,255,255,0.2);
  color: white;
}

.section-header.light h2 { color: white; }

.testimonials-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}

.testimonial-card:hover { transform: translateY(-4px); }

.stars {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  color: white;
  font-size: 15px;
}

.testimonial-author span {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

/* ===== CONTACT ===== */
.contact {
  padding: 96px 24px;
  background: var(--gray);
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  background: white;
  border-radius: 28px;
  padding: 56px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

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

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--green-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.5;
}

.contact-item.phone p {
  direction: ltr;
  text-align: right;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: var(--gray);
  transition: border-color 0.3s;
  outline: none;
  direction: rtl;
}

.form-group input[type="tel"] {
  direction: ltr;
  text-align: left;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-light);
  background: white;
}

.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
.footer {
  background: var(--green-dark);
  padding: 64px 24px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
}

.footer-legal {
  margin-top: 8px !important;
  font-size: 12px !important;
  color: rgba(255,255,255,0.4) !important;
}

.footer-links h4,
.footer-services h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

.footer-services li {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(45,122,58,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--green-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-container { grid-template-columns: 1fr; gap: 40px; }
  .about-content { padding-right: 0; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 12px;
  }
  .gallery-item { height: 200px; }
  .g3 { grid-column: span 2; }
  .process-steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(-90deg); margin: 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .contact-container { grid-template-columns: 1fr; padding: 36px 24px; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 600px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; right: 0; left: 0; background: white; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text); padding: 8px 0; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-item { height: 200px; }
  .g3 { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .about-list { grid-template-columns: 1fr; }
}
