body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(30, 52, 47);
    color: #ffffff;
}

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);
}
.hero {
    position: relative;
    padding-top: 8%;
    text-align: center;
    padding-bottom: 25%;
    height: 100%;
    color: #fff;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.background {
    width: 60%;
    position: relative;
    z-index: 1;
    height: 80%;
}
p{
    font-family: 'MyFont5', orig_montserrat_regular;
    margin: 10px;
    font-size: 16px;
    align-self: center;
}
#dev{
font-family: 'MyFont4', orig_gothamthin;
font-size: 57px;
color: red;
margin: 0px;
}
#dream{
font-family: 'MyFont2', orig_gothambold;
font-size: 47px;
color:rgb(59,103,94);
padding: 0 28px 0 28px;
margin: 0px;
}
.img1 {
    width: 23%;
}
.image-with-quotes {
    display: inline-block;
    position: relative;
}

.quote-left,
.quote-right {
    position: absolute;
    top: 34%;
    transform: translateY(-50%);
    font-size: 24px; /* Adjust size as needed */
    color: rgb(210 204 128); /* Adjust color as needed */
}

.quote-left {
    left: 38.5%; 
}

.quote-right {
    right: 38.5%; /* Adjust positioning */
}
#meaning {
width: 100%;
display: flex;
align-items: center;
justify-content:center;
margin-bottom: 50px;
}


#image{
    display: flex;
    flex-direction: row;
}
/* .abt {
    width: 100%;
    height: 7%;
    background-color: #ae6859;
    color: #e8e6c4;
    font-size: 14px;
    padding: 5px 25px 5px 25px;
    font-family: 'MyFont1', orig_gothamlight;
} */

.abt {
    width: 100%;
    height: 7%;
    background-color: #ff8570;
    color: rgb(232 230 196);
    font-size: 14px;
    padding: 5px 25px 5px 25px;
    font-family: 'MyFont1', orig_gothamlight;
    opacity: 0.5; /* Initial low opacity */
    transition: opacity 0.2s; /* Smooth transition */
}

.carousel {
    position: relative;
    width: 100%;
    height: 500px;
    perspective:520px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Add space between carousels */
    margin-top: 30px;
}

.carousel-inner {
    position: relative;
    width: 500px;
    height: 500px;
    transform-style: preserve-3d;
    transform: translateZ(-400px);
    transition: transform 1s;
}

/* .carousel-inner img {
    position: absolute;
    width: 250px;
    height: 250px;
    left: 25%;
    top: 50%;
    transform-style: preserve-3d;
    transform-origin: center center 300px;
    border-radius: 50%;
    opacity: 0.8;
    transition: opacity 1s, transform 1s;
} */

.carousel-inner img {
    position: absolute;
    width: 200px;
    height: 200px;
    left: 28%;
    top: 50%;
    transform-style: preserve-3d;
    transform-origin: center center 400px;
    border-radius: 50%;
    /* transition: opacity 1s, transform 1s; */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 0.9; /* Set default opacity for back images */
    pointer-events: auto; /* Allow clicks on all images */
}

.carousel-inner img.front {
    opacity: 1; /* Full opacity for the front image */
    z-index: 1;
    pointer-events: auto; /* Enable clicking */
    width:200px;
    height: 200px;
}
.carousel-inner img:nth-child(1) { transform: rotateY(0deg) translateZ(300px); }
.carousel-inner img:nth-child(2) { transform: rotateY(60deg) translateZ(300px); }
.carousel-inner img:nth-child(3) { transform: rotateY(120deg) translateZ(300px); }
.carousel-inner img:nth-child(4) { transform: rotateY(180deg) translateZ(300px); }
.carousel-inner img:nth-child(5) { transform: rotateY(240deg) translateZ(300px); }
.carousel-inner img:nth-child(6) { transform: rotateY(300deg) translateZ(300px); }

.mobile-carousel {
    display: none;
}
.mobile-carousel img {
    display: block;
    width: 80%;
    height: 220px;/* Adjust width as needed */
    margin: 10px ; /* Center images with margin */
  display: block;
}

.subcontent{
    background-color: rgb( 59,103,94 );
    color: #ffdc73;
    width: 100%;
    height: 100%;
    display: flex;
    font-size: 20px;
    flex-direction: column;
    align-items: center;
    font-family: 'MyFont5', orig_montserrat_regular;
}
.subcontent p{
    width: 552px;
    text-align: center;
padding: 30px 10px 10px 10px;
}

.back-to-top {

    position: relative;
    /* bottom: 25vh; */
    left: 0;
    padding: 10px 20px;
    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);
    margin: 50px 0 50px 0;
}
@media (min-width: 344px) and (max-width: 649px) {
    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: 999;
    }

    .back-to-top {
        position: relative;
        bottom: 20px;
        padding: 10px 20px;
        background-color: #487e73;
        color: #D85842;
        border: none;
        cursor: pointer;
    }

    .hero {
        padding-top: 30px;
        padding-bottom: 30px;
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center; /* Center content horizontally */
    }
    #dev{
        font-size: 36px;
    }
    #dream{
        font-size: 32px;
    }
    .abt{
        width: 92%;
    }
    .abt p{
        font-size: 10px;
    }
    .img1 {
        width: 50%;
    }
    .quote-left {
        left: 24.5%;
    }
    .quote-right {
        right: 24.5%;
    }
    #text-content{
        margin:20px;
    }
    .carousel {
        display: none; /* Hide the rotating carousel */
    }
    .mobile-carousel {
        display: block; /* Show the fixed images in vertical layout */
    }
    .mobile-carousel {
        display: block; /* Show the fixed images in vertical layout */
    }
    .mobile-carousel img {
        width: 80%; /* Adjust width as needed */
        /* margin: 0 auto;  */
        display: block;
        position: relative;
        object-fit: cover;
    }
    .mobile-carousel .img1 {
        top: -274px;
        left: 88px;
        z-index: 3;
    }
    .mobile-carousel .img2 {
        top: -171px;
        left: -70px;
        z-index: 4;
    }
    .mobile-carousel .img3 {
        top: -79px;
        left: 85px;
        z-index: 3;
    }
    .mobile-carousel .img4 {
        top: -191px;
        left: -70px;
        z-index: 4;
    }
    .mobile-carousel .img5 {
        top: -89px;
        left: 88px;
        z-index: 1;
    }
    .mobile-carousel .img6 {
        left: -70px;
        z-index: 1;
    }
    .subcontent p {
        width: 374px;
        text-align: center;
    }
}

@media (min-width: 650px) and (max-width: 1200px) {
    .nav{
        border-right: 1px solid rgb(255, 64, 64); /* Orange border */
    /* height: 40px; */
    width: 18%;
    display: flex;
        justify-content: center;
        align-items: center;
       font-size: 12px;
    padding: 2px;
    }

    nav ul {
        flex-direction: row;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
        font-size: 21px;
        font-weight: 500;
    }
  

    .back-to-top {
        position: relative;
        bottom: 20px;
        /* left: 45%; */
        padding: 10px 20px;
        background-color: #487e73;
        color: #D85842;
        border: none;
        cursor: pointer;
    }

    .hero {
        padding-top: 30px;
        padding-bottom: 30px;
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center; /* Center content horizontally */
    }

    .carousel {
        position: relative;
        width: 100%;
        height: 500px;
        perspective:290px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 17%;/* Add space between carousels */
        margin-top: 30px;
    }
    
    .carousel-inner {
        position: relative;
        width: 500px;
        height: 500px;
        transform-style: preserve-3d;
        transform: translateZ(-400px);
        transition: transform 1s;
    }

    #text-content{
        margin:20px;
    }
}
@media (min-width: 1650px) and (max-width: 2149px){
   

    .carousel {
        position: relative;
        width: 100%;
        height: 500px;
        perspective:750px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 17%;/* Add space between carousels */
        margin-top: 30px;
    }
    
    .carousel-inner {
        position: relative;
        width: 500px;
        height: 500px;
        transform-style: preserve-3d;
        transform: translateZ(-400px);
        transition: transform 1s;
    }

    #text-content{
        margin:20px;
    }
}
@media (min-width: 2150px) and (max-width: 2849px){
    .abt {
        width: 105%;
        height: 7%;
        background-color: #ff8570;
        color: rgb(232 230 196);
        font-size: 14px;
        padding: 5px 25px 5px 25px;
        font-family: 'MyFont1', orig_gothamlight;
        opacity: 0.5;
        transition: opacity 0.2s;
    }

    .carousel {
        position: relative;
        width: 100%;
        height: 500px;
        perspective:950px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 17%;/* Add space between carousels */
        margin-top: 30px;
    }
    
    .carousel-inner {
        position: relative;
        width: 500px;
        height: 500px;
        transform-style: preserve-3d;
        transform: translateZ(-400px);
        transition: transform 1s;
    }

    #text-content{
        margin:20px;
    }
}