* {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  font-family: "Inter", sans-serif;
  position: relative;
  overflow-y: auto;
}

a {
    font-family: "Inter";
  text-decoration: none !important;
}

/* sm screen */
.hero-section {
  padding: 0px 16px 36px 16px;
  height: 130px;
  gap: 80px;
}

.hero-text {
  font-size: 24px;
}

.content-section {
  padding: 24px 16px 0px 16px;
  gap: 24px;
}

.nav-section {
  padding: 8px 0px 8px 0px;
}

.search-box {
  transform: translate(0%, -10%);
  margin: 25px 16px 0px 16px;
  padding: 24px 16px;
}

.search-form {
  gap: 16px;
}

.city-name {
  font-size: 24px;
}

.office-type,
.search-label {
  font-size: 20px;
}

.office-label {
  font-size: 18px;
}

.city-info {
  padding: 20px 16px;
  gap: 24px;
}

.contact-info {
  padding: 20px;
}

.section {
  width: 100%;
  height: auto;
  padding: 0px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.section-group {
  display: flex;
  flex-direction: column;
  /*padding-top: 20px;*/
  gap: 24px;
}

#resultsContainer {
  padding-bottom: 48px;
}

/* other screen */
@media (min-width: 768px) {
  #resultsContainer {
      padding-bottom: 120px;
    }

  .hero-text {
    color: var(--gray-text-invert, #fff);
    font-size: 36px;
  }

  .hero-section {
    height: 300px;
    padding: 72px 150px 32px 150px;
  }

  .content-section {
    padding: 56px 150px 0px 150px;
    gap: 32px;
  }

  .navigation-scrolled {
    box-shadow: 0px 16px 40px 0px #1018280f;
    background-color: #fff;
    z-index: 1 !important;
  }

  .search-box {
    transform: translate(0%, -20%);
    margin: 0px 150px 0px 150px;
    padding: 32px;
  }

  .search-form {
    gap: 24px;
  }

  .section-group {
    display: flex;
    flex-direction: column;
    /*padding-top: 40px;*/
    gap: 32px;
  }

  .section {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0px 150px;
  }

  .city-name {
    font-size: 32px;
    padding: 0px 150px;
  }

  .office-type,
  .search-label {
    font-size: 24px;
  }

  .office-label {
    font-size: 20px;
  }

  .city-info {
    padding: 40px 150px 0px 150px;
    gap: 32px;
  }

  .contact-info {
    /*margin-top: 40px;*/
    padding: 32px;
  }
}

.hero-section {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) -10.17%,
      rgba(0, 0, 0, 0.7) 125.33%
    ),
    url("assets/thaiOffice.png") lightgray 50% / cover no-repeat;
  display: flex;
  /* width: 1440px; */
  /* height: 300px; */
  /* padding: 72px 150px 32px 150px; */
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 80px;
}

.hero-text {
  align-self: stretch;
  color: var(--gray-text-invert, #fff);

  font-family: "Bellefair", sans-serif;
  /* font-size: 36px; */
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-transform: uppercase;
}

.form-floating {
  font-family: "Inter", sans-serif;
  color: #6a6d87;
}

nav .form-select {
  font-family: "Inter", sans-serif;
  color: #2c3059;
}

.form-floating .form-select {
  font-family: "Inter", sans-serif;
  color: #2c3059;
}

.search-box {
  position: sticky;
  z-index: 5;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;

  border-radius: 16px;
  background: var(--gray-surface-invert, #fff);
  box-shadow: 0px 16px 40px 0px rgba(16, 24, 40, 0.06);
}

.search-label {
  width: 100%;
  color: var(--gray-text-strong, #2c3059);
  font-family: InterBold;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 36px */
}

.search-form {
  width: 100%;
}

.find-button {
  width: 100%;
  height: 60px;
  padding: 16px var(--spacing-xl, 24px);
  justify-content: center;
  align-items: center;
  flex: 1 0 0;

  color: var(--gray-text-invert, #fff);
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 25.6px */

  border-radius: 30px;
  background: var(
    --Gradient-brand-surface,
    linear-gradient(99deg, #684b9b -27.72%, #381b6b 127.08%)
  );
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.info-section {
  height: 5538px;

  display: flex;
  padding: 40px 150px 0px 150px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
}

.content-section {
  width: 100%;
  height: fit-content;
  /* display: flex;
    flex-direction: column; */
}

.city-info {
  /* width: 1440px; */
  width: 100%;
  height: fit-content;
}

.city-name {
  width: 100%;

  color: var(--gray-text-strong, #2c3059);

  font-family: "Bellefair", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 48px */
  text-transform: uppercase;
}

.navigation-section1 {
  background-color: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  z-index: 1;
}

.navigation-section2 {
  background-color: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  z-index: 2;
}

nav ul {
  margin: 0px;
}

.nav-links {
  list-style: none;
  padding: 0px 150px 20px 150px;
  display: flex;
  justify-content: start;
}

.nav-links li {
  margin: 0px;
}

.nav-links a {
  display: flex;
  min-width: 140px;
  padding: var(--spacing-sm, 12px) 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;

  color: var(--gray-text, #6a6d87);
  text-align: center;

  /* Desktop/H5 — Medium */
  font-family: "InterMedium";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 27px */
}

.nav-links a.active {
  color: var(--gray-text-strong, #2c3059);
  text-align: center;

  /* Desktop/H5 — Bold */
  font-family: "InterBold";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 27px */

  border-radius: 8px;
  background: var(--gray-surface, #f2f2fa);
}

nav .form-select {
  font-family: "Inter", sans-serif;
  color: #2c3059;
}

.custom-select {
  padding: 0px 16px;
}

.custom-select select {
  width: 100%;
  text-overflow: ellipsis;
}

.custom-select select option {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-section {
  /* width: 100%; */
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info {
  /* width: 100%; */
  display: flex;
  padding: 16px;
  flex-direction: column;
  align-items: flex-start;
  /* gap: 32px; */
  flex: 1 0 0;
  /*text-align: justify;*/
  border-radius: 12px;
  border: 1px solid var(--gray-stroke, #dfe0eb);
}

.office-type {
  color: var(--gray-text-strong, #2c3059);

  font-family: "InterBold", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 36px */
}

.office-name {
  display: flex;
  padding-bottom: 16px;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;

  height: 46px;
  padding: 0px 0px 16px 0px;
  gap: 8px;
  border: 0px 0px 1px 0px;
  border-bottom: 1px solid var(--gray-stroke, #dfe0eb);
}

.office-label {
  color: var(--gray-text-strong, #2c3059);

  font-family: "InterBold", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 30px */
}

.field-container {
  width: 100%;
  display: flex;
  padding: 16px 0;
  gap: 17px;
}

.field-label {
  /* width: 100%; */
  color: var(--gray-text, #6a6d87);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 25.6px */
  align-self: stretch;
}

.field-data {
  color: var(--gray-text-strong, #2c3059);
  font-family: "InterBold", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 27px */
  text-align: left;
}

.view-button {
  display: flex;
  height: 50px;
  padding: 8px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;

  border-radius: 30px;
  background: var(--primary-surface-weak, #f5efff);

  /* Shadow/xs */
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.button-label {
  color: var(--primary-text, #684b9b);
  text-align: center;

  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 25.6px */
}

.form-floating {
  position: relative;
}
#typeableSelect {
  padding-right: 20px;
  cursor: pointer;
}
.input-group-text {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent !important;
  border: none !important;
  pointer-events: none;
}
.form-floating > .form-control:focus ~ .input-group-text {
  color: #495057;
}
.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 1.75rem 0.75rem 1rem;
  pointer-events: none;
  transition: all 0.1s ease-in-out;
  color: #6c757d;
}

.dropdown-menu {
  overflow: hidden;
  overflow-y: scroll;
  max-height: calc(100vh - 300px);
}
.dropdown-item {
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-container .countryOptions {
  width: 100%;
  margin-top: 15px !important;
  border: none;
}

.no-results {
  text-align: center;
  font-size: 1.2rem;
  color: #6c757d;

  padding-top: 40px;
  padding-bottom: 40px;
}

.error-img {
 /* width: 177px !important;*/
  height: auto;
}

.error-title {
  color: var(--gray-text-strong, #2c3059);
  font-family: "Inter-Bold";
  font-size: 18px;
  font-weight: 700;
  line-height: 28.8px;
  text-align: center;
}

.error-msg {
  color: var(--gray-text, #6a6d87);
  font-family: "Inter";
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  text-align: center;
}

.google-map-container {
  display: flex;
  align-items: flex-start;
  border-radius: 8px;
}

.google-map-content {
  display: flex;
  height: 50px;
  padding: 8px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  background: var(--primary-surface-weak, #f5efff);
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  cursor: pointer;
}

.google-map-text-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.map-text {
  color: var(--primary-text, #684b9b);
  text-align: center;
  font-family: "Inter-Bold";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
}
.dropdown-color,.form-control
{
  color:var(--gray-text-strong, #2C3059)!important;

}

.section-margin-bottom{
        margin-bottom: 8%
    }

.thaiworldwideOffices .form-control {
	padding-right: 2.125rem !important;
    text-overflow: ellipsis;
}

/* Handle email field breaking outside screen */
@media (max-width: 390px) {
	.field-data {
    	font-size: 14px;
    }
}

@media (min-width: 768px) {
  .contact-info {
    padding: 32px;
  }
}