body {
    background-image: url(../img/bg-black.jpg);
    background-position: center;
    background-size: cover;
    background: rgba(34, 34, 34, 0.);
    font-family: var(--fontFamily);
    font-size: var(--fontSize);
}

/* Header */
header {
    width: 100%;
    max-width: 100%;
    height: 60vh;
    background-position: top;
    background-image: url(../img/Hero.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
}

header .hero {
    width: 50%;
    max-width: 50%;
    padding: 12px 20px;
    margin: auto;
    text-align: left;
}

header .hero h1 {
    font-weight: 800;
    font-size: 68px;
    line-height: 80px;
    color: #ededed;
    margin-bottom: 20px;
}

header .hero p {
    color: #ededed;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

/* section 1  */

.intro {
    width: 75%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: -100px auto 50px;
}

.intro div {
    flex: 0 0 48%;
}

.img-item {
    display: inline-block;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.img-item img {
    border-radius: 30px;
    width: 100%;
    display: block;
}

.text-item {
    color: var(--white);
}

/***** slider ***/

#slider1 {
    width: 80%;
    margin: auto;
    margin-bottom: 100px;
}

#slider1 h2 {
    text-align: center;
    margin: 100px 0;
}

#swiper1 {
    width: 75%;
    height: 80%;
    padding: 40px;
    background: rgba(237, 237, 237, 0.08);
    border-radius: 30px;
}

#swiper-container {
    width: 100%;
    position: relative;
}

.swiper-wrapper {
    padding-top: 5px;
    width: 100%;
}

.swiper-slide {
    height: 45vh;
    position: relative;
    background: rgba(237, 237, 237, 0.08);
    border-radius: 40px;
}

.slide-box {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    color: #fff;
    text-align: center;
    width: 100%;
}

.slide-box img {
    border-radius: 30px 30px 0 0;
    width: 100%;
    height: 40%;
    object-fit: cover;
}

.slide-box h4 {
    font-weight: 700;
    font-size: 28px;
    line-height: 33px;
    margin-top: 20px;
}

.slide-box p {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    padding: 20px;
}

.slide-box a {
    margin: auto;
}

.swiper-custom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.swiper-pagination{
    display:none;
}
#nav-left,
#nav-right {
    width: 50px;
}

#nav-left {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translatey(-50%);
    z-index: 10;
    cursor: pointer;
}

#nav-right {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translatey(-50%);
    z-index: 10;
    cursor: pointer;
}


/* about */
.about {
    width: 100%;
    height: 50vh;
    position: relative;
    z-index: 2;
}

.about-text {
    background: var(--black);
    position: absolute;
    top: 400px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    padding: 60px 50px;
    color: var(--white);
}


/*blog */
.blog {
    position: relative;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: -200px;
    background: rgba(34, 34, 34, 0.99);
    padding: 50px;
}

.blog h2 {
    text-align: center;
    margin-top: 100px;
}

.blog a {
    margin: auto;

}

.blog-posts {
    display: flex;
    justify-content: space-between;
    color: var(--white);
    width: 100%;
}

.blog-posts div {
    flex: 0 0 30%;
    padding: 30px;
    background: rgba(237, 237, 237, 0.08);
    border-radius: 30px;
    text-align: center;
}

.blog-posts div img {
    border-radius: 15px;
}

.blog-posts div h4 {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    margin-top: 12px;
}

.blog-posts div p {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}

.blog-writing {
    position: relative;
    z-index: -1;
}

.blog-writing .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(237, 237, 237, 0.4);
}

/* newsletter */

.newsletter {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ededed;
    color: var(--black);
    margin: 200px auto;
    border-radius: 30px;
    padding: 100px 50px;
}

.newsletter h2 {
    color: var(--black);
    margin-right: 15px;
}

.newsletter form {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter input {
    border: none;
    border-bottom: 1px solid var(--black);
    background: transparent;
    margin-right: 15px;
    width: 350px;
}

.newsletter button {
    width: 350px;
    background: var(--secondaryColor);
    color: var(--white);
    text-indent: 80px;
}

.newsletter button:hover {
    background: var(--black);
    color: var(--white);
}

/* footer */
footer {
    background: rgba(237, 237, 237, 0.08);
    padding: var(--padding);
}

footer article {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--white);
    flex-wrap: wrap;
}

.footer-items {
    flex: 0 0 25%;
    margin: auto;
    text-align: center;
}

footer img {
    width: 50px;
    margin: auto;
}

.footer-icons {
    display: flex;
    justify-content: center;
    font-size: 20px;
    margin-top: 30px;
}

.footer-icons i {
    margin: 0 10px;
}

.footer-items a:hover {
    color: var(--secondaryColor);
}

.footer-icons i:hover {
    color: var(--secondaryColor);
}

.footer-items p {
    font-size: var(--fontSize);
    font-weight: 400;
    width: 70%;
    text-align: center;
    margin: 15px auto;
}

.footer-items h3 {
    text-transform: uppercase;
    font-size: 17px;
    line-height: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.footer-items li {
    padding: 5px 0;
    font-size: 17px;
    line-height: 20px;
}

/* responsive */

@media (max-width: 1500px) {
    .newsletter input {
        width: 250px;
    }

    .newsletter button {
        width: 250px;
    }
}

@media (max-width: 1260px) {
    header .hero {
        width: 90% !important;
        max-width: 90%;
    }

    header .hero h1 {
        font-size: 50px;
    }

    .intro {
        width: 90%;
        margin: -50px auto 50px;
    }

    #swiper1 {
        width: 75%;
    }

    .about-text {
        top: 300px;
    }

    .blog h2 {
        margin-top: 20px;
    }

    .newsletter {
        padding: 50px;
    }

    .newsletter,
    form {
        flex-direction: column;
    }

    form input {
        margin-bottom: 20px;
    }
}

@media (max-width: 920px) {
    .blog-posts {
        flex-direction: column;
    }

    .blog-post-box {
        margin-bottom: 20px;
    }

    footer article {
        align-items: flex-start;
    }

    .footer-items {
        flex: 0 0 50%;
        margin-bottom: 40px;
    }

    .footer-items h3 {
        margin-bottom: 15px;
    }
}

@media (max-width: 870px) {
    .intro {
        flex-direction: column !important;
    }

    .img-item {
        margin-bottom: 20px;
    }

    #swiper1 {
        width: 100%;
        height: 50vh;
    }
    #nav-left,
    #nav-right {
        display: none;
    }
    .swiper-pagination {
        display: block;
    }
   
}

@media (max-width: 480px) {
    .swiper-slide {
        background: transparent;
    }

    #swiper1 {
        width: 100%;
        height: 50vh;
    }

    .slide-box p {
        padding: 10px;
    }

  
    .footer-items {
        flex: 0 0 90%;
        margin-bottom: 20px;
    }
}