* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.contact-section {
  position: relative;
  width: 100%;
  background: url(/assets/img/all-images/back2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 6rem;
  z-index: 1;
}

.contact-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.inside-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 1.5rem;
}

.contact-left h2 {
  font-size: 35px;
  color: white;
  margin-bottom: 1rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
}

.contact-info i {
  font-size: 22px;
  color: #f2f2f2;
  padding: 15px;
  background-color: #43678b;
  border-radius: 50%;
}

.info h3 {
  color: #f2f2f2;
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
}

.info p {
  font-size: 17px;
  font-weight: 500;
  color: #f2f2f2;
}

.info a {
  text-decoration: none;
  color: #f2f2f2;
  font-size: 17px;
  font-weight: 500;
}

.contact-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 1.5rem;
  border-radius: 1rem;
  background: #020e1e;
}

.contact-right h2 {
  font-size: 35px;
  color: #f2f2f2;
  margin-bottom: 1rem;
}

.inside-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.inside-form .form-group {
  flex: 1;
  min-width: 200px;
}

.form-group input,
.form-group textarea {
  background-color: #e6eded;
  width: 100%;
  padding: 10px 20px;
  border: none;
  outline: none;
  font-size: 16px;
  border-radius: 10px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  margin-top: 20px;
}

.submit-btn {
  border: none;
  outline: none;
  text-decoration: none;
  background: #f7ff00;
  color: #00131d;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.2s ease;
}

.submit-btn:hover {
  color: #f7ff00;
  background: #43678b;
}

@media (max-width: 1200px) {
  .contact-section {
    padding: 4rem 3rem;
  }
}

@media (max-width: 1317px) {
  .contact-section {
    padding: 3rem 2rem;
  }
}

@media (max-width: 1189px) {
  .contact-left {
    padding: 0 10px;
  }
}

@media (max-width: 1000px) {
  .inside-contact {
    flex-direction: column;
    gap: 3rem;
  }
  .contact-left {
    width: 70%;
  }
  .contact-right {
    width: 70%;
  }
}

@media (max-width: 768px) {
  .contact-left {
    width: 80%;
    padding: 0 0;
  }
  .contact-right {
    width: 80%;
  }
}

@media (max-width: 500px) {
  .contact-left {
    width: 100%;
  }
  .contact-left h2 {
    font-size: 30px;
    margin-bottom: 10px;
  }
  .contact-info i {
    font-size: 19px;
  }
  .info h3 {
    font-size: 17px;
  }
  .info p,
  .info a {
    font-size: 16px;
  }
  .contact-right {
    width: 100%;
    padding: 2rem 1rem;
  }
  .contact-right h2 {
    font-size: 30px;
    text-align: center;
  }
}

@media (max-width: 375px) {
  .contact-section {
    padding: 2rem 1rem;
  }
  .submit-btn {
    padding: 8px 12px;
    font-size: 14px;
  }
}

@media (max-width: 310px) {
  .contact-right h2 {
    font-size: 27px;
  }
}
