*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
}

body {
  background-color: rgb(77, 33, 33);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.6s ease, color 0.6s ease;
}

header{
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
    z-index: 1000;
}

.logo{
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s ease-in-out;
}

.logo:hover{
    transform: scale(1.1);
}

.nav-links{
    display: flex;
    gap: 2rem;
}

li a{
    position: relative;
    color: white;
    font-weight: 300;
}

li a::before{
    position: absolute;
    content: "";
    width: 0;
    left: 0;
    height: 3px;
    top: 25px;
    border-radius: 1rem;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgb(0,157,255), rgb(255,0,255));
}

li a:hover::before{
    width: 100%;
}

.visit-btn{
    padding: 0.8rem 1.5rem;
    border-radius: 3rem;
    border: none;
    font-weight: 500;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
    background: linear-gradient(to right, rgb(0,157,255), rgb(255,0,255));
}

.visit-btn:hover{
    background: linear-gradient(to right, rgb(255,0,255), rgb(0,157,255));
    transform: scale(1.03);
}


/* Fixed: matches id="menu-icon" in your HTML */
.menu-toggle{
    font-size: 1.8rem;
    display: none;
    color: white;
    cursor: pointer;
    background: transparent;
    border: none;
    line-height: 1;
}

.menu-toggle:hover {
    transform: scale(1.08);
}

section{
    min-height: 100vh;
    padding: 8rem 12%;
    width: 100%;
    position: relative;
}
.about{
    display: flex;
    align-items: center;
    justify-content: center;
}
.about .about-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
}
.about img{
    width: 30vw;
    border-radius: 30%;
}
.info-box{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.info-box h3{
    font-size: 2.0rem;
    font-weight: 500;
    opacity: 1.0rem;
}
.info-box h1{
    font-size: 4rem;
    font-weight: 600;
}
.info-box span{
    background: linear-gradient(to right, rgb(255,0,255), rgb(0,157,255));
    background-clip: text;
    color: transparent;
    font-size: 2rem;
}
.btn-group{
    display: flex;
    gap: 1rem;
}
.btn{
    border-radius: 3rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid black;
    cursor: pointer;
    font-weight: 500;
    text-wrap: nowrap;
    transition: 0.2s ease-in-out;
}
.btn:hover{
    color: black;
    color: white;
}
/* Projects Section */

.projects{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    color: black;
}

.section-title{
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
}

.projects-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.project-card{
    background-color: #f5f5f5;
    color: black;
    border-radius: 2rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: 0.3s ease-in-out;
}

.project-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.project-card img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 1.5rem;
}

.project-card h3{
    font-size: 1.8rem;
}

.project-card p{
    font-size: 1rem;
    line-height: 1.6;
}


.contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: black;
}

.contact-container{
    background: #f5f5f5;
    color: black;
    padding: 3rem;
    border-radius: 2rem;
    text-align: center;
    max-width: 600px;
}

.contact-info h3{
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p{
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}


footer{
    background-color: black;
    color: white;
    text-align: center;
    padding: 1.5rem;
}

/* =================================
   HOME | LANDING PAGE BUTTON
================================= */

.home-button-container{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:50px 0;

    background:transparent;

}


/* Button Design */

.home-btn{

    display:flex;

    justify-content:center;

    align-items:center;


    width:280px;

    height:65px;


    color:white;

    text-decoration:none;


    background:linear-gradient(
        135deg,
        rgb(0,157,255),
        rgb(255,0,255)
    );


    border-radius:50px;


    font-size:18px;

    font-weight:700;

    letter-spacing:1.5px;


    box-shadow:

    0 0 20px rgba(0,157,255,.5),

    0 0 40px rgba(255,0,255,.3);


    transition:.4s ease;

}


/* Hover */

.home-btn:hover{

    transform:translateY(-8px) scale(1.08);


    box-shadow:

    0 0 30px rgb(0,157,255),

    0 0 60px rgba(255,0,255,.7);


    color:white;

}


@media(max-width: 900px){
    .header{
        left: 1rem;
        right: 1rem;
        transform: none;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.8rem 1rem;
        width: auto;
    }

    .menu-toggle{
        display: block;
    }

    .nav-links{
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.95);
        border-radius: 1rem;
        display: none;
    }

    .nav-links.show{
        display: flex;
    }

    .projects-grid{
        grid-template-columns: 1fr;
    }

    .about .about-container{
        flex-direction: column;
        gap: 3rem;
    }

    .info-box h1{
        font-size: 3rem;
    }

}



