:root {
  --primary-color: #3577b8;
  --primary-color-dark: #2163a4;
  --secondary-color: white;
  --main-text-color: #262626;
  --secondary-text-color: #575757;
  --bg-secondary-color: #f1f1f1;
  --bg-gradient: linear-gradient(
    to right,
    rgba(53, 119, 184, 0.9),
    rgba(53, 119, 184, 0.3)
  );

  --error-color: #e74c3c;
  --error-dark-color: #c0392b;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--main-text-color);
  font-weight: 400;
  overflow-x: hidden;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #DDD;
  vertical-align: center;
}

a {
  color: var(--primary-color);
  transition: color .2s;
}

a::hover {
  color: var(--primary-color-dark);
}

a:visited {
  color: var(--primary-color-dark);
}

/* .delete-btn::before,
.delete-btn::after {
  content: "";
  width: 20px;
  height: 5px;
  background: inherit;
  position: absolute;
  margin-top: -10px;
  cursor: pointer;
  transition: background-color .2s;
} */

.delete-btn {
  background-color: var(--error-color);
  font-weight: 400;
  padding: 10px 15px;
  border-radius: 5px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background-color .2s;

}
.delete-btn:hover {
  background-color: var(--error-dark-color);
}

/* .delete-btn::before {
  transform: rotate(45deg)
}

.delete-btn::after {
  transform: rotate(-45deg)
} */

h1 {
  font-size: 3.2em;
  font-weight: bold;
  color: var(--secondary-color);
}

h2 {
  font-size: 2.4em;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
  /* margin-bottom: 30px; */
}

.text-title {
  text-align: left;
  margin: 30px 0;
}

h3 {
  font-size: 2.1em;
  font-weight: 500;
  color: var(--primary-color);
}

h3.secondary {
  color: var(--secondary-color);
}

h4 {
  font-size: 1.2em;
  margin: 10px 0;
  color: var(--main-text-color);
}

p {
  font-size: 1em;
}

span {
  font-size: 0.9em;
}

nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* margin: 10px 0; */
}

#nav-container {
  background-color: var(--secondary-color);
  width: 100%;
  border-bottom: 1px solid var(--secondary-text-color);
}

.menu-btn {
  display: none;
  cursor: pointer;
}

.menu-btn .bar1,
.menu-btn .bar2,
.menu-btn .bar3 {

  width: 35px;
  height: 5px;
  background-color: var(--primary-color);
  margin: 6px 0;
  transition: 0.4s;

}

.menu-btn.show .bar1 {
  transform-origin: center center;
  transform: translate(0, 11px) rotate(45deg);
}

.menu-btn.show .bar2 {
  opacity: 0;
}

.menu-btn.show .bar3 {
  transform-origin: center center;
  transform: translate(0, -11px) rotate(-45deg);
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

nav ul {
  list-style: none;
}

nav ul li {
  float: left;
  /* padding: 20px 10px; */
}

nav ul li a {
  display: block;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 0.9em;
  padding: 30px 15px;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;

  transition: background-color 0.3s;
}

nav ul li a:focus,
nav ul li a:hover {
  background-color: var(--bg-secondary-color);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--secondary-color);
  /* min-width: 200px; */
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.dropdown-content.show {
  display: block;
}

.dropdown-content li {
  width: 100%;
}

.dropdown-content a {
  padding: 20px 15px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.grad-color-div {
  background: var(--bg-gradient);
  width: 100%;
  position: relative;
  z-index: 1;
}

.header {
  background: url("../images/header.jpg");
  /* background-image: url('../images/header.jpg') #aaff00; */
  background-position: center;
  background-size: cover;
  /* object-fit: cover; */
  /* overflow: hidden; */
}

.header .container {
  padding: 140px 0;
  /* padding: 120px 0; */
}

.header p {
  color: var(--secondary-color);
  font-size: 1.2em;
  margin-top: 25px;
  margin-bottom: 40px;
  width: 70%;
}

.arrow {
  border: solid var(--primary-color);
  border-width: 0 3px 3px 0;
  display: inline-block;
  position: relative;
  z-index: 1;
  /* top: -1.5px; */
  padding: 3px;
}

.arrow.white { border-color: var(--secondary-color) }

.big {
  border: solid var(--main-text-color);
  border-width: 0 4px 4px 0;
  display: inline-block;
  position: relative;
  z-index: 1;
  top: 0px;
  padding: 10px;
}

.up {
  top: 3px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  top: -3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

section {
  width: 100%;
}

section.text-section {
  margin: 50px 0;
}

section.text-section p {
  margin-top: 15px;
  text-align: justify;
}

section.text-section .flex-box {
  margin: 15px 0;
}

section.gray {
  background-color: var(--bg-secondary-color);
}

.services {
  margin: 80px 0;
}

.services h2 {
  margin-bottom: 80px;
}

.flex-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 40px 0;
}

.flex-img img {
  width: 100%;
}
.flex-box .flex-img {
  flex: 1;
}

.flex-box .content {
  /* flex: 2; */
  flex: 1;
  flex-grow: 2;
  width: 100%;
}

.flex-box .content p {
  margin-bottom: 20px;
  margin-top: 10px;
  text-align: justify;
}

.airplanes .title {
  background: url("../images/airplanes.jpg");
  background-position: center center;
  background-size: cover;
  /* object-fit: cover; */
}

.airplanes .title h2 {
  color: var(--secondary-color);
  text-align: left;
  padding: 50px 0;
}

.airplanes .inner {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 40px;
  margin: 120px auto;
}

.airplanes .plane {
  width: 100%;
  border: 1px solid #949494;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.33);
  flex: 1;
}

.airplanes .plane img {
  width: 90%;
  text-align: center;
  display: block;
  margin: 20px auto;
}

.airplanes .plane div {
  background: var(--bg-gradient);
  width: 100%;
  color: white;
  padding: 5px 0;
}

.airplanes .plane div > * {
  padding: 1px 5px;
}

.plane-layout {
  width: 80%;
  margin: 0 auto;
}

.partners h2 {
  padding: 40px 0;
}

.contact {
  margin: 120px 0;
}

.contact h2 {
  text-align: left;
}

.contact-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  margin: 30px 0;
}

.contact-flex > div {
  flex: 1;
}

.contact-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  gap: 10px;
  margin-top: 10px;
}

.contact-inner p {
  flex: 1;
}

.contact-inner p:last-child {
  text-align: right;
  flex: 1.8;
}

.hidden {
  color: var(--primary-color);
  cursor: pointer;
  text-decoration: underline;
}

.hidden:hover {
  color: var(--primary-color-dark);
}

form {
  width: 100%;
  box-sizing: border-box;
  margin-top: 30px;
}

form button {
  float: right;
  /* text-align: right; */
}

form span {
  color: red;
  display: block;
}

form input.error,
form select.error,
form textarea.error {
  border: 1px solid red;
  margin-bottom: 0;
}

.input-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

textarea,
select,
input[type="text"],
input[type="number"],
input[type="datetime-local"],
input[type="email"] {
  font-size: 0.95em;
  width: 100%;
  padding: 15px 10px;
  
  margin: 3px 0;
  margin-bottom: 15px;
  /* border: 2px solid var(--primary-color); */
  transition: border-color 0.3s;
  box-sizing: border-box;
  /* background-color: #f1f1f1; */
  background-color: rgba(53, 119, 184, 0.15);
}

label {
  /* display: block; */
  font-size: .9em;
  /* margin-top: 15px; */
}

textarea {
  min-height: 120px;
  min-width: 100%;
  max-width: 100%;
  font-family: inherit;
  font-size: inherit;
}

text-textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus {
  border-color: var(--primary-color-dark);
}

.stop-wrapper {
  margin-bottom: 40px;
}

.stop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stop .stop-input {
  width: 100%
}

.container {
  max-width: 80%;
  margin: 0 auto;
}

.btn {
  cursor: pointer;
  font-size: .9em;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;

  margin: 10px 0;
  padding: 15px 30px;
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.33);

  background-color: var(--secondary-color);
  color: var(--primary-color);
  transition: background-color 0.3s;
}

.btn.small {
  font-size: .7em;
  padding: 13px 20px;
}

.btn:hover,
.btn:focus {
  background-color: #dddddd;
}

.btn.secondary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.btn.secondary:hover,
.btn.secondary:focus {
  background-color: var(--primary-color-dark);
}

.success-alert {
  margin-top: 10px;
  background-color: #5ff9ce;
  padding: 20px 10px;
  color: #00906c;
  max-width: 100%;
  font-size: .9em;
  border-radius: 5px;
}

.error-alert {
  margin-top: 10px;
  background-color: #ffb5a5;
  padding: 20px 10px;
  color: #cd5d41;
  max-width: 100%;
  font-size: .9em;
  border-radius: 5px;
}

footer {
  background-color: var(--bg-secondary-color);
  width: 100%;
}

footer .container {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex: 1;
  width: calc(100% - 10px);
}

footer .container div {
  flex: 1;
  width: 100%;
}

footer p {
  font-weight: 300;
  font-size: 0.78em;
  margin-top: 3px;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:visited {
  color: rgb(80, 80, 80);
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
}

footer .middle {
  text-align: center;
}

/* 
footer .right
footer .left {
    flex: 1;
}

footer .middle {
    flex: 1;
    flex-grow: 2;
} */

footer .right {
  text-align: right;
}

.copyright {
  color: #575757;
  margin-top: 15px;
}

.bold {
  font-weight: bold;
}

@media screen and (max-width: 1150px) {
  .container {
    width: calc(100% - 20px);
    max-width: 100%;
  }


}

@media screen and (max-width: 1050px) {
  .menu-btn {
    display: inline-block;
  }

  nav {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .logo-cont {
    padding: 15px 15px;
  }

  .logo-cont,
  nav ul {
    width: 100%;
  }

  nav ul {
    display: none;
    max-height: 85vh;
    overflow-y: auto;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    position: static;
  }

  nav ul li {
    /* float: inherit; */
    float: none;
    margin: 0 auto;
    text-align: center;
  }
}

/*925*/
@media screen and (max-width: 850px) {

  .btn {
    width: 100%;
  }

  .flex-box {
    flex-direction: column;
    border-bottom: 3px solid var(--bg-secondary-color);
    padding-bottom: 30px;
  }

  .airplanes .inner {
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
  }

  .plane-layout {
    width: 100%;
  }

  .stop {
    display: block;
  }
  
  .contact-flex {
    display: block;
  }

  .contact-inner {
    justify-content: flex-start;
  }

  .contact-inner p:last-child {
    text-align: left;
  }

  footer .container {
    flex-direction: column;
  }

  footer .left {
    order: 1;
  }

  footer .right {
    order: 2;
    text-align: left;
    margin-top: 10px;
  }

  footer .middle {
    order: 3;
    margin-top: 30px;
  }

  .input-flex {
    flex-direction: column;
    gap: 0;
  }

  .h-captcha {
    text-align: center;
    margin: 0 auto;
  }
}