﻿.homecontainer {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #5ba7ff;
    transition: background-color 0.3s ease;
}

.homenav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
}

.homenav_logo {
    padding: 15px 0;
    width: 50px;
    position: relative;
    margin-left: -40px;
}

.homemenu_items {
    display: flex;
    list-style: none;
    /*gap: 20px;*/
}


.nav_links {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav_link {
    text-decoration: none;
    color: black;
    transition: color 0.3s;
    font-size: large;
}

    .nav_link:hover {
        color: #000;
    }


/* Hero */

.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: url(/img/bg-dot.png), url(/img/bg-dot.png), url(/img/bg-round.png), url(/img/bg-tree.png);
    background-position: 10px 10px, bottom 215px right 10px, left 55% top -1%, left 45% bottom -1px;
    background-repeat: no-repeat;
    background-color: #5ba7ff;
    display: flex;
    justify-content: space-between;
}

.curveImg {
    position: absolute;
    bottom: 0;
    width: 100%;
    pointer-events: none;
}

.hero .row {
    align-items: center;
    width: 100%;
    /*gap: 30px;*/
    /*padding: 0 60px;*/
    position: relative;
    z-index: 1;
}

    .hero .row h2,
    .hero .row p {
        color: #fff;
    }

    .hero .row h2 {
        font-size: 36px;
        margin-bottom: 16px;
    }

.hero .column {
    width: 50%;
    z-index: 2;
}

.hero .column1 {
    width: 47%;
    z-index: 2;
}

.Lgnbuttons {
    display: flex;
    margin-top: 25px;
    gap: 10px;
}

.Lgnbtn {
    padding: 14px 26px;
    background: #fff;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .Lgnbtn:last-child {
        border: 2px solid #fff;
        background: transparent;
        color: #fff;
    }

        .Lgnbtn:last-child:hover {
            background-color: #fff;
            color: #333;
        }

.hero_img {
    width: 100%;
    z-index: 2;
    position: relative;
}

#menu_toggle {
    display: none;
}

/* Reponsive */

/* CSS for responsive design */

@media (max-width: 860px) {

    /* Styles for menu toggle and navigation */

    #menu_toggle {
        display: block;
        width: 20px;
        cursor: pointer;
    }

    .homenav {
        padding: 0 20px;
        background-color: #fff;
    }

    .homemenu_items {
        position: fixed;
        top: 0;
        width: 260px;
        background-color: #fff;
        height: 100%;
        left: -100%;
        padding: 50px 30px 30px;
        flex-direction: column;
        transition: all 0.5s ease;
    }


    .showMenu .homemenu_items {
        left: 0;
    }

    .homemenu_items #menu_toggle {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    /* Responsive styles for hero section */

    .hero {
        padding-top: 130px;
    }

        .hero .row {
            flex-direction: column;
            padding: 0 20px;
            justify-content: center;
        }

            .hero .row .column {
                width: 100%;
            }

            .hero .row .column1 {
                width: 100%;
            }
}

@media (max-width: 600px) {

    /* Responsive styles for smaller screens */

    .hero {
        padding-top: 80px;
    }

        .hero .row h2 {
            font-size: 26px;
        }

    .Lgnbuttons {
        justify-content: center;
    }

    .Lgnbtn {
        padding: 10px 16px;
    }
}

/* Additional styles for content section */

.content-text h1 {
    font-size: 2em;
}

.content-section {
    background-color: #5ba7ff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-radius: 80px;
}

.content-heading {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    font-style: oblique;
    color: lightgoldenrodyellow;
}

.content-subheading {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.content-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #6610f2;
    clip-path: ellipse(100% 70% at 50% 100%);
    z-index: -1;
}

.content-paragraph {
    font-size: 1.2rem;
    line-height: 1.6;
}

.content-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

    .content-wrapper img {
        width: 45%;
        border-radius: 8px;
    }

.content-text {
    width: 50%;
}

.left {
    flex-direction: row-reverse;
}

.right {
    flex-direction: row;
}


.content-image {
    width: 45%;
    border-radius: 8px;
    margin-right: 20px;
}

@media (max-width: 768px) {

    /* Responsive styles for smaller screens */

    .content-wrapper {
        flex-direction: column;
    }

        .content-wrapper img,
        .content-text {
            width: 100%;
            margin-bottom: 20px;
        }
}
