@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

:root {
    --secondaryColor: #C59D6F;
    --black: #222222;
    --lightGray: #F5F5F5;
    --white: #fff;
    --fontSize: 16px;
    --fontFamily: 'Roboto', sans-serif;
    --transition: .5s ease;
    --h2: #ededed;
    --padding: 50px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



li {
    list-style: none;
    color: var(--white);
}

a {
    text-decoration: none;
    color: var(--white);
}

img {
    width: 100%;
    max-width: 100%;
    display: block;
}

h2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.6;
    color: var(--h2);
}

p {
    font-size: var(--fontSize);
    margin: 20px 0;
}


.btn {
    background: var(--white);
    box-shadow: 0px 3px 10px 2px rgba(237, 237, 237, 0.1);
    border-radius: 30px;
    color: var(--black);
    padding: 12px 20px;
    width: 140px;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: var(--fontSize);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.btn:hover {
    background: var(--secondaryColor);
    color: var(--black);
}

.btn:after {
    content: '→';
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translate(-50%, -60%);
    margin-left: 80px;
    transition: var(--transition);
}

.btn:hover::after {
    left: 15%;
}

.btn-hero {
    background: var(--secondaryColor);
    box-shadow: 0px 3px 10px 2px rgba(237, 237, 237, 0.1);
    color: var(--white);
    width: 200px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    transition: var(--transition);
}

.btn-hero:after {
    content: '→';
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -60%);
    margin-left: 100px;
    transition: var(--transition);
}

.btn-hero:hover::after {
    left: 35%;
}

.btn-hero:hover {
    background: var(--white);
    color: var(--black);
}

/*button learn more */

.btn-more {
    background: var(--white);
    box-shadow: 0px 3px 10px 2px rgba(237, 237, 237, 0.1);
    border-radius: 30px;
    color: var(--black);
    padding: 12px 20px;
    width: 170px;
    font-weight: 400;
    font-size: 16px;
    text-align: right;
    border: none;
    cursor: pointer;
    font-size: var(--fontSize);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    text-indent: 40px;
}

.btn-more p {
    text-align: right;
}

.btn-more:hover {
    background: var(--secondaryColor);
    color: var(--black);
}

.btn-more:before {
    content: '→';
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translate(-50%, -60%);
    margin-left: 10px;
    transition: var(--transition);
}

.btn-more:hover::before {
    left: 5px;
}

.container {
    width: 68%;
    margin: auto;
    padding: var(--padding);
}

/* Navbar section */

.navbar {
    min-height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 25px;
    position: fixed;
    width: 100%;
    background: var(--black);
    z-index: 999;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--black);
}

.nav-scrolled {
    background: var(--black);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: .5s all ease-in-out;
    z-index: 99;
}

.logo img {
    height: 50px;
}

.nav-item {
    transition: 0.7s ease;
    margin: 15px;
    color: rgba(255, 255, 255, .8);
    font-family: 'Nunito Sans', sans-serif;
    text-transform: capitalize;
    font-weight: 300;
    white-space: nowrap;

}

.nav-item a {
    letter-spacing: 3px;
}

.scroll-link-color {
    color: var(--black);
}

.nav-item a:hover {
    color: var(--secondaryColor);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}


/* hero */

header {
    width: 100%;
    max-width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 50%;
    text-align: right;
}

header .hero-container h1 {
    font-weight: 800;
    font-size: 100px;
    line-height: 1.6;
    left: 55%;
    z-index: 1;
    margin-top: 50px;
    white-space: nowrap;
}


iframe {
    width: 70%;
}

/* responsive */

@media (max-width: 1110px) {
    header .hero-container h1 {
        font-size: 80px;
    }

    h2 {
        font-size: 30px;
    }

    .container {
        width: 80% !important;
    }

    .swiper-slide {
        height: 55vh;
    }
}

@media (max-width: 870px) {
    h2 {
        margin-bottom: 20px;
        font-size: 25px;
    }

    .swiper-slide {
        height: 50vh;
    }
}


@media (max-width:760px) {
    .hero-container {
        text-align: center;
    }

    header .hero-container h1 {
        font-size: 70px;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .navbar {
        justify-content: space-between;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-item {
        margin: 15px;
    }

    .nav-menu.active {
        left: 0;
    }

    .swiper-slide {
        height: 45vh;
        background: transparent;
    }

    #nav-left,
    #nav-right {
        width: 30px;
    }

    .blog {
        padding: 20px;
    }

    .about-text {
        padding: 20px;
    }

}

@media (max-width: 480px) {
    .container {
        width: 90% !important;
    }

}