/* Sections Slider Styles for index-v3 */

.sections-section {
  padding: 0px 0 80px 0;
  background-color: #fff;
  overflow-x: hidden; /* Add this to prevent horizontal scrolling */
}

.sections-heading {
  font-family: 'Adventure V1', sans-serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 84px;
  letter-spacing: -1.2px;
  vertical-align: middle;
  color: #1d1d1f;
  margin-bottom: 40px;
}

.sections-slider-container {
  position: relative;
  margin-bottom: 20px;
  overflow: visible;
  margin-left: 0;
  margin-right: -15px; /* Extend beyond container padding */
  padding-right: 0;
}

@media (min-width: 768px) {
  .sections-slider-container {
    margin-right: calc(-50vw + 50%); /* Extend to screen edge */
  }
}

.sections-slider {
  margin: 0 -10px;
  overflow: hidden; /* Change from visible to hidden to prevent horizontal scrolling */
}

.section-item {
  padding: 0 10px;
  /* Remove fixed width to let slick handle it */
}

.section-content {
  position: relative;
  border-radius: 10px;
  overflow: hidden;

  height: 700px;
  padding-bottom: 125%; /* Taller ratio for sections */
}

.section-content img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.section-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  color: #fff;
}

.section-number {
  font-family: var(--font-inter, sans-serif);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 5px;
  opacity: 0.9;
}

.section-title {
  font-family: var(--font-inter, sans-serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0;
}

/* Slick customization */
.sections-slider .slick-list {
  overflow: hidden; /* Change from visible to hidden */
  padding: 10px 0 !important;
 
}

.sections-slider .slick-track {
  display: flex;
  margin-left: 0;
}

.sections-slider .slick-slide {
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin-right: 0px;
  height:700px;
  width: 415px; /* Increased width for each slide since we're showing fewer */
}

.sections-slider .slick-slide:hover {
  transform: translateY(-5px);
}

/* Controls styling */
.sections-controls {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
  padding-right: 10px;
  position: relative;
  margin-right: 15px; /* Compensate for container extension */
}

@media (min-width: 768px) {
  .sections-controls {
    margin-right: 10vw; /* Compensate for slider extension */
  }
}

.sections-prev,
.sections-next {
  background: transparent;
  border: none;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}

.sections-prev svg,
.sections-next svg {
  width: 36px;
  height: 36px;
}

.sections-prev:hover,
.sections-next:hover {
  transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 1200px) {
  .sections-heading {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .sections-slider .slick-list {
    width: 78%; /* Adjusted for 1.5 slides */
  }
  
  .sections-slider .slick-slide {
    width: 340px;
  }
}

@media (max-width: 992px) {
  .sections-heading {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .sections-slider .slick-list {
    width: 75%; /* Adjusted for 1.5 slides */
  }
  
  .sections-slider .slick-slide {
    width: 320px;
  }
}

@media (max-width: 768px) {
  .sections-section {
    padding: 60px 0;
  }
  
  .section-content {
    height: 410px;
  }
  
  .sections-heading {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .section-overlay {
    padding: 20px 15px;
  }
  
  .section-title {
    font-size: 1.1rem;
  }
  
  .sections-prev,
  .sections-next {
    width: 30px;
    height: 30px;
  }
  
  .sections-prev svg,
  .sections-next svg {
    width: 30px;
    height: 30px;
  }
  
  .sections-slider .slick-list {
    width: 73%;
  }
  
  .sections-slider .slick-slide {
    width: 300px;
    height:auto;
  }
  
  .centered-heading-section h2 {
    font-family: Adventure V1;
    font-weight: 500;
    font-size: 40px !important;
    line-height: 38px !important;
    letter-spacing: -1.2px;
    text-align: center;
    vertical-align: middle;
  }
}

@media (max-width: 576px) {
  .sections-section {
    padding: 40px 0;
  }
  
  .sections-heading {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .section-overlay {
    padding: 15px 10px;
  }
  
  .section-number {
    font-size: 0.8rem;
  }
  
  .section-title {
    font-size: 1rem;
  }
  
  .sections-controls {
    margin-top: 15px;
  }
  
  .sections-prev,
  .sections-next {
    width: 28px;
    height: 28px;
  }
  
  .sections-prev svg,
  .sections-next svg {
    width: 28px;
    height: 28px;
  }
  
  .sections-slider .slick-list {
    width: 100%; /* Full width for single slide */
  }
  
  .sections-slider .slick-slide {
    width: 280px;
    margin-right: 15px;
  }
}

/* Text Section Styles */
.text-section {
  padding: 100px 0;
  background-color: #fff;
}

.text-section .container {
  padding-left: 3rem;
  padding-right: 3rem;
}

.text-section .row {
  align-items: flex-start; /* Default alignment for the row */
}

/* Right column specific alignment */
.text-section .col-md-7 {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.text-section-title {
  font-family: 'Adventure V1', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 35px;
  letter-spacing: 0.13px;
  vertical-align: middle;
  color: #333;
  margin-bottom: 0;
  white-space: nowrap;
}

.text-section-content {
  font-family: 'Adventure V1', sans-serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 29px;
  letter-spacing: 0.23px;
  vertical-align: middle;
  padding-right: 40px;
}

.text-section-content p {
  font-family: 'Adventure V1', sans-serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 29px;
  letter-spacing: 0.23px;
  vertical-align: middle;
  color: #86868B;
  margin-bottom: 1.5rem;
}

.text-section-content p:last-child {
  margin-bottom: 0;
}

/* Text Section Responsive Styles */
@media (max-width: 1200px) {
  .text-section .container-fluid {
    padding-left: 8%;
    padding-right: 8%;
  }
  .text-section-title {
    font-size: 28px;
    line-height: 32px;
  }
  
  .text-section-content p {
    font-size: 19px;
    line-height: 27px;
  }
}

@media (max-width: 992px) {
  .text-section .container-fluid {
    padding-left: 6%;
    padding-right: 6%;
  }
  .text-section {
    padding: 80px 0;
  }
  
  .text-section-title {
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 25px;
  }
  
  .text-section-content {
    padding-right: 20px;
  }
  
  .text-section-content p {
    font-size: 18px;
    line-height: 26px;
  }
}

@media (max-width: 768px) {
  .text-section .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .text-section .container > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    justify-content: flex-start;
  }
  
  .text-section-title {
    font-family: 'Adventure V1', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0.13px;
    vertical-align: middle;
    margin-bottom: 20px;
    white-space: normal;
    text-align: left;
  }
  
  .text-section-content {
    padding-right: 0;
    text-align: left;
  }
  
  .text-section-content p {
    font-family: 'Adventure V1', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0.2px;
    vertical-align: middle;
  }
}

@media (max-width: 576px) {
  .text-section .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }
  .text-section {
    padding: 40px 0;
  }
  
  .text-section .container > div {
    display: flex;
    flex-direction: column !important;
    align-items: flex-start;
    gap: 0px !important;
    width: 100%;
    justify-content: flex-start;
  }
  
  .text-section-title {
    font-family: 'Adventure V1', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0.13px;
    vertical-align: middle;
  }
  
  .text-section-content p {
    font-family: 'Adventure V1', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0.2px;
    vertical-align: middle;
  }
}

/* Lessons Preview Section Styles */
.lessons-preview-section {
  padding: 80px 0 80px;
  background-color: #fff;
  overflow-x: hidden;
}

.lessons-preview-section.bottom
{
  padding-top:0px;
  padding-bottom:80px;
}

.lessons-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.lessons-preview-title {
  font-family: 'Adventure V1', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  letter-spacing: 0.23px;
  vertical-align: middle;
  color: #303030;
  margin: 0;
  text-align: left;
}

.lessons-preview-slider {
  margin: 0;
  overflow: hidden;
  /* Adjust the width to prevent horizontal scrolling */
  width: 100%;
  position: relative;
  /* Remove the absolute positioning that was causing the overflow */
  padding: 20px 0;
}

.lessons-preview-slider .slick-track {
  display: flex;
  align-items: center;
}

.lesson-slide {
  padding: 0 10px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  height: auto;
}

.lesson-slide.slick-center {
  opacity: 1;
}

.lesson-slide-content {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

.lesson-slide-content p {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 20px;
  color:#333;
  
}

.lesson-slide-content img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  border-radius: 10px;
}

.lesson-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 10px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: #fff;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .lesson-slide-overlay {
    padding: 30px 20px 10px 20px;
  }
}

.lesson-category {
  font-family: var(--font-inter, sans-serif);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.9;
}

.lesson-title {
  font-family: var(--font-inter, sans-serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 15px 0;
}

.btn-play-lesson {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--font-inter, sans-serif);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.btn-play-lesson:hover {
  opacity: 0.8;
}

.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #000;
  border-radius: 50%;
}

.play-icon svg {
  width: 6px;
  height: 8px;
  margin-left: 1px; /* Slight offset for visual centering */
}

/* Lessons Preview Controls */
.lessons-preview-controls {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.lessons-preview-prev,
.lessons-preview-next {
  background: transparent;
  border: none;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}

.lessons-preview-prev:hover,
.lessons-preview-next:hover {
  transform: translateY(-2px);
}

/* Slick customization */
.lessons-preview-slider .slick-list {
  margin: 0;
}

.lessons-preview-slider .slick-slide {
  padding: 0 10px;
  min-height: 600px;
}

@media (max-width: 992px) {
  .lessons-preview-slider .slick-slide, .lessons-preview-slider.bottom .slick-slide
  {
    min-height: auto;
  }
}

.lessons-preview-slider.bottom .slick-slide
{
 min-height: auto;;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .lessons-preview-title {
    font-size: 28px;
    line-height: 32px;
  }
}

@media (max-width: 992px) {
  .lessons-preview-section {
    padding: 60px 0 0;
  }
  
  .lesson-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .lessons-preview-section {
    padding: 50px 0 0;
  }
  
  .lessons-preview-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .lessons-preview-controls {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 576px) {
  .lessons-preview-section {
    padding: 40px 0 0;
  }
  
  .lessons-preview-title {
    font-size: 24px;
    line-height: 28px;
  }
  
  .lesson-slide {
    opacity: 1;
    padding: 0 20px;
  }
  
  .lesson-slide-content {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    /* height: 420px; */
  }
  
  .lesson-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .lesson-category {
    font-size: 14px;
    margin-bottom: 0;
  }
  
  .lesson-title {
    font-family: 'Adventure V1', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0.13px;
    vertical-align: middle;
    margin: 0;
  }
  
  .btn-play-lesson {
    margin-top: auto;
    align-self: flex-start;
    background-color: white;
    color: black;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    bottom:20px;
    position:absolute;
    left:50%;
    transform: translateX(-50%);
  }
  
  .play-icon {
    background-color: black;
    border-radius: 50%;
    width: 20px;
    height: 20px;
  }
  
  .lessons-preview-section{
    padding: 10px 0 50px 0;
  }
  
  /* Adjust center padding for proper display on mobile */
  .lessons-preview-slider .slick-list {
    padding: 0 !important;
  }
}

.text-section .container > div {
  display: flex;
  flex-direction: row;
  gap: 60px;
  width: 100%;
  justify-content: center;
}

/* Centered Heading Section */
.centered-heading-section {
  padding: 80px 0 180px 0;
  background-color: #fff;
  text-align: center;
}

.centered-heading-section h2 {
  font-family: 'Adventure V1', sans-serif;
  font-weight: 500;
  font-size: 85px;
  line-height: 84px;
  letter-spacing: -1.2px;
  text-align: center;
  vertical-align: middle;
  color: #1d1d1f;
  margin: 0;
} 