:root {
  --color-red: rgba(228, 17, 38, 1);
}

.color-highlight {
  color: var(--color-blue);
  font-weight: var(--font-weight-bold);
  background: linear-gradient(120deg, transparent 0%, rgba(21, 43, 202, 0.1) 0%, rgba(21, 43, 202, 0.1) 100%, transparent 100%);
  padding: 2px 4px;
  border-radius: 4px;
}

.icon-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: #ffffff;
  color: var(--color-blue);
  font-size: 24px;
  transition: all 0.3s ease;
}

.card-feature {
  /* box-shadow: 0 0px 20px #00000010; */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  background-color: rgb(21 43 202 / 3%) !important;
}

.card-feature:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  background: rgb(255, 255, 255) !important;
}

.card-feature:hover .icon-box {
  background: var(--color-blue);
  color: white;
}

.card-feature p {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--color-blue);
}

.card-feature p .text-muted {
  --bs-text-opacity: 1;
  color: #0c155c !important;
}

.bg-white {
  --bs-bg-opacity: 1;
  background-color: rgb(21 43 202 / 3%) !important;
}

.sub-heading {
  font-size: 18px;
  color: var(--color-blue);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 5px;
  margin-top: 0;
  border-radius: 30px;
  width: max-content;
}

.video-badminton {
  height: 550px;
  width: auto;
  border-radius: 15px;
}

.stagger-1 {
  animation-delay: 0.1s;
}

.stagger-2 {
  animation-delay: 0.2s;
}

.stagger-3 {
  animation-delay: 0.3s;
}

.stagger-4 {
  animation-delay: 0.4s;
}

.stagger-5 {
  animation-delay: 0.5s;
}

ul .feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: #0B0E20;
}

.feature-text {
  font-size: 16px !important;
}



.fade-in-up {
  animation: fadeInUp 1.2s ease-out forwards;
  opacity: 0;
  transform: translateY(50px);
}

.zoom-in-rotate {
  animation: zoomInRotate 1.5s ease-out forwards;
  opacity: 0;
  transform: scale(0.5) rotate(-10deg);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.border-blue {
  border: 1px solid rgb(59 130 246);
}

.border-green {
  border: 1px solid rgb(34 197 94);
}

.color-blue {
  color: rgb(59 130 246);
}

.color-green {
  color: rgb(34 197 94);
}

.close {
  color: red;
  background: #ff000014;
}

.ccard {
  transition: all 0.3s ease;
  padding: 16px;
}

.ccard .text-muted{
  font-size: 14px;
}

.ccard:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.icon-blue {
  color: rgb(255 255 255);
  background: rgb(59 130 246);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.icon-green {
  color: rgb(255 255 255);
  background: rgb(34 197 94);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: 1 คอลัมน์เต็มกว้าง */
  gap: .75rem 1.5rem;
  /* row-gap, column-gap */
}

.feature-item {
  display: flex;
  align-items: center;
  color: #111;
}

.update-time {
  background: #0f132914;
  font-size: 13px;
  color: #0f1329;
}

/* จอ ≥576px : 2 คอลัมน์ auto-width ตามเนื้อหา */
@media (min-width:576px) {
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: start;
    /* จัดชิดซ้าย */
  }

  .feature-text {
    white-space: nowrap;
  }

  .update-time {
    background:#0f132914;
    font-size: 13px;
    color:#0f1329;
  }

  /* กันแตกบรรทัดบนจอใหญ่ */
}

/* มือถือให้ตัดบรรทัดได้ */
@media (max-width:575.98px) {
  .feature-text {
    white-space: normal;
  }
}




/* ปุ่มหลัก */
.btn-business {
  background: var(--color-primary);
  color: #fff !important;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.btn-business:hover {
  background: var(--color-blue);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
  transform: translateY(-2px);
}

/* ปุ่มรอง */
.btn-outline {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--color-secondary);
  color: #fff !important;
  transform: translateY(-2px);
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px;
  /* ป้องกันหัวชน */
}

.brand-header {
  text-align: center;
  margin-bottom: 60px;
}

.brand-logo {
  width: 80px;
  height: 80px;
  background: var(--section-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand-logo i {
  font-size: 2rem;
  color: var(--color-blue);
}

.company-name {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 10px;
  opacity: 0.9;
}

.product-title {
  color: var(--color-primary);
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  line-height: 1.1;
}

.product-subtitle {
  color: rgba(24, 27, 49, 0.8);
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 50px;
}

.business-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.business-feature-card {
  background: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(24, 27, 49, 0.1);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(24, 27, 49, 0.1);
  height: 100%;
}

.business-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(21, 43, 202, 0.05);
  transition: left 0.5s ease;
}

.business-feature-card:hover::before {
  left: 100%;
}

.business-feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: white;
  box-shadow: 0 20px 40px rgba(21, 43, 202, 0.2);
  border-color: rgba(21, 43, 202, 0.3);
}

.business-feature-number {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(21, 43, 202, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--color-blue);
  font-size: 1.1rem;
}

.business-feature-icon {
  width: 60px;
  height: 60px;
  background: var(--color-blue);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(21, 43, 202, 0.3);
}

.business-feature-icon i {
  color: white;
  font-size: 1.5rem;
}

.business-feature-title {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.business-feature-description {
  color: rgba(24, 27, 49, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
}

.cta-section {
  text-align: center;
}

.cta-button {
  background: var(--color-blue);
  border: none;
  padding: 20px 50px;
  border-radius: 50px;
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(21, 43, 202, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(21, 43, 202, 0.4);
  background: rgba(21, 43, 202, 0.9);
  color: white;
}

.branches-info {
  background: white;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(24, 27, 49, 0.1);
  box-shadow: 0 5px 20px rgba(24, 27, 49, 0.1);
}

.branches-title {
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.branches-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.branch-tag {
  background: rgba(21, 43, 202, 0.1);
  color: var(--color-blue);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(21, 43, 202, 0.2);
  transition: all 0.3s ease;
}

.branch-tag:hover {
  background: rgba(21, 43, 202, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(21, 43, 202, 0.1);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(21, 43, 202, 0.1);
  animation: float 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-circle:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-circle:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}



.custom-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-bullets li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(21, 43, 202, 0.02);
  border-radius: 12px;
  transition: all 0.3s ease;
}


.bullet-icon {
  color: var(--color-blue);
  font-size: 1.2rem;
  margin-right: 1rem;
  margin-top: 0.2rem;
  min-width: 20px;
  animation: pulse-bullet 2s ease-in-out infinite;
}

.custom-bullets li span {
  color: var(--color-primary);
  font-size: 1.1rem;
  line-height: 1.6;
  flex: 1;
}

.iinfo {
  display: flex;
  align-items: center;
  background: var(--color-blue);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(21, 43, 202, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.iinfo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.iinfo:hover::before {
  left: 100%;
}

.iinfo:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(21, 43, 202, 0.3);
}

.call-center-icon {
  background: var(--color-call-center);
  font-size: 20px;
  color: white;
  border-radius: 50px;
  text-align: center;
  width: 50px;
  height: 50px;
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  transition: 0.5s;
  margin-right: 10px;
}


.btn-b-detail {
  background-color: var(--color-blue);
  color: white !important;
  border: 2px solid var(--color-blue);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-b-detail:hover {
  background-color: var(--color-button);
  border-color: var(--color-button);
  color: var(--color-primary) !important;
  transform: translateY(-1px);
}

.btn-b-detail:focus {
  box-shadow: 0 0 0 0.25rem rgba(24, 27, 49, 0.25);
  color: white !important;
}

.btn-b-detail-outline {
  background-color: transparent;
  color: var(--color-primary) !important;
  border: 1px solid var(--color-primary);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-b-detail-outline:hover {
  background-color: var(--color-primary);
  color: white !important;
  transform: translateY(0px);
}

.btn-b-detail-outline:focus {
  box-shadow: inset 0 0 0 1px var(--color-primary), 0 0 0 0.25rem rgba(24, 27, 49, 0.25);
}

.btn-b-detail-line {
  background-color: var(--color-line);
  color: white !important;
  border: 2px solid var(--color-line);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-b-detail-line:hover {
  background-color: var(--color-button);
  border-color: var(--color-button);
  color: var(--color-primary) !important;
  transform: translateY(-1px);
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px;
  /* ป้องกันหัวชน */
}


/* Responsive adjustments */
@media (max-width: 576px) {

  .btn-b-detail,
  .btn-b-detail-outline {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
  }
}



.service-item {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(24, 27, 49, 0.08);
  border: 1px solid rgba(21, 43, 202, 0.1);
  position: relative;
  overflow: hidden;
  /* เพิ่มความ smooth ทุก property */
  transition: all 0.5s ease-out;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 43, 202, 0.05), rgba(21, 43, 202, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease-in-out;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(24, 27, 49, 0.15);
  border-color: var(--color-blue);
}

.service-item:hover::before {
  transform: scaleX(1);
}

.icon {
  width: 60px;
  height: 60px;
  background: var(--color-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  position: relative;
  box-shadow: 0 8px 24px rgba(21, 43, 202, 0.2);
  transition: all 0.35s ease;
  margin-bottom: 15px;
}

.service-item:hover .icon {
  box-shadow: 0 12px 32px rgba(21, 43, 202, 0.3);
  background: var(--color-primary);
}

.icon i {
  font-size: 1.5rem;
  color: white;
  transition: color 0.3s ease, transform 0.35s ease;
}

.service-item:hover .icon i {
  color: white;
  /* accent ให้เด่นตอน hover */
}

.service-item .title a {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 600;
  transition: color 0.35s ease;
}

.service-item h4 {
  margin-bottom: 5px;
}

.service-item:hover .title a {
  color: var(--color-blue);
}

.description {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  transition: color 0.35s ease;
}

.service-item:hover .description {
  color: #333;
}

.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
}

@media (max-width: 768px) {
  .service-item {
    padding: 1.5rem;
  }
}




.branch-card-horizontal {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(24, 27, 49, 0.1);
  transition: all 0.4s ease;
  border: none;
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.branch-card-horizontal:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(24, 27, 49, 0.15);
}

.card-image-horizontal {
  position: relative;
  overflow: hidden;
  height: 315px;
  flex-shrink: 0;
}

.card-image-horizontal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.branch-card-horizontal:hover .card-image-horizontal img {
  transform: scale(1.05);
}

.branch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(21, 43, 202, 25%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.branch-card-horizontal:hover .branch-overlay {
  opacity: 1;
}

.branch-icon {
  background: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-blue);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.branch-card-horizontal:hover .branch-icon {
  transform: scale(1);
}

.location-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-blue);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  z-index: 50;
}

.card-content {
  padding: 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.branch-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-direction: column-reverse;
}

.branch-name {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.branch-name i {
  color: var(--color-blue);
}

.branch-status {
  padding: 8px 15px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  width: max-content;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.branch-status.open {
  background: #28a745;
  color: white;
  box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.branch-status.closed {
  background: #dc3545;
  color: white;
  box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.branch-status i {
  font-size: 10px;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.next-open-time {
  opacity: 0.9;
  font-weight: 500
}

.address-text {
  color: #64748b;
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(248, 250, 255, 0.8);
  border-radius: 12px;
  border-left: 5px solid var(--color-blue);
  position: relative;
  box-shadow: 0 2px 8px rgba(21, 43, 202, 0.05);
  border: 1px solid rgba(21, 43, 202, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.address-text i {
  margin-top: 2px;
  flex-shrink: 0;
}

.hours-section {
  background: rgb(249 250 255);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid rgba(21, 43, 202, 0.1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(21, 43, 202, 0.08);
}

.hours-title {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-default);
}

.hours-title i {
  color: var(--color-blue);
}

.hours-text {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.hours-text strong {
  color: var(--color-primary);
}

.map-button {
  background: var(--color-button);
  color: var(--color-primary);
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  justify-content: center;
  margin-top: auto;
}

.map-button:hover {
  background: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--color-blue) 25%;
}

.container {
  position: relative;
  z-index: 2;
}

/* Swiper Styles */
.swiper-container {
  width: 100%;
  padding: 20px 0 60px 0;
  overflow: visible;
}

.swiper-slide {
  height: auto;
  display: flex;
}

.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(21, 43, 202, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--color-blue);
  transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--color-blue);
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(21, 43, 202, 0.2);
  transition: all 0.3s ease;
  margin: 0 -80px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--color-blue);
  color: white;
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* ให้คอนเทนเนอร์หลักของสไลเดอร์ยอมให้เงาล้นออกมา */
.swiper,
.swiper-wrapper,
.swiper-slide {
  overflow: visible;
  /* สำคัญที่สุด */
}

/* เงาอยู่ที่ .branch-card-horizontal (ไม่ควรมี overflow:hidden) */
.branch-card-horizontal {
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
  border-radius: 16px;
  background: #fff;
}

/* ตัดมุม/ครอบรูปเฉพาะที่ต้องการ */
.card-image-horizontal {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
  /* ตัดเฉพาะรูป ไม่ไปตัดเงาของการ์ด */
}

.branch-overlay {
  pointer-events: none;
  /* ถ้าไม่ต้องคลิก */
  z-index: 2;
  /* อยู่เหนือรูป แต่ไม่เกี่ยวกับเงา */
}




@media (max-width: 768px) {

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }

  .branch-section {
    padding: 60px 0;
  }

  .card-content {
    padding: 20px;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hours-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
}

.hours-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.hours-row strong {
  min-width: 50px;
  color: #181B31;
}

.hours-row strong {
  min-width: 50px;
}

.hours-row strong.close-label {
  color: var(--color-red);
  font-weight: 700;
}

.close-label {
  color: var(--color-red);
  font-weight: 500;
}



/* Custom Bootstrap Colors */
.bg-primary-custom {
  background-color: var(--color-primary) !important;
}

.bg-blue-custom {
  background-color: var(--color-blue) !important;
}

.bg-header-custom {
  background-color: var(--background-color-header) !important;
}

.bg-section-custom {
  background-color: var(--section-color) !important;
}

.text-primary-custom {
  color: var(--color-primary) !important;
}

.text-blue-custom {
  color: var(--color-blue) !important;
}

.text-line-custom {
  color: var(--color-line) !important;
}

.bg-line-custom {
  background-color: var(--color-line) !important;
}

.text-telephone-custom {
  color: var(--color-telephone) !important;
}

.bg-telephone-custom {
  background-color: var(--color-telephone) !important;
}

.btn-primary-custom {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
  color: white;
  font-weight: 600;
}

.btn-primary-custom:hover {
  background-color: #1225a8;
  border-color: #1225a8;
  color: white;
}

.btn-outline-custom {
  border-color: white;
  color: white;
  font-weight: 600;
}

.btn-outline-custom:hover {
  background-color: white;
  border-color: white;
  color: var(--color-primary);
}




.contact-method-card {
  background: white;
  /* border: 1px solid rgba(24, 27, 49, 0.1); */
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(24, 27, 49, 0.1);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
  height: 100%;
}

.contact-method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(24, 27, 49, 0.15);
  border-color: rgba(24, 27, 49, 0.2);
}

.contact-icon-wrapper {
  margin-bottom: 15px;
}

.contact-icon-bg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0);
  transition: transform 0.3s ease;
}

.contact-method-card:hover .contact-icon-bg {
  transform: scale(1.1) rotate(5deg);
}

.contact-phone-btn {
  background-color: var(--color-telephone);
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 203, 18, 0.4);
}

.contact-phone-btn:hover {
  color: white;
  background-color: #E6B610;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 203, 18, 0.6);
}

.contact-line-btn {
  background-color: var(--color-line);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(6, 199, 85, 0.4);
}

.contact-line-btn:hover {
  background-color: #05B04C;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 199, 85, 0.6);
}

.contact-time {
  padding: 10px 20px;
  background: var(--section-color);
  border-radius: 12px;
  display: block;
  width: max-content;
  margin: 0 auto;
}

.trust-promise-card {
  background: white;
  /* border: 1px solid rgba(24, 27, 49, 0.1); */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(24, 27, 49, 0.1);
  position: relative;
  z-index: 1;
}

.trust-main-icon {
  background-color: var(--color-blue);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(21, 43, 202, 0.4);
  animation: pulse 2s infinite;
}

.trust-main-icon i {
  color: white;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.trust-feature-card {
  background: var(--color-white);
  border: 1px solid rgba(24, 27, 49, 0.05);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.trust-feature-card:hover {
  transform: translateY(-5px);
  background: white;
  border-color: rgba(24, 27, 49, 0.05);
  box-shadow: 0 5px 15px rgba(24, 27, 49, 0.1);
}

.trust-feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

.trust-feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.trust-feature-card:hover .trust-feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.trust-promise-card {
  background: white;
  border: 1px solid rgba(24, 27, 49, 0.1);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(24, 27, 49, 0.1);
  position: relative;
  z-index: 1;
}

.trust-main-icon {
  background-color: var(--color-blue);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(21, 43, 202, 0.4);
  animation: pulse 2s infinite;
}

.trust-main-icon i {
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 330px));
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.double {
  grid-template-columns: repeat(4, minmax(280px, 330px));
}

.contact-item {
  background: white;
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease, border-color 0.35s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: left 0.6s ease-in-out
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.facebook:hover .contact-link {
  background: #0866FF;
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 102, 255, 0.4);
}

.line:hover .contact-link {
  background: #06C755;
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.4);
}

.phone:hover .contact-link {
  background: #533bba;
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(83, 59, 186, 0.4);

}

.telephone:hover .contact-link {
  background: var(--color-telephone);
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 203, 18, 0.4);
}

.mobile:hover .contact-link {
  background: var(--color-mobile);
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 47, 171, 0.4);
}

.website:hover .contact-link {
  background: #13BCFF;
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(19, 188, 255, 0.4);
}

.call-center:hover .contact-link {
  background: #533bba;
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(83, 59, 186, 0.4);
}

.email:hover .contact-link {
  background: #00ceff;
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(19, 188, 255, 0.4);
}

.contact-icon-wrapper {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
}

.contact-item:hover .contact-icon-wrapper {
  transform: scale(1.075);
}

.facebook .contact-icon-wrapper {
  background: #0866FF;
  box-shadow: 0 0 20px 0px rgba(8, 102, 255, 28%);
}

.line .contact-icon-wrapper {
  background: #06C755;
  box-shadow: 0 0 20px 0px rgba(6, 199, 85, 28%);
}

.phone .contact-icon-wrapper {
  background: #533bba;
  box-shadow: 0 0 20px 0px rgba(83, 59, 186, 28%);
}

.website .contact-icon-wrapper {
  background: #13BCFF;
  box-shadow: 0 0 20px 0px rgba(19, 188, 255, 28%);
}

.call-center .contact-icon-wrapper {
  background: #533bba;
  box-shadow: 0 0 20px 0px rgba(83, 59, 186, 28%);
}

.email .contact-icon-wrapper {
  background: #00ceff;
  box-shadow: 0 0 20px 0px rgba(0, 206, 255, 28%);
}

.contact-icon {
  font-size: 2.2rem;
  color: white;
}

.contact-title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.contact-link {
  color: #34495e;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.4s ease;
  display: inline-block;
  position: relative;
  padding: 8px 20px;
  border-radius: 25px;
  background: #ecf0f1;
}

.facebook .contact-link:hover {
  background: #0866FF;
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 102, 255, 0.4);
}

.line .contact-link:hover {
  background: #06C755;
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.4);
}

.phone .contact-link:hover {
  background: #533bba;
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(83, 59, 186, 0.4);
}

.website .contact-link:hover {
  background: #13BCFF;
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(19, 188, 255, 0.4);
}

.email .contact-link:hover {
  background: #00ceff;
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 206, 255, 0.4);
}

.mobile .contact-link:hover {
  background: var(--color-mobile);
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(83, 59, 186, 0.4);
}

.call-center .contact-link:hover {
  background: var(--color-call-center);
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(19, 188, 255, 0.4);
}

/* ===== FACEBOOK ===== */
/* .facebook:hover {
  border-color: var(--color-facebook);
} */

.facebook .contact-icon-wrapper {
  background: var(--color-facebook);
  box-shadow: 0 0 20px rgba(8, 102, 255, 0.28);
}

.facebook .contact-link:hover {
  background: var(--color-facebook);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 102, 255, 0.4);
}

.call-center .contact-icon-wrapper {
  background: var(--color-call-center);
  box-shadow: 0 0 20px rgba(83, 59, 186, 0.28);
}

.call-center .contact-link:hover {
  background: var(--color-call-center);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(83, 59, 186, 0.4);
}

/* ===== LINE ===== */
/* .line:hover {
  border-color: var(--color-line);
} */

.line .contact-icon-wrapper {
  background: var(--color-line);
  box-shadow: 0 0 20px rgba(6, 199, 85, 0.28);
}

.line .contact-link:hover {
  background: var(--color-line);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.4);
}

/* ===== WEBSITE ===== */
/* .website:hover {
  border-color: var(--color-website);
} */

.website .contact-icon-wrapper {
  background: var(--color-website);
  box-shadow: 0 0 20px rgba(19, 188, 255, 0.28);
}

.website .contact-link:hover {
  background: var(--color-website);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(19, 188, 255, 0.4);
}

.email .contact-icon-wrapper {
  background: #00ceff;
  box-shadow: 0 0 20px rgba(0, 206, 255, 0.28);
}

.email .contact-link:hover {
  background: #00ceff;
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 206, 255, 0.4);
}

/* ===== TIME ===== */
/* .time:hover {
  border-color: var(--color-time);
} */

.time .contact-icon-wrapper {
  background: var(--color-time);
  box-shadow: 0 0 20px rgba(255, 20, 26, 0.28);
}

.time .contact-link:hover {
  background: var(--color-time);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 20, 26, 0.4);
}

/* ===== ADDRESS ===== */
/* .address:hover {
  border-color: var(--color-address);
} */

.address .contact-icon-wrapper {
  background: var(--color-address);
  box-shadow: 0 0 20px rgba(255, 134, 22, 0.28);
}

.address .contact-link:hover {
  background: var(--color-address);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 134, 22, 0.4);
}

/* ===== TELEPHONE ===== */
/* .telephone:hover {
  border-color: var(--color-telephone);
} */

.telephone .contact-icon-wrapper {
  background: var(--color-telephone);
  box-shadow: 0 0 20px rgba(255, 203, 18, 0.28);
}

.telephone .contact-link:hover {
  background: var(--color-telephone);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 203, 18, 0.4);
}

/* ===== MOBILE ===== */
/* .mobile:hover {
  border-color: var(--color-mobile);
} */

.mobile .contact-icon-wrapper {
  background: var(--color-mobile);
  box-shadow: 0 0 20px rgba(255, 47, 171, 0.28);
}

.mobile .contact-link:hover {
  background: var(--color-mobile);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 47, 171, 0.4);
}

/* ===== TIKTOK ===== */
/* .tiktok:hover {
  border-color: var(--color-tiktok);
} */

.tiktok .contact-icon-wrapper {
  background: var(--color-tiktok);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.28);
}

.tiktok .contact-link:hover {
  background: var(--color-tiktok);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ===== CALL CENTER ===== */
/* .call-center:hover {
  border-color: var(--color-call-center);
} */

.call-center .contact-icon-wrapper {
  background: var(--color-call-center);
  box-shadow: 0 0 20px rgba(83, 59, 186, 0.28);
}

.call-center .contact-link:hover {
  background: var(--color-call-center);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(83, 59, 186, 0.4);
}

/* ===== BLUE SKY ===== */
/* .blue-sky:hover {
  border-color: var(--color-blue-sky);
} */

.blue-sky .contact-icon-wrapper {
  background: var(--color-blue-sky);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.28);
}

.blue-sky .contact-link:hover {
  background: var(--color-blue-sky);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
}


h6 {
  font-family: var(--font-default);
  font-weight: 700;
}




@media (max-width: 768px) {

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-item {
    padding: 20px;
  }


}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  opacity: 0.06;
  animation: float 6s ease-in-out infinite;
}

.shape1 {
  top: 15%;
  left: 8%;
  width: 60px;
  height: 60px;
  background: #00ccff;
  border-radius: 50%;
  animation-delay: 0s;
}

.shape2 {
  top: 25%;
  right: 12%;
  width: 40px;
  height: 40px;
  background: #ff3366;
  transform: rotate(45deg);
  animation-delay: 2s;
}

.shape3 {
  bottom: 30%;
  left: 15%;
  width: 70px;
  height: 70px;
  background: #ffcc00;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation-delay: 4s;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
  flex-direction: row;
}

.service-item {
  padding: 30px;
  border-bottom: 1px solid rgba(21, 43, 202, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 0;
  flex: 1 1 auto;
  flex-direction: column;
  display: flex;
  justify-content: start;
  align-items: center;
}

.service-item:hover {
  transform: translateY(-5px);
  /* background: rgba(21, 43, 202, 0.05); */
  border-radius: 12px;
}

.service-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-blue), #3d4ed8);
  color: var(--color-white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(21, 43, 202, 0.2);
  margin-right: 0;
}

.service-text {
  font-size: var(--font-size-sixteen);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.hours-card {
  background: var(--color-white);
  border: 2px solid var(--color-blue);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(21, 43, 202, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hours-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(21, 43, 202, 0.1), transparent);
  transition: left 0.5s ease;
}

.hours-card:hover::before {
  left: 100%;
}

.hours-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(21, 43, 202, 0.2);
}


.closed-badge {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: var(--color-white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: var(--font-size-fourteen);
  font-weight: var(--font-weight-bold);
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.06;
  }

  50% {
    transform: translateY(-25px) rotate(180deg);
    opacity: 0.12;
  }
}

.slide-in {
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.slide-in:nth-child(1) {
  animation-delay: 0.1s;
}

.slide-in:nth-child(2) {
  animation-delay: 0.2s;
}

.slide-in:nth-child(3) {
  animation-delay: 0.3s;
}

.slide-in:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.feature-image-box {
  width: 50%;
  height: 250px;
}

.feature-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
  border-radius: 15px;
  display: block;
}

.promo-feature {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-direction: row;
}

.promo-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.feature-image-box {
  width: 50%;
}

.feature-detail {
  width: 50%;
}

.flex-custom {
  display: flex;
  gap: 1rem;
  /* ระยะห่างระหว่างปุ่ม */
  flex-wrap: wrap;
  /* ให้บรรทัดใหม่เมื่อเต็ม */
}

/* Desktop: 3 ปุ่มในแถวเดียว */
.flex-custom a {
  flex: 1 1 calc(33.333% - 1rem);
}

.update-tag {
  background: #0f132914;
  font-size: 14px;
  color: #0f1329;
  border-radius: 50px;
}

/* Mobile / Tablet (default) */
.detail li {
  font-size: 16px;
  line-height: 25px;
  margin-top: 0;
}
.detail li:first-child {
  margin-top: 10px;
}

/* Desktop (Bootstrap lg ≥ 992px) */
@media (min-width: 992px) {
  .detail li {
    margin-top: 10px;
  }
}


.detail > ul > li:first-child,
.detail > ol > li:first-child {
  margin-top: 10px;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.bg-circle-1 {
  width: 200px;
  height: 200px;
  background-color: var(--color-blue);
  top: -50px;
  left: -50px;
  animation: float 6s ease-in-out infinite;
}

.bg-circle-2 {
  width: 150px;
  height: 150px;
  background-color: var(--color-white);
  top: 20%;
  right: -30px;
  animation: float 8s ease-in-out infinite reverse;
}

.bg-circle-3 {
  width: 100px;
  height: 100px;
  background-color: var(--color-white);
  bottom: 30%;
  left: 10%;
  animation: float 7s ease-in-out infinite;
}

.bg-circle-4 {
  width: 120px;
  height: 120px;
  background-color: var(--color-blue);
  bottom: -40px;
  right: 20%;
  animation: float 9s ease-in-out infinite reverse;
}

.floating-element {
  position: absolute;
  color: var(--color-blue);
  font-size: var(--font-size-twenty-four);
  opacity: 0.4;
  animation: bounce 3s ease-in-out infinite;
}

.float-1 {
  top: 15%;
  left: 15%;
  animation-delay: 0s;
}

.float-2 {
  top: 25%;
  right: 20%;
  animation-delay: 1s;
}

.float-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 2s;
}



@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

@media (max-width: 768px) {

  .bg-circle-1,
  .bg-circle-2 {
    width: 120px;
    height: 120px;
  }

  .bg-circle-3,
  .bg-circle-4 {
    width: 80px;
    height: 80px;
  }
}


@media (max-width: 575.98px) {
  .sub-heading {
    margin-top: 20px;
    width: max-content;
  }

  .feature-image-box,
  .feature-detail {
    width: 100%;
    height: auto;
  }

  .feature-image-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .promo-feature {
    flex-direction: column;
  }

  .service-list {
    flex-direction: column;
  }

  .service-item {
    flex-direction: row;
  }

  .service-icon {
    margin-right: 16px;
    margin-bottom: 0;
  }

  .flex-center p {
    font-size: 16px;
    margin-bottom: 0;
  }

  .contact-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
  }

  .contact-icon {
    font-size: 24px;
  }


}


@media (max-width: 768px) {
  .flex-custom a:first-child {
    flex: 1 1 100%;
    /* ปุ่มแรกเต็มแถว */
  }

  .flex-custom a:nth-child(2),
  .flex-custom a:nth-child(3) {
    flex: 1 1 calc(50% - 0.5rem);
    /* ปุ่มสองและสามแบ่งครึ่ง */
  }

  .product-title {
    font-size: 2.5rem;
  }

  .business-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .business-feature-card {
    padding: 25px;
  }

  .cta-button {
    padding: 18px 40px;
    font-size: 1.1rem;
  }

  .branches-list {
    flex-direction: column;
    align-items: center;
  }

  .d-flex-mobile {
    flex-wrap: wrap;
  }

  .d-flex-mobile a:first-child {
    width: 100%;
    /* ปุ่มแรกเต็มแถว */
  }

  .d-flex-mobile a:nth-child(2),
  .d-flex-mobile a:nth-child(3) {
    width: 48%;
    /* ปุ่ม 2 และ 3 แบ่งครึ่ง */
  }
}