.contact-video {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.contact-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.contact-hero-section {
  width: 100%;
  height: 100vh;
  padding: 0px 80px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  position: relative;
}

.email-descriptions {
  width: 100%;
  height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}

.email-descriptions p.description {
  width: 80%;
  font-size: 25px;
  color: var(--text-color);
  font-weight: 400;
  text-align: center;
}

.email-descriptions p.description span {
  color: var(--heading-color);
  font-weight: 600;
}

.contact-form {
  position: relative;
  width: 100%;
  height: 100vh;
  padding: 30px 0px;
}

.contact-form .top-contact-section {
  text-align: center;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-contact-section p {
  font-size: 16px;
}

.top-contact-section p.title {
  text-transform: uppercase;
  margin-bottom: 10px;
}

.top-contact-section h3 {
  color: var(--heading-color);
  font-size: 40px;
  margin-bottom: 10px;
}

.top-contact-section p.contact-description {
  width: 380px;
  font-size: 18px;
  line-height: 25px;
  word-spacing: 2px;
}

form {
  display: flex;
  gap: 20px;
  padding: 30px;
}

form .form-left-side,
.form-right-side {
  width: 50%;
  height: 100%;
  padding: 0px 50px;
}

.form-input {
  margin-bottom: 30px;
}

.form-input label,
input,
textarea {
  width: 100%;
  margin-block: 10px;
}

.form-input label {
  text-transform: uppercase;
  color: var(--text-color);
}

.form-input input {
  padding: 10px 20px;
  margin-bottom: 20px;
  border: 2px solid var(--text-color);
  background-color: transparent;
  border-radius: 5px;
  color: var(--text-color);
  font-size: 16px;
  outline: none;
  transition: all 0.5s ease-in-out;

  &:focus {
    border: 2px solid var(--heading-color);
    transition: all 0.5s ease-in-out;
  }
}

.form-input textarea {
  padding: 10px 20px;
  margin-bottom: 20px;
  border: 2px solid var(--text-color);
  background-color: transparent;
  border-radius: 5px;
  color: var(--text-color);
  font-size: 16px;
  outline: none;
  resize: none;
  transition: all 0.5s ease-in-out;

  &:focus {
    border: 2px solid var(--heading-color);
    transition: all 0.5s ease-in-out;
  }
}

.form-input button {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--heading-color);
  background-color: transparent;
  border-radius: 25px;
  color: var(--heading-color);
  font-size: 15px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.5s ease-in-out;

  &:hover {
    background-color: var(--btn-bg-color);
    color: var(--text-color);
    transition: all 0.5s ease-in-out;
  }
}

.communication-section {
  width: 100%;
  height: 90vh;
  padding: 50px 0px;
}

.communication-top-section {
  width: 100%;
  height: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-color);
  text-align: center;
}

.communication-top-section h3 {
  width: 460px;
  font-size: 35px;
  color: var(--heading-color);
}

.communication-top-section p {
  width: 560px;
  font-size: 16px;
  line-height: 25px;
  margin-block: 10px;
}

.communication-bottom-section {
  width: 100%;
  height: 70%;
  margin-top: 30px;
  display: flex;
}

.communication-bottom-section .left-section,
.right-section {
  width: 50%;
  height: 100%;
  padding: 0px 80px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.left-section .left-top-section {
  width: 100%;
  height: 135px;
  border-radius: 10px;
  box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.5);
}

.left-top-section .email-title {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px;
  color: var(--text-color);
  background-image: url("../Images/email.png");
  background-position: 460px 10px;
  background-size: 20%;
  background-repeat: no-repeat;
}

.left-section .left-bottom-section {
  width: 100%;
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.5);
  background-image: url("../Images/phone.png");
  background-position: 460px 10px;
  background-size: 10%;
  background-repeat: no-repeat;
  display: flex;
  gap: 10px;
  flex-direction: column;
  font-size: 14px;
}

.left-bottom-section hr {
  width: 110px;
}

.left-bottom-section .bottom-top-section {
  width: 100%;
  /* height: 30%; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  color: var(--text-color);
}

p.country-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--heading-color);
}

.left-bottom-section .bottom-center-section {
  width: 100%;
  height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  color: var(--text-color);
}

.left-bottom-section .bottom-bottom-section {
  width: 100%;
  height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  color: var(--text-color);
}

.bottom-bottom-section .heading-and-number {
  display: flex;
  justify-content: space-between;
}

.heading-and-number .chatting {
  font-size: 17px;
  font-weight: 600;
}

.right-section .department-detials {
  box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.5);
  padding: 10px 20px;
  width: 100%;
  min-height: 47%;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  background-image: url("../Images/location.png");
  background-position: 480px 30px;
  background-size: 11%;
  background-repeat: no-repeat;
  color: var(--text-color);
  font-size: 14px;
}

.department-detials .department-top-section,
.department-center-section,
.department-bottom-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

p.location-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
  color: var(--heading-color);
  letter-spacing: 0.5px;
}

.department-detials hr {
  width: 180px;
}
/* 
.department-top-section {
  padding-block: 20px;
} */

.department-top-section p.location-details {
  width: 202px;
  line-height: 20px;
}

.department-center-section p {
  line-height: 20px;
}

.department-bottom-section p {
  line-height: 20px;
  margin-bottom: 10px;
}

.department-bottom-section .locations {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.department-bottom-section p.location {
  font-size: 17px;
  font-weight: 600;
}

.map-section {
  width: 100%;
  height: 100vh;
  /* background-image: url("../Images/map.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat; */
  padding: 0px 100px;
  display: flex;
  align-items: center;
  padding: 0px 200px;
}

.map-section .map-contents {
  width: 50%;
  height: 50%;
  color: var(--text-color);
}

.map-contents p {
  font-size: 14px;
}

.map-contents h4 {
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.map-contents p.map-descriptions {
  font-size: 16px;
  width: 208px;
  margin-bottom: 35px;
  line-height: 25px;
  word-spacing: 1px;
}

.map-contents a {
  font-size: 17px;
  padding: 8px 24px;
  border: 2px solid var(--heading-color);
  border-radius: 25px;
  text-decoration: none;
  color: var(--heading-color);
  margin-block: 20px;
  transition: all 0.5s ease-in-out;

  &:hover {
    background-color: var(--btn-bg-color);
    color: var(--text-color);
    transition: all 0.5s ease-in-out;
  }
}

.map-direction {
  width: 50%;
  height: 70%;
}

.map-direction iframe {
  width: 100%;
  height: 100%;
  /* border-radius: 10px; */
}

@media (min-width: 768px) and (max-width: 1199px) {
  /* ================= CONTACT HERO ================= */
  .contact-hero-section {
    padding: 100px 40px;
    height: auto;
  }

  .contact-section-content h1 {
    font-size: 28px;
    width: 80%;
    margin: 0px;
  }

  .contact-section-content p {
    font-size: 16px;
    width: 80%;
    margin: 0px;
  }

  /* ================= Email Descriptions =========== */

  .email-descriptions p.description {
    font-size: 20px;
  }

  /* ================= CONTACT FORM ================= */
  .contact-form {
    height: auto;
    padding: 20px 20px;
  }

  .top-contact-section h3 {
    font-size: 34px;
  }

  .top-contact-section p.contact-description {
    width: 100%;
    max-width: 420px;
  }

  form {
    flex-direction: column;
    padding: 20px;
  }

  form .form-left-side,
  .form-right-side {
    width: 100%;
    padding: 0 20px;
  }

  /* ================= COMMUNICATION SECTION ================= */
  .communication-section {
    height: auto;
    padding: 60px 20px;
  }

  .communication-top-section h3 {
    width: 100%;
    font-size: 32px;
  }

  .communication-top-section p {
    width: 100%;
    font-size: 15px;
  }

  .communication-bottom-section {
    flex-direction: column;
    gap: 30px;
    height: auto;
  }

  .communication-bottom-section .left-section,
  .communication-bottom-section .right-section {
    width: 100%;
    padding: 0 40px;
  }

  /* ================= LEFT INFO BOXES ================= */
  .left-section .left-top-section {
    height: auto;
  }

  .left-top-section .email-title {
    background-position: right 20px center;
    background-size: 80px;
  }

  .left-section .left-bottom-section {
    background-position: right 20px top 20px;
    background-size: 60px;
  }

  /* ================= RIGHT DETAILS ================= */
  .right-section .department-detials {
    background-position: right 30px top 30px;
    background-size: 60px;
  }

  .department-top-section {
    margin-top: 30px;
  }

  .department-top-section p.location-details {
    width: 100%;
  }

  /* ================= MAP SECTION ================= */
  .map-section {
    height: auto;
    padding: 80px 40px;
  }

  .map-contents h4 {
    font-size: 32px;
  }

  .map-contents p.map-descriptions {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 767px) {
  /* ================= CONTACT HERO ================= */
  .contact-hero-section {
    padding: 100px 40px;
    height: auto;
  }

  .contact-section-content h1 {
    font-size: 23px;
    width: 80%;
    margin: 0px;
  }

  .contact-section-content p {
    font-size: 14px;
    width: 80%;
    margin: 0px;
  }

  /* ================= Email Descriptions =========== */

  .email-descriptions p.description {
    width: 100%;
    font-size: 17px;
    line-height: 23px;
  }

  /* ================= CONTACT FORM ================= */
  .contact-form {
    height: auto;
    padding: 10px 10px;
  }

  .top-contact-section h3 {
    font-size: 26px;
    line-height: 1.3;
    text-align: center;
  }

  .top-contact-section p.contact-description {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    text-align: center;
  }

  form {
    flex-direction: column;
    padding: 10px;
  }

  form .form-left-side,
  .form-right-side {
    width: 100%;
    padding: 0;
  }

  /* ================= FORM INPUTS ================= */
  input,
  textarea,
  button {
    width: 100%;
    font-size: 14px;
  }

  /* ================= COMMUNICATION SECTION ================= */
  .communication-section {
    height: auto;
    padding: 40px 16px;
  }

  .communication-top-section h3 {
    width: 100%;
    font-size: 24px;
    text-align: center;
  }

  .communication-top-section p {
    width: 100%;
    font-size: 14px;
    text-align: center;
  }

  .communication-bottom-section {
    flex-direction: column;
    gap: 20px;
    height: auto;
  }

  .communication-bottom-section .left-section,
  .communication-bottom-section .right-section {
    width: 100%;
    padding: 0;
  }

  /* ================= LEFT INFO BOXES ================= */
  .left-section .left-top-section,
  .left-section .left-bottom-section {
    padding: 20px;
    background-position: right 15px top 15px;
    background-size: 50px;
  }

  /* ================= RIGHT DETAILS ================= */
  .right-section .department-detials {
    padding: 20px;
    background-position: right 15px top 15px;
    background-size: 50px;
  }

  .department-top-section {
    margin-top: 20px;
  }

  .department-top-section p.location-details {
    width: 100%;
    font-size: 14px;
  }

  /* ================= MAP SECTION ================= */
  .map-section {
    height: auto;
    padding: 60px 16px;
    flex-direction: column;
    gap: 30px;
  }

  .map-contents h4 {
    font-size: 22px;
  }

  .map-contents p.map-descriptions {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
  }

  .map-contents a {
    font-size: 15px;
    padding: 8px 15px;
  }
}
