/* create June2025 */


@media (min-width: 576px) {
  /*.slide-home .slick-prev {
    left: calc(50% - 115px) !important;
  }
  .slide-home .slick-next {
    right: calc(50% - 115px) !important;
  }*/
}
@media (min-width: 768px) {
  /*.slide-home .slick-prev {
    left: calc(50% - 120px) !important;
  }
  .slide-home .slick-next {
    right: calc(50% - 120px) !important;
  }*/
}
@media (min-width: 992px) {
  /*.slide-home .slick-prev {
    left: calc(50% - 125px) !important;
  }
  .slide-home .slick-next {
    right: calc(50% - 125px) !important;
  }*/
}
@media (min-width: 1200px) {
  .slide-home .slick-prev {
    left: calc(50% - 130px) !important;
  }
  .slide-home .slick-next {
    right: calc(50% - 130px) !important;
  }
}
@media (min-width: 1400px) {
  .slide-home .slick-prev {
    left: calc(50% - 135px) !important;
  }
  .slide-home .slick-next {
    right: calc(50% - 135px) !important;
  }
}

.bg-gradient-footer {
  background: linear-gradient(90deg, #0E4E91 73.08%, #3AC2CF 100%);
}



.great-vibes-regular {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
}

.text-blue {
  color: #008fc7;
}

.text-lightblue {
  color: #3ec0cd;
}

.about-card {
  background: linear-gradient(to bottom, #b3d9f2 0%, #155090 100%);
}

.about-card .card-body {
  min-height: 145px;
}

.about-card .card-body span.text-primary {
  color: white !important;
}
.about-card .card-body span.text-white small.text-primary {
  color: white !important;
}

.about-card .card-footer {
  text-align: center;
  border-top: none;
  background: transparent;
}

.about-card .card-footer .accordion-button {
  justify-content: center;
  align-items: center;
  display: flex;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 10px 15px;
  position: relative;
}

.about-card .card-footer .accordion-button small {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card .card-footer .accordion-button::after {
  display: none;
}

.circle {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #fff;
  margin-left: 10px;
  position: relative;
}

.circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 43%;
  transform: translate(-40%, -50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-top: 2px solid white;
  border-right: 2px solid white;
}

.about-card .accordion-item {
  background: transparent;
  border: none;
}

.about-card .accordion-collapse {
  background-color: #144f90;
}

.about-card .accordion-collapse ul li {
  text-align: left;
}

/* About page swiper slides only */
body:has(.about-card) .swiper-slide,
body:has(.about-gift) .swiper-slide {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  background: white;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

/* About page swiper navigation */
body:has(.about-card) .swiper-button-next,
body:has(.about-card) .swiper-button-prev,
body:has(.about-gift) .swiper-button-next,
body:has(.about-gift) .swiper-button-prev {
  color: #6c757d;
}

/* Fix mobile horizontal scroll issues */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
  
  .container-xxl.flex-grow-1.container-p-x {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* NK Cell Head Background */
.nkcell-head {
  background-image: url('../img/nkcell-body-2.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  min-height: 1000px;
  padding-top: 70px;
}

.nkcell-body {
  margin-top: 50px;
}

/* NK Cell Body Content */
.nkcell-body > div {
  max-width: 350px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.nkcell-body > div > img {
  width: 60px;
}

/* First div align start, second div align end, single div center */
.nkcell-body > div:first-child:not(:only-child) {
  margin-right: auto;
  margin-left: 0;
  padding-left: 0;
  padding-left: 20px;
}

.nkcell-body > div:last-child:not(:only-child) {
  margin-left: auto;
  margin-right: 0;
  padding-right: 0;
  padding-right: 20px;
}

.nkcell-body > div:only-child {
  align-self: center;
}

/* Button Link Gradient */
.button-link {
  /*background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  border: 1px solid #d0d0d0;
  border-radius: 25px;
  padding: 12px 25px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
}

.button-link:hover {
  /*background: linear-gradient(135deg, #f8f8f8 0%, #d8d8d8 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  color: #333;
  text-decoration: none;*/
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  overflow: hidden;
  padding: 0;
  width: 100%;
  height: 100%;
}


.bg-lightblue {
  background-color: #e6f1f9;
}


.bg-center-top{
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-center-bottom{
  background-position: center bottom;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(../img/bg-home-03.webp);
}

.home-btn-more {
  max-width: 300px;
}


.bg-gradient-nearby-tourist::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(13, 77, 145, 1) 00%, rgba(13, 77, 145, 0.1) 50%);
      z-index: 0;
}

.card-bg-img-stemcell {
  background-size: 900px;
  background-repeat: no-repeat;
  border-radius: 3rem;
  /* height: 300px; */
}




.card-bg-img {
  height: 500px;
  /* max-width: 350px; */
  border-radius: 1.2rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.card-bg-img::before {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-gradient-white-blue {
    background: linear-gradient(to bottom, #ffffff, #0E4E91);
}
.bg-gradient-lighbule-blue {
    background: linear-gradient(to bottom, #e7f2fb, #1e5795);
}

.button-custom-blue {
      background-color: #3ec0ce;
      color: #FFF;
      padding: 0.2rem 1rem;
      font-size: 1.5rem;
      font-weight: bold;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      transition: all 0.3s ease-in-out;
  }
  .button-custom-blue:hover {
      background-color: #008fc7;
      color: #FFF;
      transform: translateY(-2px) scale(1.05);
  }


.home-circle {
  width: 300px;
  height: 300px;
  background-color: #0b4d9b;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 30px;
  margin: auto;
}
.home-circle img {
  width: 50px;
  margin-bottom: 20px;
}

.home-circle p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.service-card {
  width: 320px;
  height: 460px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  color: white;
  transition: transform 0.3s ease;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  line-height: 2rem;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to top, rgba(0, 50, 150, 0.7), transparent); */
  z-index: 0;
}
.button-circle-right-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.button-circle-right-arrow:hover {
  background: white;
  color: #003366;
}


.service-card-text {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0px;
}  

.video-container-home {
  position: relative;
  padding-bottom: 36.25%; 
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 20px auto; 
  border-radius: 10px; 
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.video-container-home iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.circle-box {
  width: 280px;
  height: 280px;
  background: #f2f8fb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.circle-content {
  padding: 20px;
  max-width: 220px;
}
.circle-box p {
  font-size: 0.95rem;
  margin: 0;
}

.rounded-28 {
  border-radius: 28px;
}

.stemcell-graphic-1 {
  position: absolute;
    bottom: 0px;
    right: 0px;
    width: 70vw;
    max-width: 450px;
}


/* สำหรับทุกขนาดหน้าจอ: ซ่อน bg เดิม และ set bg ที่ custom-container */
.footer-custom-container {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* ถ้าเป็นมือถือ/แท็บเล็ต: เอา bg image ใส่ที่ footer-custom-container */
@media (max-width: 991.98px) {
  .bg-center-bottom {
    /*background-image: none !important;*/
    background-image: url(../img/bg-home-03-mb.png?v=4);
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: bottom center; 
    padding-bottom: 40px;
  }


  .footer-custom-container {
    /* Mobile footer styles would go here if needed */
    padding: 20px 0;
  }
}


/* ถ้าเป็น PC: ใช้ bg เดิม และไม่ต้องใส่ที่ footer-custom-container */
@media (min-width: 992px) {
  .footer-custom-container {
    background-image: none;
  }
}


@media (min-width: 992px) {
  .footer-custom-container {
    height: 42vw;
    max-height: 320px;
  }
}

/* เพิ่มใน CSS ของคุณ */

/* Stemcell*/

@media (min-width: 768px) {
  .card-bg-img-stemcell {
    background-size: 900px;
    background-repeat: no-repeat;
    border-radius: 3rem;
    min-height: 300px;
    display: flex;
    align-items: center;
  }
  
  
  .mobile-image-container {
    display: none;
  }
}

/* สำหรับ Mobile - แยก image และ content */
@media (max-width: 767.98px) {
  .card-bg-img-stemcell {
    background-image: none !important; 
    background-size: unset;
    border-radius: 1rem;
    padding: 1rem;
    min-height: auto;
  }
  
  .stemcell-graphic-1 {
    filter: blur(5px);
  }
  
  
  .mobile-image-container {
    display: block;
    width: 100%;
    height: 200px;
    border-radius: 1rem;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    margin-bottom: 1rem;
  }

  .mobile-image-container.right {
   
    background-position: right;
  }
  
  
  .stemcell-empty-col {
    display: none;
  }
  
  
  .stemcell-content-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}


.bg-container-end-2025 {
  background-image: url('../img/bg-2025.jpg');
  background-position: top center;
  background-size: cover;
}

.bg-container-travel {
  background-image: 
    url('../img/bg-travel-top-2025.png'),
    url('../img/bg-travel-2025.png?v=2');
  background-position: 
    top center,
    bottom center;
  background-repeat: no-repeat, no-repeat;
  background-size: 
    contain,
    contain;
  background-attachment: local, local;
  background-color: white;
  min-height: 150vh;
  padding: 100px 0;
}

/* Interests checkbox grid styling */
.interests-checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .interests-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 992px) {
  .interests-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

/* Custom form input styling */
.custom-form-input {
  background-color: #f5f5f5 !important;
}

.custom-form-input[type="checkbox"]:checked {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.bd-radius-top-left-right {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.bd-radius-20 {
  border-radius: 20px;
}

/* Circle icon styling */
.cycle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #008fc7;
}

.cycle-icon .icon {
  color: #008fc7;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card body equal height for branch titles */
.branch-title-container {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

/* Equal height for contact boxes */
.card-body .box-contact {
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

/* For parent row to have equal height columns */
.equal-height-row {
  display: flex;
}

.equal-height-row .col-md-6,
.equal-height-row .col-lg-6 {
  display: flex;
}

.equal-height-row .card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.equal-height-row .card-body {
  flex: 1;
}

/* Button link container styling */
.button-link {
  margin-top: auto;
  padding-top: 1rem;
}

.button-link .d-flex {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.button-link .btn {
  min-width: 150px;
  min-height: 45px;
  border-radius: 20px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  font-weight: bold;
}

/* First button - gradient */
.button-link a:first-child .btn {
  background: linear-gradient(138deg, #3bc3ce 63%, #26a2a9 100%) !important;
  color: white !important;
  border: none !important;
}

.button-link a:first-child .btn:hover {
  background: linear-gradient(90deg,  #26a2a9 73%, #3bc3ce 100%) !important;
}

/* Other buttons - white background */
.button-link a:not(:first-child) .btn {
  background-color: white !important;
  color: var(--bs-primary) !important;
  border: 2px solid var(--bs-primary) !important;
}

.button-link a:not(:first-child) .btn:hover {
  background-color: var(--bs-primary) !important;
  color: white !important;
}

/* White-gray gradient button class */
.button-link a.btn-white-gray .btn {
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%) !important;
  border: 1px solid #d0d0d0 !important;
  color: var(--bs-primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.button-link a.btn-white-gray .btn:hover {
  background: linear-gradient(135deg, #f8f8f8 0%, #d8d8d8 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  color: var(--bs-primary);
}

/* Font size classes for button-link anchor tags */
.button-link a.fs-small .btn {
  font-size: 0.875rem !important;
  padding: 8px 16px !important;
}
.button-link a.fs-medium .btn {
  font-size: 1rem !important;
  padding: 10px 20px !important;
}
.button-link a.fs-large .btn {
  font-size: 1.25rem !important;
  padding: 12px 24px !important;
}
.button-link a.fs-xl .btn {
  font-size: 1.5rem !important;
  padding: 14px 28px !important;
}
.button-link a.fs-xxl .btn {
  font-size: 1.75rem !important;
  padding: 10px 50px !important;
}

/* NK Cell FAQ Accordion Styling */
.nkcell-head .accordion-custom-button .accordion-item {
  border: none !important;
  border-radius: 0 !important;
}

.nkcell-head .accordion-custom-button .accordion-item:last-child .accordion-button {
  border-bottom: none !important;
}

.nkcell-head .accordion-custom-button .accordion-button {
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 0 !important;
}

.nkcell-head .accordion-custom-button .accordion-button:not(.collapsed) {
  border-bottom: none !important;
}

.nkcell-head .accordion-custom-button .accordion-body {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.nkcell-head .accordion-custom-button .accordion-item:last-child .accordion-body {
  border-bottom: none !important;
}

/* NK Cell Accordion Plus/Minus Icons */
.nkcell-head .accordion-custom-button .accordion-button::after {
  content: '+' !important;
  background-image: none !important;
  font-size: 1.5rem !important;
  font-weight: thin !important;
  color: var(--bs-primary) !important; 
  transform: none !important;
  transition: all 0.3s ease !important;
}

.nkcell-head .accordion-custom-button .accordion-button:not(.collapsed)::after {
  content: '-' !important;
  transform: none !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .button-link .d-flex {
    flex-direction: column;
    gap: 1rem;
  }
  
  .button-link .btn {
    min-width: 200px;
  }
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(11, 77, 155, 0.8);
}

/* Travel experience image responsive */
@media (max-width: 767.98px) {
  .bg-container-travel {
    min-height: 77vh;
    padding: 50px 0;
  }
  
  .bg-container-travel img[src*="travel-experience-no1.png"] {
    max-width: 100% !important;
    min-height: 300px;
    height: auto !important;
    object-fit: contain;
    object-position: center;
  }
}

/* Tablet and medium desktop fix for stretched image */
@media (min-width: 768px) and (max-width: 1399.98px) {
  .bg-container-travel img[src*="travel-experience-no1.png"] {
    max-width: 80% !important;
    height: auto !important;
    object-fit: contain;
    object-position: center;
  }
}

/* blog */
/* Background Section */
.slick-prev:before {
    content: '' !important;
}

.slick-next:before {
    content: '' !important;
}
.bg-blog-top {
    background-image: url('../img/bg-blog-top-2025.png?v=2');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 60px 0;
    color: white;
    position: relative;
}

.bg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 0;
}

.bg-hero .container-xl {
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    margin-bottom: 2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #ffffff;
}

.breadcrumb-item a {
    color: #ffffff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #ffffff;
}
.bg-hero .breadcrumb-item a, .bg-hero .breadcrumb-item.active, .bg-hero .breadcrumb-item + .breadcrumb-item::before {
  color: #ffffff;
}
/* Banner Slider */
.banner-slider {
    position: relative;
    margin: 1rem 0;
}

.banner-slide {
    height: 654px !important;
    min-height: 654px !important;
    width: 100%;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: block !important;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

.banner-slider .slick-track {
    display: flex !important;
    align-items: stretch !important;
}

.banner-slider .slick-slide {
    height: auto !important;
    min-height: auto !important;
}

.banner-slider .slick-slide > div {
    height: 100% !important;
}

.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent !important;
    border: 1px solid #ffffff !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    color: white !important;
    font-size: 20px !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slick-prev {
    left: 25px !important;
}

.slick-next {
    right: 25px !important;
}

.slick-prev:hover, .slick-next:hover {
    background: rgba(14, 78, 145, 0.9) !important;
    transform: translateY(-50%) scale(1.1);
}

.slick-prev:before, .slick-next:before {
    color: white !important;
    font-size: 20px !important;
}

/* Category Buttons */
.category-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 3rem 0;
    padding: 0 1rem;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    width: 140px;
    gap: 0.5rem;
    flex-shrink: 0;
}

.category-btn:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #ddd;
}

.category-btn img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.category-btn span {
    font-weight: 300;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

.category-btn.active {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

a.category-btn {
    text-decoration: none;
    color: inherit;
}

a.category-btn:hover {
    text-decoration: none;
    color: #ffffff;
}

a.category-btn:visited {
    color: inherit;
}

/* Blog Grid */
.blog-grid {
    margin: 3rem 0;
}

.blog-card {
    background: transparent;
    border-radius: 20px;
    overflow: visible;
    box-shadow: none;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    /*box-shadow: 0 8px 25px rgba(0,0,0,0.15);*/
}

.blog-card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 20px;
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.blog-card-icon {
    color: #3ec0ce;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #0E4E91;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card-description {
    color: var(--bs-primary);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    /*border-top: 1px solid #eee;*/
    margin-top: auto;
}

.blog-card-date {
    color: #999;
    font-size: 0.7rem;
}

.share-btn {
    background: transparent;
    color: #666;
    border: none;
    border-radius: 20px;
    padding: 0.4rem;
    font-size: 0.7rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.ml-- {
  margin-left: -10px;
}

.share-btn:hover {
    color: #0E4E91;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: flex-end;
    margin: 3rem 0;
}

.pagination {
    align-items: center;
}

.pagination .page-link,
.pagination .page-link > a {
    background: transparent;
    border: none;
    margin: 0 0.5rem;
    color: #999;
    font-size: 1rem;
    padding: 0;
    box-shadow: none !important;
    min-width: auto;
}

.pagination .page-item.active .page-link {
    color: var(--bs-primary);
    background: transparent;
    border: none;
    font-weight: bold;
}

.pagination .page-link:hover {
    background: transparent;
    color: var(--bs-primary);
}

.pagination .page-item:last-child .page-link {
    background: transparent;
    border: 2px solid var(--bs-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    margin: 0;
}

.pagination .page-item:last-child .page-link:hover {
    background: var(--bs-primary);
    color: white;
}

/* Blog card links */
.blog-card-image-link,
.blog-card-title-link {
    text-decoration: none;
    color: inherit;
}

.blog-card-image-link:hover,
.blog-card-title-link:hover {
    text-decoration: none;
    color: inherit;
}

.blog-card-title-link .blog-card-title {
    color: #0E4E91;
}

.blog-card-title-link:hover .blog-card-title {
    color: #0E4E91;
}

/* Blog view cover image */
.cover-blog-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cover-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Blog view breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #008fc7;
}

.breadcrumb-item a {
    color: #008fc7;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #008fc7;
}

.breadcrumb-item.active {
    color: #008fc7;
}

/* Blog content styling */
.blog-content {
    line-height: 1.5;
    color: #0E4E91;
    font-size: 16px;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    color: #0E4E91;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-content h1 {
    font-size: 2.5rem !important;
}

.blog-content h1 strong{
    font-size: 2rem !important;
}

.blog-content h2 {
    font-size: 2rem !important;
}

.blog-content h3 {
    font-size: 1.5rem !important;
}

.blog-content h4 {
    font-size: 1.25rem !important;
}

.blog-content h5 {
    font-size: 1.1rem !important;
}

.blog-content h6 {
    font-size: 1rem !important;
}

.blog-content p {
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: #0E4E91;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content blockquote {
    border-left: 4px solid #3ec0ce;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.blog-content img {
    width: 100%;
    height: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.blog-content table th,
.blog-content table td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

.blog-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #0E4E91;
}

.blog-content a {
    color: #3ec0ce;
    text-decoration: underline;
}

.blog-content a:hover {
    color: #0E4E91;
}

/* Video responsive 16:9 */
.blog-content iframe.ql-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 2rem 0;
    border: none;
}

/* Suggest blog slider */
.suggest-blog {
    background-color: #E7F2FB;
}

.slide-blog {
    position: relative;
}

.slide-blog .slick-prev,
.slide-blog .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent !important;
    border: 2px solid var(--bs-primary) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    color: var(--bs-primary) !important;
    font-size: 20px !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-blog .slick-prev {
    left: -100px !important;
}

.slide-blog .slick-next {
    right: -100px !important;
}

.slide-blog .slick-prev:hover,
.slide-blog .slick-next:hover {
    background: var(--bs-primary) !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1);
}

.slide-blog .slick-prev:before,
.slide-blog .slick-next:before {
    color: var(--bs-primary) !important;
    font-size: 20px !important;
}

.slide-blog .slick-prev:hover:before,
.slide-blog .slick-next:hover:before {
    color: white !important;
}

.slide-blog .slick-prev i,
.slide-blog .slick-next i {
    color: var(--bs-primary) !important;
    font-size: 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.slide-blog .slick-prev:hover i,
.slide-blog .slick-next:hover i {
    color: white !important;
}

/* Home slider (slide-home) styles - based on slide-blog */
.slide-home {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    overflow: visible;
    /*padding-bottom: 80px;*/
}

.slide-home .slick-prev,
.slide-home .slick-next {
    position: static !important;
    transform: none;
    z-index: 10;
    background: transparent !important;
    border: 2px solid var(--bs-primary) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    color: var(--bs-primary) !important;
    font-size: 16px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.slide-home .slick-prev:hover,
.slide-home .slick-next:hover {
    background: var(--bs-primary) !important;
    color: white !important;
}

.slide-home .slick-prev:hover {
    transform: scale(1.1) !important;
}

.slide-home .slick-next:hover {
    transform: scale(1.1) !important;
}

.slide-home .slick-prev:before,
.slide-home .slick-next:before {
    color: var(--bs-primary) !important;
    font-size: 20px !important;
}

.slide-home .slick-prev:hover:before,
.slide-home .slick-next:hover:before {
    color: white !important;
}

.slide-home .slick-prev i,
.slide-home .slick-next i {
    color: var(--bs-primary) !important;
    font-size: 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.slide-home .slick-prev:hover i,
.slide-home .slick-next:hover i {
    color: white !important;
}

.slide-home .slick-slide {
    margin: 0 auto;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.slide-home .slick-track {
    margin: 0;
    display: flex !important;
    align-items: center !important;
}

.slide-home .slick-dots {
    bottom: -60px;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* Create a navigation wrapper using CSS */
.slide-home .slick-dots::before {
    content: '';
    position: absolute;
    left: -55px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.slide-home .slick-dots::after {
    content: '';
    position: absolute;
    right: -55px; 
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    pointer-events: none;
}

/* Position arrows relative to slider container */
.slide-home .slick-prev {
    position: absolute !important;
    /*left: calc(50% - 120px) !important;*/
    bottom: -60px !important;
    top: auto !important;
    transform: none !important;
}

.slide-home .slick-next {
    position: absolute !important;
    /*right: calc(50% - 120px) !important;*/
    bottom: -60px !important;
    top: auto !important;
    transform: none !important;
}

/* Wrapper for the whole navigation area */
.slide-home::after {
    content: '';
    display: block;
    position: relative;
    text-align: center;
    /*height: 40px;*/
}

.slide-home .slick-dots li {
    margin: 0 5px;
}

.slide-home .slick-dots li button {
    background: #999;
    border: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    font-size: 0;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-home .slick-dots li.slick-active button {
    background: var(--bs-primary);
    transform: scale(1.2);
}

.slide-home .slick-dots li button:hover {
    background: var(--bs-primary);
}

.slide-home .slick-dots li button:before {
    content: "";
}

/* Home circle styles within slide-home */
.slide-home .home-circle {
    width: 300px !important;
    height: 300px !important;
    background-color: #0b4d9b;
    border-radius: 50%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: white;
    text-align: center !important;
    padding: 30px !important;
    margin: 0 auto !important;
    box-sizing: border-box;
}

.slide-home .home-circle img {
    width: 50px !important;
    margin-bottom: 20px !important;
    flex-shrink: 0;
}

.slide-home .home-circle p {
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
    flex: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* Mobile responsive styles for slide-home */
@media (max-width: 768px) {
    .slide-home .slick-prev {
        /*left: calc(50% - 100px) !important;*/
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
        z-index: 9999;
    }

    .slide-home .slick-next {
        /*right: calc(50% - 100px) !important;*/
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    .slide-home .slick-prev i,
    .slide-home .slick-next i {
        font-size: 12px !important;
    }

    .slide-home .slick-dots {
        margin: 0 10px;
    }

    .slide-home .slick-dots::before,
    .slide-home .slick-dots::after {
        width: 32px;
        height: 32px;
    }

    .slide-home .slick-prev:hover {
        transform: scale(1.05) !important;
    }

    .slide-home .slick-next:hover {
        transform: scale(1.05) !important;
    }

    .slide-home .slick-slide {
        margin: 0 auto;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .slide-home .slick-track {
        margin: 0;
        display: flex !important;
        align-items: center !important;
    }

    .slide-home .home-circle {
        width: 300px !important;
        height: 300px !important;
        padding: 25px !important;
    }

    .slide-home .home-circle img {
        width: 45px !important;
        margin-bottom: 15px !important;
    }

    .slide-home .home-circle p {
        font-size: 0.9rem !important;
    }
}

.slide-blog .slick-slide {
    margin: 0 15px;
}

.slide-blog .slick-track {
    margin-left: -15px;
    margin-right: -15px;
}

.slide-blog .slick-dots {
    bottom: 0px;
    text-align: center;
}

.slide-blog .slick-dots li {
    margin: 0 5px;
}

.slide-blog .slick-dots li button {
    background: #999;
    border: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    font-size: 0;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-blog .slick-dots li.slick-active button {
    background: var(--bs-primary);
    transform: scale(1.2);
}

.slide-blog .slick-dots li button:hover {
    background: var(--bs-primary);
}

.slide-blog .slick-dots li button:before {
    content: "";
}

/* Suggest blog card footer */
.suggest-blog .blog-card-footer {
    min-height: 50px;
    padding: 1rem 0;
}

.suggest-blog .blog-card-footer .blog-card-date {
    flex: 1;
    white-space: nowrap;
}

.suggest-blog .blog-card-footer .share-btn {
    /*flex: 1;
    white-space: nowrap;
    text-align: right;*/
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 7px;
}
.suggest-blog .blog-card-title {
  display: flex;
  gap: 2px;
  flex-direction: row;
}

/* Responsive */

.bg-hero .text-center{
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991.98px) {
    .bg-hero .text-center {
        min-height: 200px;
        padding: 30px 0;
    }
    
    .bg-blog-top {
        background-image: url('../img/bg-blog-top-2025-mobile.jpg?v=3');
        background-size: contain;
    }
}

@media (max-width: 991.98px) {
    .banner-slider {
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        width: 100vw;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .bg-hero .text-center {
        min-height: 150px;
        padding: 20px 0;
    }
    
    .bg-hero .text-center {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .bg-hero .display-4 {
        font-size: 2rem !important;
        margin: 0 auto;
        max-width: 100%;
    }

    .banner-slide {
        border-radius: 0 !important;
    }

    .banner-slide img {
        border-radius: 0 !important;
    }

    .category-buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        justify-content: center;
    }

    .category-btn {
        min-width: auto;
        width: 100%;
        padding: 1rem 0.5rem;
        border-bottom: 1px solid #ddd;
    }
    
    .category-btn:hover {
        transform: none;
    }

    .category-btn:nth-last-child(-n+3) {
        border-bottom: none;
    }

    .category-btn img {
        width: 48px;
    }

    .blog-card-content {
        padding: 0.5rem;
        padding-top: 1.5rem;
    }

    .blog-content img {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

    .cover-blog-image {
        height: auto;
    }

    .container-xxl.no-pad {
        padding-left: 0;
        padding-right: 0;
    }
    .container-fluid.no-pad {
        padding-left: 0;
        padding-right: 0;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .breadcrumb-item.active {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }

    .blog-content h1 {
        font-size: 1.8rem !important;
        text-align: center !important;
    }

    .blog-content h2 {
        font-size: 1.5rem !important;
    }

    .blog-content h3 {
        font-size: 1.25rem !important;
    }

    .blog-content h4 {
        font-size: 1.1rem !important;
    }

    .blog-content h5 {
        font-size: 1rem !important;
    }

    .blog-content h6 {
        font-size: 0.9rem !important;
    }

    .suggest-blog {
        padding: 1rem !important;
    }

    .slide-blog .slick-prev {
      top: 35%;
        left: -25px !important;
        width: 36px !important;
        height: 36px !important;
        z-index: 9999;
    }

    .slide-blog .slick-next {
      top: 35%;
        right: -25px !important;
        width: 36px !important;
        height: 36px !important;
    }

    .slide-blog .slick-slide {
        margin: 0 5px;
    }

    .slide-blog .slick-track {
        margin-left: -5px;
        margin-right: -5px;
    }

    .category-btn:not(:first-child)::before {
        display: none;
    }

    .category-btn:nth-child(3n+3)::after {
        display: none;
    }

    .category-btn:nth-child(3n+1)::after,
    .category-btn:nth-child(3n+2)::before,
    .category-btn:nth-child(3n+2)::after {
        content: '';
        position: absolute;
        top: 0;
        height: 100%;
        width: 1px;
        background: #ddd;
    }

    .category-btn:nth-child(3n+1)::after {
        right: 0;
    }

    .category-btn:nth-child(3n+2)::before {
        left: 0;
    }

    .category-btn:nth-child(3n+2)::after {
        right: 0;
    }

    .category-btn:nth-child(6) span {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .slick-prev {
        left: 10px !important;
        width: 40px !important;
        height: 40px !important;
    }

    .slick-next {
        right: 10px !important;
        width: 40px !important;
        height: 40px !important;
    }

   .suggest-blog .blog-card-title {
      flex-direction: column;
      align-items: center;
      justify-items: center;
    }
}

 .container-fluid.no-pad {
        padding-left: 0;
        padding-right: 0;
    }

/* Hero Section Styles */
.hero {
    position: relative;
}

.hero .container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.hero .col-md-6 {
    pointer-events: none;
}

.hero-text-overlay {
    text-align: right;
    padding-top: 20px;
    padding-right: 15px;
    pointer-events: auto;
}

.hero-text-overlay h1 {
    margin: 0;
    line-height: 1.2;
    font-weight: bold;
    font-size: calc(1.375rem + 1.5vw + 1rem);
}

.hero-text-overlay h1 br {
    display: block;
}

.hero .about-logo {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

/* About Gift Section */
.about-gift {
    background: url('../img/about-bg-2025.png') top center / cover no-repeat;
    min-height: 800px;
    position: relative;
    margin-top: -180px;
    padding-top: 140px;
    
}

/* List Docker Styles */
.list-docker {
    list-style: none;
    padding-left: 0;
}

.list-docker li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 10px;
    text-align: left;
}

.list-docker li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('../img/about-check.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-text-overlay {
        top: 15px;
        right: 15px;
    }
    
    .hero-text-overlay h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-text-overlay {
        top: 10px;
        right: 10px;
    }
    
    .hero-text-overlay h1 {
        font-size: 1.2rem;
    }
}
