/* styles.css */
body {
    margin: 0;
    background-color: rgb(30, 52, 47);
    color: #ffffff;
}

h1 {
    font-family: 'MyFont1', orig_gothamlight;
    font-size: 50px;
    margin: 2px;
}

p {
    font-family: 'MyFont5', orig_montserrat_regular;
    font-size: 25px;
    margin: 0;
}

header {
    background-color: rgb(33, 56, 51);
    padding: 10px 0;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.hamburger {
    display: none;
}
.side-menu {
    display: none; 
}
.nav {
    border-right: 1px solid rgb(255 64 64);
    height: 70px;
    width: 17%;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
    padding-top: 10px;
    color: rgb(59, 103, 94);
    font-size: 21px;
    font-family: 'MyFont7', orig_ubuntu_light;
}

nav ul li a {
    color: rgb(59, 103, 94);
    text-decoration: none;
}

nav ul li a.active {
    color: rgb(255 64 64);
}

nav ul li a:hover {
    color: rgb(242, 189, 30);
}

.heading {
    padding-top: 15%;
    color: #ff4040;
    /* height: 35%; */
    font-family: 'MyFont1', orig_gothamlight;
    text-align: center;
    border-bottom: 40px solid #c26f5f;
    padding-bottom: 15%;
    margin-bottom: 30px;
    background-color: #1e342f;
}
.top-green-area{
    /* background-color: rgb(30, 52, 47); */
    background-color: #1e342f;
    height: 155px;
    width: 100%;
    margin-top: -30px;
    z-index: 0;
    position: absolute;
}
.desc {
    color: rgb(210, 206, 144);
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    width: 30%;
    padding: 10px;
}
.descfour{
    color: rgb(210, 206, 144);
    font-weight: bold;
    font-size: 20px;
    justify-content: center;
    align-content: center;

    width: 100%;
    display: flex;
}
.subdescfour {
    text-align: center;
    margin: 20px 20px 67px 20px;
    position: relative;
    width: 30%;
}
.green-area {
    background-color: rgb(30, 52, 47);
    height: 183px;
    width: 100%;
    margin-top: 85px;
    z-index: 0;
    position: absolute;
}
.scroll-container {
    position: relative;
    height: 400vh;
}

.scroll-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fixed-image {
    position: fixed;
    top: 4%;
    width: auto;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    /* object-fit: contain; */
}

.fixed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.5s ease-in-out;
}

.last-cont {
    background-color: rgb(59, 103, 94);
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.sub-cont {
    background-color: rgb(245, 148, 83);
    color: rgb(43 71 64);
    font-weight: bold;
    font-size: 16px;
    width: 25%;
    margin-bottom: 30px;
    margin-top: 300px;
    padding: 55px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    text-align: center;
    font-family: montserrat, sans-serif;
    line-height: 1.3em;
   
}



.back-to-top {
    position: relative; /* Fixed position to always stay in view */
    bottom: 30px; /* Space from the bottom */ 
    padding: 10px 20px;
    margin: 50px 0 50px 0;
    background-color: #487e73;
    color: #D85842;
    border: none;
    cursor: pointer;
    box-shadow: 3px 3px 0 0 rgba(0,0,0,0.45), 0 3px 0 0 rgba(0,0,0,0.45);
    display: none; /* Initially hidden */
    z-index: 100; /* Ensure it is above other content */
}

@media (min-width: 344px) and (max-width: 649px) {
    /* .nav {
        width: 20%;
        border-right: none;
    } */
p{
    font-size: 20px;
}

header {
    display: none;
}

.hamburger {
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    z-index: 1004;
    color: #f2bd1e;
}

.side-menu {
    height: 100%;
    width: 0px;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #ffdc73;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 1003;
    display: flex;
    justify-content: flex-end;
}

.side-menu ul {
    list-style-type: none;
    padding: 80px 20px 0 0 ;
    
}

.side-menu ul li {
    padding: 20px 0px 20px 105px;
    text-align: right;
    border-bottom: 2px solid #decc9a;
   
}

.side-menu ul li a {
    text-decoration: none;
    font-size: 22px;
    color: black;
    display: block;
    transition: 0.3s;
    font-family: 'MyFont7', serif;
    letter-spacing: 2px;
   
}

/* .side-menu ul li a:hover {
    color: #818181;
} */
.side-menu ul li a.active {
    color: #599b8d;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1002;
}

    .heading{
        height: 700px;
        z-index: 1000;
        background-color: #2f2f30;
        display: flex;
        align-items: center;
        position: relative;
        text-align: center;
        padding: 0 20px 0 20px;
    }
        .fixed-image {
            top: 0%;
           
            width: 100%;
            /* height: auto; */
            max-height: 100vh;
            object-fit: cover;
            object-position: 50% 50%;
            z-index: 1;
        }
    
        .desc{
            width: 75%;
            padding: 10px;
            z-index: 10;
        }
        .descfour{
            height: 700px;
            z-index: 1000;
            display: flex;
            align-items: center;
            position: relative;
        }
        .subdescfour{
            left: 0%;
            width: auto;
        }
        .green-area {
            background-color: rgb(30, 52, 47);
            height: 303px;
            width: 100%;
            margin-top: 408px;
            z-index: 1;
            position: absolute;
        }
        .sub-cont{
           
            width: 78%;
            margin-bottom: 30px;
            margin-top: 20px;
            padding: 15px;
            border-top-right-radius: 20px;
            border-bottom-left-radius: 20px;
        }
        .last-cont {
            height: 250px;
    padding-top: 20px;
        }
              .back-to-top {
            position: relative;
            bottom: 20px;
          left: 0;
            padding: 10px 20px;
            background-color: #487e73;
            color: #D85842;
            border: none;
            cursor: pointer;
            
        }
       
        
    }

   
@media (min-width: 650px) and (max-width: 1200px) {
    /* .nav {
        width: 20%;
        border-right: none;
    } */
     p{
        font-size: 16px;
     }

     .nav{
        border-right: 1px solid rgb(255, 64, 64); /* Orange border */
    width: 18%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    padding: 2px;
    }

    nav ul {
        flex-direction: row;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
        font-size: 21px;
        font-weight: 500;
    }
  
    .fixed-image {
        top: 4%;
        /* left: 10%; */
        /* width: 80%; */
        /* height: auto; */
        max-height: 100vh;
    }

    .desc{
        width: 45%;
        padding: 10px;
        z-index: 10;
    }
    .sub-cont{
        width: 65%;
        margin-bottom: 30px;
        margin-top: 20px;
        padding: 15px;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 20px;
    }
          .back-to-top {
        position: relative;
        bottom: 20px;
       left: 0;
        padding: 10px 20px;
        background-color: #487e73;
        color: #D85842;
        border: none;
        cursor: pointer;
        
    }

}

