body {
  background: url("../IMG/rsz_mock-up-poster-frame-childs-room.jpg");
  background-size: cover;        /* تخلي الصورة تغطي كل الشاشة */
  background-repeat: no-repeat;  /* تمنع تكرار الصورة */
  background-position: center;   /* تخلي الصورة في المنتصف */
  background-attachment: fixed;  /* دي اللي بتثبت الصورة */             /* عشان الخلفية تمتد بطول الصفحة */
  scroll-behavior: smooth;       /* سكرول ناعم */
  overflow-y:scroll ;
  max-width: 100%;
  overflow-X: hidden;
}

main{
    margin-top: 150px;
    max-width: 100%;
    overflow-X: hidden;
    min-height: 73vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-body .date{
  color: var(--secondary-color);
}
.modal-body .location{
  color: var(--primary-color);
}
.modal-body .content{
  color: var(--dark-color);
}
.hero-section {
  color: white;
  padding: 80px 0;
  margin-bottom: 40px;
}
.hero-section .hero-head{
  color: var(--secondary-color);
}
.section-title{
  font-size: 40px;
  color: var(--secondary-color);
  font-weight: 600;
}

.section-title {
  position: relative;
  margin-bottom: 10px;
  /* padding-bottom: 15px; */
}
.section-title +p{
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.card-item {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
    height: 100%;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-card {
    border-top: 4px solid var(--accent-color);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-badge {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498db;
}
.card-title{
  color: var(--secondary-color);
}
.card-text{
  color: var(--dark-color);
}
.sub-title{
  color: var(--text-color);
}
.date-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
}

@media (max-width:500px) {
  .section-title {
    font-size: 35px;
  }
  .section-title +p{
    font-size: 16px;
  }
}