
:root {
  --primary: #2E7D32;
  --primary-dark: #1B5E20;
  --primary-soft: #E8F5E9;
  --white: #ffffff;
  --light: #F5F7FA;
  --section-bg: #F8FAF8;
  --text: #222222;
  --gray: #777777;
  --radius: 22px;
  --shadow: 0 15px 40px rgba(0, 0, 0, .08);
  --transition: .35s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  font-family: "Cairo", sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}


/* الأزرار العامة */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

.btn-light:hover {
  background: #f1f1f1;
}


/* الواجهة الرئيسية */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  background:
    linear-gradient(
      rgba(16, 35, 16, .72),
      rgba(46, 125, 50, .42)
    ),
    url("images/hero.jpg") center center / cover;

  animation: heroZoom 18s infinite alternate;
}

.overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 950px;
  color: #fff;
}

.badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
  font-weight: 700;
}

.hero h1 {
  margin: 25px auto 30px;
  font-size: 58px;
  line-height: 1.5;
  font-weight: 800;
}

.hero p {
  max-width: 850px;
  margin: 0 auto 40px;
  font-size: 21px;
  line-height: 2.1;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.scroll {
  position: absolute;
  bottom: 35px;
  left: 50%;
  color: #fff;
  font-size: 28px;
  transform: translateX(-50%);
  animation: float 2s infinite;
}

@keyframes heroZoom {
  from {
    background-size: 100%;
  }

  to {
    background-size: 108%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 10px);
  }
}


/* عناوين الأقسام */
.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title span {
  display: inline-block;
  padding: 8px 18px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.section-title h2 {
  margin-bottom: 25px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.5;
}

.section-title p {
  color: var(--gray);
  font-size: 17px;
  line-height: 2.2;
}


/* قسم التعريف */
.intro-section {
  padding: 130px 0;
  background: #fff;
}

.intro-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.info-card {
  padding: 45px 35px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(46, 125, 50, .16);
}

.info-icon {
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: var(--primary-soft);
  font-size: 27px;
}

.info-card h3 {
  margin-bottom: 20px;
  color: var(--primary-dark);
  font-size: 25px;
  font-weight: 800;
}

.info-card p {
  color: var(--gray);
  font-size: 16px;
  line-height: 2.3;
}


/* قسم المستودعات */
.comparison-section {
  padding: 130px 0;
  background: var(--section-bg);
}

.comparison-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  align-items: stretch;
}


/* تحويل كروت المستودعات إلى ثلاثة أعمدة */
.warehouse-cards {
  grid-template-columns: repeat(3, 1fr);
}

.comparison-card {
  position: relative;
  padding: 40px 30px;
  background: linear-gradient(145deg, #ffffff, #f8fbf8);
  border: 1px solid rgba(46, 125, 50, .10);
  border-radius: 26px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.comparison-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 50px rgba(46, 125, 50, .16);
}

.comparison-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(145deg, #ffffff, #edf8ef);
}

.recommended-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.warehouse-number {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.comparison-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  font-size: 30px;
}

.comparison-card h3 {
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-size: 25px;
  font-weight: 800;
}

.warehouse-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 25px;
  color: var(--primary-dark);
}

.warehouse-price strong {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
}

.warehouse-price span {
  color: var(--gray);
  font-size: 13px;
  font-weight: 700;
}

.comparison-card ul {
  flex: 1;
  padding-right: 25px;
  margin-bottom: 30px;
  text-align: right;
}

.comparison-card li {
  margin-bottom: 13px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 2.2;
}

.comparison-card li::marker {
  color: var(--primary);
}

.warehouse-card {
  display: flex;
  flex-direction: column;
}

.warehouse-card .contact-actions {
  width: 100%;
  margin-top: auto;
}

.warehouse-card .contact-btn {
  flex: 1;
}


/* المميزات */
.why-section {
  padding: 130px 0;
  background: #fff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.benefit-card {
  padding: 40px 30px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-8px);
}

.benefit-card > i {
  display: block;
  margin-bottom: 22px;
  font-size: 32px;
  font-style: normal;
}

.benefit-card h3 {
  margin-bottom: 15px;
  font-size: 21px;
  font-weight: 800;
}

.benefit-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 2.2;
}

.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 45px;
  padding: 25px 30px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.notice-box > i {
  margin-top: 5px;
  font-size: 22px;
  font-style: normal;
}

.notice-box p {
  font-size: 14px;
  line-height: 2.2;
}


/* قسم التواصل */
#contact {
  padding: 130px 0;
  background: #fff;
}

.contact-box {
  padding: 45px 35px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.contact-item {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 22px;
  background: linear-gradient(145deg, #ffffff, #f7faf7);
  border: 1px solid rgba(46, 125, 50, .12);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), #25D366);
}

.contact-item:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 125, 50, .3);
  box-shadow: 0 18px 40px rgba(46, 125, 50, .14);
}

.contact-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 600;
}

.contact-item h3 {
  direction: ltr;
  margin-bottom: 22px;
  color: var(--primary-dark);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .5px;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-item .contact-actions {
  width: 100%;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}

.contact-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

.contact-btn.whatsapp {
  background: #25D366;
}

.contact-btn.whatsapp:hover {
  background: #128C7E;
}


/* أزرار المواقع */
.map-actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 42px;
}

.map-actions .btn {
  min-width: 190px;
  box-shadow: 0 8px 20px rgba(46, 125, 50, .12);
}


/* التذييل */
footer {
  padding: 70px 20px;
  background: #173C1C;
  color: #fff;
  text-align: center;
}

footer h2 {
  margin-bottom: 25px;
  font-size: 32px;
}

footer p {
  margin-top: 12px;
  opacity: .8;
  line-height: 2.2;
}


/* الزر العائم */
.floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 13px 22px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;

  box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
  font-size: 14px;
  transition: var(--transition);
  animation: pulse 3s infinite;
}

.floating:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

.floating b {
  font-size: 20px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, .45);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(46, 125, 50, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
  }
}


/* الحركة عند التمرير */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .7s ease,
    transform .7s ease;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

.floating-active {
  box-shadow: 0 12px 35px rgba(46, 125, 50, .35);
}


/* الشاشات المتوسطة */
@media (max-width: 1100px) {
  .warehouse-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-numbers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 50px;
  }

  .intro-content {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* الجوال */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
    line-height: 1.7;
  }

  .hero p {
    font-size: 16px;
    line-height: 2;
  }

  .section-title {
    margin-bottom: 50px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .section-title p {
    font-size: 15px;
  }

  .intro-section,
  .comparison-section,
  .why-section,
  #contact {
    padding: 90px 0;
  }

  .warehouse-cards {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 30px 20px;
  }

  .map-actions {
    flex-direction: column;
  }

  .map-actions .btn {
    width: 100%;
  }

  .floating {
    width: 60px;
    height: 60px;
    padding: 0;
  }

  .floating span {
    display: none;
  }
}


/* الجوال الصغير */
@media (max-width: 400px) {
  .hero h1 {
    font-size: 29px;
  }

  .hero p {
    font-size: 15px;
  }

  .contact-item h3 {
    font-size: 21px;
  }

  .contact-item .contact-actions {
    flex-direction: row;
  }

  .contact-btn {
    min-width: 105px;
  }
}