* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --teal-1: #3ec6ca;
  --teal-2: #3ec6ca;
  --muted: #495057;
}

body {
  font-family: "Noto Sans Arabic", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  direction: rtl;
}
.header-inner {
  display: flex;
  width: 100%;
  max-width: 1400px;
  justify-content: space-between;
  align-items: center;
}

.header {
  display: flex;
  position: absolute;
  gap: 55rem;
  align-items: center;
}

.logo {
  max-width: 180px;
  width: 13vw;
  margin-top: -30px;
}

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-decoration: none;
  margin-right: 2rem;
  transition:
    transform 180ms ease,
    box-shadow 220ms ease;
  white-space: nowrap;
}

.main-nav-link:hover {
  background-color: #ffffff;
  color: #3ec6ca;
  padding: 9px 2.2rem;
  border-radius: 28px;
  transform: translateY(-4px);
}

.main-nav-link:active {
  transform: translateY(1px);
}

.home-1 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;

  height: 100vh;
}

.home-img1 {
  width: 25rem;
  height: 21rem;
}

.home-img2 {
  width: 66rem;
  height: 100vh;
  display: flex;
  justify-self: flex-end;
  position: absolute;
}

.home-text {
  margin-top: 50px;
}

.home-text h1 {
  color: #495057;
  font-size: 2.5rem;
  font-weight: 760;
  line-height: 4rem;
  letter-spacing: -0.5px;
}

.home-text p {
  color: #495057;
  font-size: 20px;
  font-weight: 700;
  margin-top: 20px;
  letter-spacing: 0.5px;
}

.home-text span {
  color: #3ec6ca;
}

.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.5px;
  font-size: 1.2rem;
  padding: 9px 2.2rem;
  border-radius: 28px;
  margin-top: 30px;
  transition:
    transform 180ms ease,
    box-shadow 220ms ease;
}

.btn--big:link,
.btn--big:visited {
  background-color: #3ec6ca;
  color: white;
  margin-left: 20px;
}

.btn--big2:link,
.btn--big2:visited {
  background-color: white;
  color: #3ec6ca;
  border: 3px solid #3ec6ca;
  padding: 0.38rem 3.669rem;
}

.btn--big:hover {
  background-color: white;
  color: #3ec6ca;
  border: 3px solid #3ec6ca;
  padding: 6px 2rem;
  transform: translateY(-4px);
}

.btn--big2:hover {
  background-color: #3ec6ca;
  color: white;
  transform: translateY(-4px);
}

.btn:active {
  transform: translateY(1px);
}

.section-home2 {
  background-color: #f4f8ff;
  min-height: 55vh;
  padding-bottom: 50px;
}

.section-home2 h1 {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  color: #495057;
  padding-top: 40px;
  margin-bottom: 50px;
}

.home-2 {
  color: #495057;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 16px;
}

.home-2 img {
  width: 60px;
  height: auto;
}

.home-2 p strong {
  font-size: 17px;
  font-weight: 800;
}

.home-2 p {
  font-size: 0.9rem;
  font-weight: 720;
}

.cleaning-services {
  color: #495057;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  text-align: center;
  min-height: 50vh;
  padding: 60px 0;
}

.servicing h1 {
  font-size: 2rem;
  font-weight: 900;
}

.servicing span {
  color: #3ec6ca;
}

.servicing p {
  font-size: 20px;
  font-weight: 700;
}

.servicing a:link,
.servicing a:visited {
  display: inline-block;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.5px;
  font-size: 1.2rem;
  padding: 9px 2.2rem;
  margin-top: 20px;
  border-radius: 28px;
  transition:
    transform 180ms ease,
    box-shadow 220ms ease;
}

.servicing a:link,
.servicing a:visited {
  background-color: #3ec6ca;
  color: white;
}

.servicing a:hover {
  background-color: white;
  color: #3ec6ca;
  border: 3px solid #3ec6ca;
  padding: 6px 2rem;
  transform: translateY(-4px);
}

.servicing a:active {
  transform: translateY(1px);
}

.part1 {
  background-color: #ffffff;
}

.part2 {
  background-color: #f4f8ff;
}

.services img {
  width: 55%;
  height: 100%;
}

.container-all {
  height: auto;
  padding-bottom: 50px;
}

.container-all h1 {
  color: #495057;
  font-size: 2.8rem;
  font-weight: 900;
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.color1 {
  background-color: #ffffff;
}

.color2 {
  background-color: #f4f8ff;
}

.container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* السماح بالتفاف العناصر */
  gap: 10rem;
  /* تقليل المسافة الكبيرة بين البطاقات */
  padding: 2rem 0 4rem 0;
  /* مسافات داخلية مناسبة بدلاً من الطول الثابت */
}

.meal {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
  border-radius: 20px;
  overflow: hidden;
  width: 250px;
  /* تصغير الكارت أكثر */
  background-color: #fff;
}

.meal img {
  width: 100%;
  height: 160px;
  /* تصغير الصورة */
  object-fit: cover;
}

.meal-content {
  padding: 0.5rem;
  margin-right: 12px;
  color: #495057;
}

.meal-title {
  font-size: 1.5rem;
  /* تصغير الاسم */
  font-weight: 800;
  margin-bottom: 8px;
}

.meal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.meal li {
  font-size: 1.1rem;
  /* تصغير النصوص */
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.meal-icon {
  width: 1.4rem;
  /* تصغير الأيقونات */
  height: 1.4rem;
  color: #3ec6ca;
}

.chair-price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.3rem;
  /* تقليل المسافة بين السعر والزر */
  margin-left: 18px;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}

.chair-price a:link,
.chair-price a:visited {
  display: inline-block;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.5px;
  font-size: 1rem;
  /* تصغير خط الزر */
  padding: 0px 2.5rem;
  /* تصغير الزر */
  margin-top: 20px;
  border-radius: 28px;
  transition:
    transform 180ms ease,
    box-shadow 220ms ease;
}

.chair-price a:link,
.chair-price a:visited {
  background-color: #3ec6ca;
  color: white;
}

.chair-price a:hover {
  background-color: white;
  color: #3ec6ca;
  border: 3px solid #3ec6ca;
  padding: 0px 1.5rem;
  transform: translateY(-4px);
}

.servicing a:active {
  transform: translateY(1px);
}

.chair-price strong {
  font-size: 1.3rem;
  font-weight: 900;
  margin-top: 20px;
}

.chair-price strong span {
  font-size: 0.9rem;
  font-weight: 800;
  margin-left: 5px;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 80px;
  min-height: 65vh;
  margin-top: 0;
  /* نزول الفوتر للأسفل لإظهار المحتوى فوقه */
  padding: 30px 0;
  background-color: #76d6da;
  color: #ffffff;
}

.logo-col,
.link {
  position: relative;
  z-index: 2;
  /* لجعل النصوص فوق صورة الموجة */
}

.logo1 {
  width: 25%;
  height: auto;
  margin-top: 20px;
}

.copyright {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 2rem;
}

.link {
  margin-top: 20px;
}

.link p {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

ul {
  list-style: none;
}

.link ul li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.87rem;
  font-weight: 800;
  line-height: 2.2rem;
  letter-spacing: 0.5px;
}

.link ul li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 2.2rem;
}

.link ul li img {
  width: 12%;
  height: 12%;
}

.footer-img {
  position: absolute;
  z-index: 1;
  left: 0%;
  top: 0%;
  width: 92%;
  height: 32%;
}

/* ===========================
   Mobile Responsive Styles
   =========================== */
@media (max-width: 768px) {
  /* Header */
  .header {
    position: relative !important;
    width: 100% !important;
    padding: 15px !important;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    margin-top: 0 !important;
  }

  .header-inner {
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .logo {
    max-width: 120px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-nav {
    width: 100% !important;
    margin-top: 10px !important;
    padding-bottom: 5px !important;
    display: flex;
    justify-content: center !important;
  }

  .main-nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 0.85rem !important;
    padding: 8px 16px !important;
    white-space: nowrap;
    color: #2ea3a7 !important;
    border: 2px solid rgba(46, 163, 167, 0.3) !important;
    /* Elegant outline */
    border-radius: 30px !important;
    /* Stunning pill shape */
    background: transparent !important;
    transition: all 0.3s ease !important;
    font-weight: 800 !important;
  }

  .main-nav-link.active-nav {
    background: linear-gradient(135deg, #3ec6ca 0%, #2ea3a7 100%) !important;
    color: #fff !important;
    border: 2px solid transparent !important;
    box-shadow: 0 4px 10px rgba(62, 198, 202, 0.3) !important;
    /* Premium glow overlay */
  }

  /* Hero Section */
  .section-home1 {
    padding: 20px 0 !important;
  }

  .home-1 {
    flex-direction: column !important;
    height: auto !important;
    padding: 20px 15px !important;
    text-align: center !important;
    gap: 20px;
  }

  .home-img1 {
    width: 80% !important;
    height: auto !important;
    max-width: 300px !important;
    order: -1;
  }

  .home-img2 {
    width: 100% !important;
    height: 50vh !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
  }

  .home-text {
    margin-top: 0 !important;
    padding: 0 10px;
  }

  .home-text h1 {
    font-size: 2rem !important;
  }

  .home-text p {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
  }

  .btn,
  .btn--big,
  .btn--big2 {
    font-size: 0.95rem !important;
    padding: 12px 20px !important;
    margin: 5px !important;
  }

  /* Features Section */
  .section-home2 {
    padding: 60px 20px !important;
    background-color: #f8fbff !important;
  }

  .section-home2 h1 {
    font-size: 2rem !important;
    text-align: center !important;
    margin-bottom: 40px !important;
    line-height: 1.3 !important;
    color: #333 !important;
  }

  .home-2 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .home-2 > div {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center !important;
    transition: transform 0.3s ease;
  }

  .home-2 > div:active {
    transform: scale(0.98);
  }

  .home-2 img {
    width: 70px !important;
    height: auto !important;
    margin-bottom: 20px !important;
  }

  .home-2 p strong {
    display: block;
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
    color: #495057 !important;
  }

  .home-2 p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #666 !important;
    margin: 0 !important;
  }

  /* Cleaning/Maintenance Sections - AGGRESSIVE SPACING */
  .cleaning-services {
    flex-direction: column !important;
    display: flex !important;
    padding: 0 20px 80px 20px !important;
    /* Added large bottom padding */
    text-align: center !important;
    gap: 20px !important;
    min-height: auto !important;
    height: auto !important;
    margin: 0 !important;
    position: relative !important;
  }

  .cleaning-services.part2 {
    flex-direction: column-reverse !important;
    border-top: 2px solid #f0f0f0;
    padding-top: 100px !important;
    /* Huge gap between cleaning and maintenance */
    background-color: #f9fbff !important;
  }

  .cleaning-services .services {
    width: 100% !important;
    margin-bottom: 20px !important;
    display: block !important;
  }

  .services img {
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .servicing {
    width: 100% !important;
    padding: 20px 0 !important;
  }

  .servicing h1 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    padding: 0 10px !important;
  }

  .servicing p {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
    padding: 0 15px !important;
  }

  .servicing p br {
    display: none !important;
  }

  .servicing a:link,
  .servicing a:visited {
    margin-top: 10px !important;
    margin-bottom: 40px !important;
    /* Massive margin below button */
    display: inline-block !important;
    width: 80% !important;
    max-width: 250px !important;
  }

  /* Section Titles (e.g. قسم النظافة) - BIG CLEARANCE */
  .container-all {
    padding-top: 120px !important;
    /* HUGE clearance from section above */
    padding-bottom: 50px !important;
    margin-top: 50px !important;
    height: auto !important;
  }

  .container-all h1 {
    font-size: 2.3rem !important;
    margin: 0 0 40px 0 !important;
    text-align: center !important;
    padding: 0 !important;
    width: 100% !important;
    line-height: 1.2 !important;
  }

  /* Service Cards Container */
  .container {
    display: flex !important;
    flex-direction: column !important;
    gap: 3.5rem !important;
    gap: 3rem !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
  }

  /* Individual Service Cards - OVERRIDE FIXED DESKTOP HEIGHT */
  .meal {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    /* CRITICAL FIX: Overrides desktop 480px */
    min-height: unset !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 auto 30px auto !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  .meal > img:first-child {
    height: 200px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 12px 12px 0 0 !important;
  }

  .meal-content {
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    flex-grow: 1 !important;
  }

  .meal-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
  }

  .meal ul {
    margin-bottom: 25px !important;
    gap: 12px !important;
  }

  .meal li {
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .meal-icon {
    width: 1.6rem !important;
    height: 1.6rem !important;
    min-width: 1.6rem !important;
  }

  .chair-price {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    padding-top: 20px !important;
    border-top: 1px solid #f0f0f0 !important;
    width: 100% !important;
  }

  .chair-price a:link,
  .chair-price a:visited {
    padding: 12px 24px !important;
    font-size: 1rem !important;
    border-radius: 50px !important;
    min-width: 140px !important;
    text-align: center !important;
    background-color: #3ec6ca !important;
    color: white !important;
  }

  .chair-price strong {
    font-size: 1.6rem !important;
    display: flex !important;
    align-items: center !important;
  }

  .chair-price strong span {
    font-size: 1rem !important;
    margin-left: 5px !important;
  }

  /* Footer */
  .footer {
    flex-direction: column !important;
    gap: 25px !important;
    padding: 40px 20px !important;
    text-align: center !important;
    position: relative !important;
    margin-top: 50px !important;
  }

  .footer-img {
    width: 100% !important;
    height: 35% !important;
    top: -10% !important;
  }

  .logo1 {
    width: 45% !important;
    max-width: 130px !important;
    margin: 0 auto 15px auto !important;
    display: block !important;
  }

  .link {
    width: 100% !important;
    text-align: center !important;
    margin-top: 0 !important;
  }

  .link ul li {
    justify-content: center !important;
    font-size: 0.95rem !important;
  }

  .copyright {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
    max-width: 320px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
  }
}
