html,body {
  scroll-behavior: smooth;
}
body {
  overflow-y: auto;
}
/* ul li {
  list-style-type: disc;
} */
/* ======================================
   Reveal Animation (Soft Entrance)
====================================== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal 0.6s ease-out forwards;
}

.reveal.delay-1 {
  animation-delay: 0.1s;
}
.reveal.delay-2 {
  animation-delay: 0.2s;
}
.reveal.delay-3 {
  animation-delay: 0.3s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== End Reveal Animation ===== */

/* ======================================
   Shared Hover Utilities
====================================== */
.card-hover {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.icon-hover {
  transition: transform 0.3s ease;
}

.card-hover:hover .icon-hover {
  transform: scale(1.15);
}
/* ===== End Hover Utilities ===== */

/* ======================================
   Shared Container
====================================== */
.container {
  max-width: 1140px;
  margin: auto;
}
/* ===== End Container ===== */

/* ======================================
   Services Section
====================================== */
.services-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(to bottom, #166534, #16a34a);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.75rem;
  font-weight: bold;
  color: #fff;
}

/* Grid */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card */
.service-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid #86efac;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  border-color: #22c55e;
}

/* Icon */
.service-card .icon-hover {
  color: #15803d;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Text */
.service-card h3 {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-card p {
  color: #4b5563;
  line-height: 1.6;
}
/* ===== End Services Section ===== */

/* ======================================
   Availability Calendar Section
====================================== */
#calendar-section {
  scroll-margin-top: 80px; /* ارتفاع النافبار */
}
.calendar-section {
  padding: 4rem 1.5rem;
  background-color: #16a34a;
}

/* Header */
.calendar-header {
  text-align: center;
  margin-bottom: 3rem;
}

.calendar-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.calendar-title i {
  font-size: 2rem;
  color: #166534;
}

.calendar-title h2 {
  font-size: 1.75rem;
  font-weight: bold;
}

.calendar-header p {
  color: #4b5563;
}

/* Legend */
.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.legend-box.full {
  background-color: #12df5d;;
}

.legend-box.partial {
  background-color: #f97316;
}

/* Grid */
.calendar-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .calendar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .calendar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Day Card */
.day-card {
  cursor: pointer;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.day-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.day-full {
  border-color: #16a34a;
  background-color: #dcfce7;
}

.day-partial {
  border-color: #f97316;
  background-color: #ffedd5;
}

.day-name {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.day-full .day-name {
  color: #166534;
}

.day-partial .day-name {
  color: #9a3412;
}

.day-status {
  font-size: 0.875rem;
  font-weight: 500;
}

.calendar-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}
/* ===== End Availability Calendar Section ===== */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
  transform: translateY(-20px);
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.toast.success { background-color: #4caf50; }  /* أخضر */
.toast.error   { background-color: #f44336; }  /* أحمر */
