@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;
}

body {
    background-color: black;
    color: rgb(255, 255, 255);
    overflow-x: hidden;
}



.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.548), green, rgba(0, 0, 0, 0.548));
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    /* border-radius: 100px; */
}

.logo {
    font-size: 25px;
    color: green;
    text-shadow: 5px 5px 10px black;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;

}

.navbar a {
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.navbar a::after {
    content: '';
    width: 0;
    height: 2px;
    background: black;
    border-radius: 50%;
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: 0.6s;
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a:hover {
    background: linear-gradient(45deg, rgb(0, 0, 0), rgb(0, 0, 0));
    -webkit-text-fill-color: transparent;
    background-clip: border-box;
    -webkit-background-clip: text;
}

.home {
    width: 100%;
    height: 100vh;
    display: inline-block;
    justify-items: center;
    align-items: center;
    padding: 70px 10% 0;
}

.main-content {
    padding: 20px;
}

.home-content {
    max-width: 600px;
    padding: 50px;
    justify-items: center;
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3 {
    font-size: 30px;
    font-weight: 700;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.mu {
    margin-top: 50px;
}

.home-content h1,
h3 {
    text-shadow: 5px 4px 10px green;
}

.home-content h3 span {
    color: rgb(0, 255, 0);
}

.home-content p {
    display: block;
    margin: 20px 0 0;
}

.longtext {
    width: fit-content;
    justify-self: center;
    text-align: center;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.3s;
}

.mu {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: .7s;
    text-align: center;
}

a {
    font-size: 74px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
    text-decoration: none;
    color: #00ff00;
    background-clip: text;
    background-size: 200% 100%;
    background-position-x: 0;
    background-position-y: 2em;

}

.home-sci {
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.3s;
}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: black;
    border: 2px solid green;
    border-radius: 50%;
    font-size: 20px;
    color: green;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    opacity: 0;
    animation: zoomIn 1s ease forwards;
    animation-delay: 0.4s;

}

.home-sci a:hover {
    background: green;
    color: black;
    box-shadow: 0 0 20px green;
}





/* Main form container */
.form-container {
    background: #1a1a1a;
    max-width: 600px;
    width: 100%;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    position: relative;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: .7s;
}

/* Form header */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h1 {
    color: #00ff00;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-header p {
    color: #999;
    font-size: 1rem;
}

/* Form styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Input group styling */
.input-group {
    display: flex;
    flex-direction: column;
}

/* Label styling */
label {
    display: block;
    font-weight: 500;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Input and textarea base styling */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #2a2a2a;
    color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

/* Input focus states */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #555;
    background-color: #333;
    box-shadow: 0 0 0 3px rgba(85, 85, 85, 0.3);
    transform: translateY(-1px);
}

/* Textarea specific styling */
textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Placeholder styling */
input::placeholder,
textarea::placeholder {
    color: #666;
    font-style: italic;
}

/* Submit button styling */
.submit-btn {
    background: #00ff00;
    color: #000000;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 16px;
    align-self: flex-end;
    width: auto;
}

/* Submit button hover effect */
.submit-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 0 25px #00ff00;
}

/* Submit button active state */
.submit-btn:active {
    transform: translateY(0);
}

/* Error state example (visual only) */
.input-error {
    border-color: #e53e3e !important;
    background-color: #fed7d7 !important;
}

.input-error:focus {
    border-color: #e53e3e !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
}


.btn-box {
    display: flex;
    padding: 12px 28px;
    background: green;
    border-radius: 40px;
    font-size: 16px;
    color: black;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: zoomIn 1s ease forwards;
    animation-delay: 0.4s;
    justify-self: center;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.3s;
}

.btn-box:hover {
    box-shadow: 0 0 5px green,
        0 0 25px green, 0 0 50px green,
        0 0 100px green, 0 0 200px green;
}


.navbar-1 a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 50px;
    text-align-last: center;
}

.navbar-1 a.active,
.navbar-1 a:hover {
    background: linear-gradient(45deg, rgb(0, 0, 0), rgb(0, 0, 0));
    -webkit-text-fill-color: transparent;
    background-clip: border-box;
    -webkit-background-clip: text;
}

canvas {
    position: fixed;
    top: auto;
    left: auto;
    background-color: black;
    z-index: -1;
    background-size: cover;
    background-blend-mode: multiply;
    background-size: auto;
    scroll-behavior: smooth;
}

.heading-thanks {
    opacity: 0;
    color: #00ff00;
    text-align: center;
    font-size: 40px;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.3s;
}

.thanks {
    font-size: 18px;
    display: grid;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.3s;
}

.lets-toutch {
    font-size: 29px;
    background: #ffffff;
    color: rgb(255, 255, 255);
    padding: 3px;
    padding-left: 11px;
    padding-right: 11px;
    border-radius: 16px;
    max-width: 327px;
    justify-self: center
}

/*  THIS IS FOR THE GLOWING AROUND THE BUTTON */

@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,500&display=swap");

.border-gradient {
    --c: #1a1a1a;
    --p: 10%;
    background: linear-gradient(var(--c), var(--c)) padding-box,
        conic-gradient(from var(--gradient-angle, 0deg),
            transparent,
            rgb(0, 255, 0) var(--p),
            transparent calc(var(--p) * 2)) border-box;
    border: 2.3px solid transparent;
}

button {
    border-radius: 3rem;
    color: #00ff00;
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    padding: 10px;
    cursor: pointer;
}

.footer {
    background-color: black;
    color: grey;
    text-align: center;
    opacity: 0;
    animation: slideTop 4s ease forwards;
    animation-delay: 2.1s, 3.1s;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: fit-content;
    position: absolute;
    border-radius: 90px;
    display: inline-block;
    padding: 5px;
    padding-bottom: 20px;
    margin-bottom: 5px;
    margin-top: 20px;
    font-size: 14px;
}

/* Default: hide hamburger on desktop */
.menu-toggle {
    display: none;
    margin-left: auto;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* Animation */
@keyframes slideTop {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-24px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes circleRotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* ===========================
   MEDIA QUERIES
   =========================== */

/* Tablet screens and smaller (<= 1024px) */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }

    .body {
        width: fit-content;
    }

    .navbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    .navbar a {
        font-size: 14px;
        margin-left: 0;
    }

    .home-content {
        padding-top: 100px;
        /* space for fixed header */
        width: 100%;
    }

    .mu {
        text-align: left;
    }

    .wave {
        font-size: 68px;
    }

    .home-content .mu {
        font-size: 26px;
        padding: 0;
    }



    .footer {
        position: absolute;
        padding: 10px;
    }



    /* Show hamburger on tablets and phones (<=1024px) */

    .menu-toggle {
        display: block;
    }

    .navbar {
        display: none;
        flex-direction: column;
        align-items: center;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 15px 0;
        gap: 10px;
        z-index: 99;
    }

    .navbar.active {
        display: flex;
    }

}








/* Mobile screens and smaller (<= 600px) */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }

    .navbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    .navbar a {
        font-size: 14px;
        margin-left: 0;
    }

    .home-content {
        font-size: 10px;
    }

    .mu {
        text-align: left;
    }

    .wave {
        font-size: 50px;
    }

    .home-content {
        padding: 0px;
    }

    .home-content .mu {
        font-size: 26px;
        padding: 0;
        margin-top: 70px;
    }

    .home-content h1 {
        font-size: 50px;
        /* reduced from 36px */
        line-height: 1.1;
        text-align: center;
    }

    .home-content h3 {
        font-size: 16px;
        /* reduced from 20px */
        text-align: left;
    }



    .home-content p {
        font-size: 18px;
    }

    .btn-box {
        font-size: 14px;
        padding: 10px 20px;
        width: auto;            /* Prevents Safari from stretching */
        max-width: max-content; /* Ensures it only fits text */
        justify-self: center;
    }

    .home {
        padding-top: 70px;
        flex-direction: column;
        text-align: center;
    }




    .navbar a {
        font-size: 14px;
        margin-left: 0;
    }




    .footer {
        font-size: 14px;
        margin-top: 30px;
        padding: 10px;
    }


    /* Default: hide hamburger on desktop */
    .menu-toggle {
        display: none;
        margin-left: auto;
        font-size: 28px;
        color: white;
        cursor: pointer;
    }



    .menu-toggle {
        display: block;
    }

    .navbar {
        display: none;
        flex-direction: column;
        align-items: center;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 15px 0;
        gap: 10px;
        z-index: 99;
    }

    .navbar.active {
        display: flex;
    }

    .form-container {
        margin-top: 35px;
        width: 100%;
    }

    .form-container h1,
    h3 {
        text-shadow: 5px 4px 10px green;
    }

    .form-container h3 span {
        color: rgb(0, 255, 0)
    }

    .home {
        padding-left: 3px;
        padding-right: 3px;
    }

    .home-content p {
        display: block;
        margin: 20px 0 0;
    }

    .longtext {
        width: 85%;
        text-align: center;
        justify-self: center;
    }
}


/* Tablet screens and smaller (<= 1024px) */
@media (max-width: 1024px) {
    .header {
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }

    .body {
        width: fit-content;
    }

    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        margin-top: 10px;
    }

    .navbar a {
        padding-right: 20px;
        margin-left: 0;
    }

    .home-content {
        padding-top: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }


    .mu {
        text-align: left;
        padding: 0px;

    }

    .left {
        text-align: left;
    }

    .wave {
        font-size: 68px;
    }

    .home-content .mu {
        font-size: 26px;
        padding: 0;
        padding-left: 0px;
    }

    .largetxt {
        font-size: 16px;
        width: 100%;
        padding: 0;
    }

    .caption {
        font-size: 14px;
        width: 100%;
        padding: 0;
    }


    .home-img {
        width: 250px;
        height: 220px;
    }

    .image img {
        max-width: 250px;
    }

    .cards-container {
        gap: 20px;
        max-width: 100%;
        width: 90%;
        /* let it fill the screen width */
        padding: 0 15px;
        /* add some padding so content doesn’t touch edges */
        box-sizing: border-box;
        justify-self: center;
    }

    .cards-container:active,
    .cards-container *:active {
        /* reset styles or disable */
        background: none;
        /* or original background */
        transform: none;
        /* remove scale or translate */
        /* reset other properties you used */
    }

    .content-wrapper {
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        justify-self: center;
        gap: 20px;
    }

    .card,
    .bottom-card {
        width: 91%;
        padding: 15px;
        text-align: left;
    }

    .holographic-container {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        padding-bottom: 65px;
        margin-top: 0px;
    }




    /* Ensure the holographic-card doesn’t stretch fully */
    .holographic-card {
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        display: block;
        /* instead of flex */
        text-align: left;
    }

    .holographic-card:hover {
        transform: none;
        box-shadow: none
    }

    /* bottom-card takes full width inside holographic-card but with padding */
    .bottom-card {
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
        padding: 15px;
        box-sizing: border-box;
        text-align: left;
        justify-self: center;
    }


    .footer {
        position: absolute;
        padding: 10px;
    }

    .glow-on-scroll {
        box-shadow: 0 0 20px #00FF00 !important;
        transform: scale(1.07);
        transition: all 0.5s ease;
    }



}