/* ==========================================
   SEAMLESS WAVE CONNECTION
   Wave background smoothly connects to about-area
   ========================================== */

/* Core services - Wave background extended */
section.core-services {
  position: relative;
  padding: 0 !important;
  margin: 0;
  background: transparent;
  min-height: 180px;
}

section.core-services:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #b85ade url(../images/wave_background.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  display: block !important;
  z-index: 0;
}

/* About area - Seamlessly connected */
section.about-area {
  background: #ffffff;
  padding: 60px 0 80px 0;
  margin-top: 0 !important;
  position: relative;
  z-index: 2;
}

/* Banner adjustments for smooth flow */
section.banner {
  padding: 180px 0 80px 0 !important;
  position: relative;
  overflow: visible;
  margin-bottom: 0 !important;
}

section.banner::after {
  display: none !important;
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */

/* Desktop */
@media (min-width: 1025px) {
  section.banner {
    padding: 180px 0 100px 0 !important;
  }
  
  section.core-services {
    min-height: 220px;
  }
  
  section.about-area {
    padding: 80px 0 100px 0;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  section.banner {
    padding: 140px 0 80px 0 !important;
  }
  
  section.core-services {
    min-height: 180px;
  }
  
  section.about-area {
    padding: 60px 0 80px 0;
  }
}

/* Mobile */
@media (max-width: 767px) {
  section.banner {
    padding: 120px 0 60px 0 !important;
  }
  
  section.core-services {
    min-height: 140px;
  }
  
  section.about-area {
    padding: 40px 0 60px 0;
  }
  
  section.about-area .intro-img {
    margin-bottom: 30px;
  }
  
  section.about-area .contents {
    text-align: center;
  }
  
  section.about-area .contents .head-button {
    text-align: center;
  }
}

/* Extra Small */
@media (max-width: 575px) {
  section.banner {
    padding: 100px 0 50px 0 !important;
  }
  
  section.core-services {
    min-height: 120px;
  }
  
  section.about-area {
    padding: 30px 0 50px 0;
  }
  
  section.about-area .contents .head-title {
    font-size: 24px !important;
    line-height: 34px !important;
  }
  
  section.about-area .contents p {
    font-size: 14px !important;
    line-height: 24px !important;
  }
}

/* Extra styling untuk smooth visual flow */
section.about-area .container {
  position: relative;
  z-index: 3;
}

section.about-area .row {
  align-items: center;
}

section.about-area .intro-img img {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  transition: transform 0.3s ease;
}

section.about-area .intro-img img:hover {
  transform: translateY(-10px);
}
