/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
  width: 100%;
  background: #c8e8e9;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.contact-img {
  height: 70vh;
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.7)
    ),
    url('../../assets/contact/contact-background.webp');
}

/* ==========================================================================
   Map Section
   ========================================================================== */
.google-map {
  width: 100%;
  height: 50vh;
}

.horizontal-line {
  width: 50%; 
  border: 1px solid #2E312F;
}

/* ==========================================================================
   Contact Form Container
   ========================================================================== */
.container-form {
  max-width: 1100px;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  padding: 20px 60px 30px 40px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  margin-top: -8vh;
  z-index: 1;
}

.container-form .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Contact Information (Left Side)
   ========================================================================== */
.container-form .content .left-side {
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  position: relative;
}

.content .left-side::before {
  content: "";
  position: absolute;
  height: 70%;
  width: 2px;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: #afafb6;
}

.content .left-side .details {
  margin: 14px;
  text-align: center;
}

.content .left-side .details i {
  font-size: 2rem;
  color: #205f93;
  margin-bottom: 10px;
}

.content .left-side .details .topic {
  font-size: 1.1rem;
  font-weight: 500;
}

.content .left-side .details .text-one,
.content .left-side .details .text-two {
  font-size: 0.9rem;
  color: #afafb6;
}

/* ==========================================================================
   Contact Form (Right Side)
   ========================================================================== */
.container-form .content .right-side {
  width: 75%;
  margin-left: 75px;
}

.content .right-side .topic-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: #205f93;
}

.right-side .input-box {
  height: 55px;
  width: 100%;
  margin: 12px 0;
}

.right-side .input-box input,
.right-side .input-box textarea {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: #f0f1f8;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
}

.right-side .message-box {
  min-height: 110px;
}

.right-side .input-box textarea {
  padding-top: 6px;
}

/* Form Button Styles */
.right-side .button {
  display: inline-block;
  margin-top: 12px;
}

.right-side .button input[type="button"] {
  color: #fff;
  font-size: 1.1rem;
  outline: none;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  background: #205f93;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button input[type="button"]:hover {
  background: #205f93;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 950px) {
  .container-form {
    width: 90%;
    padding: 30px 40px 40px 35px;
  }
  .container-form .content .right-side {
    width: 75%;
    margin-left: 55px;
  }
}

@media (max-width: 820px) {
  .container-form {
    margin: 40px 0;
    height: 100%;
  }
  .container-form .content {
    flex-direction: column-reverse;
  }
  .container-form .content .left-side {
    width: 100%;
    flex-direction: row;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .container-form .content .left-side::before {
    display: none;
  }
  .container-form .content .right-side {
    width: 100%;
    margin-left: 0;
  }
}