/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Niramit:wght@400;500;600;700&display=swap');
/* Bootstrap Icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.4/font/bootstrap-icons.css");

/* Variables */
:root {
  /* colors */
  --button-color: #f34242;
  --progress-bar: #580202;
  --title-color: #000000;
  --primary-text: #313131;
  --secondary-text: #7a7a7a;
  --button-hover: #c61919;

  /* font */
  --main-font: "Niramit", sans-serif;

  /* nav height */
  --nav-height: 7rem;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px grey;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--progress-bar);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2d0202;
}
html {
  scroll-padding-top: var(--nav-height) !important;
}

body {
  font-family: var(--main-font) !important;
  padding-top: var(--nav-height) !important;
}
.bi {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}
.main_style {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10rem;
}

.card .icon {
  font-size: 3rem;
  color: var(--progress-bar);
}

/* Navbar style */
.custom_style_nav {
  background-color: var(--bs-body-bg);
  box-shadow: 0px 10px 25px #d69696;
}
.custom_nav_container{
    padding: 1em 4em !important;
}
.custom_navbar_toggler {
  border: none !important;
}
.custom_navbar_toggler:focus {
  box-shadow: none !important;
}
.form-select {
  width: 4rem !important;
  border: none !important;
  padding: 0 !important;
}
.form-select:focus {
  box-shadow: none !important;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--icon-color) !important;
}
.offcanvas {
  width: 15rem !important;
}
.nav-link:focus, .nav-link:hover{
  color: rgb(173 0 0 / 80%) !important;
}

/* Home body */
.home_container,
.home_text_container,
.home_main_container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  gap: 2rem;
}
#home {
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(164,164,164,1) 58%, rgba(214,150,150,1) 100%);
  height: 80vh;
  margin-top: -2rem !important;
  align-items: center;
  display: flex;
}
.partner_logo{
  float: left;
  width:  100px;
  height: 100px;
  object-fit: cover;
}
.m_logo{
  float: left;
  width:  250px;
  height: 250px;
  object-fit: cover;
}
.introduction {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 80%;
  text-align: center;
}
/* about us page */
.about_container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
  gap: 1rem;
}
/* contact us */
#contact{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2em;
}
.contact_us_container{
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  gap: 2em;
}
.contact_container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  gap: 3rem;
}
.success {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
  display: none;
  padding: 1em;
  border-radius: .2em;
}
.email_container{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 50%;
  text-align: center;
}
.submit_button {
  background-color: transparent;
  border-radius: 2rem;
  padding: 0.5rem 3rem;
  border: .1em solid #000000;
  color: var(--title-color);
}
.submit_button:hover {
  border: .1em solid var(--button-hover);
}
.form-control:focus {
  box-shadow: none !important;
  border-color: var(--button-color) !important;
}
/* large devices */
@media (min-width: 992px) {
  #home {
    display: flex;
    align-items: center;
  }
  .home_container {
    flex-direction: row-reverse;
  }
  .home_main_container {
    gap: 8rem;
  }
  .home_text_container,
  .home_image_container {
    width: 50%;
  }
  .home_text_container {
    gap: 0.5rem;
  }
  .form-select {
    width: auto !important;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem !important;
  }
  .contact_us_container{
    flex-direction: row;
    gap: 0;
  }
}

.card-group{
  gap: 1rem;
}
.partner_card_group{
  gap: 7rem;
}

.card-big-shadow {
  max-width: 17rem;
  position: relative;
}

.coloured-cards .card {
  margin-top: 30px;
}

.card[data-radius="none"] {
  border-radius: 0px;
}
.card {
  border-radius: 8px;
  box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
  background-color: #FFFFFF;
  color: #252422;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  height: 12rem !important;
  align-items: center;
  justify-content: center;
}
.card.card-just-text .content {
  padding: 1rem 2rem;
  text-align: center;
}
.card .content {
  padding: 2rem 2rem 1rem 2rem;
}
.card-big-shadow:before {
  background-image: url("http://static.tumblr.com/i21wc39/coTmrkw40/shadow.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  bottom: -12%;
  content: "";
  display: block;
  left: -12%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}
.card .description {
  font-size: 16px;
  color: #66615b;
}
.content-card{
  margin-top:30px;    
}
.card[data-color="orange"] {
  background: #FFFFFF;
}
.card[data-color="white"] {
  background: #FFFFFF;
}
