*{
    margin: 0;
    padding: 0;
    text-decoration: none;
}

body{
    overflow: hidden;
    color: white;
    animation: fadeIn 1s ease-in-out;
    background-color: black;
    background-attachment: fixed;
}

header{
    width: 100%;
    height: 100vh;
    background-color: transparent;
    animation: fadeIn 1s ease-in-out;
}

/* add animation start */

.start{
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: #fff;
    animation: twinkle 2s infinite;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.5);
}

@keyframes twinkle {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}

.navber{
    display: flex;
    justify-content: space-around;
    align-items: center;
    animation: slideInFromTop 1s ease-in-out;
}

.navber img{
    width: 50px;
    animation: rotateIn 1s ease-in-out;
}

.navber .center-nav a,
.social a{
    color: white;
    margin-left: 15px;
    font-size: 1.3rem;
    transition: all 0.5s ease;
    animation: fadeInUp 1s ease-in-out;
}

.navber .center-nav a:first-child{
    color: rgb(255, 140, 0);
}

.navber .center-nav a:hover,
.social a:hover{
    color: rgb(255, 140, 0);
    text-shadow: 0 0 30px rgb(255, 140, 0);
}

/* New style for underline effect */

.navber .center-nav a{
    position: relative;
    text-decoration: none;
}

.navber .center-nav a::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: rgb(255, 140, 0);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.navber .center-nav a:hover::before{
    visibility: visible;
    transform: scaleX(1);
}

.text{
    position: relative;
    top: 10rem;
    left: 11rem;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-in-out;
}

.text h1{
    font-weight: bold;
    font-size: 4rem;
    font-family: sans-serif;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-in-out;
}

.btn{
    color: white;
    border: 2px solid;
    position: relative;
    top: 1rem;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 14px;
    padding-bottom: 14px;
    border-radius: 6px;
    transition: all 0.5s ease;
    margin-right: 10px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-in-out 0,5s backwards;
}

.text .btn:hover{
    background-color: rgb(255, 140, 0);
    box-shadow: 0 0 10px 2px rgb(255, 140, 0);
}

.text p{
   width: 46%;
   margin-bottom: 20px;
   animation: fadeInUp 1s ease-in-out 1s backwards;
}

.burger{
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    width: 90%;
    padding: 10px;
    animation: slideInFromBottom 1s ease-in-out 1.5s backwards;
}

.burger img{
    width: 100px;
    height: 100px;
    margin-left: 20px;
    object-fit: cover;
    border: 2px solid white;
    transition: transform 0.3s ease;
    animation: fadeInUp 1s ease-in-out 2s backwards;
}

.burger img:hover{
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

.burger-toggle img{
    position: absolute;
    width: 38%;
    height: 74%;
    right: 47px;
    top: 7rem;
    filter: drop-shadow(63px 90px 392px);
    animation: fadeInUp 1s ease-in-out 2.5s backwards;
}

.burger,
.burger-toggle{
    display: flex;
}

.burger-toggle img{
    display: none;
}

.burger-toggle img.active{
    display: block;
}

/* Animation */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes rotateIn {
    from {
        transform: rotate3d(0, 0, 1, -200deg);
        opacity: 0;
    }
    to {
        transform: none;
        opacity: 1;
    }
}

/* ========== RESPONSIVE DESIGN - TABLETS AND MOBILE ========== */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    header {
        height: auto;
        min-height: 100vh;
        padding-bottom: 150px;
    }

    .navber {
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        gap: 20px;
    }

    .navber img {
        width: 40px;
        order: 1;
    }

    .center-nav {
        order: 2;
        display: none;
        gap: 8px;
        justify-content: center;
    }

    .center-nav a {
        font-size: 0.75rem;
        margin-left: 0;
    }

    .social {
        order: 3;
        display: flex;
        gap: 15px;
    }

    .social a {
        font-size: 1.1rem;
        margin-left: 0;
    }

    .text {
        position: relative;
        top: auto;
        left: auto;
        text-align: center;
        padding: 40px 20px;
        letter-spacing: 1px;
        margin-top: 40px;
    }

    .text h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .text p {
        width: 100%;
        margin: 0 auto 30px;
        max-width: 500px;
    }

    .btn {
        display: inline-block;
        margin: 0 10px 20px 10px;
        position: relative;
        top: auto;
    }

    .burger {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 5px;
        padding: 10px;
        z-index: 5;
    }

    .burger img {
        width: 70px;
        height: 70px;
        margin-left: 0;
        margin: 5px;
        cursor: pointer;
    }

    .burger-toggle {
        position: fixed;
        bottom: 170px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        justify-content: center;
        padding: 10px;
        z-index: 20;
    }

    .burger-toggle {
        bottom: 230px;
    }

    .burger-toggle img {
        position: relative;
        width: 350px;
        height: 350px;
        right: auto;
        top: auto;
        filter: none;
        animation: none;
    }

    .burger-toggle img {
        display: none;
    }

    .burger-toggle img.active {
        display: block;
    }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    header {
        height: auto;
        min-height: 100vh;
        padding-bottom: 180px;
    }

    body {
        overflow-x: hidden;
    }

    .navber {
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        gap: 10px;
    }

    .navber img {
        width: 35px;
        order: 1;
        flex-shrink: 0;
    }

    .center-nav {
        order: 2;
        display: none;
        gap: 6px;
        justify-content: center;
    }

    .center-nav a {
        font-size: 0.65rem;
        margin-left: 0;
    }

    .social {
        order: 3;
        display: flex;
        gap: 15px;
        flex-shrink: 0;
    }

    .social a {
        font-size: 1rem;
        margin-left: 0;
    }

    .text {
        position: relative;
        top: auto;
        left: auto;
        text-align: center;
        padding: 30px 15px;
        letter-spacing: 1px;
        margin-top: 30px;
    }

    .text h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .text p {
        width: 100%;
        margin: 0 auto 20px;
        max-width: 400px;
        font-size: 0.75rem;
    }

    .btn {
        display: inline-block;
        margin: 0 8px 20px 8px;
        position: relative;
        top: auto;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 0.9rem;
    }

    .burger {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 4px;
        padding: 10px;
        z-index: 5;
    }

    .burger img {
        width: 65px;
        height: 65px;
        margin-left: 0;
        margin: 3px;
        cursor: pointer;
    }

    .burger-toggle {
        position: fixed;
        bottom: 200px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        justify-content: center;
        padding: 5px;
        z-index: 20;
    }

    .burger-toggle img {
        position: relative;
        width: 300px;
        height: 300px;
        right: auto;
        top: auto;
        filter: none;
        animation: none;
    }

    .burger-toggle img {
        display: none;
    }

    .burger-toggle img.active {
        display: block;
    }
}

/* Extra small devices (max-width: 480px) */
@media (max-width: 480px) {
    header {
        height: auto;
        min-height: 100vh;
        padding-bottom: 200px;
    }

    body {
        overflow-x: hidden;
    }

    .navber {
        justify-content: space-between;
        align-items: center;
        padding: 8px 10px;
        gap: 5px;
        flex-wrap: nowrap;
    }

    .navber img {
        width: 30px;
        order: 1;
        flex-shrink: 0;
    }

    .center-nav {
        order: 2;
        display: flex;
        gap: 5px;
        min-width: 0;
        justify-content: center;
    }

    .center-nav a {
        font-size: 0.6rem;
        margin-left: 0;
    }

    .social {
        order: 3;
        display: flex;
        gap: 10px;
        flex-shrink: 0;
    }

    .social a {
        font-size: 0.9rem;
        margin-left: 0;
    }

    .text {
        position: relative;
        top: auto;
        left: auto;
        text-align: center;
        padding: 20px 10px;
        letter-spacing: 0.5px;
        margin-top: 20px;
    }

    .text h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .text p {
        width: 100%;
        margin: 0 auto 15px;
        max-width: 300px;
        font-size: 0.65rem;
    }

    .btn {
        display: block;
        width: 80%;
        margin: 10px auto;
        position: relative;
        top: auto;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 0.85rem;
    }

    .burger {
        position: fixed;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 2px;
        padding: 8px;
        z-index: 5;
        overflow-x: auto;
    }

    .burger img {
        width: 60px;
        height: 60px;
        margin-left: 0;
        margin: 2px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .burger-toggle {
        position: fixed;
        bottom: 170px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        justify-content: center;
        padding: 5px;
        z-index: 20;
    }

    .burger-toggle img {
        position: relative;
        width: 260px;
        height: 260px;
        right: auto;
        top: auto;
        filter: none;
        animation: none;
    }

    .burger-toggle img {
        display: none;
    }

    .burger-toggle img.active {
        display: block;
    }
}

