@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');

html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    font-size: 62.5%;
    font-size: 10px;
    background-color: rgb(44, 42, 42);
}

/* Navbar section */
.nav {
    width: 100%;
    height: 65px;
    position: fixed;
    line-height: 65px;
    text-align: center;
    z-index: 1000;
    /* Ensures the navbar is above other content */
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

.nav .logo a {
    text-decoration: none;
    color: #fff;
    font-size: 2.5rem;
}

.nav .logo a:hover {
    color: #00E676;
}

.nav .main_list {
    height: 65px;
}

.nav .main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav .main_list ul li {
    width: auto;
    height: 65px;
    padding-right: 3rem;
}

.nav .main_list ul li a {
    text-decoration: none;
    color: #c4bbbb;
    line-height: 65px;
    font-size: 2.4rem;
}

.nav .main_list ul li a:hover {
    color: #00E676;
}

.home {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-image: url('robot.png');
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.navTrigger {
    display: none;
}

.nav {
    padding-top: 20px;
    padding-bottom: 20px;
    transition: all 0.4s ease;
}

@media screen and (max-width: 768px) {
    .navTrigger {
        display: block;
    }

    .nav .main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.5s;
    }

    .nav.active .main_list {
        height: auto; /* Changed from auto to ensure it fits all content */
        min-height: fit-content; /* Ensure it fits all content */
    }

    .nav .main_list ul {
        flex-direction: column;
        width: 100%;
        height: auto; /* Changed from 100vh to auto */
        right: 0;
        left: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(44, 42, 42, 0.98), rgba(68, 66, 66, 0.98));
        background-position: center top;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 0 0 20px 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(0, 230, 118, 0.2);
        border-top: none;
    }

    .nav .main_list ul li {
        width: 100%;
        text-align: right;
        border-bottom: 1px solid rgba(0, 230, 118, 0.1);
        transition: all 0.3s ease;
    }

    .nav .main_list ul li:last-child {
        border-bottom: none;
    }

    .nav .main_list ul li:hover {
        background: rgba(0, 230, 118, 0.1);
        transform: translateX(-5px);
    }

    .nav .main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: 3rem;
        padding: 20px;
        color: #fff;
        font-weight: 500;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
        transition: all 0.3s ease;
        position: relative;
        display: block;
    }

    .nav .main_list ul li a:hover {
        color: #00E676;
        text-shadow: 0 0 15px rgba(0, 230, 118, 0.6);
        background: rgba(0, 230, 118, 0.05);
    }

    .nav .main_list ul li a::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.2));
        transition: width 0.3s ease;
    }

    .nav .main_list ul li a:hover::before {
        width: 100%;
    }
}

.navTrigger {
    cursor: pointer;
    width: 35px;
    height: 30px;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
    background: rgba(0, 230, 118, 0.1);
    border-radius: 8px;
    padding: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 230, 118, 0.3);
    margin: auto 0;
}

.navTrigger:hover {
    background: rgba(0, 230, 118, 0.2);
    border-color: rgba(0, 230, 118, 0.6);
    transform: scale(1.05);
}

.navTrigger i {
    background-color: #00E676;
    border-radius: 3px;
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
}

.navTrigger i:nth-child(2) {
    margin: 6px 0;
}

.navTrigger.active {
    background: rgba(0, 230, 118, 0.3);
    border-color: rgba(0, 230, 118, 0.8);
}

.navTrigger.active i:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.navTrigger.active i:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.navTrigger.active i:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.affix {
    padding: 0;
    background-color: #111;
}

.myH2 {
    text-align: center;
    font-size: 4rem;
}

.whatsapp {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Adjust spacing between icon and text */
    padding: 60px;
    /* Adjust padding as needed */
    border-radius: 5px;
    /* Optional: Add rounded corners */
}

.whatsapp ion-icon {
    font-size: 35px;
    /* Adjust icon size as needed */
    color: #16e343;
    /* Icon color */
}

.phone-number {
    font-size: 20px;
    /* Adjust text size as needed */
    color: #e8dada;
    /* Text color */
}

/*END of whatsapp styles*/



.email {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Adjust spacing between icon and text */
    padding: 60px;
    /* Adjust padding as needed */
    border-radius: 5px;
    /* Optional: Add rounded corners */
}

.email ion-icon {
    font-size: 35px;
    /* Adjust icon size as needed */
    color: #ff5722;
    /* Icon color */

}

.mail {
    font-size: 20px;
    color: rgb(228, 228, 228);
    text-emphasis: none;
    text-decoration: none;
}

/*End of Email styles*/

.linkelden {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Adjust spacing between icon and text */
    padding: 60px;
    /* Adjust padding as needed */
    border-radius: 5px;
    /* Optional: Add rounded corners */

}

.linkelden ion-icon {
    font-size: 35px;
    /* Adjust icon size as needed */
    color: #1b98dc;
    /* Icon color */
}

.lund-id {
    font-size: 20px;
    color: rgb(228, 228, 228);

}



@media screen and (max-width: 768px) {
    .home {
        height: 100vh;
        /* Make sure the home section takes the full height of the viewport */
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        background-position: center center;
        background-size: cover;
        background-image: url("mobile-robot.jpg");
    }

    .myP {
        margin-top: auto;
        /* Push the paragraph to the bottom */
    }

    .whatsapp ion-icon {
        font-size: 20px;
        /* Adjust icon size as needed */
        color: #16e343;
        /* Icon color */
    }

    .phone-number {
        font-size: 20px;
    }

    .email ion-icon {
        font-size: 20px;


    }

    .email {
        gap: 2px;
    }

    .mail {
        font-size: 17px;
    }

    .linkelden ion-icon {
        font-size: 25px;
}

.lund-id {
    font-size: 15px;
}
}

/* Thank You wall */
.thankyou-wall {
    padding: 40px 20px;
    color: #e0e0e0;
}

.ty-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ty-title {
    margin: 0 0 20px;
    font-size: 2.4rem;
    font-weight: 600;
}

.ty-grid {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.ty-card {
    background: #1f1f1f;
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ty-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    border-color: rgba(0, 230, 118, 0.4);
}

.ty-name {
    font-size: 1.6rem;
    color: #e6e6e6;
}

.ty-amount {
    font-size: 1.6rem;
    color: #00e676;
    font-weight: 600;
}

@media screen and (max-width: 480px) {
    .ty-title {
        font-size: 2rem;
    }
    .ty-name, .ty-amount {
        font-size: 1.4rem;
    }
}