* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}


:root {
    --header-height: 3.5rem;
    --first-color: hsl(228, 66%, 53%);
    --first-color-alt: hsl(228, 66%, 47%);
    --first-color-light: hsl(228, 62%, 59%);
    --first-color-lighten: hsl(228, 100%, 97%);
    --second-color: hsl(25, 83%, 53%);
    --title-color: hsl(228, 57%, 28%);
    --text-color: hsl(228, 15%, 50%);
    --text-color-light: hsl(228, 12%, 75%);
    --border-color: hsl(228, 99%, 98%);
    --body-color: #fff;
    --container-color: #fff;

    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
    --font-medium: 500;
    --font-semi-bold: 600;
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
    :root {
        --biggest-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

body {
    font-family: Arial, sans-serif;

    background-color: black;
    /* max-width: 1400px;
    margin-left: auto;
    margin-right: auto; */
    min-height: 100vh;
}

section {
    min-height: 100vh;

    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    background-image: url('https://wallpapers.com/images/hd/black-texture-wooden-surface-f73lgop4iivovs7s.jpg');
    /* 👈 Replace with your image file */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgb(0, 0, 0)),
        url('https://wallpapers.com/images/hd/black-texture-wooden-surface-f73lgop4iivovs7s.jpg'); */
}




.text-wrapper {

    pointer-events: none;
    z-index: 1;

    margin-top: 35vh;



}




.header {
    background-color: transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    filter: none;
    border-bottom: 1px solid gainsboro;
}



.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 20px 20px; */
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo {

    display: flex;
    gap: 0.5rem;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    color: gainsboro;
    font-style: italic;
    display: flex;
    align-self: center;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* .nav a.active {
    border-bottom: 2px solid white;
    padding-bottom: 4px;
}


.nav {
    display: flex;
    gap: 30px;

}

.nav a {
    text-decoration: none;
    color: gainsboro;
    font-weight: bold;
    font-style: italic;
    font-weight: 21px;
} */

.menu-btn {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #565555;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* transparent black */
    backdrop-filter: blur(12px);
    /* glass blur */
    -webkit-backdrop-filter: blur(12px);
    /* Safari support */
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 10px 10px;

}


.mobile-menu {
    position: absolute;
    /* or fixed, depending on your layout */
    z-index: 1001;
    /* higher than the static div */
}






.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

/* Show menu when active */
.mobile-menu.show {
    display: flex;
}


/* .mobile-menu {
    display: none;
    flex-direction: column;
    padding: 10px 20px;
    background-color: #fff;
}

.mobile-menu a {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
} */

.mobile-menu.open {
    display: flex;
}

.blurred-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.blurred-video {
    filter: blur(3px);
}

.main-h1 {

    color: rgb(138, 139, 139);
}

#moving-text {

    left: 0;
    right: 0;
    width: 100%;
    font-size: 78px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;

}

.text-wrapper {
    display: flex;
    flex-wrap: nowrap;

    width: 100%;
    overflow: hidden;
    position: relative;
    /* padding-top: 150px; */
}

.text1 {
    display: flex;
    gap: 4rem;
    flex-shrink: 0;

    animation: moveTextAcrossScreen 20s linear infinite;
    align-items: center;
    justify-content: center;

    margin: 0 auto;

}

.text1 h1 {
    font-size: 13rem;
    font-style: bold;
    /* font-weight: 500; */
    font-style: italic;

    /* color: rgb(134, 133, 133); */
    color: #abaaaa;
}




.text1 .col1,
.text1 .col2 {
    background: plum;
    color: plum;
    border-radius: 50%;
    padding: 110px;
}

.main2 {
    color: white;
    /* padding-top: 30px; */
    font-size: 1.4rem;
    font-weight: 400;
    /* padding-bottom: 20px; */
    text-decoration: underline;
    margin-bottom: auto;

    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.main2 {
    /* position: fixed; */
    bottom: 0;
    width: 100%;
    background: #000;
    z-index: 2;
    /* padding: 10px; */
}



#moving-text {
    /* position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%); */
    /* background: #000; */
    pointer-events: none;
    z-index: 1;

    /* margin-top: 25vh; */


    /* z-index: 999; */
}


.video-con {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: grab;


}

.videos {
    display: flex;
    gap: 2rem;
    transition: gap 0.3s ease;



}

.videos.dragging {
    gap: 43px;
}


.video1 img {
    width: 450px;
    height: 280px;
    border-radius: 17px;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}


.animated-button {

    text-align: center;


    cursor: pointer;

    position: relative;
    animation: pulsate 1.5s infinite;

    overflow: hidden;

    transform-origin: center;

    width: 180px;

    height: 50px;

    transition: transform 6s ease;

}


.button-text,
.button-dot {
    position: absolute;

    left: 50%;

    top: 50%;

    transform: translate(-50%, -50%);

    transition: opacity 0.4s ease, visibility 0.4s ease;

}

.button-text {
    opacity: 1;

    visibility: visible;
}

.button-dot {
    opacity: 0;

    visibility: hidden;
    font-size: 25px;
    animation: dot-visibility 1.5s infinite, dot-move 1.5s infinite;

}

.animated-button1,
.custom-button {

    position: absolute;
    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    background-color: rgba(215, 214, 214, 0.5);

    border: none;
    padding: 1px 30px 1px 1px;

    color: white;
    font-size: 16px;
    cursor: pointer;
    display: none;

    border-radius: 25px;
    z-index: 10;
}

.flex-but {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 2px;



}


.but {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;

    padding: 10px;
    border-radius: 50%;

    width: 50px;
    height: 45px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.but i {
    color: white;

    font-size: 10px;
}


.flex-but p {
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    color: black;
}

/* body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
} */

#pageContent {

    transition: filter 0.3s ease;
}

.thumbnail {
    width: 100px;
    cursor: pointer;
    border-radius: 8px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

.modal-inner {
    width: 600px;
    max-width: 90vw;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border-radius: 10px;
}

.modal-content {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: relative;
    z-index: 1;
}



.description {
    position: absolute;
    max-height: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
    border-radius: 4px;
    padding: 5px 20px;
    box-sizing: border-box;
    cursor: pointer;
    user-select: text;
    transition: max-height 0.3s ease;
    z-index: 2;

    bottom: 0;

}

.description:not(.expanded) {
    animation: peepFromBottom 4s infinite;
    opacity: 1;
    overflow: hidden;

    transform: translateY(50%);
}

@keyframes peepFromBottom {

    0%,
    49.99% {
        transform: translateY(0);
        opacity: 1;
    }

    50%,
    100% {
        transform: translateY(50%);
        opacity: 0;
    }
}



.description.expanded {
    max-height: 150px;
    overflow-y: auto;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
    animation: none;

    transform: translateY(0);

}



.description.expanded::-webkit-scrollbar {
    width: 6px;
}

.description.expanded::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
    z-index: 1000;
}

.close-btn:hover {
    color: #ddd;
}

.blur {
    filter: blur(5px);
}

.description p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.mobile-only {
    display: none;
}

@keyframes moveTextAcrossScreen {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}





.about-1 {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    padding: 40px;
    background-color: rgb(30, 30, 30);
    /* height: 80vh; */
    width: 100%;
    height: 100%;
    border-radius: 12px;



}




.about-1 img {
    width: 400px;
    height: 550px;

    border-radius: 12px;
    object-fit: cover;
}

.about-2 {
    flex: 1;
    /* min-width: 280px; */
    padding-top: 20px;
}

.about-2 h1 {
    font-size: 28px;
    color: #fefcfc;
}

.about-2 h1 span {
    color: white;
    font-weight: bold;
}

.about-2 h2 {
    font-size: 20px;
    color: #b1b0b0;
    margin-bottom: 20px;
    padding-top: 15px;
}

.about-2 p {
    line-height: 1.6;
    color: #333;
    padding-bottom: 25px;
}

.about-2 p span {
    color: white;
    font-weight: 600;
}






.page-body {
    /* padding-top: 40px; */
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;

}



.about-2 p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #979696;
}

.about-2 span {
    font-weight: bold;
    color: white;

}

/* .about-1 {
    padding-top: 70px;
} */



.page-body {

    z-index: 0;
    padding-top: 70px;

    /* min-height: calc(100vh - 80px); */

}


.page-body .overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);

    z-index: 1;
    pointer-events: none;

}


.about-1 {

    color: white;

}



.projects-wrapper {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: black;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}


header {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: black;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1400px;
    margin: 50px auto;
    padding: 20px;
}

.project-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-image-wrapper {
    width: 400px;
    height: 600px;
    overflow: hidden;

    transition: transform 0.5s ease;
    margin: 0 auto;

}



.project-container:hover .main-image-wrapper {
    transform: translateX(-120px);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}




.extra-image {
    position: absolute;
    width: 225px;
    height: 300px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 10px;
    z-index: 2;
}

.project-container:hover .extra-image {
    opacity: 1;
}

.project-description h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #fff;
    font-style: italic;
    font-weight: 400;
}

.project-description p {
    font-size: 1.09rem;
    margin-bottom: 20px;
    color: #abaaaa;
    line-height: 1.6;
}

.project-description a {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
    border: 1px solid white;
}

.project-description a:hover {
    background: #333;
}

.image-wrapper {
    background: rgb(30, 30, 30);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: visible;
}


/* h1 {
    color: white;
} */



.projects-wrapper {
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding-top: 100px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.stack-container {
    width: 100%;
    height: 500px;
    background-color: rgb(30, 30, 30);
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.stack-1 {
    position: relative;
    width: 600px;
    height: 400px;
}

.stack-1 img {
    position: absolute;
    object-fit: cover;

    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: all 1.2s ease;
    transform: scale(1);

    justify-content: center;
    align-items: center;
}

.stack-1 .img1 {
    width: 190px;
    height: 340px;
    bottom: 50px;
    left: 30px;
    z-index: 1;
    transition-delay: 2.4s;
    border-radius: 12px;
}

.stack-1 .img2 {
    width: 540px;
    height: 290px;
    bottom: 20px;
    left: 10px;
    z-index: 2;
    transition-delay: 0s;
}

.stack-1 .img3 {

    width: 290px;
    height: 370px;
    bottom: 20px;
    left: 240px;

    z-index: 3;
    transition-delay: 1.2s;

}

.stack-1:hover {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.stack-1:hover .img1,
.stack-1:hover .img2,
.stack-1:hover .img3 {
    position: relative;
    bottom: auto;
    left: auto;
    z-index: auto;
    transform: scale(1.05);
    transition-delay: 0s;
}

.stack-1:hover .img1 {
    width: 21%;
    height: auto;
}

.stack-1:hover .img2 {
    width: 45%;
    height: auto;
}

.stack-1:hover .img3 {
    width: 30%;
    height: 230px;
}

.project-description h2 {
    margin-bottom: 12px;
    font-size: 2rem;
}

.project-description p {
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1.05rem;

}

.project-description a {
    display: inline-block;

    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 7px;
}

.project-description a:hover {
    background-color: white;
    color: black;
}

.stack-1.active {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.stack-1.active .img1,
.stack-1.active .img2,
.stack-1.active .img3 {
    position: relative;
    bottom: auto;
    left: auto;
    z-index: auto;
    transform: scale(1.05);
    transition-delay: 0s;
}

.stack-1.active .img1 {
    width: 21%;
    height: auto;
}

.stack-1.active .img2 {
    width: 45%;
    height: auto;
}

.stack-1.active .img3 {
    width: 30%;
    height: 230px;
}

form {
    max-width: 570px;
    /* margin: 50px auto; */
    margin-top: 50px;
    background: rgb(30, 30, 30);
    /* color: #6f6d6d; */
    color: #abaaaa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 16px;
    border-radius: 6px;
    background: #555;
    border: 1px solid #555;
    color: #ddd;
    font-size: 1rem;
}

button {
    background: black;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* button:hover {
    background: #444;
} */

.container2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    /* padding: 40px; */
    gap: 40px;

    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
}

.form-section {
    /* background: white; */
    /* padding: 30px; */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-section h1 {
    /* margin-top: 0; */
    color: white;
    font-size: 32px;
    margin-bottom: 10px;
    color: #fff;
    font-style: italic;
    font-weight: 400;
}



form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    /* border: 1px solid #ccc; */
    border-radius: 5px;
    resize: vertical;
}

form button {
    margin-top: 20px;
    padding: 12px 20px;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 5px;
    cursor: pointer;
}



.info-section {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    padding: 30px;
}

.info-section h2 {
    /* margin-top: 0; */

    padding-bottom: 30px;
    padding-top: 60px;
}




.info-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #fff;
    font-style: italic;
    font-weight: 400;
}


.info-section h3 {
    font-size: 23px;
    padding-top: 20px;
    margin-bottom: 20px;
    color: #fff;
    font-style: italic;
    font-weight: 400;
}

.info-section p {
    font-size: 1.09rem;
    margin-bottom: 20px;
    /* color: #555; */
    color: #abaaaa;
    line-height: 1.6;
}




.socials .bx {
    border: 2px solid white;

    border-radius: 50%;
    padding: 8px;
    margin: 0 5px 0 0;

    display: inline-block;
}

.socials h3 {
    padding-bottom: 5px;
}

.socials i {
    color: white;
    text-decoration: none;

}




.scrollup {
    bottom: 4rem;
    right: 0;
}

.scrollup {
    position: fixed;
    right: 1rem;

    background-color: black;
    box-shadow: 0 8px 12px hsla(228, 66%, 45%, .1);
    display: inline-flex;
    padding: .35rem;
    border-radius: .25rem;
    color: white;
    font-size: 1.25rem;
    z-index: 9999;
    transition: .3s;
    width: 20px;
    height: 25px;
}

.scrollup:hover {
    transform: translateY(-.25rem);
    color: white;
}

.show-scroll {
    bottom: 8rem;
}

.show-scroll {
    opacity: 1;
    pointer-events: auto;
}

.animated-text1 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animated-text1.visible {
    opacity: 1;
    transform: translateY(0);
}


.delay {
    transition-delay: 0.4s;
}

h1,
h2 {
    color: white;
}

#floating-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 0.5rem 1.5rem;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

#floating-nav a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;

}



#floating-nav a:hover {
    transform: scale(1.2);
    color: #00ffff;
}

.nav-link {
    color: white;
    font-size: 1.3rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
    transform: scale(1.2);
    color: #00ffff;
}

.nav-link.active {
    color: #00ffff;

}

.nav-link.active i {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;

}

.nav-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    /* You can adjust this to any spacing you want */
}

@media (min-width: 1600px) and (max-width: 2500px) {
    .video1 img {
        width: 490px;
        height: 350px;
        border-radius: 17px;
    }

    .about-1 img {
        width: 400px;
        height: 550px;
        /* max-width: 100%; */
        border-radius: 12px;
        object-fit: cover;
    }


    /* .about-1 img {
        width: 400px;
        height: 70%;
        max-width: 100%;
        border-radius: 12px;
        object-fit: cover;
    } */
}




@media (max-width: 1255px) {
    /* .grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    } */

    .stack-container {
        height: 350px;
        /* Adjusted height for small screens */
        padding: 10px;
    }

    .stack-1 {
        width: 100%;
        height: 100%;
    }

    .stack-1 img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transform: none;
    }

    .stack-1 .img1 {
        width: 30%;
        height: auto;
        left: 5%;
        bottom: 10%;
    }

    .stack-1 .img2 {
        width: 60%;
        height: auto;
        left: 20%;
        bottom: 5%;
    }

    .stack-1 .img3 {
        width: 40%;
        height: auto;
        left: 50%;
        bottom: 10%;
    }

    .stack-1:hover .img1,
    .stack-1:hover .img2,
    .stack-1:hover .img3 {
        transform: scale(1.03);
    }

    .projects-wrapper {
        padding: 20px;
    }
}

@media (max-width: 1024px) {

    .menu-btn {
        display: block;
    }

    .about-1 {
        grid-template-columns: 1fr 1fr;

    }

    .about-1 img {
        margin: 0 auto;
    }


    .about-2 {
        flex: 1;
        min-width: 280px;
        padding-top: 1px;
    }

    .page-body {
        padding-top: 20px;
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;

    }

    .about-1 {
        display: grid;
    }

    /* .about-1 {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        align-items: flex-start;
        padding: 20px;

       
        border-radius: 12px;
        background-color: transparent;

    } */

    .about-1 img {
        width: 100%;

        height: 350px;
        max-width: 100%;
        border-radius: 12px;
        object-fit: cover;

        overflow-x: scroll;



        object-position: 50% 39%;
    }

    .about-1 {
        grid-template-columns: 1fr;
        /* text-align: center; */
    }

    @keyframes scrollBackground {
        0% {
            background-position: center top;
        }

        100% {
            background-position: center bottom;
        }
    }
}

@media (max-width: 900px) {
    /* .grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    } */

    /* .grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
        flex-direction: column;
        display: flex;
       
    } */
    .about-1 {
        grid-template-columns: 1fr;
        /* text-align: center; */
    }

    .grid-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .stack-container {
        order: 1;
        width: 100%;
    }

    .project-description {
        order: 2;
        width: 100%;
    }

    .stack-container,
    .project-description {
        width: 100%;
    }

    .stack-container {
        order: 1;
        width: 100%;
        height: 550px;
        padding: 10px;
    }

    .project-description {
        order: 2;
        width: 100%;
    }


    /* .stack-container {
        height: 400px;
    } */
    .stack-container {
        height: 550px;
        /* Adjusted height for small screens */
        padding: 10px;
    }

    .stack-1 {
        width: 100%;
        height: 100%;
    }

    .stack-1 img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transform: none;
    }

    .stack-1 .img1 {
        width: 30%;
        height: auto;

        left: 5%;
        bottom: 10%;
    }

    .stack-1 .img2 {
        width: 60%;
        height: auto;
        left: 20%;
        bottom: 5%;
    }

    .stack-1 .img3 {
        width: 40%;
        height: auto;
        left: 50%;
        bottom: 10%;
    }

    .stack-1:hover .img1,
    .stack-1:hover .img2,
    .stack-1:hover .img3 {
        transform: scale(1.03);
    }

    .stack-1.active {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .stack-1.active .img1,
    .stack-1.active .img2,
    .stack-1.active .img3 {
        position: relative;
        bottom: auto;
        left: auto;
        z-index: auto;
        transform: scale(1.05);
        transition-delay: 0s;
    }

    .page-body {

        z-index: 0;
        padding-top: 10px;

        /* min-height: calc(100vh - 80px); */

    }

    section {
        min-height: 100vh;

        margin: 0;
        font-family: Arial, sans-serif;
        color: #333;
        background-image: url('https://wallpapers.com/images/hd/black-texture-wooden-surface-f73lgop4iivovs7s.jpg');
        /* 👈 Replace with your image file */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgb(0, 0, 0)),
            url('https://wallpapers.com/images/hd/black-texture-wooden-surface-f73lgop4iivovs7s.jpg');
    }



}


@media (max-width: 768px) {


    .menu-btn {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .container2 {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .info-section {
        /* order: -1; */
        margin-bottom: 30px;
    }

    .mobile-only {
        display: block;
        overflow-x: auto;
        padding: 1rem;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-only .videos {
        display: flex;
        gap: 1.5rem;
        width: max-content;
    }

    .about-1 {
        grid-template-columns: 1fr;
        /* text-align: center; */
    }

    .about-1 img {
        margin: 0 auto;
    }

    .about-1 img {
        width: 100%;
        height: 250px;
        max-width: 100%;
        border-radius: 12px;
        object-fit: cover;
    }

    .info-section {
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
        padding: 0px;
    }

    .page-body {

        z-index: 0;
        padding-top: 10px;

        /* min-height: calc(100vh - 80px); */

    }

    .container2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}

@media (max-width: 700px) {
    /* .grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    } */

    .grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* .stack-container {
        height: 400px;
    } */
    .stack-container {
        height: 450px;
        /* Adjusted height for small screens */
        padding: 10px;
    }

    .stack-1 {
        width: 100%;
        height: 100%;
    }

    .stack-1 img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transform: none;
    }

    .stack-1 .img1 {
        width: 30%;
        height: auto;

        left: 5%;
        bottom: 10%;
    }

    .stack-1 .img2 {
        width: 60%;
        height: auto;
        left: 20%;
        bottom: 5%;
    }

    .stack-1 .img3 {
        width: 40%;
        height: auto;
        left: 50%;
        bottom: 10%;
    }

    .stack-1:hover .img1,
    .stack-1:hover .img2,
    .stack-1:hover .img3 {
        transform: scale(1.03);
    }

    .stack-1.active {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .stack-1.active .img1,
    .stack-1.active .img2,
    .stack-1.active .img3 {
        position: relative;
        bottom: auto;
        left: auto;
        z-index: auto;
        transform: scale(1.05);
        transition-delay: 0s;
    }

    .page-body {

        z-index: 0;
        padding-top: 10px;

        /* min-height: calc(100vh - 80px); */

    }
}

@media (max-width: 621px) {
    .pageContent h1 {
        font-size: 1rem;
    }

    .text1 h1 {
        font-size: 8rem;
        font-style: bold;
        font-style: italic;

        color: gainsboro;
    }
}

@media (max-width: 580px) {


    .grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .stack-container {
        height: 430px;

        padding: 10px;
    }

    .stack-1 {
        width: 100%;
        height: 100%;
    }

    .stack-1 img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transform: none;
    }

    .stack-1 .img1 {
        width: 40%;
        height: auto;

        left: 5%;
        bottom: 10%;
    }

    .stack-1 .img2 {
        width: 60%;
        height: auto;
        left: 20%;
        bottom: 5%;
    }

    .stack-1 .img3 {
        width: 50%;
        height: auto;
        left: 50%;
        bottom: 5%;
    }

    .stack-1:hover .img1,
    .stack-1:hover .img2,
    .stack-1:hover .img3 {
        transform: scale(1.03);
    }

    .stack-1.active {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .stack-1.active .img1,
    .stack-1.active .img2,
    .stack-1.active .img3 {
        position: relative;
        bottom: auto;
        left: auto;
        z-index: auto;
        transform: scale(1.05);
        transition-delay: 0s;
    }
}

@media (max-width: 460px) {


    .grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .stack-container {
        height: 370px;

        padding: 10px;
    }

    .stack-1 {
        width: 100%;
        height: 100%;
    }

    .stack-1 img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transform: none;
    }

    .stack-1 .img1 {
        width: 40%;
        height: auto;

        left: 5%;
        bottom: 10%;
    }

    .stack-1 .img2 {
        width: 60%;
        height: auto;
        left: 20%;
        bottom: 5%;
    }

    .stack-1 .img3 {
        width: 50%;
        height: auto;
        left: 50%;
        bottom: 5%;
    }

    .stack-1:hover .img1,
    .stack-1:hover .img2,
    .stack-1:hover .img3 {
        transform: scale(1.03);
    }

    .stack-1.active {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .stack-1.active .img1,
    .stack-1.active .img2,
    .stack-1.active .img3 {
        position: relative;
        bottom: auto;
        left: auto;
        z-index: auto;
        transform: scale(1.05);
        transition-delay: 0s;
    }
}

@media (max-width: 414px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .text1 h1 {
        font-size: 7rem;
        font-style: bold;
        font-style: italic;

        color: gainsboro;
    }

    /* .text-wrapper {
        display: flex;
        flex-wrap: nowrap;

        width: 100%;
        overflow: hidden;
        position: relative;
        padding-top: 100px;
    } */

    .main2 {
        color: white;
        /* padding-top: 80px; */
        font-size: 1.4rem;
        font-weight: 400;
        /* padding-bottom: 20px; */
        text-decoration: underline;
    }

    .video1 img {
        width: 365px;
        height: 310px;
        border-radius: 17px;
    }



    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.4);
        /* transparent black */
        backdrop-filter: blur(12px);
        /* glass blur */
        -webkit-backdrop-filter: blur(12px);
        /* Safari support */
        display: none;
        flex-direction: column;
        align-items: flex-start;
        /* padding: 5px; */
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        border-radius: 0 0 10px 10px;
    }

    .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 10px;
    }

    .about-1 {
        grid-template-columns: 1fr;
        /* text-align: center; */
    }

    .about-1 img {
        margin: 0 auto;
    }

    .about-1 img {
        width: 100%;
        height: 200px;
        max-width: 100%;
        border-radius: 12px;
        object-fit: cover;
    }

    .about-2 {
        flex: 1;
        min-width: 280px;
        padding-top: 1px;
    }

    .page-body {
        padding-top: 20px;
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;

    }

    .about-1 {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        align-items: flex-start;
        padding: 20px;
        /* background-color: rgb(30, 30, 30); */
        /* height: 100vh; */
        border-radius: 12px;

    }

    .about-1 img {
        width: 100%;
        height: 35%;
        max-width: 100%;
        border-radius: 12px;
        object-fit: cover;

        animation: scrollBackground 10s linear infinite;
        /* object-position: 50% 40%; */
    }

    .about-2 h1 {
        font-size: 20px;
        color: #fefcfc;
    }

    .about-2 h2 {
        font-size: 17px;
        color: #b1b0b0;
        margin-bottom: 20px;
        padding-top: 15px;
    }

    .project-description h2 {
        font-size: 1.3rem;
    }



    .grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .stack-container {
        height: 320px;

        padding: 10px;
    }

    .stack-1 {
        width: 100%;
        height: 100%;
    }

    .stack-1 img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transform: none;
    }

    .stack-1 .img1 {
        width: 40%;
        height: auto;

        left: 5%;
        bottom: 10%;
    }

    .stack-1 .img2 {
        width: 80%;
        height: auto;
        left: 20%;
        bottom: 5%;
    }

    .stack-1 .img3 {
        width: 50%;
        height: auto;
        left: 50%;
        bottom: 5%;
    }

    .stack-1:hover .img1,
    .stack-1:hover .img2,
    .stack-1:hover .img3 {
        transform: scale(1.03);
    }

    .stack-1.active {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .stack-1.active .img1,
    .stack-1.active .img2,
    .stack-1.active .img3 {
        position: relative;
        bottom: auto;
        left: auto;
        z-index: auto;
        transform: scale(1.05);
        transition-delay: 0s;
    }

    .page-body {

        z-index: 0;
        padding-top: 10px;

        /* min-height: calc(100vh - 80px); */

    }
}

@media (max-width: 380px) {

    .project-description h2 {
        font-size: 1.2rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .stack-container {
        height: 280px;

        padding: 10px;
    }

    .stack-1 {
        width: 100%;
        height: 100%;
    }

    .stack-1 img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transform: none;
    }

    .stack-1 .img1 {
        width: 40%;
        height: auto;

        left: 5%;
        bottom: 10%;
    }

    .stack-1 .img2 {
        width: 80%;
        /* height: auto;  */
        left: 20%;
        bottom: 5%;

    }

    .stack-1 .img3 {
        width: 50%;
        height: auto;
        left: 50%;
        bottom: 5%;
    }

    .stack-1:hover .img1,
    .stack-1:hover .img2,
    .stack-1:hover .img3 {
        transform: scale(1.03);
    }

    .stack-1.active {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .stack-1.active .img1,
    .stack-1.active .img2,
    .stack-1.active .img3 {
        position: relative;
        bottom: auto;
        left: auto;
        z-index: auto;
        transform: scale(1.05);
        transition-delay: 0s;
    }

    .form-section h1 {
        /* margin-top: 0; */
        color: white;
        font-size: 26px;
        margin-bottom: 10px;
        color: #fff;
        font-style: italic;
        font-weight: 400;
    }

    form label {
        display: block;
        margin-top: 15px;
        font-weight: bold;
    }

    form input,
    form select,
    form textarea {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        /* border: 1px solid #ccc; */
        border-radius: 5px;
        resize: vertical;
    }

    form button {
        margin-top: 20px;
        padding: 12px 20px;
        background-color: transparent;
        color: white;
        border: 1px solid white;
        border-radius: 5px;
        cursor: pointer;
    }



    .info-section {
        display: flex;
        flex-direction: column;
        /* justify-content: center; */

    }

    .info-section h2 {
        /* margin-top: 0; */

        padding-bottom: 30px;
        padding-top: 60px;
    }



    .info-section h2 {
        font-size: 28px;
        margin-bottom: 10px;
        color: #fff;
        font-style: italic;
        font-weight: 400;
    }


    .info-section h3 {
        font-size: 23px;
        padding-top: 20px;
        margin-bottom: 20px;
        color: #fff;
        font-style: italic;
        font-weight: 400;
    }

    .info-section p {
        font-size: 1.09rem;
        margin-bottom: 20px;
        color: #555;
        line-height: 1.6;
    }

    .page-body {

        z-index: 0;
        padding-top: 10px;

        /* min-height: calc(100vh - 80px); */

    }

}


@media (max-width: 375px) {
    .logo h1 {
        font-size: 1rem;
    }


    .logo img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    .main2 {
        color: white;
        /* padding-top: 60px; */
        font-size: 1.4rem;
        font-weight: 400;
        /* padding-bottom: 20px; */
        text-decoration: underline;
    }

    .video1 img {
        width: 330px;
        height: 300px;
        border-radius: 17px;
    }



    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.4);
        /* transparent black */
        backdrop-filter: blur(12px);
        /* glass blur */
        -webkit-backdrop-filter: blur(12px);
        /* Safari support */
        display: none;
        flex-direction: column;
        align-items: flex-start;
        /* padding: 5px; */
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        border-radius: 0 0 10px 10px;
    }

    .about-1 {
        grid-template-columns: 1fr;
        /* text-align: center; */
    }

    .about-1 img {
        margin: 0 auto;
    }

    .about-1 img {
        width: 100%;
        height: 200px;
        max-width: 100%;
        border-radius: 12px;
        object-fit: cover;
    }

    .about-2 {
        flex: 1;
        min-width: 280px;
        padding-top: 1px;
    }

    .page-body {
        padding-top: 20px;
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;

    }

    .about-1 {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        align-items: flex-start;
        padding: 20px;
        /* background-color: rgb(30, 30, 30); */
        /* height: 80vh; */
        border-radius: 12px;

    }

    .about-1 img {
        width: 100%;
        height: 35%;
        max-width: 100%;
        border-radius: 12px;
        object-fit: cover;

        animation: scrollBackground 10s linear infinite;
        /* object-position: 50% 40%; */
    }

    .about-2 h1 {
        font-size: 20px;
        color: #fefcfc;
    }

    .about-2 h2 {
        font-size: 17px;
        color: #b1b0b0;
        margin-bottom: 20px;
        padding-top: 15px;
    }

    .page-body {

        z-index: 0;
        padding-top: 10px;

        /* min-height: calc(100vh - 80px); */

    }

}

@media (max-width: 330px) {


    .project-description h2 {
        font-size: 1.1rem;
    }

    .project-description p {
        font-size: 14px;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .stack-container {
        height: 190px;

        padding: 10px;
    }

    .stack-1 {
        width: 100%;
        height: 100%;
    }

    .stack-1 img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transform: none;
    }

    .stack-1 .img1 {
        width: 40%;
        height: auto;

        left: 5%;
        bottom: 10%;
    }

    .stack-1 .img2 {
        width: 80%;
        height: auto;
        left: 20%;
        bottom: 5%;
    }

    .stack-1 .img3 {
        width: 50%;
        height: auto;
        left: 50%;
        bottom: 5%;
    }

    .stack-1:hover .img1,
    .stack-1:hover .img2,
    .stack-1:hover .img3 {
        transform: scale(1.03);
    }

    .stack-1.active {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .stack-1.active .img1,
    .stack-1.active .img2,
    .stack-1.active .img3 {
        position: relative;
        bottom: auto;
        left: auto;
        z-index: auto;
        transform: scale(1.05);
        transition-delay: 0s;
    }

    .page-body {

        z-index: 0;
        padding-top: 10px;

        /* min-height: calc(100vh - 80px); */

    }
}

@media (max-width: 320px) {
    .logo h1 {
        font-size: .9rem;
    }


    .logo img {
        width: 35px;
        height: 35px;
        border-radius: 50%;
    }

    .text1 h1 {
        font-size: 6rem;
        font-style: bold;
        font-style: italic;

        color: gainsboro;
    }

    /* 
    .text-wrapper {
        display: flex;
        flex-wrap: nowrap;

        width: 100%;
        overflow: hidden;
        position: relative;
        padding-top: 80px;
    } */


    .main2 {
        color: white;
        /* padding-top: 20px; */
        font-size: 1.4rem;
        font-weight: 400;
        /* padding-bottom: 20px; */
        text-decoration: underline;
    }

    .video1 img {
        width: 300px;
        height: 290px;
        border-radius: 17px;
    }


    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.4);
        /* transparent black */
        backdrop-filter: blur(12px);
        /* glass blur */
        -webkit-backdrop-filter: blur(12px);
        /* Safari support */
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px;

        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        border-radius: 0 0 10px 10px;
    }

    .mobile-menu a {
        font-size: .8rem;
    }

    .about-1 {
        grid-template-columns: 1fr;
        /* text-align: center; */
    }

    .about-1 img {
        margin: 0 auto;
    }

    .about-1 img {
        width: 100%;
        height: 200px;
        max-width: 100%;
        border-radius: 12px;
        object-fit: cover;
    }

    .about-2 {
        flex: 1;
        min-width: 280px;
        padding-top: 1px;
    }

    .page-body {
        padding-top: 20px;
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;

    }

    .about-1 {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        align-items: flex-start;
        padding: 20px;
        /* background-color: rgb(30, 30, 30); */
        /* height: 80vh; */
        border-radius: 12px;

    }

    .about-1 img {
        width: 100%;
        height: 35%;
        max-width: 100%;
        border-radius: 12px;
        object-fit: cover;

        animation: scrollBackground 10s linear infinite;
        /* object-position: 50% 40%; */
    }

    .about-2 h1 {
        font-size: 17px;
        color: #fefcfc;
    }

    .about-2 h2 {
        font-size: 15px;
        color: #b1b0b0;
        margin-bottom: 20px;
        padding-top: 15px;
    }

    .about-2 p {
        line-height: 1.6;

        padding-bottom: 20px;
        font-size: 14px;
    }

    .form-section h1 {
        /* margin-top: 0; */
        color: white;
        font-size: 21px;
        margin-bottom: 10px;
        color: #fff;
        font-style: italic;
        font-weight: 400;
    }

    form label {
        display: block;
        margin-top: 15px;
        font-weight: bold;
    }

    form input,
    form select,
    form textarea {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        /* border: 1px solid #ccc; */
        border-radius: 5px;
        resize: vertical;
    }

    form button {
        margin-top: 20px;
        padding: 12px 20px;
        background-color: transparent;
        color: white;
        border: 1px solid white;
        border-radius: 5px;
        cursor: pointer;
    }



    .info-section {
        display: flex;
        flex-direction: column;
        /* justify-content: center; */

    }

    input,
    select,
    textarea {
        width: 100%;
        padding: 10px;
        margin-top: 6px;
        margin-bottom: 16px;
        border-radius: 6px;
        background: #555;
        border: 1px solid #555;
        color: #ddd;
        font-size: 0.9rem;
    }

    .info-section h2 {
        /* margin-top: 0; */

        padding-bottom: 30px;
        padding-top: 60px;
    }



    .info-section h2 {
        font-size: 21px;
        margin-bottom: 10px;
        color: #fff;
        font-style: italic;
        font-weight: 400;
    }


    .info-section h3 {
        font-size: 21px;
        padding-top: 20px;
        margin-bottom: 20px;
        color: #fff;
        font-style: italic;
        font-weight: 400;
    }

    .info-section p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        color: #555;
        line-height: 1.6;
    }

    form label {
        display: block;
        margin-top: 15px;
        font-weight: bold;
        font-size: 0.9rem;
    }

    .page-body {

        z-index: 0;
        padding-top: 10px;

        /* min-height: calc(100vh - 80px); */

    }

}


.stack-1 {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Touch feedback - slight scale down when pressed */
.stack-1:active {
    transform: scale(0.98);
}

/* Ensure active state works properly on all devices */
.stack-1.active {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
}

.stack-1.active .img1,
.stack-1.active .img2,
.stack-1.active .img3 {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    transform: scale(1.05) !important;
    transition-delay: 0s !important;
}

/* Mobile-specific active state adjustments */
@media (max-width: 900px) {
    .stack-1.active .img1 {
        width: 25% !important;
        height: auto !important;
    }

    .stack-1.active .img2 {
        width: 50% !important;
        height: auto !important;
    }

    .stack-1.active .img3 {
        width: 25% !important;
        height: auto !important;
    }
}

/* Add a tap indicator for mobile users */
/* @media (hover: none) and (pointer: coarse) {
    .stack-container::before {
        content: "Tap to expand";
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        opacity: 0.7;
        z-index: 10;
        pointer-events: none;
    }

    .stack-1.active+.stack-container::before {
        content: "Tap elsewhere to close";
    }
} */

/* Prevent text selection on mobile when tapping */
.stack-1 {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Improve touch target size on very small screens */
@media (max-width: 480px) {
    .stack-container {
        min-height: 300px;
        padding: 15px;
    }

    .stack-1 {
        min-height: 250px;
    }
}



/* @media (max-width: 900px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stack-container {
        height: 400px;
    }


} */