@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mitr');

:root {
  --primary-red: #f683b5;
  --dark-red: #eb67a1;
  --light-red: #ffebee;
  --gold: #ffd700;
  --soft-pink: #f8bbd9;
  --light-pink: #fce4ec;
  --soft-red: #ff6767;
  --white: #fff;

}

* {
  font-family: 'Sarabun', sans-serif;
}

.navbar-custom {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  box-shadow: 0 4px 20px rgba(229, 115, 115, 0.3);
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  height: 50px;
  filter: brightness(1.1);
}

.nav-link {
  color: black !important;
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--white);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link:hover {
  color: var(--white) !important;
  transform: translateY(-2px);
}

.hero-section {
  background: linear-gradient(135deg,
      rgba(229, 115, 115, 0.8),
      rgba(235, 103, 161, 0.7)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(248, 187, 217, 0.2), transparent);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(252, 228, 236, 0.15), transparent);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.sitecontent {
  min-height: 500px;
}

@keyframes float {

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

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  animation: slideInLeft 1s ease-out 0.2s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.btn-custom {
  background: linear-gradient(45deg, var(--gold), #ffed4a);
  border: none;
  color: var(--dark-red);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  color: var(--dark-red);
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-red);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(229, 115, 115, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.section-title {
  color: var(--dark-red);
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(45deg, var(--primary-red), var(--gold));
  border-radius: 2px;
}

.stats-section {
  background: linear-gradient(135deg, #fce4ec, #f3e5f5);
  padding: 5rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-red);
  display: block;
}

.stat-label {
  color: #6c757d;
  font-weight: 500;
  margin-top: 0.5rem;
}

.footer-custom {
  background: linear-gradient(135deg, var(--dark-red), #ad1457);
  color: white;
  padding: 3rem 0 1rem;
}

.logo-wrapper {
  animation: pulse 2s infinite;
}

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

  50% {
    transform: scale(1.05);
  }

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

.lang-switcher {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 5px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
  margin-left: 20px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 60px;
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

.flag-icon {
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.lang-btn.active {
  background: var(--gold);
  color: var(--dark-red);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.lang-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

@media (max-width: 1000px) {

  .navbar-brand {
    font-size: 1.1rem;
  }

  .navbar-nav .nav-link {
    font-size: 1.8rem !important;
    padding: 16px 24px !important;
    margin: 4px 0;
    text-align: center;
    width: 100%;

  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    margin-top: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }


  .dropdown-menu .dropdown-item {
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    padding: 16px 24px !important;
    margin: 4px 0;
    text-align: center;
    width: 100%;
    background-color:rgb(221, 221, 221);
  }

  .lang-switcher .lang-dropdown-toggle {
    font-size: 1.85rem;
  }

  .lang-dropdown-menu .lang-dropdown-item {
    font-size: 1.85rem;
  }

  .lang-dropdown-menu .lang-dropdown-item .flag-icon {
    font-size: 1.85rem;
  }


}



.webForm label {
  font-size: 26px;
  font-weight: 600;
}


/* Base Badge Styles */
.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Color Variants */
.badge-primary {
  color: #fff;
  background-color: #0d6efd;
}

.badge-secondary {
  color: #fff;
  background-color: #6c757d;
}

.badge-success {
  color: #000 !important;
  background-color: #61ca1c;
}

.badge-danger {
  color: #fff;
  background-color: #dc3545;
}

.badge-warning {
  color: #000 !important;
  background-color: #ffc107;
}

.badge-info {
  color: #000;
  background-color: #0dcaf0;
}

.badge-light {
  color: #000;
  background-color: #f8f9fa;
}

.badge-dark {
  color: #fff;
  background-color: #212529;
}

/* Rounded Pills */
.badge-pill {
  border-radius: 10rem;
}

/* Link Badges */
a.badge:hover,
a.badge:focus {
  text-decoration: none;
}

a.badge-primary:hover,
a.badge-primary:focus {
  background-color: #0b5ed7;
}

a.badge-secondary:hover,
a.badge-secondary:focus {
  background-color: #5c636a;
}

a.badge-success:hover,
a.badge-success:focus {
  background-color: #0a961c;
}

a.badge-danger:hover,
a.badge-danger:focus {
  background-color: #b02a37;
}

a.badge-warning:hover,
a.badge-warning:focus {
  background-color: #ffcd39;
}

a.badge-info:hover,
a.badge-info:focus {
  background-color: #3dd5f3;
}

a.badge-light:hover,
a.badge-light:focus {
  background-color: #e2e6ea;
}

a.badge-dark:hover,
a.badge-dark:focus {
  background-color: #1c1f23;
}

/* Empty Badge */
.badge:empty {
  display: none;
}

/* Demo Styles */


.demo-section {
  margin-bottom: 30px;
}

.demo-section h3 {
  margin-bottom: 15px;
  color: #333;
}

.badge-example {
  margin: 5px;
}

/* The container */

.containerchk {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #152D5B;
}

/* Hide the browser's default checkbox */
.containerchk input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #ccc;
}

/* On mouse-over, add a grey background color */
.containerchk:hover input~.checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.containerchk input:checked~.checkmark {
  background-color: #FD5D14;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.containerchk input:checked~.checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.containerchk .checkmark:after {
  left: 9px;
  top: 2px;
  width: 8px;
  height: 16px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


.containerCheck {
  height: 30px;
  display: block;
  position: relative;
  padding-left: 35px;
  padding-right: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #FD5D14;
  font-weight: 800;
}

/* Hide the browser's default checkbox */
.containerCheck input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #bbb;

}

/* On mouse-over, add a grey background color */
.containerCheck:hover input~.checkmark {
  background-color: #FD5D14;
}

/* When the checkbox is checked, add a blue background */
.containerCheck input:checked~.checkmark {
  background-color: #FD5D14;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.containerCheck input:checked~.checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.containerCheck .checkmark:after {
  left: 9px;
  top: 4px;
  width: 8px;
  height: 14px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);

}


/* :check box */
/* The container */

.containerCheck1 {
  left: 0px;
  margin: auto;
  height: 27px;
  width: 27px;
  display: block;
  position: relative;
  cursor: pointer;
  padding-left: 30px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #152D5B;
}

/* Hide the browser's default checkbox */
.containerCheck1 input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #bbb;

}

/* On mouse-over, add a grey background color */
.containerCheck1:hover input~.checkmark {
  background-color: #FD5D14;
}

/* When the checkbox is checked, add a blue background */
.containerCheck1 input:checked~.checkmark {
  background-color: #FD5D14;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.containerCheck1 input:checked~.checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.containerCheck1 .checkmark:after {
  left: 9px;
  top: 4px;
  width: 8px;
  height: 14px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);

}

/* pagination */
.pagination {
  margin: 5px 0px;
}

.pagination .title {
  background-color: #000000;
  border-radius: 4px;
  padding: 3px 20px;
  color: #FFF;
  margin-right: 2px;
}

.pagination .title a {
  color: #FFF;
}

.pagination .activex {
  background-color: #FDA600;
  border-radius: 4px;
  padding: 3px 10px;
  color: #FFF;
}

.pagination .activex a {
  color: #FFF;
}

.pagination .numlink {
  background-color: #707070;
  border-radius: 4px;
  padding: 3px 10px;
  margin: 0px 2px;
  color: #FFF;
  cursor: pointer;
}

.pagination .numlink a {
  color: #FFF;
}

.formcontent {
  font-family: 'Mitr' !important;
}


/* detail */
.text-heading {
  font-weight: bold;
}

.text-details {
  margin-left: 5px;
  font-weight: 200;
  color: rgb(65, 90, 16);
}

.form-group label {
  font-weight: 200;
  font-size: 16px;
}