/* =========================================
   Past Workshop Details specific styles
========================================= */

/* ----- COMMON HEADER/UNDERLINE ----- */
.section-header {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: #00ed64;
  margin: 10px auto 0 auto;
  border-radius: 50px;
}

/* ----- HERO SECTION ----- */
.workshop-details-hero {
  padding: 160px 0 80px;  /* Accommodates fixed navbar */
  background: linear-gradient(180deg, #001620, #001a25);
  position: relative;
  overflow: hidden;
}

.workshop-details-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at right 20%, rgba(0, 237, 100, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 16px;
  padding: 8px;
  background: rgba(17, 45, 58, 0.8);
  border: 1px solid rgba(0, 237, 100, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: 0.4s ease;
}

.hero-image-wrapper:hover {
  border-color: #00ed64;
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 237, 100, 0.15);
}

.workshop-poster {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.workshop-badge {
  background: rgba(0, 237, 100, 0.15);
  color: #00ed64;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  border: 1px solid rgba(0, 237, 100, 0.3);
}

.hero-main-title {
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.hero-subtext {
  color: #00ed64;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-description {
  color: #8aa3b0;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
}

.workshop-meta {
  display: flex;
  gap: 15px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.workshop-meta span {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(17, 45, 58, 0.6);
  padding: 12px 20px;
  border-radius: 12px;
  color: #bacbb7;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.workshop-price {
  font-size: 1.8rem;
  color: #001620;
  font-weight: 800;
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(90deg, #00ed64, #00c853);
  border-radius: 50px;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0, 237, 100, 0.3);
  letter-spacing: 1px;
}

/* ----- TOPICS COVERED ----- */
.workshop-section {
  padding: 80px 0;
  background: #001a25;
}

.feature-card {
  background: rgba(17, 45, 58, 0.4);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #1d3846;
  color: #e5e7eb;
  transition: 0.3s ease-in-out;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}

.feature-card i {
  color: #00ed64;
  font-size: 1.5rem;
  background: rgba(0, 237, 100, 0.1);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}

.feature-card:hover {
  background: rgba(17, 45, 58, 0.9);
  border-color: #00ed64;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 237, 100, 0.08);
}

.feature-card:hover i {
  background: #00ed64;
  color: #001620;
}

/* ----- STUDENTS SECTION ----- */
.students-section {
  padding: 100px 0;
  background: #001620;
  position: relative;
}

.student-card {
  background: rgba(17, 45, 58, 0.6);
  backdrop-filter: blur(16px);
  padding: 35px 25px;
  border-radius: 20px;
  border: 1px solid rgba(0, 237, 100, 0.1);
  text-align: center;
  transition: 0.4s ease-in-out;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.student-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00ed64, transparent);
  opacity: 0;
  transition: 0.4s;
}

.student-card:hover::before {
  opacity: 1;
}

.student-card:hover {
  transform: translateY(-10px);
  border-color: #00ed64;
  background: rgba(17, 45, 58, 0.9);
  box-shadow: 0 20px 40px rgba(0, 237, 100, 0.12);
}

.student-img {
  width: 120px;
  height: 130px;
  border-radius: 12px; /* changed from 50% to square */
  object-fit: cover;
  border: 2px solid #00ed64;
  padding: 2px;
  margin: 0 auto 20px auto;
  display: block;
}

.student-card h5 {
  color: white;
  margin-bottom: 5px;
  font-size: 1.3rem;
  font-weight: 700;
}

.student-domain {
  color: #00ed64;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.student-info-bottom {
  margin-top: auto;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.student-college {
  color: #8aa3b0;
  font-size: 0.85rem;
  margin: 0;
}

.student-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 119, 181, 0.15);
  color: #0077b5;
  font-size: 1.1rem;
  transition: 0.3s;
  text-decoration: none;
}

.student-linkedin:hover {
  background: #0077b5;
  color: white;
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}


/* ----- FAQ SECTION ----- */
.faq-section {
  padding: 100px 0;
  background: #001a25;
}

.faq-item {
  background: rgba(17, 45, 58, 0.6);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid #1d3846;
  transition: 0.3s ease;
  cursor: pointer;
}

.faq-item:hover {
  border-color: #00ed64;
  background: rgba(17, 45, 58, 0.9);
  transform: translateX(10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.faq-item h5 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.faq-item p {
  color: #8aa3b0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}


/* ----- CTA / LEAD SECTION ----- */
.lead-section {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(180deg, #001620, #002230);
  border-top: 1px solid rgba(0, 237, 100, 0.1);
  border-bottom: 1px solid rgba(0, 237, 100, 0.1);
  position: relative;
}

.lead-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: rgba(0, 237, 100, 0.08);
  filter: blur(120px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.lead-section h2 {
  color: white;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.lead-section p {
  color: #8aa3b0;
  font-size: 1.2rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.btn-primary-custom {
  background: linear-gradient(90deg, #00ed64, #00c853);
  color: #001620;
  padding: 18px 45px;
  border-radius: 50px;
  display: inline-block;
  font-weight: 800;
  font-size: 1.1rem;
  transition: 0.3s;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.btn-primary-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 237, 100, 0.4);
  color: #001620;
}

/* ----- RESPONSIVENESS ALIGNMENTS ----- */
@media (max-width: 992px) {
  .hero-main-title {
    font-size: 2.6rem;
  }
  .workshop-details-hero {
    padding: 120px 0 60px;
    text-align: center;
  }
  .workshop-meta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 2.2rem;
  }
  .workshop-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .lead-section h2 {
    font-size: 2rem;
  }
  .student-card {
    padding: 25px 15px;
  }
  .faq-item:hover {
    transform: none; /* Turn off X-translation on small screens to prevent overflow */
  }
}
