/* --- Curriculum Section ---- */
.curriculum-section {
  text-align: center;
  padding: 40px 20px;
}

/* CENTERED narrow vertical cards */
.curriculum-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* Vertical rectangle card */
.curriculum-card {
  width: 350px;         /* ⭐ Change this to adjust width */
  height: 300px;        /* ⭐ Change this to adjust height */
  position: relative;
  padding: 25px;
  border-radius: 12px;
  color: white;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Overlay */
.curriculum-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 0;
}

/* Content */
.curriculum-card-content {
  position: relative;
  z-index: 1;
}

/* Heading */
.curriculum-card h3 {
  color: #ffcc66;
  margin-bottom: 12px;
  font-size: 28px;
}

/* List */
.curriculum-card ul {
  text-align: left;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.4;
}

/* Button */
.download-btn {
  display: inline-block;
  background: #ff8800;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
  font-weight: bold;
  margin-top: 10px;
}

.download-btn:hover {
  background: #003366;
}

/* Card hover animation */
.curriculum-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.curriculum-card:hover {
  transform: translateY(-8px) scale(1.03);     /* lift + zoom */
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);    /* stronger shadow */
}


/*courses*/
.ctv-workshop {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  
  padding: 60px 30px;
  color: #fff;
 background:
    radial-gradient(1200px circle at 10% 20%, rgba(91, 33, 182, 0.25), transparent 40%),
    radial-gradient(1000px circle at 90% 30%, rgba(14, 165, 233, 0.18), transparent 45%),
    radial-gradient(800px circle at 50% 80%, rgba(255, 204, 102, 0.12), transparent 40%),
    linear-gradient(135deg, #020617, #020617, #020617);
  border-radius: 20px;

  max-width: 1600px;   /* 🔥 controls how wide it gets */
  margin: 40px auto;   /* centers it */
}

.ctv-left {
  width: 40%;
  margin-right:20px;
}

.ctv-lefts {
  display: flex;
    justify-content: center;   /* 👈 centers both buttons */
  align-items: center;
  margin-top: 25px;
  gap: 20px; 
}


.ctv-left h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.ctv-left p {
  font-size: 16px;
  opacity: 0.9;
    text-align: justify;       /* Justify the paragraph text */
}

.perks {
  margin: 20px 0;
  line-height: 1.8;
  font-size: 16px;
  opacity: 0.95;
  list-style: none;
  padding: 0;
  
}

.cta-btn {
  display: inline-block;
  padding: 12px 22px;
background: transparent;
  color: white;
  border: 2px solid rgba(245, 158, 11, 0.7);
  text-decoration: none;
  margin-top: 10px;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.3s;
  
}

.cta-btn:hover {
  background: #f59e0b;
}

.cta-btn1 {
  display: inline-block;
  padding: 12px 22px;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #fff;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.35);
  border: 2px solid rgba(245, 158, 11, 0.7);
  text-decoration: none;
  margin-top: 10px;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.3s;
  
}

.cta-btn:hover {
  background: #f59e0b;
}


/* Cards section */
.ctv-cards {
  display: flex;
  gap: 20px;
  width: 55%;
}

.ctv-card {
  background: #252a3f;
  padding: 20px;
  border-radius: 15px;
  width: 32%;
  transition: 0.3s;
}

.ctv-card:hover {
  transform: translateY(-5px);
  background: #2e3245;
}

.ctv-card h3 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
}

.ctv-card p {
  font-size: 14px;
  opacity: 0.8;
}

/* Placeholder images (replace with your own images later) */
.card-img {
  height: 120px;
  width: 100%;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}


.wr {
  font-size: 36px;
  font-weight: 700;
  color: #003366;     /* white text */
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  .ctv-workshop {
    flex-direction: column;
    text-align: center;
  }

  .ctv-left, .ctv-cards {
    width: 100%;
  }

  .ctv-cards {
    flex-direction: column;
  }

  .ctv-card {
    width: 100%;
  }
}

/* --- Mobile Responsive Design --- */

/* For tablets & medium screens */
@media (max-width: 900px) {
  .curriculum-grid {
    gap: 20px;
  }

  .curriculum-card {
    width: 300px;
    height: auto;   /* allow content to expand naturally */
    padding: 20px;
  }

  .curriculum-card h3 {
    font-size: 24px;
  }

  .curriculum-card ul {
    font-size: 14px;
  }
}

/* For small screens / mobile phones */
@media (max-width: 600px) {

  .curriculum-section {
    padding: 20px 10px;
  }

  .curriculum-grid {
    flex-direction: column;   /* stack cards vertically */
    align-items: center;
    gap: 20px;
  }

  .curriculum-card {
    width: 100%;              /* full width */
    max-width: 360px;
    height: auto;
    padding: 20px;
    border-radius: 10px;
  }

  .curriculum-card h3 {
    font-size: 22px;
  }

  .curriculum-card ul {
    font-size: 14px;
    padding-left: 16px;
  }

  .download-btn {
    padding: 8px 18px;
    font-size: 14px;
  }
   .hero.courses-hero h1 {
    font-size: 35px !important;
    line-height: 1.15;
    text-align: center;
  }
}






