:root {
  --bs-link-color: #003c97;
  --bs-heading-color: #003c97;
  --bs-navbar-toggler-border-color: #000;
  --primary: #003c97;
  --secondary: #c4f881;
  --text: #898995;
  --primary-gradient: linear-gradient(
    111deg,
    #003c97 -9.27%,
    #215bb3 75.04%,
    #335c9a 111.17%
  ); 
}
body {
  font-family: "Figtree", serif;
  font-size: 16px;
  line-height: 24px;
}
a {
  text-decoration: none;
}
p {
  color: #898995;
  font-weight: 300;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Kanit", serif;
  color: var(--primary, #003c97);
  font-style: normal;
  font-weight: 400;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-weight: 400;
}
.h2 {
  font-size: 36px;
}
.h6 {
  font-size: 20px;
}
.offcanvas {
  --bs-offcanvas-bg: var(--primary);
  height: 100vh;
}
.btn {
  --bs-btn-border-radius: 50px;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: 0.7rem;
}
.btn-primary {
  --bs-btn-color: #003c97;
  --bs-btn-bg: #c4f881;
  --bs-btn-border-color: #c4f881;
  --bs-btn-hover-color: #003c97;
  --bs-btn-hover-bg: #c4f881;
  --bs-btn-hover-border-color: #c4f881;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #003c97;
  --bs-btn-active-bg: #c4f881;
  --bs-btn-active-border-color: #c4f881;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #c4f881;
  --bs-btn-disabled-border-color: #c4f881;
}
.btn-link {
  --bs-btn-padding-x: 0;
  --bs-btn-padding-y: 0;
}
.pagination {
    --bs-pagination-border-color: #f7f7f7;
    --bs-pagination-active-bg: #7cadf7;
    --bs-pagination-active-border-color: #7cadf7;
}
table thead th{
  background-color: #f7f7f7 !important;
  vertical-align: middle;
}
table td{
  text-align: left;
}
.hero-section {
  height: 613px;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero-section::after {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  /* background: radial-gradient(
    128.22% 85.8% at 77.2% 79.01%,
    rgba(64, 118, 203, 0.18) 40.74%,
    rgba(55, 105, 186, 0.23) 58.53%,
    rgb(16 45 112 / 68%) 100%
  ); */
  z-index: 1;
  width: 100%;
  height: 100%;
}
.hero-content-container {
  max-width: 50%;
  padding: 20px 0px;
  z-index: 2;
  position: relative;
}
@media (max-width: 768px) {
  .hero-content-container {
    max-width: 100%;
  }
}
.hero-content-container h1 {
  font-size: 40px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 50px;
  text-shadow: 2px 2px 4px #061e565e;
}
.hero-content-container p {
  font-size: 24px;
  color: #fff;
  margin-bottom: 50px;
}
@media (max-width: 460px) {
  .hero-section {
    height: 550px;
  }
  .hero-content-container h1 {
    font-size: 22px;
  }
  .hero-content-container p {
    font-size: 18px;
  }
}
.slider-btns {
  position: absolute;
  right: 50px;
  bottom: 50px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}
.slider-btns .slider-prev-btn,
.slider-btns .slider-next-btn {
  opacity: 0.5;
  transition: opacity 1s;
}
.slider-btns .slider-prev-btn:hover,
.slider-btns .slider-next-btn:hover {
  opacity: 1;
  cursor: pointer;
}
.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  z-index: -1;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}
.info-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  width: 100%;
  min-height: 150px;
}
.info-card:hover {
  background: var(
    --primary-gradient,
    linear-gradient(111deg, #003c97 -9.27%, #215bb3 75.04%, #335c9a 111.17%)
  );
  box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.06);
}
.info-card .icon {
  margin-bottom: 50px;
}
.info-card .content .title {
  color: var(--primary, #003c97);
}
.info-card:hover .content .title {
  color: #c8deff;
}
.info-card .content .description {
  color: var(--text, #898995);
}
.info-card:hover .content .description {
  color: #ffffff;
}
.icon-text {
  display: flex;
  align-items: center;
}
.icon-text .icon {
  display: flex;
  width: 24px;
  height: 24px;
  padding: 3px;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  border-radius: 16px;
  background: var(--primary, #003c97);
}
.icon-text .text {
  margin-left: 10px;
  color: #ffffff;
}
.icon-text .text p {
  margin-bottom: 0px;
}
.footer {
  padding-top: 50px;
  background: #102d70;
  position: relative;
}
.footer * div {
  z-index: 1;
  position: relative;
}
.footer p,
.footer a {
  color: #f1f6ff;
}
.footer h6 {
  color: #91bdff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}
.footer .links-list {
  list-style: none;
  padding-left: 0px;
}
.footer .links-list li {
  margin-bottom: 10px;
}
.footer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 448px;
  height: 250px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='536' height='277' viewBox='0 0 536 277' fill='none'%3E%3Cpath d='M207.046 194.968L0 0H173.401L371.82 197.556H370.095L174.264 393.387H0L207.046 194.968Z' fill='%23061E56' fill-opacity='0.4'/%3E%3Cpath d='M435.962 194.968L228.917 0H402.318L600.737 197.556H599.011L403.18 393.387H228.917L435.962 194.968Z' fill='%23061E56' fill-opacity='0.4'/%3E%3C/svg%3E")
    no-repeat;
  z-index: 0;
  pointer-events: none;
}

.footer-bottom-container {
  background: #061e56;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 50px;
}
.footer-bottom-container .footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom-container .footer-bottom-content a {
  font-weight: 500;
}
.styled-element {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  max-width: 400px;
  margin-bottom: 50px;
}
.styled-element .grid-item {
  max-width: 200px;
}
.styled-element .grid-item-one {
  border-radius: 0px 56px 0px 0px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    111deg,
    #003c97 -9.27%,
    #215bb3 75.04%,
    #335c9a 111.17%
  );
}
.styled-element .grid-item-one h4 {
  color: #aedd70;
  font-size: 32px;
}
.styled-element .grid-item-one h4 span {
  color: #ffffff;
  display: block;
}
.styled-element .grid-item-two {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.styled-element .grid-item-three {
  height: 150px;
  width: 100%;
  overflow: hidden;
}
.styled-element .grid-item-three img {
  object-fit: cover;
}
.styled-element .grid-item-four {
  height: 150px;
  border-radius: 0px 56px 0px 0px;
  background: #aedd70;
}
.rotate-element {
  animation: rotate-element 20s linear infinite;
}
@keyframes rotate-element {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Sections - Start */
.section-bg-grey {
  background: #f7f7f7;
}
.section-bg-image {
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.text-background-section {
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  overflow: hidden;
}
.text-background-section .content-column{
    z-index: 1;
    padding-top: 50px;
    padding-bottom: 50px;
}
.text-background-section .cover-image{
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    object-fit: cover;
}
.text-background-section .flex-row-reverse .cover-image {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    object-fit: cover;
}
.text-background-section .cover-image-container{
    position: relative;
}
.text-background-section .cover-image-container::after {
    content: '';
    top: -21px;
    left: -50px;
    width: 120%;
    position: absolute;
    height: 5px;
    background: #fff;
    box-shadow: 20px 0px 80px 100px rgb(255 255 255);
}
.text-background-section .flex-row-reverse .cover-image-container::after{
    right: -21px;
    left: auto;
}
.text-background-section h2:first-child {
  font-size: 48px;
}
@media (min-width: 992px){
    .text-background-section .content-column{
        z-index: 1;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .text-background-section.md .content-column{
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .text-background-section .cover-image{
        width: calc(100% + ((100vw - 992px) / 2) + 30px);
        height: 100%;
        object-fit: cover;
        position: static;
        transform: translateX(0);
    }
    .text-background-section .flex-row-reverse .cover-image {
        width: calc(100% + ((100vw - 992px) / 2) + 30px);
        height: 100%;
        object-fit: cover;
        margin-left: calc(((100vw - 992px) / -2) - 30px);
        transform: translateX(0);
        position: static;
    }
    .text-background-section .cover-image-container {
      height: 500px;
  }
    /* .text-background-section .cover-image-container::after {
        content: '';
        left: -35px;
        height: 110%;
        top: -24px;
        position: absolute;
        transform: rotate(0deg);
        width: 132px;
        background: #fff;
        box-shadow: 20px 0px 80px 130px rgb(255 255 255);
    } */
    .text-background-section .cover-image-container::after {
        content: '';
        left: 0;
        height: 110%;
        top: 0;
        position: absolute;
        transform: rotate(0deg);
        width: 1040px;
        background: radial-gradient(ellipse farthest-side, rgba(2, 0, 36, 0) 0, rgb(255 255 255 / 14%) 90%, rgba(255, 255, 255, 1) 100%);
        box-shadow: inset 20px 0px 40px 90px rgb(255 255 255);
    }
}
.inner-cover {
  height: 300px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 30px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 0;
  background-position: top;
  /* background-attachment: fixed; */
}
.inner-cover::after {
  content: "";
  position: absolute;
  /* background: radial-gradient(
    128.22% 85.8% at 77.2% 79.01%,
    rgba(64, 118, 203, 0.18) 40.74%,
    rgba(55, 105, 186, 0.23) 58.53%,
    rgba(16, 45, 112, 0.85) 100%
  ); */
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  z-index: -1;
}
.inner-cover-content-container h1 {
  color: #fff;
  z-index: 2;
  text-shadow: 2px 2px 4px #061e565e;
}
.breadcrumb {
  color: rgba(255, 255, 255, 0.49);
  display: flex;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px #061e565e;
}
.breadcrumb a {
  color: #ffffff;
}
.breadcrumb > div::after {
  content: "/";
  padding: 0px 10px;
  color: rgba(255, 255, 255, 0.26);
}
.breadcrumb > div:last-child:after {
  content: "";
}
.faded-text-container {
  text-align: center;
}
.faded-text {
  background: linear-gradient(
    359deg,
    rgba(199, 199, 199, 0) 11.17%,
    rgba(213, 212, 212, 0.94) 98.98%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 150px;
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  padding-bottom: 50px;
  padding-top: 35px;
}
.faded-text-container p {
  margin-top: -20px;
  color: var(--primary, #003c97);
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
}
/* Sections - End */
.header {
  background: linear-gradient(
    111deg,
    rgba(0, 60, 151, 0.3) -9.27%,
    rgba(33, 91, 179, 0.3) 75.04%,
    rgba(51, 92, 154, 0.3) 111.17%
  );
  backdrop-filter: blur(2px);
  transition: background 0.3s;
}
.header.scrolled,
.header.bg {
  background: linear-gradient(
    111deg,
    rgba(0, 60, 151, 0.6) -9.27%,
    rgba(33, 91, 179, 0.6) 75.04%,
    rgba(51, 92, 154, 0.6) 111.17%
  );
  backdrop-filter: blur(2px);
}
.header-top-items {
  background: linear-gradient(
    111deg,
    rgba(0, 60, 151, 0.71) -9.27%,
    rgba(33, 91, 179, 0.718) 75.04%,
    rgba(51, 92, 154, 0.748) 111.17%
  );
  backdrop-filter: blur(2px);
  color: #ffffff;
}
.header-top-items p,
.header p {
  color: #ffffff;
}
.header .btn-outline-secondary,
.header-top-items .btn-outline-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.409);
}
.header .btn-outline-secondary:hover,
.header-top-items .btn-outline-secondary:hover {
  background: #ffffff41;
}
.navbar .navbar-brand img {
  max-width: 250px;
}
.navbar .navbar-nav {
  gap: 5px;
}
.navbar .nav-item .nav-link {
  color: #fff;
  font-style: normal;
  line-height: normal;
  position: relative;
}
.navbar .nav-item .nav-link::after {
  content: "";
  background: var(--primary);
  height: 3px;
  position: absolute;
  width: 0;
  bottom: 0px;
  left: 50%;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
}
.navbar .nav-item .nav-link:hover::after {
  width: 100%;
  left: 0;
}
.navbar .nav-item .nav-link.active {
  color: #fff;
  position: relative;
}
.navbar .nav-item .nav-link.active::after {
  content: "";
  background: var(--primary);
  height: 3px;
  position: absolute;
  width: 100%;
  bottom: 0px;
  left: 0px;
}
@media (max-width: 1400px) {
  .navbar .nav-item .nav-link {
    display: inline-block;
  }
}

.timeline {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 15px 0;
  }
  
  .timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #AEDD70;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
  }
  
  .timeline-item {
    padding: 10px 30px;
    position: relative;
    background: inherit;
    width: 50%;
  }
  .timeline-item.left {
    left: 0;
  }
  
  .timeline-item.right {
    left: 50%;
  }
  
  .timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: calc(50% - 8px);
    right: -8px;
    background: #ffffff;
    border: 2px solid #AEDD70;
    border-radius: 16px;
    z-index: 1;
  }
  
  .timeline-item.right::after {
    left: -8px;
  }
  
  .timeline-item::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    top: calc(50% - 1px);
    right: 8px;
    background: #AEDD70;
    z-index: 1;
  }
  
  .timeline-item.right::before {
    left: 8px;
  }
  
  .timeline-item .date {
    position: absolute;
    display: inline-block;
    top: calc(50% - 8px);
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #AEDD70;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
  }
  
  .timeline-item.left .date {
    right: -75px;
  }
  
  .timeline-item.right .date {
    left: -75px;
  }
  
  .timeline-item .icon {
    position: absolute;
    display: inline-block;
    width: 40px;
    height: 40px;
    padding: 9px 0;
    top: calc(50% - 20px);
    background: #F6D155;
    border: 2px solid #006E51;
    border-radius: 40px;
    text-align: center;
    font-size: 18px;
    color: #006E51;
    z-index: 1;
  }
  
  .timeline-item.left .icon {
    right: 56px;
  }
  
  .timeline-item.right .icon {
    left: 56px;
  }
  
  .timeline-item .content {
    padding: 10px 90px 10px 10px;
    background: #f5f5f5;
    position: relative;
    border-radius: 200px 500px 500px 200px;
    display: flex;
    align-items: center;
  }
  
  .timeline-item.right .content {
    padding: 10px 10px 10px 90px;
    border-radius: 500px 200px 200px 500px;
  }
  
  .timeline-item .content h2 {
    /* margin: 10px 0 10px 0; */
    font-size: 32px;
    font-weight: normal;
  }
  
  .timeline-item .content p {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
  }
  .timeline-item .content .image {
    height: 100%;
    border-radius: 30px;
    margin-right: 20px;
  }
  .timeline-item.right .content .image {
    margin-left: 20px;
    margin-right: 0px;
  }
  @media (max-width: 1200px){
    .timeline{
        display: flex;
        flex-wrap: wrap;
    }
    .timeline-item{
        width: 50%;
        padding: 10px 10px;
    }
    .timeline::after{
        display: none;
    }
    .timeline-item::before{
        display: none;
    }
    .timeline-item::after{
        display: none;
    }
    .timeline-item.right{
        left: 0%;
    }
    .timeline-item .content{
        padding: 20px 20px 20px 20px;
        border-radius: 35px;
        flex-wrap: wrap;
    }
    .timeline-item.right .content{
        padding: 20px 20px 20px 20px;
        border-radius: 35px;
        flex-direction: column-reverse;
    }
    .timeline-item .content .image{
        margin-top: 0px;
        margin-left: 0px;
        margin-right: 0px;
        margin-bottom: 10px;
        width: 100%;
    }
    .timeline-item.right .content .image{
        margin-left: 0px;
    }
  }
  @media (max-width: 767.98px) {
    .timeline-item{
        width: 100%;
    }
  }
  /* @media (max-width: 767.98px) {
    .timeline-item::after {
      left: 90px;
    }
  
    .timeline-item {
      width: 100%;
      padding-left: 120px;
      padding-right: 30px;
    }
  
    .timeline-item.right {
      left: 0%;
    }
  
    .timeline-item.left::after, 
    .timeline-item.right::after {
      left: 82px;
    }
  
    .timeline-item.left::before,
    .timeline-item.right::before {
      left: 100px;
      border-color: transparent #006E51 transparent transparent;
    }
  
    .timeline-item.left .date,
    .timeline-item.right .date {
      right: auto;
      left: 15px;
    }
  
    .timeline-item.left .icon,
    .timeline-item.right .icon {
      right: auto;
      left: 146px;
    }
  
    .timeline-item.left .content,
    .timeline-item.right .content {
      padding: 30px 30px 30px 90px;
      border-radius: 500px 0 0 500px;
    }
  } */
  .profile-card img{
    background: #C3DBFF;
    aspect-ratio: 12 / 14;
    object-fit: cover;
    border-radius: 0px 56px 0px 0px;
    padding-top: 15px;
  }
  .content-with-icon {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-left: 24px;
  }
  .content-with-icon .icon {
    flex-basis: 40px;
    flex-grow: 0;
    flex-shrink: 0;
  }
  @media (min-width: 992px) {
  .content-with-icon:last-child p{
    margin-bottom: 0px;
  }
  }
  @media (max-width: 768px) {
    .content-with-icon .icon {
      flex-basis: 60px;
      flex-grow: 0;
      flex-shrink: 0;
    }
  }
  .content-with-icon .icon svg,
  .content-with-icon .icon svg path {
    fill: var(--secondary);
    width: 100%;
  }
  .contact-form-container{
    padding: 20px;
    border: 1px solid #ddd;
  }
  .section-collapse-button .section-collapse-icon{
    background: #cadfff;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transform: rotate(180deg);
    transition: transform 500ms ease;
  }
  .section-collapse-button .section-collapse-icon:hover{
    background: #b2c9eb;
  }
  .section-collapse-button.collapsed .section-collapse-icon{
    transform: rotate(0deg);
  }
  .region-office-item{
    border: 1px solid #ffffff;
    padding: 20px;
    background: #ecf8fa;
    margin-bottom: 20px;
    height: calc(100% - 20px);
    border-bottom: 2px solid #91bdff;
    border-radius: 0px 24px 0px 0px;
    transition: all 0.2s ease-in;
}
.region-office-item.highlight{
    background: #ffffff;
    border: 1px solid #91bdff;
    border-bottom: 3px solid #91bdff;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.06);
}
.region-office-item:hover{
    border: 1px solid #91bdff;
    border-bottom: 2px solid #91bdff;
}
.post-item {
    background: #ffffff;
    margin-bottom: 20px;
    border: 1px solid #ecf8fa;
    padding: 20px 20px;
    height: calc(100% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: flex-start;
    border-radius: 0px 24px 0px 0px;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.06);
  }
  .post-item .post-item-stamp {
    margin-bottom: 10px;
    border-bottom: 1px solid #f2f1f1;
    font-size: 14px;
  }
  .post-item-stamp p{
      color: #7b7b7b;
  }
  .post-item-stamp p span {
    color: #ddd;
  }
  .post-item .post-item-title {
    color: var(--primary);
    font-size: 18px;
    max-height: 40px;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
  }
  .post-item .post-item-description {
    font-size: 14px;
    max-height: 64px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .post-item .btn-link{
    margin-top: auto;
  }
  .recent-posts-list {
    list-style: none;
    padding-left: 0px;
  }
  .recent-posts-list li {
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 10px;
  }
  .recent-posts-list .count {
    background: #7cadf7;
    color: #fff;
    padding: 1px 5px;
  }
  .post-content {
    padding: 20px;
    background: #ffffff;
    border-radius: 0px 24px 0px 0px;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.06);
  }
  .post-content .post-item-stamp{
    border-bottom: 1px solid #e6f0ff;
    margin-bottom: 10px;
    font-size: 14px;
  }
  #chartdiv {
    width: 100%;
    height: 400px;
    z-index: 0;
    position: relative;
  }
  .am5-layer-30{
    display: none;
  }
