@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

 h1, h2, h3 {
            font-size: 2em;
            font-weight: bold;
        }

        h1 {
            font-size: 5em;
        }

        ul {
            font-size: 1em;
        }

 p {
            font-size: 1.3em;
            line-height: 1.5;
        }  
          ol {
            list-style-type: decimal;
            margin-left: 20px;
        }

        li {
            margin-bottom: 10px;
            font-size: 1.3em;
        }       
n 
body {
    min-height: 100vh;
    overflow-x: hidden;
}



header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
}

footer {
    background-color: #1c7fad;
    color: #fff;
}

.logo {
    font-size: 2em;
}

.Project {
    color: #2b91bd;;
    font-size: 2em;
}

.अक्षर {
    color: orange;
    font-size: 0.8em;
}
    
.navigation a {
    text-decoration: none;
    color: #2b91bd; 
    padding: 6px 15px; 
    border-radius: 20px; 
    margin: 0 10px;
    font-weight: 600;
}

.navigation a:hover,
.navigation a:active {
    background: #2b91bd;
    color: #fff;
}

.navigation a.active {
    background: #2b91bd;
    color: #fff;
} 

.parallax {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#text {
    position: absolute;
    font-size: 5em;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.parallax img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.sec {
    position: relative;
    background: #0c2f4d;
    padding: 10px;
}

.container {
    max-width: 1300px;
    margin: 5px auto;
    background: url('section-bg.png') center/cover;
    border-radius: 15px;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.container.show {
    opacity: 1;
}

.container:hover {
    transform: scale(1.1);
    background-image: url('section-bg-hover.png');
}

 #scrollButton {
            display: none;
            position: fixed;
            bottom: 80px;
            right: 20px; 
            color: #1c7fad;
            border: none;
            border-radius: 50%;
            padding: 10px;
            font-size: 40px;
            cursor: pointer;
            background-color: #ffffff;
        }

        #scrollButton:hover {
            background-color: #1c7fad; /* Change background color on hover */
            color: #ffffff;
        }

        main {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
        }
        
        #uploadBox {
            width: 300px;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            flex-direction: row;
        }

        #uploadedImage {
            width: 100%;
            height: 100%;
            margin: 50px;
            object-fit: cover;
        }

        #fileInput {
            display: none;
        }
        .box-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin: 10px;
        }

        .box {
            position: relative;
            width: 1300px;
            height: 450px;
            background-color: #ffffff;
            background-image: url('desktop-box.png');
            border: 1px solid #ccc; 
            padding: 0px;
            margin: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        .box img {
        max-width: 100%;
        max-height: 200%;
        object-fit: contain;
    }

        .button-container {
            display: flex;
            flex-direction: row; /* Set to row for desktop view */
            column-gap: 30px;
            justify-content: center; /* Align to the right for mobile view */
            margin-right: 100px;
            margin-top: 20px;
        }

        .button-container button:last-child {
            margin-right: 15px; 
        }

        .button-container a {
            text-decoration: none; /* Remove default underline for links */
        }

        .button-container button {
            width: 150%;
            max-width: 200px;
            padding: 10px;
            font-size: 16px;
            background-color: #2b91bd; 
            color: #ffffff; 
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition on hover for background and color */
            border-radius: 10px;
        }

        .button-container button:hover {
            background-color: #fff; /* Set the background color to #ddd on hover */
            color: #000000; /* Set the font color to black on hover */
        }


         .box img {
        max-width: 60%;
        max-height: 100%;
        object-fit: cover;
    }

    ::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }
    
    ::-webkit-scrollbar-track {
        background: #f5f5f5;
        border-radius: 10px;
    }
    
    ::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: #51abcb; /* Blue color */
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #51abcb; /* Blue color */
    }
    

        @media (max-width: 600px) {
            .box {
                
                background-image: url('mobile-box.png');
               
            }

            .box img {
                max-width: 50%; /* Adjusted max-width for mobile */
                max-height: 60%; /* Adjusted max-height for mobile */
                object-fit: cover;
            }

             .desktop-image {
            display: none; /* Hide the desktop image in mobile view */
        }

            header {
                padding: 10px;
            flex-direction: column;
            text-align: center;
        }

        footer {
            font-size: 10px;
        }

        .parallax {
            height: calc(90vh - 400px);
            margin-top: 80px;
        }
        

        #scrollButton {
                bottom: 50px; /* Adjust the distance from the bottom for smaller screens */
                right: 30px; /* Adjust the distance from the right for smaller screens */
            }    

            .button-container {
                flex-direction: column; /* Set to column for mobile view */
                gap: 10px; /* Adjusted gap for mobile view */
                justify-content: center; /* Align to the right for mobile view */
                margin-left: 100px;
            }
            #text {
    font-size: 2em;
        }

    }

