/* ==========================================
   RESPONSIVE SPACING - Man Image Hero Section
   PC, Tablet, Smartphone Optimized
   ========================================== */

/* Desktop/PC - Default (> 1024px) */
section.banner .box-image {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

section.banner .animation-2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 20px 0;
}

section.banner .animation-2 .intro-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
}

/* Tablet - Medium (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  section.banner {
    padding: 140px 0 120px 0 !important;
    min-height: 600px;
  }
  
  section.banner .box-image {
    margin-top: 40px;
    margin-bottom: 0;
  }
  
  section.banner .animation-2 {
    min-height: 400px;
    padding: 30px 0;
  }
  
  section.banner .animation-2 .intro-img {
    max-width: 400px;
  }
  
  section.banner .contents {
    padding-top: 20px;
  }
  
  section.banner .contents .head-title {
    font-size: 36px !important;
    line-height: 48px !important;
  }
}

/* Tablet Small & Large Phones (576px - 768px) */
@media (min-width: 576px) and (max-width: 767px) {
  section.banner {
    padding: 120px 0 100px 0 !important;
    min-height: auto;
  }
  
  section.banner .box-image {
    margin-top: 50px;
    margin-bottom: 30px;
    order: 2;
  }
  
  section.banner .animation-2 {
    min-height: 300px;
    padding: 20px 0;
  }
  
  section.banner .animation-2 .intro-img {
    max-width: 350px;
  }
  
  section.banner .contents {
    padding-top: 10px;
    order: 1;
  }
  
  section.banner .contents .head-title {
    font-size: 30px !important;
    line-height: 42px !important;
  }
  
  section.banner .contents p {
    font-size: 14px !important;
    line-height: 24px !important;
  }
}

/* Smartphone - Mobile (< 576px) */
@media (max-width: 575px) {
  section.banner {
    padding: 100px 0 60px 0 !important;
    min-height: auto;
  }
  
  section.banner .row {
    flex-direction: column;
  }
  
  section.banner .box-image {
    margin-top: 40px;
    margin-bottom: 20px;
    order: 2;
  }
  
  section.banner .animation-2 {
    min-height: 250px;
    padding: 15px 0;
  }
  
  section.banner .animation-2 .intro-img {
    max-width: 280px;
  }
  
  section.banner .contents {
    padding-top: 0;
    order: 1;
    text-align: center;
  }
  
  section.banner .contents .head-title {
    font-size: 26px !important;
    line-height: 36px !important;
    margin-bottom: 15px;
  }
  
  section.banner .contents p {
    font-size: 13px !important;
    line-height: 22px !important;
    margin-bottom: 20px;
  }
  
  section.banner .contents .head-button {
    text-align: center;
  }
  
  section.banner .contents .head-button .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Extra Small Phones (< 400px) */
@media (max-width: 399px) {
  section.banner {
    padding: 90px 0 50px 0 !important;
  }
  
  section.banner .box-image {
    margin-top: 30px;
    margin-bottom: 15px;
  }
  
  section.banner .animation-2 {
    min-height: 220px;
    padding: 10px 0;
  }
  
  section.banner .animation-2 .intro-img {
    max-width: 240px;
  }
  
  section.banner .contents .head-title {
    font-size: 24px !important;
    line-height: 32px !important;
  }
  
  section.banner .contents p {
    font-size: 12px !important;
    line-height: 20px !important;
  }
}

/* Hide animated icons on mobile untuk performa */
@media (max-width: 768px) {
  .animatation-box-1 {
    display: none;
  }
}

/* ==========================================
   SPACING BETWEEN SECTIONS
   Hero Banner to About Section
   ========================================== */

/* Reduce core-services padding (wave background section) */
section.core-services {
  padding: 80px 0 0 0 !important;
}

section.core-services:before {
  top: -80px !important;
  height: 280px !important;
}

/* About Area Section Spacing */
section.about-area {
  padding: 60px 0 80px 0;
  margin-top: -100px;
}

/* Desktop/PC */
@media (min-width: 1025px) {
  section.about-area {
    padding: 80px 0 100px 0;
    margin-top: -120px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  section.core-services {
    padding: 60px 0 0 0 !important;
  }
  
  section.core-services:before {
    top: -60px !important;
    height: 240px !important;
  }
  
  section.about-area {
    padding: 50px 0 70px 0;
    margin-top: -80px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  section.core-services {
    padding: 40px 0 0 0 !important;
  }
  
  section.core-services:before {
    top: -40px !important;
    height: 180px !important;
  }
  
  section.about-area {
    padding: 40px 0 60px 0;
    margin-top: -60px;
  }
  
  section.about-area .intro-img {
    margin-bottom: 30px;
  }
}

/* Extra Small Mobile */
@media (max-width: 575px) {
  section.core-services {
    padding: 30px 0 0 0 !important;
  }
  
  section.core-services:before {
    top: -30px !important;
    height: 150px !important;
  }
  
  section.about-area {
    padding: 30px 0 50px 0;
    margin-top: -40px;
  }
}
