:root {
    --primary-color: #0CC0DF;
    --secondary-color: #B2AC88;
    --box-color: #545454;
    --shadow-color: rgba(128, 128, 128,0.1);
    --tetiary-color: orange;
    --secondary-bg-color: #0CC0DF;
    --headings-font: "Merriweather", sans-serif;
    --paragraph-font: "Roboto Condensed", sans-serif;
    --smalltext-font: "Lato", sans-serif;
}
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    overflow-x: hidden;
}

p {
    font-family: var(--paragraph-font);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

h1, h2, h4 {
    font-family: var(--headings-font);
    font-weight: 700;
    font-style: normal;
}

li > p, .diff {
    font-family: var(--headings-font);
    font-weight: 400;
    font-style: normal;
}

a {
    font-family: var(--smalltext-font);
    font-weight: 500;
    font-style: normal;
}

/* ==== HEADER SECTION ====*/

header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: sticky;
    top: 0;
    z-index: 1002;
    box-shadow: 0 0 3px var(--box-color);
    background-color: white;
}

header nav a {
    margin-right: 10px;
    text-decoration: none;
    padding: 8px;
    transition: 0.5s linear;
    border-bottom: 1px solid transparent;
    color: black;
    font-size: 1.2em;
    position: relative;
}

header nav a:not(.cont)::after {
    content: "";
    width: 0;
    height: calc(4px / 2);
    position: absolute;
    bottom: 0;
    left: 20%;
    background-color: var(--secondary-color);
    z-index: 2000;
    transition: 0.2s linear;
}

nav a:not(.cont):hover::after {
    width: 60%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 50%;
}

.cont {
    background-color: var(--primary-color);
    color: white;
    transition: 0.1s ease;
    padding: 10px 15px;
    position: relative;
    border-radius: 50px;
}

.cont:hover {
    color: white;
    background-color: var(--secondary-color);
    
}

/*
.cont::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: black;
    transition: 0.2s ease;
    border-radius: 50px;
}

.cont:hover::after {
    height: 100%;
}

.cont span {
    position: relative;
    z-index: 1000;
    transition: 0.2s ease;
    font-size: 20px;
    color: black;
}

.cont:hover span {
    color: white;
}
*/
.current-link::after {
    width: 60% !important;
    height: 3px !important;
    transition: none !important;
}

header img {
    width: 80px;
    aspect-ratio: 1 / 1;
}

.tab {
    display: none;
}



/* ==== END OF HEADER SECTION ==== */

/* ==== HERO SECTION ==== */

.home-section {
    width: 100%;
    height: 80vh;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.6)), url(../images/hangar-81779_1920.jpg);
    background-repeat: no-repeat;
    position: relative;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    z-index: 1001;
}



.hero-section {
    width: 80%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    color: black;
    justify-content: space-between;
    height: 300px;
    color: white;
    align-items: center;
}

.hero-section h1 {
    font-size: 70px;
    text-align: center;
}

.hero-subtext {
    font-size: 40px;
}

.hero-section a {
    text-decoration: none;
    margin-top: 30px;
    padding: 10px 30px;
    display: inline-block;
    transition: 0.2s linear;
    background-color: var(--primary-color);
    color: black;
}

.hero-section a:hover {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: white;
}

/* ==== END OF HERO SECTION ==== */

/* ==== ABOUT OUR COMPANY section ==== */

.about-company {
    margin-left: 5px;
    margin-top: 55px;
    position: relative;
    padding-block: 20px;
    padding-left: 10.8%;
}

.about-company::after {
    content: "";
    width: 3%;
    height: 5px;
    background-color: var(--box-color);
    position: absolute;
    bottom: 0;
    left: 10.8%;
}

.more-about {
    /*
    display: grid;
    grid-template-columns: auto auto auto;*/
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-inline: auto;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.more-about > div {
    width: 350px;
    border-radius: 10px;
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--tetiary-color);
    max-height: 400px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 2px grey;
}

.more-about p {
    line-height: 1.6;
}

/* ==== WHY US ==== */ 

.why-us {
    width: 100%;
    padding: 20px;
    background-color: var(--shadow-color);
    margin-top: 30px;   
}

.why-us-content {
    width: 80%;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

[alt="plane-view"] {
    width: 450px;
    aspect-ratio: 1 / 1.1;
}

.why-us-left {
    height: calc(500px * 1.1);
    width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.why-us-left ul {
    margin-top: 50px;
}

.learn-more {
    display: block;
    text-decoration: none;
    color: white;
    background-color: var(--primary-color);
    padding: 10px;
    width: fit-content;
    position: relative;
}

.learn-more::after {
    content: "";
    position: absolute;
    top:0;
    width: 0;
    height: 100%;
    left: 0;
    background-color: var(--secondary-color);
    transition: 0.3s ease;
}

.learn-more span {
    position: relative;
    color: white;
    z-index: 200;
    transition: 3s ease;
}

.learn-more:hover::after {
    width: 100%;
}

/* ==== WHAT MAKES US DIFFERENT section ==== */

.difference {
    width: 100%;
    height: 300px;
    background-image: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url(../images/aircraft-2438799_1280.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.difference-box {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.difference-box h2 {
    color: var(--primary-color);
}

.difference-box a {
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    position: relative;
    margin-top: 20px;
}

.difference-box a::after {
    content: "";
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: 0.3s ease;
    background-color: white;
}

.difference-box span {
    position: relative;
    z-index: 200;
    transition: 0.3s ease;
}

.difference-box a:hover span {
    color: black;
}

.difference-box a:hover::after {
    width: 100%;
}

.difference-box p {
    text-align: center;
    line-height: 1.3;
}

/* ==== OUR SERVICES section ==== */

.services {
    width: 100%;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.services > img {
    display: block;
    margin-inline: auto;
}

.box {
    width: 80%;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.service-box {
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 3px #545454a1;
    outline: none;
    padding: 20px;
}

.service-box h4 {
    text-align: center;
    font-size: 25px;
}

#services {
    display: flex;
    width: 80%;
    justify-content: space-between;
    margin-inline: auto;
    flex-wrap: wrap;
    row-gap: 10px;
}

.service-box img {
    width: 200px;
    max-width: 200px;
    height: 160px;
    display: block;
    margin-inline: auto;
    border-radius: 50%;
}

.services h2 {
    margin-block: 1.6em;
    text-align: center;
}

.services a {
    text-decoration: none;
    display: block;
    width: fit-content;
    margin-inline: auto;
    background-color: var(--primary-color);
    padding: 10px 20px;
    color: white;
    position: relative;
    margin-top: 20px;
}

.services a > span {
    color: white;
    position: relative;
    z-index: 300;
    transition: 0.3s ease;
}

.services a::after {
    content: "";
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--secondary-color);
    transition: 0.3s ease;
}

.services a:hover::after {
    width: 100%;
}

/* ==== Contact Form ===== */

.contact-form {
    width: 100%;
    height: calc(500px * 1.1 + 40px);
    background-image: linear-gradient(to right, rgba(0,0,0,0.6) 10%, rgba(0,0,0,1), rgba(0,0,0,1)), url(../images/maintainance-pic.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

#contact-us {
    width: 600px;
}

#contact-us label {
    display: block;
    margin-block: 10px;
}

#contact-us input, #contact-us textarea {
    width: 100%;
    padding: 20px 10px;
    border: none;
    border-radius: 5px;
    color: black;
}

#contact-us input:focus, #contact-us textarea:focus {
    border: none;
    outline: none;
    box-shadow: 0 0 15px var(--primary-color);
    background-color: transparent;
    color: white;
}

#contact-us input {
    height: 3em;
}

#contact-us textarea {
    min-height: 150px;
}

.in-touch {
    width: 350px;
    height: 250px;
    background-color: var(--primary-color);
    border-radius: 20px 70px 70px 20px;
    position: relative;
    left: 6%;
    top: -16%;
    display: flex;
    align-items: center;
}

.in-touch h2 {
    font-size: 2rem;
    margin-left: 10px;
}

.contact-us button {
    width: 40%;
    display: block;
    margin-inline: auto;
    min-height: 1.5em;
    border: none;
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
    margin-top: 30px;
    cursor: pointer;
    font-size: 1.3rem;
}

.contact-us button:hover {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.contact-us h2 {
    text-align: center;
    margin-bottom: 2em;
    color: var(--primary-color);
    font-size: 2rem;
}

/* ==== FOOTER section ==== */

footer {
    width: 100%;
    background-color: var(--secondary-color);
    overflow: hidden;
    color: white;
    position: relative;
    padding: 20px;
}

footer h4 {
    color: black;
}

.footer-contact {
    margin-left: 40px;
}

.footer span {
    margin-right: 5px;
    padding-block: 3px;
}

.footer a {
    text-decoration: none;
    color: white;
}

.footer-text {
    position: relative;
    cursor: pointer;
}

.footer-text::after {
    content: "";
    width: 0;
    height: 1px;
    background-color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.2s ease;
}

.footer-text:hover::after {
    width: 100%;
}

.footer {
    display: grid;
    grid-template-columns: auto auto auto;
    width: 80%;
    margin-inline: auto;
}

.bottom-line {
    width: 10%;
    margin-inline: auto;
    margin-top: 40px;
    border-color: white;
    background-color: white;
    outline: none;
}

.creator {
    visibility: hidden;
    position: absolute;
    transition: 0.2s ease;
}

.creator-name {
    color: black;
    font-style: oblique;
}

.rights-and-reserve:hover .creator {
    visibility: visible;
}

h4:not(:first-of-type) {
    color: var(--primary-bg-color);
}

/*------- Scrollbar design ------ */
/*
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-bg-color);
}
*/
