.contact-us {
  padding-top: 180px;
  background-image: url('/images/contact-us.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}
.contact-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
}
.contact-us-content {
  background-color: rgba(17, 121, 226, 0.85);  /* semi-transparent background */
  padding: 5px 10px;
  border-radius: 8px;
  opacity: 0.9;
  font-size: 2.5rem;
  z-index: 2;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.home {
  margin-top: 20px;
  position: relative;
  z-index: 2;  /* makes it appear above the background overlay */
}
.home-span{
  color: rgba(3, 29, 68, 0.8);
  font-weight:600;
  font-size: 1.2rem;
}
.home-btn {
  display: inline-block;
  background-color: rgba(224, 224, 224, 0.6);
  color: #020202;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 15px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 2;  /* make sure it's clickable */
}
.home-btn:hover,.contact-us-content:hover {
  background-color: #0055aa;
  color: #fff;
}
.con-section{
  background: linear-gradient(to right,#ffffff 70%,#eff6fd 30%);
  margin: 0;
  padding-top: 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  padding: 5px 0;
  font-family: "Poppins", sans-serif;
}
.con-container {
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
  border-radius: 10px;
}
.con-form {
  flex: 0 0 60%;
  padding: 40px;
  border-radius: 10px;
}
.con-info-section {
  position: relative;
  flex: 0 0 40%;
  overflow: hidden;
  border-radius: 20px;
}
.con-info-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  pointer-events: none;
  z-index: 2;
}
.con-info-section::after {
  content: "";
  position: absolute;
  bottom: -10;
  left: 0;
  width: 50px;
  height: 56px;
  background: linear-gradient(-135deg, #d9dee3 50%, transparent 50%);
  z-index: 1;
}
.con-section-info {
  position: relative;
  padding: 30px;
  height: 500px;
  background: #f7fbff;
  z-index: 1;
}
/* Left shadow */
.con-section-info::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 1px;
  left: 0;
  width: 10px;
  background: rgba(0, 115, 230, 0.3);
  filter: blur(10px);
  border-radius: 5px;
  z-index: -1;
}
/* Right shadow */
.con-section-info::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 1px;
  right: 0;
  width: 10px;
  background: rgba(0, 115, 230, 0.4);
  filter: blur(10px);
  border-radius: 5px;
  z-index: -1;
}
.term{
  color:#0073e6;
  text-decoration: none;
}
h2 {
  color: #0073e6;
  margin-bottom: 8px;
}
p {
  color: #555;
  margin-bottom: 25px;
}
input,select,textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #eef6ff;
  margin-bottom: 16px;
  font-size: 14px;
  outline: none;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

/* Keep checkbox and text on same line */
.optin-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 15px;
}
.optin-title {
  font-weight: 600;
  margin-right: 4px;
}

button {
  background-color: #0073e6;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
}
button:hover {
  background-color: #005bb5;
}
.con-row {
  display: flex;
  gap: 15px;
}
.con-row .con-col {
  flex: 1;
}
/* Info Section */
.con-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}
.con-item i {
  padding: 15px;
  border-radius: 10px;
  background-color: #d9dee3;
  font-size: 22px;
  color: #0073e6;
  margin-right: 12px;
  margin-top: 4px;
}
.con-item h4 {
  margin: 0;
  color: #000;
}
.con-item p {
  margin: 5px 0 0;
  color: #555;
  font-size: 14px;
}
.con-item a {
  color: #0073e6;
  text-decoration: none;
}
.mapouter {
  position: relative;
  text-align: right;
  height: 500px;
  width: 100%;
}
.gmap_canvas {
  overflow: hidden;
  background: none !important;
  height: 500px;
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .contact-us {
    font-size: 1.4rem;
  }
  .contact-us-content {
    font-size: 1.8rem;
    padding: 15px;
  }
  .home-btn {
    font-size: 1.1rem;
    padding: 10px 18px;
  }
}
@media screen and (max-width: 768px) {
  .contact-us {
    padding-top: 120px;
    height: 300px;
    font-size: 1.2rem;
  }
  .contact-us-content {
    font-size: 1.6rem;
    padding: 10px;
  }
  .home-btn {
    font-size: 1rem;
    padding: 8px 16px;
  }
  .con-section {
    background: #fff;
    flex-direction: column;
    padding: 30px 10px;
    border-radius: 5px;
  }
  .con-form,.con-info-section{
    margin-top: 5px;
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
  .con-container {
    flex-direction: column;
    padding: 0 10px;
  }
  .con-container,.con-form,.con-info-section {
    width: 100%;
    max-width: 600px;
  }
  .con-form, .con-info-section {
    flex: 0 0 100%;
    padding: 20px;
  }
  .con-section-info::after,.con-section-info::before{
    background: none;
  }
  .con-info-section::after,.con-info-section::before{
    background: none;
  }

  .con-section-info {
    height: auto;
  }
  .con-row {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  .con-section{
    background: #fff;;
  }
  .home-btn {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .contact-us {
    height: 250px;
    padding: 10px;
  }
  .contact-us-content {
    font-size: 1.3rem;
    padding: 6px;
  }
  .con-container,.con-form,.con-info-section {
    width: 100%;
    max-width: 400px;
  }
  .con-form,.con-info-section{
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
  .con-section-info::after,.con-section-info::before{
    background: none;
  }
  .con-info-section::after,.con-info-section::before{
    background: none;
  }
  .home-btn {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
  h2 {
    font-size: 1.5rem;
  }
  p {
    font-size: 0.9rem;
  }
  input, select, textarea {
    font-size: 12px;
  }
  button {
    font-size: 14px;
    padding: 10px 15px;
  }
}