.breadcrum {
  width: 256px !important;
}

section {
  width: 100%;
  display: flex;
  justify-content: center;
}

.container {
  padding: 50px 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-details {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-direction: row-reverse;
}

.contact-info {
  background-color: #f8f5f0;
  border-radius: 12px;
  padding: 27px;
  max-width: 520px;
  width: 100%;
}

.contact-info p {
  color: #00000099;
  line-height: 28px;
}

.contact-items p {
  line-height: 24px !important;
}

.contact-info h2 {
  margin-bottom: 18px;
}

.info-item {
  display: flex;
  align-items: start;
  gap: 18px;
}

.info-item .inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item img {
  width: 50px;
  height: 50px;
  margin-top: 5px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.heading {
  text-align: center;
}

.heading h2 {
  margin-bottom: 12px;
}

.heading p {
  color: #00000099;
}

/* --- 2. The Main Container --- */
.wrapper {
  position: relative;
  /* Needed for positioning the dropdown */
  height: 52px;
  /* border: 1px solid #fee823; */
  max-width: 312px;
  width: 100%;
}

@media(max-width: 1260px) {
  .wrapper {
    max-width: unset;
  }
}

@media(max-width: 767px) {
  .wrapper {
    max-width: 312px;
    height: 48px;
  }

  .wrapper input {
    /* height: 48px !important; */
  }

  .input-container {
    height: 48px !important;
  }
}

@media(max-width: 650px) {
  .wrapper {
    max-width: unset;
  }
}

.wrapper input {
  /* height: 52px !important; */
  border: 0 !important;
  border-left: 1px solid #ccc !important;
  border-radius: 0 !important;
  padding: 0 0 0 10px !important;
  /* width: unset !important; */
}

.input-container {
  background-color: white;
  padding: 0px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
  /* Keeps input above the dropdown when closed */
  height: 52px;
}

/* --- 3. Left Side (Selector) --- */
.country-selector {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding-right: 6px;
  user-select: none;
  /* Prevents text highlighting on clicks */
}

.flag-icon {
  width: 28px;
  height: 19px;
  border-radius: 2px;
  object-fit: cover;
  margin-right: 8px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

.country-code {
  color: #999;
  font-size: 18px;
  margin-right: 8px;
  font-weight: 400;
}

/* --- 4. Custom Arrows --- */
.arrow-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.arrow-up {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid #999;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #999;
}

.phone-input {
  border: none;
  outline: none;
  font-size: 18px;
  color: #333;
  flex-grow: 1;
  height: 100%;
}

/* --- 6. The Dropdown List (New) --- */
.country-list {
  position: absolute;
  top: 110%;
  /* Pushes it just below the input */
  left: 0;
  width: 100%;
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  /* Limits height */
  overflow-y: auto;
  /* Adds scrollbar if list is long */
  display: none;
  /* Hidden by default */
  z-index: 10;
  list-style: none;
}

/* Scrollbar styling for a cleaner look */
.country-list::-webkit-scrollbar {
  width: 8px;
}

.country-list::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.country-list.show {
  display: block;
}

.country-option {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #f0f0f0;
}

.country-option:last-child {
  border-bottom: none;
}

.country-option:hover {
  background-color: #f9f9f9;
}

.option-flag {
  width: 24px;
  height: 16px;
  margin-right: 10px;
  object-fit: cover;
  border-radius: 2px;
}

.option-name {
  flex-grow: 1;
  font-size: 14px;
  color: #333;
}

.option-code {
  font-size: 14px;
  color: #999;
  font-weight: bold;
}


/*--Contact Form--*/
.contact-form {
  background-color: #fee823;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.contact-form h2 {
  margin-bottom: 10px;
}

.contact-form p {
  line-height: 28px;
  margin-bottom: 28px;
}

.contact-form .form {
  display: flex;
  flex-direction: column;
}

input,
select,
textarea {
  height: 52px;
  border-radius: 8px;
  border: 1px solid #35353633;
  font-size: 18px;
  line-height: 28px;
  color: #35353699;
  padding: 12px 23px;
  border: none;
  outline: none;
}

textarea {
  height: 170px;
  resize: none;
  margin-bottom: 28px;
}

.row-2 {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.row-2 input {
  max-width: 312px;
  width: 100%;
}

@media(min-width: 1261px) and (max-width: 1400px) {
  .row-2 .city {
    width: clamp(242px, calc(242px + (312 - 242) * ((100vw - 1261px) / (1400 - 1261))), 312px);
  }
}

@media(min-width: 651px) and (max-width: 716px) {
  .row-2 .city {
    width: clamp(280px, calc(280px + (312 - 280) * ((100vw - 651px) / (716 - 651))), 312px);
  }
}

.mb-32 {
  margin-bottom: 32px;
}

.drop-down {
  width: 100%;
  position: relative;
}

select {
  width: 100%;
  margin: 24px 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.drop-down::after {
  content: "";
  position: absolute;
  right: 23px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 24px;
  height: 24px;
  background: url(../../assets/icons/drop-down-icon.svg);
}

.submit-btn {
  background-color: #000000;
  color: #ffffff;
  border-radius: 8px;
  max-width: 378px;
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  height: 54px;
  border: none;
  outline: none;
}

.submit-btn:hover {
  background-color: #fee823;
  border: 2px solid #000000;
  color: #000000;
}

.show {
  display: none;
}





/*-------------------
    Tablet view
-------------------*/
@media(max-width: 1024px) {
  .container {
    padding: 50px 40px;
  }

  .contact-details {
    flex-direction: column;
    gap: 24px;
  }

  .contact-form {
    padding: 30px 24px;
  }

  .contact-info {
    padding: 24px 26px;
  }

  .contact-info,
  .contact-form {
    max-width: 688px;
    width: 100%;
    margin: 0 auto;
  }
}






/*-------------------
    Mobile view
-------------------*/
@media(max-width: 767px) {
  h2 {
    font-size: 26px !important;
    line-height: 32px !important;
  }

  .container {
    padding: 36px 24px;
    gap: 18px;
  }


  .contact-info {
    padding: 18px 16px;
  }

  .contact-items {
    margin-top: 18px;
    gap: 12px;
  }

  .contact-items img {
    width: 32px;
    height: 32px;
  }

  .info-item .inner {
    gap: 4px;
  }

  .contact-form {
    padding: 24px 16px;
  }

  .contact-form h2,
  .contact-form p {
    margin-bottom: 20px;
  }

  input,
  select {
    height: 48px;
  }

  textarea {
    height: 160px;
    margin-bottom: 20px;
  }

  select {
    margin: 12px 0;
  }

  .row-2 {
    gap: 12px;
  }

  .mb-32 {
    margin-bottom: 12px !important;
  }

  .hide {
    display: none;
  }

  .show {
    display: block;
  }
}






/*--------------------*/
@media(min-width: 1025px) and (max-width: 1260px) {
  .row-2 {
    flex-direction: column;
  }

  .mb-32 {
    margin-bottom: 24px;
  }

  .row-2 input {
    max-width: unset;
  }

  .contact-form,
  .contact-info {
    flex: 1;
  }
}

@media(max-width: 650px) {
  .row-2 {
    flex-direction: column;
  }

  .mb-32 {
    margin-bottom: 24px;
  }

  .row-2 input {
    max-width: unset;
  }
}