:root {
  --primary-theme: #001d3d;
  --primary-clr: #3d52a0;
  --secondary-clr: #7091e6;
  --white-clr: #fff;
  --gray-clr: #8697c4;
  --light-gray-clr: #adbbda;
  --light-white-clr: #ede8f5;
  --dark-clr: #00173c;
  --black-clr: #000000;
  --yellow-clr: #f8a501;
  --orange-clr: #ff7c69;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

.row {
  width: 100%;
}

.contact_us_page {
  padding: 50px 0;
}

.contact_us_hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}
.contact_us_hero h1 {
  font-weight: 700;
}
.contact_us_hero p {
  font-weight: 500;
}

.contact_us_hero_div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.contact_us_hero_div .box {
  /* border: 1px solid red; */
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  background-color: var(--light-white-clr);
  border-radius: 20px;
  padding: 30px;
  width: 400px;
  height: 270px;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  text-align: left;
}
.contact_us_hero_div .box i {
  background-color: var(--dark-clr);
  color: var(--white-clr);
  border-radius: 10px;
  padding: 16px;
}
.contact_us_hero_div .box p {
  font-size: 24px;
  font-weight: 600;
  margin-top: 20px;
}
.contact_us_hero_div .box small {
  font-weight: 600;
}
.contact_us_hero_div .box a {
  margin-top: 20px;
  font-weight: 600;
  text-decoration: none;
  color: var(--gray-clr);
  font-size: 16px;
}

/* --------------------------- contact_us_section_1 ------------------------ */

.contact_us_section_1 {
  margin-top: 40px;
}

.contact_us_form {
  background-color: var(--light-white-clr);
  padding: 40px;
  border-radius: 10px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.contact_us_form form {
  display: flex;
  flex-direction: column;
}
.contact_us_form form .form-group-parent {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}
.contact_us_form form .form-group-parent .form-group {
  width: 50%;
}
.contact_us_form form .form-group {
  margin-bottom: 20px;
  outline: none !important;
  position: relative;
}
.contact_us_form form .form-group .error {
  position: absolute;
  bottom: -20px;
}
.contact_us_form form .form-group input {
  outline: none !important;
  border: none;
  border-bottom: 1.5px solid #aaa;
  border-radius: 0;
}
.contact_us_form form .form-group input::placeholder {
  font-size: 13px;
  font-weight: 500;
}
.contact_us_form form .form-group textarea {
  outline: none !important;
  border: none;
  border-bottom: 1.5px solid #aaa;
  border-radius: 0;
}
.contact_us_form form .form-group textarea::placeholder {
  font-size: 13px;
  font-weight: 500;
}
.contact_us_form form .form-group .input-group-prepend select {
  width: 50px;
  padding: 10px 5px;
  font-size: 12px;
}
.phone_group {
  /* border: 1px solid red; */
  display: flex;
  gap: 5px;
  position: relative;
}
.phone_group .error {
  position: absolute;
  bottom: 0;
}
.phone_group select {
  border: none;
  border-bottom: 1.5px solid #aaa;
  border-radius: 0;
}

.contact_us_form form .form-group-parent .form-select {
  outline: none !important;
  border: none;
  border-bottom: 1.5px solid #aaa;
  border-radius: 0 !important;
}

.contact_us_form form button {
  border: 1px solid var(--dark-clr);
  background-color: var(--dark-clr);
  color: var(--white-clr);
  border: none;
  outline: none;
  border-radius: 4px;
  padding: 10px;
  font-weight: 600;
  margin-top: 20px;
  transition: 0.4s all ease-in-out;
}

.contact_us_form form button:hover {
  border: 1px solid var(--dark-clr);
  background-color: var(--white-clr);
  color: var(--dark-clr);
}

@media (max-width: 425px) {
  .contact_us_form {
    padding: 25px;
    margin-left: 20px;
  }
  .contact_us_form form .form-group-parent {
    flex-direction: column;
  }
  .contact_us_form form .form-group-parent .form-group {
    width: 100%;
  }
  .contact_us_form form .form-group .error {
    font-size: 10px;
  }
}

/* Toast CSS */
.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #4caf50;
  color: white;
  text-align: center;
  border-radius: 5px;
  padding: 16px;
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
  transform: translateX(-50%);
}

.toast.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

.toast.success {
  background-color: green;
}

.toast.error {
  background-color: red;
  color: var(--white-clr);
}

.error {
  color: red;
  font-size: 12px;
}

/* ------------------------ contact_details_wrapper------------------- */
.contact_details_wrapper {
  /* border: 1px solid red; */
}
.contact_details_wrapper h2 {
  font-weight: 600;
}
.contact_details {
  padding-left: 20px;
}
.contact_details .item {
  /* border: 1px solid red; */
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-clr);
  margin-bottom: 20px;
}
.contact_details .item a {
  text-decoration: none;
  color: var(--dark-clr);
  font-weight: 500;
  font-family: sans-serif;
  border-bottom: 2px solid var(--secondary-clr);
}

/* --------------------------- contact_us_section_2 ------------------------ */
.contact_us_section_1 {
  margin-top: 80px;
}
.contact_us_map {
  /* border: 1px solid red; */
  display: flex;
}
.contact_us_map iframe {
  border-radius: 10px;
}

.contact_address .item {
  display: flex;
  justify-content: start;
  align-items: start;
}
.contact_address .item div:first-child {
  letter-spacing: 2px;
  font-weight: 700;
  width: 20%;
  font-family: sans-serif;
}
.contact_address .item div:last-child {
  letter-spacing: 2px;
  font-weight: 500;
  width: 80%;
  font-family: sans-serif;
  color: var(--dark-clr);
}

@media (max-width: 425px) {
  /* ------------------------ contact_details_wrapper------------------- */
  .contact_details_wrapper {
    /* border: 1px solid red; */
    padding-left: 20px;
  }
  /* --------------------------- contact_us_section_2 ------------------------ */
  .contact_us_section_1 {
    margin-top: 50px;
  }
  .contact_us_section_1 .row {
    flex-direction: column-reverse;
  }
  .contact_us_map iframe {
    border-radius: 20px;
  }
  .contact_us_map {
    margin-left: 20px;
  }

  .contact_address .item {
    flex-direction: column;
  }
  .contact_address .item div:first-child {
    width: 100%;
  }
  .contact_address .item div:last-child {
    width: 100%;
  }
}
/* ---------------------------- contact_suggested_services ------------------------ */
.services_card {
  /* border: 1px solid red; */
  background-color: var(--white-clr);
  padding: 20px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  border-radius: 30px;
  margin: 0 10px;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease-in-out, transform 0.4s;
}
.services_card::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease-in-out;
}
.services_card:hover {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  cursor: pointer;
  /* transform: scale(1.2, 1.2); */
}
.services_card:hover::after {
  opacity: 1;
}

.services_card .services_card_icon {
  background-color: #ededed;
  padding: 20px;
  border-radius: 30% 70% 70% 30% / 30% 35% 65% 70%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.services_card .services_card_icon i {
  color: var(--secondary-clr);
  font-size: 20px;
}
.services_card .services_card_icon:hover {
  border-radius: 73% 27% 21% 79% / 57% 35% 65% 43%;
  transition: 0.4s ease-in-out;
  background-color: var(--secondary-clr);
}
.services_card .services_card_icon,
.services_card .services_card_icon i:hover {
  color: var(--white-clr);
}
.services .services_card h5 {
  font-weight: bold;
  padding-right: 60px;
}
.services_card p {
  color: gray;
  font-weight: 500;
  font-size: 14px;
  /* margin-bottom: 40px; */
}

@media (max-width: 375px) {
  .contact_services .services {
    margin-top: -400px;
  }

  .services_heading {
    font-size: 36px;
  }
  .services_para {
    font-size: 16px;
    line-height: 24px;
  }

  .services_card {
    /* border: 1px solid var(--secondary-clr); */
    background-color: var(--white-clr);
    padding: 30px 30px !important;
    margin: 0 20px 20px 20px;
    width: 90% !important;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
  .services_card .services_card_icon {
    background-color: #ededed;
    padding: 20px;
    border-radius: 30% 70% 70% 30% / 30% 35% 65% 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }
  .services_card .services_card_icon i {
    color: var(--secondary-clr);
    font-size: 20px;
  }
  .services_card .services_card_icon:hover {
    border-radius: 73% 27% 21% 79% / 57% 35% 65% 43%;
    transition: 0.4s ease-in-out;
    background-color: var(--secondary-clr);
  }
  .services_card .services_card_icon,
  .services_card .services_card_icon i:hover {
    color: var(--white-clr);
  }
  .services_card h5 {
    font-weight: bold;
    padding-right: 60px;
  }
  .services_card p {
    color: gray;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 40px;
  }
}

@media (min-width: 376px) and (max-width: 480px) {
  .contact_services .services {
    margin-top: -400px;
  }

  .services_heading {
    font-size: 36px;
  }
  .services_para {
    font-size: 16px;
    line-height: 24px;
  }

  .services_card {
    /* border: 1px solid var(--secondary-clr); */
    background-color: var(--white-clr);
    padding: 30px 30px !important;
    margin: 0 20px 20px 20px;
    width: 90% !important;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
  .services_card .services_card_icon {
    background-color: #ededed;
    padding: 20px;
    border-radius: 30% 70% 70% 30% / 30% 35% 65% 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }
  .services_card .services_card_icon i {
    color: var(--secondary-clr);
    font-size: 20px;
  }
  .services_card .services_card_icon:hover {
    border-radius: 73% 27% 21% 79% / 57% 35% 65% 43%;
    transition: 0.4s ease-in-out;
    background-color: var(--secondary-clr);
  }
  .services_card .services_card_icon,
  .services_card .services_card_icon i:hover {
    color: var(--white-clr);
  }
  .services_card h5 {
    font-weight: bold;
    padding-right: 60px;
  }
  .services_card p {
    color: gray;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 40px;
  }
  .services_card a {
    font-size: 14px;
    /* border: 1px solid red; */
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .contact_services .services {
    margin-top: -400px;
  }

  .services_heading {
    font-size: 36px;
  }
  .services_para {
    font-size: 16px;
    line-height: 24px;
  }

  .services_card {
    /* border: 1px solid var(--secondary-clr); */
    background-color: var(--white-clr);
    padding: 30px 30px !important;
    margin: 0 20px 20px 20px;
    width: 90% !important;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
  .services_card .services_card_icon {
    background-color: #ededed;
    padding: 20px;
    border-radius: 30% 70% 70% 30% / 30% 35% 65% 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }
  .services_card .services_card_icon i {
    color: var(--secondary-clr);
    font-size: 20px;
  }
  .services_card .services_card_icon:hover {
    border-radius: 73% 27% 21% 79% / 57% 35% 65% 43%;
    transition: 0.4s ease-in-out;
    background-color: var(--secondary-clr);
  }
  .services_card .services_card_icon,
  .services_card .services_card_icon i:hover {
    color: var(--white-clr);
  }
  .services_card h5 {
    font-weight: bold;
    padding-right: 60px;
  }
  .services_card p {
    color: gray;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 40px;
  }
}

@media (min-width: 769px) and (max-width: 1280px) {
  .services_card {
    margin-bottom: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
}
