.nav :hover {
    color: #f15a3a !important;
  }

  .btn-custom {
    background-color: #f15a3a;
    border-radius: 50px;
    padding: 10px 40px;
    color: white;
    border: none;
  }

  .btn-custom:hover {
    background-color: #f15a3a;
  }

  .btn-custom {
    background-color: #f15a3a;
    border-radius: 30px;
    padding: 10px 30px;
    color: white;
    border: none;
  }
  
  .btn-custom:hover {
    background-color: #f15a3a;
  }
  .curve-divider {
    width: 60%;
    margin: 40px auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
  }
  
  .curve-divider.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .hidden {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }  

  body {
    padding-top: 80px; /* leave space for fixed header */
  }
  
  /* Nav link underline hover */
  .nav-link {
    position: relative;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #f15a3a;
    transition: width 0.3s ease;
  }
  
  .nav-link:hover {
    color: #f15a3a;
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  /* Optional: Button Style */
  .btn-custom {
    background-color: #f15a3a;
    color: #fff;
    border-radius: 999px;
    padding: 8px 24px;
    border: none;
    transition: background-color 0.3s ease;
  }
  
  .btn-custom:hover {
    background-color: #f15a3a;
  }

    /* Animation for the boxes */
    @keyframes moveBox {
        0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-20px);
        }
        100% {
            transform: translateY(0);
        }
    }

    /* Apply animation to the boxes */
    .animated-box {
        animation: moveBox 2s ease-in-out infinite;
    }

     /* Initial styles for boxes */
     .box {
        background-color: #f0f0f0;
        border-radius: 8px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Hover animation for boxes */
    .box:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    /* Animation for the boxes */
    .animated-box {
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }

    /* Additional hover effects (for individual boxes) */
    .box:hover {
        transform: scale(1.1); /* Slight scale effect */
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15); /* Box shadow for emphasis */
    }

    .box-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
    
      .box-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
      }
    
      .step-circle {
        background-color: #f15a3a;
        color: #fff;
        font-weight: bold;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        text-align: center;
        line-height: 30px;
      }
    
      .step-line {
        width: 50px;
        height: 2px;
        background-color: #ccc;
        margin: 0 10px;
      }

      .bounce-hover {
        transition: transform 0.3s ease;
      }
    
      .bounce-hover:hover {
        transform: translateY(-10px) scale(1.05);
      }

      .box-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
    
      .box-hover:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      }

      .feature-icon {
        background-color: #FF5E5E;
        color: white;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 30px;
      }

      .step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: bold;
}

.step-arrow {
  height: 2px;
  background: #ddd;
  position: relative;
}

.step-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid #ddd;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.step-circle {
  width: 40px;
  height: 40px;
  background-color: #F94239; /* Circle color */
  color: black;              /* Number color */
  font-weight: bold;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* Desktop: horizontal arrow */
.step-arrow {
  width: 100px;
  height: 2px;
  background: #ddd;
  position: relative;
  margin: 0 10px;
}
.step-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid #ddd;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* Mobile: vertical arrow */
.step-arrow-vertical {
  width: 2px;
  height: 40px;
  background: #ddd;
  position: relative;
  margin: 10px 0;
}
.step-arrow-vertical::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 6px solid #ddd;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
}

.step-item .circle {
  width: 40px;
  height: 40px;
  background-color: #F94239;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  z-index: 2;
  position: relative;
}



.step-line {
  flex-grow: 1;
  height: 2px;
  background-color: #ccc;
  margin: 0 10px;
  position: relative;

  z-index: 1;
}

@media (max-width: 576px) {
  .d-flex.flex-wrap .step-line {
    display: none;
  }

  .d-flex.flex-wrap {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}


    .section-creative {
      padding: 60px 0;
      background-color: #fff;
    }
    .btn-custom {
      background-color: #f15a29;
      color: white;
      padding: 10px 20px;
      border-radius: 25px;
      font-weight: bold;
      border: none;
    }
    .highlight {
      color: #f15a29;
    }
    .image-box img {
      max-width: 100%;
      height: auto;
    }

    body {
      font-family: 'Kanit', sans-serif;
    }

    .section-creative {
      padding: 60px 0;
      background-color: #fff;
    }

    .btn-custom {
      background-color: #f15a29;
      color: white;
      padding: 10px 20px;
      border-radius: 25px;
      font-weight: bold;
      border: none;
    }

    .highlight {
      color: #f15a29;
    }

    .image-box img {
      max-width: 100%;
      height: auto;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      border-radius: 12px;
    }

    .image-box img:hover {
      transform: scale(1.05);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    /* Your custom button styling */
.btn-custom {
  background-color: #f15a29;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: bold;
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-custom:hover {
  background-color: #f15a3a;
  color: white; /* ✅ fix added */
}

.animated-box:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card {
  background: transparent;
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.card-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: #f3502e;
}

.text-box {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.text-box:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.text-box p {
  font-size: 14px;
  color: #333;
  margin: 0;
}

/* Special styling for the first orange card */
.orange-card {
  background-color: #f15a3a;
  color: white;
}

.orange-card .card-title {
  color: white;
}

.orange-card .text-box p {
  color: #333;
}

.card {
  background-color: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.orange-card {
  background-color: #f15a3a;
  color: white;
}

.orange-card .text-box {
  background-color: white;
  color: #000;
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.card-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

.text-box p {
  margin: 0;
}

.transform-section {
  text-align: center;
  margin: 80px 0;
  position: relative;
}

.transform-section .cta-button {
  background-color: #f15a3a;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.transform-section .cta-button:hover {
  background-color: #d44725;
}

.transform-section p {
  max-width: 600px;
  margin: 20px auto;
  font-size: 15px;
  color: #222;
  line-height: 1.6;
}

.wave-divider {
  width: 90%;
  margin: 40px auto 0;
  border: none;
  border-top: 1px solid #ccc;
  height: 20px;
  position: relative;
}

.wave-divider::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 20px;
  background: white;
  border-top: 1px solid #ccc;
  border-radius: 40px;
  z-index: 2;
}

.section-title {
  color: #E75433;
  text-align: left;
  margin-left: 80px;
  font-family: Arial, sans-serif;
}

.objective-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.diamond {
  width: 160px;
  height: 160px;
  background-color: #E75433;
  transform: rotate(45deg);
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.diamond.center {
  background-color: #e0e0e0;
  width: 260px;
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.diamond.center .icon {
  transform: rotate(-45deg);
  margin-bottom: 15px;
}

.diamond.center p {
  transform: rotate(-45deg);
  font-size: 14px;
  color: #333;
  margin: 0;
  font-family: Arial, sans-serif;
}

.section-title {
  color: #E75433;
  text-align: left;
  margin-left: 80px;
  font-family: Arial, sans-serif;
  font-size:50px;
  margin-top: 20px;
  font-family: kanit;

}

.objective-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 90px;
  margin-top: 100px;
  flex-wrap: wrap;
}

.diamond {
  border-radius: 30px;
  transform: rotate(45deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diamond:hover {
  transform: rotate(45deg) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.diamond.small {
  width: 120px;
  height: 120px;
  background-color: #E75433;
}

.diamond.large {
  width: 300px;
  height: 300px;
  background-color: #e0e0e0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.inner-content {
  transform: rotate(-45deg);
  text-align: center;
  font-family: Arial, sans-serif;
  max-width: 200px;
}

.inner-content .icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.inner-content p {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  margin: 0;
}


.animated-line-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 100px 0;
}

.animated-line {
  width: 0;
  height: 2px;
  background-color: #f3502e;
  transition: width 1.2s ease-out;
}

.animated-line.visible {
  width: 60%;
}

@media (max-width: 768px) {
  .animated-line.visible {
    width: 80%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem !important;
  }

  p {
    width: 100% !important;
    font-size: 0.95rem;
  }

  .animated-box {
    height: auto !important;
  }

  .text-center img {
    max-width: 100% !important;
    height: auto;
  }
}


  @media (max-width: 576px) {
    h1 {
      font-size: 36px !important;
    }

    h4 {
      font-size: 20px !important;
    }
  }


  .clients-worked-with .section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f25c3d;
  line-height: 1.2;
}

.clients-worked-with .section-description,
.clients-worked-with .section-note {
  font-size: 1rem;
  color: #333;
}

.client-tag {
  background-color: #eee;
  color: #333;
  padding: 8px 16px;
  margin: 6px;
  border-radius: 30px;
  font-size: 0.95rem;
  transition: all 0.3s ease-in-out;
  cursor: default;
}

.client-tag:hover {
  background-color: #ff6347;
  color: #fff;
  transform: scale(1.05);
}

.client-tag.highlighted {
  background-color: #f25c3d;
  color: #fff;
  font-weight: 500;
}


.clients-logos .logo-item {
  padding: 15px;
  text-align: center;
}

.clients-logos .logo-item img {
  width: 100%;
  max-width: 100px;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  padding: 10px;
  transition: transform 0.3s ease;
}

.clients-logos .logo-item img:hover {
  transform: scale(1.05);
}


.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  width: auto;
  height: auto;
  box-shadow: none;
  border: none;
}

.logo-box img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.logo-box:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}


.values-section {
  text-align: center;
  padding: 40px 20px;
}

.values-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.value-box {
  flex: 1 1 300px;
  max-width: 480px;
  padding: 30px;
  border-radius: 25px;
  color: #000;
  font-size: 15px;
  line-height: 1.6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-in-out;
}

.left-box {
  background-color: #f1f1f1;
}

.right-box {
  background-color: #f15a38;
  color: #fff;
}

.values-footer-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

.values-arrow {
  font-size: 30px;
  margin: 15px 0;
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Fade-in animation */
.animate-fade-in {
  opacity: 1 !important;
  transform: translateY(0px) !important;
}

.delay {
  transition-delay: 0.3s;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .values-container {
    flex-direction: column;
    align-items: center;
  }
}


  .portfolio-box {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .portfolio-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  .portfolio-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  .portfolio-box:hover img {
    transform: scale(1.1);
  }

  .portfolio-box.bg1 { background-color: #FFCCCC; }
  .portfolio-box.bg2 { background-color: #CCFFCC; }
  .portfolio-box.bg3 { background-color: #CCCCFF; }
  .portfolio-box.bg4 { background-color: #FFFFCC; }
  .portfolio-box.bg5 { background-color: #CCE5FF; }
  .portfolio-box.bg6 { background-color: #E6CCFF; }
  .portfolio-box.bg7 { background-color: #FFE6CC; }
  .portfolio-box.bg8 { background-color: #CCFFE5; }
  .portfolio-box.bg9 { background-color: #FFCCE5; }