   .bg-pink {
    background: linear-gradient(to right, #ff63b1, #d63384);
  }
     .bg-gray {
    background-color: #f0f0f0;
  }
  .text-bold {
    font-weight: bold;
  }

  .text-pink {
    color: #d63384;
  }
  .text-xs {
    font-size: 0.75rem;
  }
  .text-lg {
    font-size: 1.25rem; /* Adjust the font size as needed */
  }

    .text-sm {
      font-size: 0.85rem; /* Adjust the font size as needed */
  }


  .text-md {
      font-size: 1rem; /* Adjust the font size as needed */
  }

  .text-xl {
      font-size: 1.5rem; /* Adjust the font size as needed */
  }
  /**************************************************************/
.navbar-dark .navbar-nav .nav-link  {
  color: #000000; /* Black text color */
}
/**************************************************/
/*************************************************/
@media (min-width: 1200px) {
  .navbar-brand img {
    height: 140px;
    object-fit: contain; /* ยังคงรักษาสัดส่วนของภาพ */
  }
}

@media (min-width: 820px) {
  .navbar-brand img {
    height: 80px;
    object-fit: contain;
  }
}

@media (min-width: 768px) {
  .navbar-brand img {
    height: 60px;
    /* ไม่ต้องปรับแก้สำหรับขนาดหน้าจอขนาด 768px */
  }
}

@media (max-width: 424.98px) {
  .navbar-brand img {
    display: none; /* ซ่อนรูปภาพโลโก้ในหน้าจอขนาดเล็กกว่า 425px */
  }
}

@media (min-width: 425px) {
  .navbar-brand .text-logo {
    display: none; /* ซ่อนโลโก้ข้อความในหน้าจอขนาด 425px ขึ้นไป */
  }
  .navbar-brand img {
    height: 60px;
    object-fit: contain;
    /* ไม่ต้องปรับแก้สำหรับขนาดหน้าจอขนาด 768px */
  }
}

    /**********************************************/

     /* Custom styles for the carousel */
    .carousel {
      margin-left: -15px; /* Remove the default left margin */
      margin-right: -15px; /* Remove the default right margin */
    }
    .carousel-inner {
      border: 1px solid #fff; /* Add white border to carousel inner */
      border-radius: 0px; /* Add border radius */
      overflow: hidden; /* Hide overflow to prevent image shadow */
    }
    .rounded-button {
      border-radius: 16px;
      transition: background-color 2s ease;

      background: linear-gradient(to right, #ff8c00, #ff7300);
      
      background-color: #2986cc;
      color: #FFF;
      width: 250px;
      box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* Add shadow effect */

      .carousel-speed {
      transition: opacity 30s ease-in-out; /* กำหนดความเร็วในการเปลี่ยนภาพ */
    }


    }
    .rounded-button:hover {
      background: linear-gradient(to right, #2986cc, #0061aa);
      color: #FFF;
    }
    @media (max-width: 425px) {
      .btn-block-sm {
        display: block;
        width: 100%;
      }
    }

     .btn-social {
      width: 24px;
      height: 24px;
      border-radius: 50%; /* Makes the button circular */
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 5px; /* Adds spacing between buttons */
    }

/*********************************************************************/  

/* Navbar link styles */
.navbar-nav a {
    color: #4A4A4A; /* Black text color for nav links */
    font-weight: bold; /* Make the text bold */
    font-size: 16px; 
    font-family: "DBO3Std", Georgia;
    transition: color 0.3s; /* Smooth transition for color change */
}

/* Change text color on hover */
.navbar-nav a:hover {
    color: orange; /* New text color on hover */
}

/* Show dropdown menu on hover */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

/* Hide dropdown menu by default */
.navbar-nav .dropdown-menu {
    display: none;
    position: absolute;
   
}

/* Custom CSS for styling dropdown menu */
.dropdown-menu {
  background-color: #f0f0f0; /* Background color */
  border: 1px solid rgba(0, 0, 0, 0); /* Border */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0); /* Box shadow */
  margin-top: 0px;
  width: 350px;

}

.dropdown-item {
  color: #333; /* Text color */
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: #f8f9fa; /* Hover background color */
  color: #333; /* Hover text color */
}

.dropdown-divider {
  border-top: 0px solid rgba(0, 0, 0, 0); /* Divider color */
}
/*********************************************************************/ 
/* Default styles for the horizontal lines */
.title-a h2:after,
.title-a h2:before {
    display: inline-block;
    margin: 0 20px 8px 20px;
    height: 3px;
    content: " ";
    text-shadow: none;
    background-color: #FFF;
    width: 140px;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .title-a h2:after,
    .title-a h2:before {
        width: 60px; /* Adjust width for smaller screens */
    }
}
    /* Media query for smaller screens */
    @media (max-width: 768px) {
    .title-a h1,
    .title-a h2,
    .title-a h3 {
        font-size: 18px; /* Adjust as needed for smaller screens */
    }
}

/* Default height for .row-title-a */
.row-title-a {
    height: 250px; /* Set default height */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .row-title-a {
        height: 175px; /* Adjust height for smaller screens */
    }
}

/* Media query for even smaller screens */
@media (max-width: 425px) {
    .row-title-a {
        height: 185px; /* Adjust height for even smaller screens */
    }
}

/* Media query for even smaller screens */
@media (max-width: 375px) {
    .row-title-a {
        height: 215px; /* Adjust height for even smaller screens */
    }
}

/* Media query for even smaller screens */
@media (max-width: 320px) {
    .row-title-a {
        height: 225px; /* Adjust height for even smaller screens */
    }
}
/**********************************************************/
.text-link-s2 a {
    text-decoration: none;
    color: #4A4A4A;
}

.text-link-s2 a:hover {
    color: #d63384; /* Change the color on hover to orange */
}
/* Image zoom effect */
.text-link-s2 a img {
    transition: transform 0.3s; /* Smooth transition for zoom effect */
}

.text-link-s2 a:hover img {
    transform: scale(1.02); /* Increase the scale of the image on hover */
     box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); /* Add shadow effect */

}
/***************************************************/
.carousel-indicators {
    position: absolute;
    bottom: -25px; /* Position indicators at the bottom of the carousel */
  

    z-index: 2; /* Make sure the indicators are above other elements */
}

.carousel-indicators li {
    background-color: #d63384; /* Pink color */
    border-radius: 5px; /* Make the indicator circular */
    margin: 0 5px; /* Add some space between indicators */
}

.carousel-indicators .active {
    background-color: #d63384; /* Pink color for active indicator */
}

/***************************************************/
.bg-shadow {
   
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.2); /* White shadow at the bottom */
}

.bg-shadow-menu-icon {
    background: linear-gradient(to bottom , #FFF, #fafafa);
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.1); /* White shadow at the bottom */
}
.f-line {
    height: 5px;
    background-color: #d92574;
    background: linear-gradient(to right , #FFF, #d92574);
   box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1); /* White shadow at the bottom */
}
/****************************************************/

/* CSS for rounded border */
    .iframe-map {
        border-radius: 15px; /* ปรับค่าตามต้องการ */
        border: 1; /* ลบเส้นขอบ */
        border-color: #FFF;
         width: 300px;
        height: 200px; /* ปรับความสูงให้สอดคล้องกับสัดส่วนของความกว้าง */
    }
     @media screen and (max-width: 768px) {
    .iframe-map {
       width: 200px;
       height: 175px; /* ปรับความสูงให้สอดคล้องกับสัดส่วนของความกว้าง */
  }
}
  @media screen and (max-width: 425px) {
    .iframe-map {
       width: 340px;
       height: 175px; /* ปรับความสูงให้สอดคล้องกับสัดส่วนของความกว้าง */
  }
}
   @media screen and (max-width: 375px) {
    .iframe-map {
       width: 300px;
       height: 175px; /* ปรับความสูงให้สอดคล้องกับสัดส่วนของความกว้าง */
  }
}
    @media screen and (max-width: 320px) {
    .iframe-map {
       width: 250px;
       height: 175px; /* ปรับความสูงให้สอดคล้องกับสัดส่วนของความกว้าง */
  }

}
/*************************************************/
    .tab-content {
      background-color: #ffffff;
      border: 1px solid #dee2e6;
      border-top: none;
      border-radius: 0 0 .25rem .25rem;
      padding: 20px;
    }
    .nav-tabs .nav-link {
      border: 1px solid transparent;
      border-top-left-radius: .25rem;
      border-top-right-radius: .25rem;
      color: #495057;
      font-size: 16px;
    }
    .nav-tabs .nav-link.active {
      background-color: #ffffff;
      border-color: #dee2e6 #dee2e6 #ffffff;
      font-size: 16px;
    }


    .section-paddingt{
    	padding-top:60px ;

    }
