body{
    color: #eee;
    font-family: Poppins;
    margin: 0;
    background-image:
    radial-gradient(
        at 50% 50%, #6d6c77, #25242a
    );
}
::-webkit-scrollbar{
    width: 0;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
}
header img{
    width: 30px;
}
header {
    z-index: 200; /* Keep it above other elements */
    position: relative;
    display: flex;
    justify-content: space-between; /* Align elements to the edges */
    align-items: center;
   padding: 30px;
    background-color: #8e8e8e42;
}

header nav ul {
    display: flex;
    gap: 15px; /* Adjust spacing between buttons */
    margin: 0;
    list-style: none; /* Remove list bullets */
}

.banner #dotsCanvas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none; /* Canvas should not block interactions */
    z-index: 100; /* Ensure it's behind the header */
}

header nav {
    margin-left: auto; /* Push the navigation to the right */
}

header nav ul li button {
    all: unset; /* Reset all default button styles */
    cursor: pointer; /* Add pointer to indicate interactivity */
    color: #eee; /* Set text color */
    font-size: 14px; /* Adjust text size */
    padding: 5px 10px; /* Add padding for a better hover area */
    transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transitions */
    border-radius: 5px; /* Rounded edges for the hover background */
}

header nav ul li button:hover {
    color: #c691e6; /* Change text color on hover */
    background-color: rgba(198, 145, 230, 0.2); /* Subtle background effect */
}

h1, h2, h3, h4, h5, h6{
    font-weight: 500;
}

.banner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: flex-start; /* Align to the left */
    padding-left: 50px; /* Add padding for spacing from the edge */
    text-align: left; /* Align text to the left */
    height: 100vh; /* Full viewport height */
    gap: 10px; /* Space between the elements */
    margin-top: -100px;
}

.banner h3 {
    font-size: 1.6em; /* Increase font size */
    font-weight: 500; /* Subtle styling */
    color: #e4e4e4; /* Soft, professional color */
    margin: 0; /* Remove default margin */
    font-family: monospace;
}

.banner h1 {
    font-size: 4em; /* Bold and prominent */
    font-weight: bold;
    line-height: 1.2; /* Adjust line height */
    color: #ffffff; /* Clean white color */
    background-image: linear-gradient(to right, #89a5df, #e46e7f, #e8e191);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0; /* Remove default margin */
  
}

.banner h2 {
    font-size: 2.1em; /* Bold and prominent */
    font-weight: bold;
    line-height: 1.2; /* Adjust line height */
    color: #ffffff; /* Clean white color */
    background-image: linear-gradient(to right, #89a5df, #e46e7f, #e8e191);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0; /* Remove default margin */
}

.banner button{
    all: unset;
    border: 1px solid #afaeae55;
    padding: 10px 20px;
    border-radius: 20px;
    background-image: linear-gradient(
        to bottom, #eee1, transparent, #eee1
    );
    cursor: pointer;
    transition: 0.5s;
}
.banner button:hover{
    background-color: #c691e6;
    color: #040018;
    box-shadow: 0 0 50px #c691e6;
    
}
h1{
    --to: left;
    font-size: 4em;
    font-weight: bold;
    background-image: linear-gradient(
        to var(--to), #89a5df, #e46e7f, #e8e191
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1em;
}


.banner{
    position: relative;
}
.banner #dotsCanvas{
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
}


/* login form styles */

.frommain{
    width: 350px;
    height: 500px;
    background: red;
    overflow: hidden;
    background: url("your-image-url") no-repeat center/ cover;
    border-radius: 10px;
    box-shadow: 5px 20px 50px #000;
    position: fixed;
}

.frommain {
    display: none; /* Hide initially */
   
    top: 50px;
    
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#chk{
    display: none;
}
.signup{
    position: relative;
    width:100%;
    height: 100%;
}
label{
    color: #fff;
    font-size: 2.3em;
    justify-content: center;
    display: flex;
    margin: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: .5s ease-in-out;
}
input{
    width: 60%;
    height: 10px;
    background: #e0dede;
    justify-content: center;
    display: flex;
    margin: 20px auto;
    padding: 12px;
    border: none;
    outline: none;
    border-radius: 5px;
}
button{
    width: 60%;
    height: 40px;
    margin: 10px auto;
    justify-content: center;
    display: block;
    color: #fff;
    background-image:
    radial-gradient(
        at 50% 50%, #6d6c7779, #25242a7f
    );
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    outline: none;
    border: none;
    border-radius: 5px;
    transition: .2s ease-in;
    cursor: pointer;
}
button:hover{
    background-image:
    radial-gradient(
        at 50% 50%,  #25242a81, #6d6c777e
    );
}
.login{
    height: 460px;
    background: #eee;
    border-radius: 60% / 10%;
    transform: translateY(-180px);
    transition: .8s ease-in-out;
}
.login label{
    color: #1d1c1e93;
    transform: scale(.6);
}
#chk:checked ~ .login{
    transform: translateY(-500px);
}
#chk:checked ~ .login label{
    transform: scale(1);    
}
#chk:checked ~ .signup label{
    transform: scale(.6);
}
.forgot-pass {
    text-align: center;
    margin: 10px 0;
}
.forgot-pass a {
    color: #573b8a;
    text-decoration: none;
    font-size: 0.9em;
}
.forgot-pass a:hover {
    text-decoration: underline;
}
footer {
    position: fixed;
    bottom: 0;
    text-align: center;
    color: #fff;
    font-size: 0.9em;
    width: 100%;
    left: 0;
}
.notification {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: #fff;
    font-size: 0.9em;
    z-index: 1000;
    animation: slideIn 0.5s ease-in-out;
    align-items: middle;
}
.notification.show {
    display: block;
}
.notification.success {
    background: #28a745;
}
.notification.error {
    background: #dc3545;
}
.error-text {
    color: #dc3545;
    font-size: 0.8em;
    margin: -15px auto 10px;
    width: 60%;
    display: none;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
}
.modal-content h3 {
    color: #573b8a;
    margin-top: 0;
}
.modal-content input {
    width: 100%;
    margin: 10px 0;
}
.modal-content button {
    width: 100%;
    margin: 10px 0;
}
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%); /* Start from off-screen right */
        opacity: 0; /* Start invisible */
    }
    to {
        transform: translateX(0); /* End at original position */
        opacity: 1; /* Fully visible */
    }
}

.frommain.show {
    display: block; /* Make it visible */
    animation: slideInFromRight 0.5s ease forwards; /* Trigger the animation */
}

/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #eee;
    background: radial-gradient(at center, #25242a, #121212);
    overflow: hidden;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

header nav ul li button {
    color: #fff;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

header nav ul li button:hover {
    background: #fff;
    color: #000;
}

.graph-container {
    position: relative; /* Allows absolute positioning of reset button */
    margin: 20px 0;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  #largeCircle {
    position: absolute;
    margin-top: 250px;
  
    right: 0;
    width: 450px; /* Adjust size as needed */
    height: 590px;
    background-color: #fdfdfd2d; /* Replace with your preferred color */
    border-radius: 20% 0 0 20%;
    z-index: 50; /* Ensure it layers above the canvas */
    pointer-events: none; /* Prevent interactions */
}

#largeCircle {
    display: none; /* Hide the circle initially */
    opacity: 0; /* Set opacity to 0 for smooth transition */
    transition: opacity 0.5s ease; /* Smooth transition for opacity */
}

#dotsCanvas {
    position: fixed;      /* Stick to the viewport */
    top: 0;               /* Start at the top */
    left: 0;              /* Start at the left */
    width: 100%;          /* Full width */
    height: 100%;         /* Full height */
    pointer-events: none; /* Don't block user interactions */
    z-index: -1;          /* Send it behind other elements */
}

.banner .tagline {
    font-size: 1.2em;
    color: #d1d1d1;
    margin-top: 10px;
    font-style: italic;
    line-height: 1.5;
}

.features {
    text-align: center;
    padding: 50px;
    background: #25242a;
    color: #eee;
}

.features h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}

.feature-cards {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.feature {
    width: 450px;
    background: #3e3d42;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s;
}

.feature:hover {
    transform: scale(1.05);
}

.feature img {
    width: 350px;
    margin-bottom: 10px;
    height: 200px;
}

.feature h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #c691e6;
}

.banner .cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.banner .cta-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.banner .cta-buttons button:hover {
    background: #c691e6;
    color: #25242a;
}

.benefits {
    background: #121212ab;
    color: #eee;
    text-align: center;
    padding: 30px;
}

.benefits h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #fff;
}

.benefits ul {
    list-style-type: none;
    padding: 0;
}

.benefits li {
    font-size: 1.2em;
    margin: 10px 0;
}

/* Allow scrolling for the entire body */
body {
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    height: auto; /* Allow body height to grow with content */
}

/* Ensure sections do not limit height */
.banner {
    min-height: 130vh; /* At least full viewport height */
    height: auto; /* Expand height based on content */
}

/* Ensure the main content flows properly */
main {
    height: auto;
    display: block; /* Ensure content stacks properly */
}

/* Optional: Hide scrollbar for a cleaner look */
::-webkit-scrollbar {
    width: 0; /* For modern browsers */
}

@media (max-width: 768px) {
    .banner, .features, .benefits {
        padding: 20px; /* Add padding for small screens */
    }

    .feature-cards {
        flex-direction: column; /* Stack features vertically */
        gap: 10px;
    }
}

.testimonials {
    background: #3e3d42;
    color: #eee;
    padding: 50px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}

.testimonial-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial {
    max-width: 300px;
    background: #25242a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 1em;
}

.testimonial h4 {
    margin-top: 10px;
    color: #c691e6;
}

.demo {
    text-align: center;
    padding: 50px;
    background: #121212ab;
    color: #eee;
}

.demo h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}

.demo p {
    margin-top: 20px;
    font-size: 1.2em;
    color: #d1d1d1;
}

.faq {
    background: #25242a;
    color: #eee;
    padding: 50px;
    text-align: center;
}

.faq h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}

.faq .question {
    margin: 20px 0;
    text-align: left;
    max-width: 800px;
    margin: auto;
}

.faq .question h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #c691e6;
}

.faq .question p {
    font-size: 1.2em;
    color: #d1d1d1;
}

html, body {
    height: 100%; /* Ensure the body takes the full height of the viewport */
    margin: 0;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1; /* This pushes the footer to the bottom if content is short */
}

footer {
    background: #121212d1;
    color: #eee;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    position: relative;
    flex-shrink: 0; /* Prevent the footer from shrinking */
}

footer .footer-links a {
    color: #c691e6;
    margin: 10px 10px;
    text-decoration: none;
}

footer .footer-links a:hover {
    text-decoration: underline;
}

footer .social-media a {
    margin: 10px 10px;
}

footer .social-media i {
    margin: 10px 10px;
}

