/* =============================================================================
   Assess Page Specific Styles
   ========================================================================== */
.section.container .lead {
    font-size: 1rem;
    line-height: 1.7;
    color: #FFFFFF; 
    text-align: center; 
}

.section.container .lead + .lead,
.section.container p + p {
    margin-top: 1rem;
}


.page-assess .feature-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.page-assess .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
    background-color: #f7faff;
}


/* Image styling for fixed height and object-fit */
.page-assess .img-fixed-height-cover {
  height: 200px;
  object-fit: cover;
}

/* Unified Icon Style */
.page-assess .feature-icon {
    font-size: 2.5rem;
    color: var(--eduskill-primary);
    margin: 0 auto 15px auto;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: var(--eduskill-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background and padding for specific sections */
.page-assess .bg-light-blue-py-80 {
  background-color: #f0f8ff;
  padding: 80px 0;
}

.page-assess .final-cta-section .lead {
  color: var(--eduskill-text-dark);
}


/* Video Player Styles */
.page-assess .video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}
.page-assess .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.page-assess .video-sound-toggle {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}
.page-assess .video-sound-toggle:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Image Zoom Modal Styles */
.page-assess .zoomable-image {
  cursor: zoom-in;
  transition: transform 0.2s;
}
.page-assess .image-zoom-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}
.page-assess .image-zoom-modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  transition: transform 0.3s ease;
}
.page-assess .image-zoom-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}
.page-assess .image-zoom-close:hover,
.page-assess .image-zoom-close:focus {
  color: #bbb;
  text-decoration: none;
}
.page-assess #zoom-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 44, 44, 0.7);
  border-radius: 20px;
  padding: 5px;
  display: flex;
}
.page-assess #zoom-controls button {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
}
.page-assess #zoom-controls button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.page-assess #zoomInBtn {
  border-radius: 0 20px 20px 0;
}
.page-assess #zoomOutBtn {
  border-radius: 20px 0 0 20px;
}

/* How to Use Timeline Styling */
.page-assess .how-to-use-timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px 0;
}
.page-assess .how-to-use-timeline::before {
  content: '';
  position: absolute;
  width: 3px;
  background-color: var(--eduskill-primary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}
.page-assess .timeline-item {
  padding: 2px 40px;
  position: relative;
  width: 50%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.page-assess .timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.page-assess .timeline-item:nth-child(odd) { left: 0; }
.page-assess .timeline-item:nth-child(even) { left: 50%; }
.page-assess .timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: white;
  border: 4px solid var(--eduskill-primary);
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}
.page-assess .timeline-item:nth-child(even)::after { left: -10px; }
.page-assess .timeline-content {
  padding: 15px 25px;
  background-color: #ffffff;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-assess .timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.page-assess .timeline-content h3 {
  color: var(--eduskill-primary);
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.page-assess .timeline-content p {
  color: #5f6cdff8;
  font-size: 0.95rem;
}

/* Responsive Timeline */
@media screen and (max-width: 768px) {
  .page-assess .how-to-use-timeline::before {
    left: 20px;
  }
  .page-assess .timeline-item, .page-assess .timeline-item:nth-child(even) {
    width: 100%;
    padding-left: 60px;
    padding-right: 15px;
    left: 0;
  }
  .page-assess .timeline-item::after, .page-assess .timeline-item:nth-child(even)::after {
    left: 10px;
  }
}