#about {
  padding-top: 0px;
  padding-bottom: 40px;
}

#about .about-section {
  margin-top: -100px;
  padding-top: 100px;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  #about .about-section {
    margin-top: 0;
    padding-top: 30px; 
  }
  
  #about {
    padding-top: 0; 
  }

  .lead {
    font-size: 18px;
  }
}


#about::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(
        to bottom, 
        rgba(255,255,255,0.5) 60%,
        rgba(255,255,255,0) 100%
  );
  z-index: 1;
}

.about-slides {
  display: flex;
  transition: height 0.5s ease;
  width: 200%;
}

.about-slide {
  width: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
  display: flex; 
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}

.about-content, .certificate-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.about-content {
  font-size: 22px;
}

@media (max-height: 768px) {
  .about-content {
    border-radius: 8px;
    margin: 0px;
  }
}

#about .cta-banner {
  background: rgba(0, 0, 0, 0.05); 
  color: #333; 
  border: 1px solid rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-transition {
  background: linear-gradient(135deg, #e67e00, #d35400);
  padding: 30px 0; 
  margin-bottom: 30px; 
  text-align: center;
  position: relative;
  z-index: 10;
}

.section-transition::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: -1;
}

.section-transition h2 {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 3.4vw, 3.5rem);
  color: #fff;
  text-shadow: 0 2px 15px rgba(0,0,0,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  padding: 15px 0;
  position: relative;
  display: inline-block;
}

@media (max-width: 768px) {
  .section-transition h2 {
    font-weight: 700;
    font-size: clamp(2rem, 3vw, 3.5rem);
  }

  .section-transition {
    margin-bottom: -10px;
  }
}

.section-transition h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 270px;
  height: 4px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
}

.slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 26px rgba(0,0,0,0.1);
  touch-action: pan-y;
  overscroll-behavior: contain;
  transition: height 0.5s ease;
}

@media (max-height: 768px) {
  .slider-container {
    box-shadow: 0 0px 0px rgba(0,0,0,0.5);
  }
}

.certificate-content {
  background: white;
  padding: 20px;
  width: 100%;
}

.certificate-content img {
  display: block;
  max-width: 100%;
}

@media (max-width: 768px) {
  .about-slide {
    min-height: 100%;
    padding: 15px;
    box-sizing: border-box;
  }

  .about-slides {
    height: 100%;
    
  }
  
  .slider-container {
    transition: height 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .about-content, 
  .certificate-content {
    width: 100%;
    padding: 10px;
    font-size: 18px;
  }

  .certificate-content {
    border-radius: 8px;
  }
}

.slider-indicators {
  margin-top: 0px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .slider-indicators {
    gap: 5px;
  }
}

.indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #e2411d;
  cursor: pointer;
  transition: background-color 0.5s;
}

.indicator.active {
  background-color: #333;
}

.swipe-hint {
  position: absolute;
  bottom: 30px; 
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px; 
  z-index: 10;
  opacity: 1;
}

@media (max-height: 768px) {
  .swipe-hint {
    gap: 15px; 
  }  
}

.swipe-text {
  color: #ff6600;
  font-size: 22px; 
  font-weight: 600; 
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  padding: 10px 10px;
  background: rgba(255, 255, 255, 0.8); 
  border-radius: 30px;
  display: flex;
  justify-content: center; 
  align-items: center; 
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .swipe-text {
    font-weight: 600;
    font-size: 20px;
    animation: none; 
    margin: 0px;
  }

  .swipe-text::before {
    color: #ff6600;
    font-weight: 600;
    font-size: 20px;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 100%; 
    height: 100%;
  }
}

@media (max-width: 768px) {
  .swipe-arrow {
    width: 100px;
    height: 0px;
  }
}

.swipe-arrow:focus {
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.5);
}

.swipe-arrow i {
  font-size: 22px;
  color: #ff6600;
}

@keyframes pulse-text-orange {
  0%, 100% {
    color: #4b1400;
    opacity: 0.8;
  }
  50% {
    color: #de6b00;
    opacity: 1;
  }
}

.cta-banner-about {
  background: rgba(16, 0, 33, 0.1);
  color: rgb(11, 3, 3);
  border: 1px solid rgba(22, 7, 33, 0.2);
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
  font-size: 22px;
  font-weight: 500;
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
}

@media (max-width: 768px) {
  .cta-banner-about {
    font-size: 20px;
    position: relative;
    margin-bottom: 50px;
  }
}

.about-arrow {
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 20;
}

.about-arrow:hover {
  background: white;
  transform: scale(1.1);
}

.about-arrow i {
  font-size: 24px;
  color: #333;
}

@media (max-width: 768px) {
  .about-arrow {
    width: 40px;
    height: 40px;
  }
  
  .about-arrow i {
    font-size: 18px;
  }
  
  .swipe-text {
    font-size: 18px;
  }
}
