/*Hero*/
.hero {
  background: #0b2a3b url("../img/Background 3.png") no-repeat center;
  background-size: cover;
  padding: 70px 0;
  color: #fff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-content {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-text h1 {
  font-size: 41px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 20px;
  opacity: 0.95;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-img {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: flex-end;
}

.hero-img img {
  max-width: 520px;
  width: 100%;
  height: auto;
}


/*Search*/
.search-section h2,
.search-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-box input {
  width: 320px;
  max-width: 100%;
  height: 46px;

  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0 18px;

  font-size: 15px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.search-box input:focus {
  box-shadow: 0 0 0 3px rgba(0, 137, 150, 0.25);
}

.search-box button {
  height: 46px;
  min-width: 90px;

  border: 0;
  border-radius: 999px;
  background: #2e8b8b;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  -webkit-appearance: none;
  appearance: none;
}

.search-box button:hover {
  background: #65d6d6;
}

.search-box button img {
  width: 30px;
  height: 30px;
}


/*Content*/
.contact-section {
  padding: 60px 0;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 280px;
}

.contact-info h2,
.contact-form h2 {
  font-size: 26px;
  color: #008996;
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 10px;
  color: #222;
  line-height: 1.6;
}

.contact-info .small-text {
  color: #666;
  font-size: 14px;
  margin-top: 10px;
}

.contact-info-img {
  width: 75%;
  max-width: 520px;
  margin-top: 18px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}


/* Form */
.contact-form form {
  background: #f4f9fc;
  border: 1px solid #e7eef4;
  border-radius: 12px;
  padding: 22px;
}

.form-row {
  position: relative;	
  margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  width: 100%;
  border: 1px solid #ddd;
  background: #fff;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  border-radius: 8px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(0, 137, 150, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 137, 150, 0.15);
}

.form-row:has(select)::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;

  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-50%) rotate(45deg);

  pointer-events: none;	
}

.form-row select:focus + *,
.form-row select:focus {
  outline: none;
}


/*Submit button*/
.btn-primary {
  display: inline-block;
  background: #008996;
  color: #fff;
  border: 0;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;

  -webkit-appearance: none;
  appearance: none;
}

.btn-primary:hover {
  background: #58cdd8;
}


/*Responsive*/

/*Phone & small tablet*/
@media (max-width: 780px) {

  .hero {
    padding: 50px 0;
  }

  .hero-text {
    text-align: center;
  }	
	
  .hero-img {
    justify-content: center;
  }

   .hero-text h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  .hero-text p {
    font-size: 16px;
    line-height: 1.6;
  }

  .search-box {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/*Small phone */
@media (max-width: 520px) {

  .search-box button {
    min-width: 70px;
  }
}

/*Fix: Company Information*/

@media (max-width: 1024px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}