




/* on the main background text */
/* on the main background text */
/* on the main background text */
/* on the main background text */
/* on the main background text */
.hero {
  direction: rtl;
  color: var(--white-color);
}



.backgroundtext {
  margin-top: 100px;
  width: 60%;
  margin-right:20px;
  z-index: 2;
  text-align: right;
  /* Make text scale with background using viewport width */
  font-size: 5vw;               /* 5% of viewport width */
}

/* Optional: clamp to avoid too small or too big text */
.backgroundtext h1 {
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 700;
  color: var(--white-color);
}

.backgroundtext p {
    margin-top: 20px;
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 100;
  text-align: justify;
}












/* paragraph below shapes */
/* paragraph below shapes */
/* paragraph below shapes */
/* paragraph below shapes */
/* paragraph below shapes */
.intro-section {
  background: var(--background-white-color);
  padding: 60px 70px;
  text-align: justify;
  direction: rtl;

}

.intro-container {
  max-width: 900px;
  margin: 0 auto;
}

.intro-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--green-color);
  margin-bottom: 20px;
}

.intro-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-color);
}



/* space above content for the paragraph below shapes */
#paragraphtetext {
  position: relative;
  padding-top: 120px; 
}

















/* coloring the single text on footer */
/* coloring the single text on footer */
/* coloring the single text on footer */
/* coloring the single text on footer */
/* coloring the single text on footer */
/* coloring the single text on footer */
#highlight-text {
  color: var(--white-color);
  transition: color 0.5s ease;
}

#highlight-text.active {
  color: var(--grey-color); /* new color when active */
}















/* from the courses file  */
/* from the courses file  */
/* from the courses file  */
/* from the courses file  */
/* from the courses file  */
/* from the courses file  */


.courses-section {
  direction: rtl;
  padding: 80px 20px;
  margin-top: 200px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.section-title {
  font-size: 36px;
  color: var(--green-color);
  margin-bottom: 50px;
}

/* Container for the cards */
.courses-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Each course card */
.course-card {
  background: var(--white-color);
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  width: 300px;
  padding: 30px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}

.course-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.15);
}

/* Animated shapes */
.course-shape {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-color);
  animation: pulse 2s infinite;
}

.course-card.vip .course-shape {
  border-radius: 20%; /* VIP has a different shape */
  background: var(--background-green-color);
  animation: float 2.5s infinite;
}

/* Pulse animation for group */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Float animation for VIP */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Course card text */
.course-card h3 {
  margin: 15px 0 10px;
  color: var(--green-color);
}

.course-card p {
  font-size: 14px;
  color: var(--grey-color);
  line-height: 1.6;
}

/* Button */
.course-card .btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  color: var(--white-color);
  background: var(--green-color);
  transition: background 0.3s;
}

.course-card .btn:hover {
  background: var(--background-green-color);
}
