* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #020312;
    --text-color: #fff;
    --h1-color: #b0f9ff;
    --main-color: #18e2ff;
    --second-color: rgb(180, 180, 180);
    --other-color: #12141c;
    --h1-font: 3.1rem;
    --h2-font: 2.1rem;
    --h3-font: 1.5rem;
    --h4-font: 1.3rem;
    --p-font: 1rem;
}

html,
body {
    position: relative;
    height: 100%;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

header {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 18px 10%;
    border-bottom: 1px solid transparent;
    transition: all .40 ease;
}

.logo {
    width: 100px;
    height: auto;
    font: var(--h3-font);
    font-weight: 600;
    color: var(--h1-color);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.navbar a,
.nav-dropdown-toggle {
    border: solid transparent;
    border-radius: 0.5rem;
    color: var(--second-color);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 13px;
    margin: 0;
    transition: border-color .3s ease;
}
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 3px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}
.nav-dropdown-toggle i { font-size: 1rem; }
.navbar a:hover, .navbar a.active,
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.active {
    border-color: var(--main-color);
    color: var(--text-color);
    background: #02031223;
    transform: scale(1) translateY(-3px);
}

.nav-dropdown { position: relative; }
.nav-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 165px;
    padding: 7px;
    background: #12141c;
    border: 1px solid rgba(24, 226, 255, 0.18);
    border-radius: 0.6rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: .2s ease;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.navbar .nav-submenu a { display: block; padding: 8px 10px; font-size: 0.84rem; white-space: nowrap; transform: none; }

#menu-icon {
    font-size: 36px;
    color: var(--text-color);
    z-index: 10001;
    cursor: pointer;
    display: none;
}

section {
    padding: 10px 16% 0px;
}

.home {
    width: 100%;
    height: 100vh;
    position: relative;
    background-image: url('../img/bg2.jpeg');
    background-size: cover;
    background-position: center;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.contact-icons-home {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5em;
}

.home-text h1 {
    margin: 20px 0;
    font-size: var(--h1-font);
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: 2px;
}

span {
    color: var(--h1-color);
}

.home-text h4 {
    margin-bottom: 1rem;
    color: var(--main-color);
    font-size: var(--h4-font);
    font-weight: 600;
}

.home-text h3 {
    font-size: var(--p-font);
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.40 ease;

}

.btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-color);
    border: 1px solid var(--main-color);
    border-radius: 0.5rem;
    transition: all .40s ease;
}

.btn:hover {
    transform: scale(1.01) translateY(-3px);
    border: 1px solid var(--main-color);
}

.contact-icons-home i {
    color: var(--main-color);
    font-size: 34px;
    transition: all 0.40s ease;
}

.contact-icons-home i:hover {
    transform: scale(1.01) translateY(-.5px);
    color: var(--text-color);
}

header.sticky {
    padding: 10px 16%;
    background: #020312a7;
    border-bottom: 1px solid #020312a7;
}

.about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

.about-text h4 {
    margin: 10px 0;
    color: var(--h1-color);
    font-size: 20px;
    font-weight: 600;
}

.about-text h2 {
    font-size: var(--h2-font);
}

.about-text p {
    color: var(--second-color);
    font-size: var(--p-font);
    line-height: 30px;
    margin-bottom: 2rem;
}

.about-img img {
    width: 100%;
    height: auto;
    max-width: 460px;
}

.main-text {
    text-align: center;
    margin-top: 4rem;
}

.main-text h2 {
    font-size: var(--h2-font);
    margin-bottom: 10px;
}

.main-text h4 {
    color: var(--main-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4rem;
}

.services-content {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    text-align: center;
    gap: 2rem;
}

.box {
    width: 100%;
    padding: 45px;
    background: #12141c;
    border-radius: 0.5rem;
    border-top: 5px solid transparent;
    transition: all .40s ease;
    cursor: pointer;
}

.box-text {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.box h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--main-color);
    margin: 15px 0;
    transition: all .40s ease;
}

.box p {
    color: var(--second-color);
    font-size: var(--p-font);
    line-height: 30px;
}

.box:hover {
    transform: scale(1.01) translateY(-5px);
    border-top: 5px solid var(--main-color);
}

.box:hover h3 {
    color: var(--main-color);
}

.slider {
    width: 100%;
    display: flex;
    gap: 2rem;
    overflow-y: scroll;
    white-space: nowrap;
    margin-top: 5rem;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
.slider::-webkit-scrollbar {
    display: none;
}
.portfolio {
    position: relative;
}
.slider-arrow-content {
    display: flex;
    flex-direction: row;
    position: absolute;
    align-items: center;
    margin-top: 210px;
}

.slider-arrow img{
    width: 25px;
    height: 100%;
    margin-right: 1220px;
    margin-left: -30px;
}
.slider-arrow-2 img{
    width: 25px;
    height: 100%;
}
.slide {
    width: 100%;
    padding: 25px;
    background: #12141c;
    border-radius: 0.5rem;
    transition: all .40s ease;
}

.slide-img {
    width: 400px;
    max-width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.slide-img img {
    width: 100%;
    height: auto;
    border-radius: inherit;
    object-fit: cover;

}

.main-slide {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.slide h3 {
    max-width: 300px;
    font-size: var(--p-font);
    font-weight: 700;
    color: var(--text-color);
    flex-wrap: wrap;
}

.slide h6 {
    color: var(--main-color);
    font-size: var(--h4-font);
    font-weight: 500;
    letter-spacing: 1px;
}

.slide:hover {
    transform: scale(1.01) translate(-5px);
    cursor: pointer;
}

.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;

}

.contact-text h4 {
    margin: 15px 0;
    color: var(--main-color);
    font-size: 20px;
    font-weight: 600;

}

.contact-text h2 {
    font-size: var(--h2-font);
}

.contact-text p {
    color: var(--second-color);
    font-size: var(--p-font);
    line-height: 30px;
    margin-bottom: 2rem;
}

.contact-icons i {
    width: 40px;
    height: 40px;
    background: #12141c;
    border-radius: 0.5rem;
    color: var(--main-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 10px;
    transition: all 0.40s ease;
}

.contact-icons i:hover {
    transform: scale(1.01) translateY(-5px);
    color: var(--text-color);
    background: var(--main-color);
}

.contact-form form {
    position: relative;
}

.contact-form form input,
form textarea {
    border: none;
    outline: none;
    width: 100%;
    padding: 12px;
    background: #12141c;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}

.contact-form textarea {
    resize: none;
    height: 220px;
}

.contact-form form .send {
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    color: var(--text-color);
    border: solid var(--main-color) 0.1rem;
    width: 100px;
    transition: all 0.40s ease;
    cursor: pointer;
}

.contact-form form .send:hover {
    transform: scale(1.01) translateY(-3px);
    background: transparent;
    border: 1px solid var(--main-color);
}

footer {
    position: relative;
    padding: 90px 43% 0;
    transform: translate(-50%-50%);

}

footer ul {
    position: absolute;
    top: 50%;
}

@media (max-width: 1325px) {
    header {
        padding: 16px 3%;
    }

    header.sticky {
        padding: 8px 3%;
    }

    section {
        padding: 130px 3% 60px;
    }

    :root {
        --h1-font: 2.4rem;
        --h2-font: 2rem;
        --h3-font: 1.3rem;
        --p-font: 1.2rem;
    }
}

@media (max-width: 970px) {
    :root {
        --h1-font: 2.4rem;
        --h2-font: 2rem;
        --h3-font: 1.3rem;
        --p-font: 1rem;
    }

    .about {
        align-items: center;
        text-align: center;
    }

    footer {
        position: relative;
        padding: 90px 38% 0;
    }

    section {
        padding: 70px 3% 60px;
    }

    .home {
        height: 85vh;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-img {
        text-align: center;
    }

    .contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 830px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: -600px;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        background: #12141c;
        text-align: left;
        transition: all .40s ease;
        gap: 0;
    }

    .navbar a {
        display: block;
        padding: 1rem;
        margin: 1rem;
    }

    .navbar .nav-dropdown-toggle { width: calc(100% - 2rem); justify-content: flex-start; padding: 1rem; margin: 1rem 1rem 0; }
    .navbar .nav-submenu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: transparent; padding: 0 1rem 0.5rem 2rem; }
    .navbar .nav-submenu a { padding: 0.65rem 1rem; margin: 0; font-size: 0.86rem; }

    .navbar.active {
        top: 100%;
    }

    .home-text {
        margin: 100px 0 0;
    }

    .about {
        align-items: center;
        text-align: center;
    }

    footer {
        position: relative;
        padding: 90px 30% 0;
    }

    :root {
        --h1-font: 2.4rem;
        --h2-font: 2rem;
        --h3-font: 1.3rem;
        --p-font: 1rem;
    }
}
