* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}

body,
html {
    background-color: white;
    width: 100vw;
    padding: 0;
    margin: 0;
    height: auto;
    scroll-behavior: smooth;
    overflow-x: hidden;
}



.social-icons {
    position: absolute;
    top: 50%;
    left: 1%;
    transform: translate(-50%, -50%);
    width: 8vh;
    display: flex;
    flex-direction: column;
    row-gap: 3px;

}

.social-icons span {
    padding: 2px;
    cursor: pointer;
    width: 7vh;
    height: 7vh;
    text-align: center;
    background-color: rgba(0, 191, 255, 0.664);
    border-radius: 10px;
    color: white;
    display: flex;
}

.social-icons span img {
    margin: auto;
}

.nav {
    background-color: aliceblue;
    height: 13vh;
    display: flex;
    align-items: center;
    padding: 10px 50px;
    justify-content: space-between;

}




.nav span {
    cursor: pointer;
    background-color: rgba(0, 191, 255, 0.664);
    width: 7vh;
    height: 7vh;
    display: flex;

    border-radius: 50%;
    padding: 2px;
}

.nav span:hover {
    scale: 1.1;
    transition: ease-in-out 0.4s;
}

.nav span img {
    margin: auto;
    height: 6vh;
    width: 6vh;
}




.page {
    scroll-snap-align: center;
    display: flex;
    justify-content: space-between;
    gap: 25px;


}

.nav .page a {
    transition: ease 0.3s;
    text-decoration: none;
    text-transform: uppercase;
    color: #000;
    font-size: 17px;
}

.nav .page a:hover {
    color: #6ecfeab0;
}

.nav i {

    position: absolute;
    display: none;
    right: 2vw;


}
.nav i img{
    width: 40px;
}

/* Sidebar initial hidden state */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  background: #d6e8e9;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 999;
/* Stronger glass effect */
    background-color: rgba(255, 255, 255, 0.3); /* More opaque */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* Safari fix */
  
}

/* Sidebar visible state */
.sidebar.active {
  transform: translateX(0);
  opacity: 1;
}

/* Sidebar links */
.nav .sidebar a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  margin: 15px 0 15px 0;
  
  font-size: 18px;
  
  text-align: center;
}



.sidebar a {
    text-decoration: none;
    margin-right: 20px;
    color: #000;
    font-size: 20px;
    
}

.sidebar a:hover {
    color: #6ecfeab0;
}
#hidebar{
    
    position: absolute;
    right: 18px;
    top: 28px;
    z-index: 2;
}

.content {
    
    height: 90vh;
    display: flex;
    flex-direction: column;
    width: 100vw;
    align-items: center;
    justify-content: center;
    row-gap: 5vh;

}

.content h2 {
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 3px;
    font-weight: 800;
    font-size: 50px;
    color: #060505e5;
    width: 80%;
    
}


.content p {
    font-size: 20px;
    text-align: center;
    width: 55%;
    color: #0000008a;
}

.content button {
    padding: 20px 65px;
    font-size: 25px;
    cursor: pointer;
    border-radius: 6px;
    color: rgb(255, 255, 255);
    background-color: #6ecfeab0;
    border-color: transparent;
    
}

.content button:hover {
    background-color: aliceblue;
    color: #6ecfeae0;

    letter-spacing: 3px;
}

.container2 h2 {
    margin: 2vh 0;
    text-align: center;
    text-transform: uppercase;

    letter-spacing: 3px;
    font-weight: 600;
    font-size: 40px;
    color: #060505df;


}

.container2 {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 25px;
    align-items: center;
    margin-top: 10vh;
    scroll-snap-align: center;
}

.container2>p {
    font-size: 18px;
    letter-spacing: 1px;
    text-align: center;
    width: 70%;
    color: #0000008a;
    margin-bottom: 10vh;
}

.info {
    display: flex;
    flex-direction: row;
}

.info .intro {
    width: 50%;
    padding: 10vh;
}

.info .intro h3 {
    font-size: 30px;
    margin-bottom: 3vh;
    color: #000;
}

.info .intro p {
    text-align: left;
    letter-spacing: 1px;
    line-height: 25px;
    color: #000000be;

}

.info .intro button {
    padding: 8px 16px;
    border-radius: 8px;
    border-color: transparent;
    cursor: pointer;
    background-color: #6ecfeab0;
    color: rgb(255, 255, 255);
    margin-top: 2vh;
    width: 180px;
    font-size: 18px;
}

.intro button:hover {
    background-color: aliceblue;
    color: #6ecfead2;
    transition: all 0.5s;
    letter-spacing: 3px;
}

.info .skills {
    width: 50%;
    height: 55vh;
    padding: 10vh;
    display: flex;
    flex-wrap: wrap;
    gap: 2vh;


}

.info .skills li {

    display: flex;
    align-items: center;
    background-color: #6ecfea45;
    color: rgb(78, 82, 86);
    border-radius: 6px;

    width: fit-content;
    list-style: none;
    height: 7vh;
    padding: 0px 20px;
    transition: all 0.3s;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 2px;

}

.info .skills li:hover {
    transform: scale(1.15);
    background-color: #6ecfea80;
    box-shadow: 0px 4px 12px rgba(110, 207, 234, 0.6);
    transition: all 0.3s ease;
}
.intro button:hover {
    transform: scale(1.05);
    background-color: #5cbfd4;
    color: #fff;
    box-shadow: 0 5px 15px rgba(110, 207, 234, 0.6);
}

.container3 {
    padding: 10vh;
    
    margin: auto;
}

.container3 h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #222;
}

.container3 .projects {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.container3 .projects .project-card {
    padding: 5px;
    display: flex;
    flex-direction: column;
    width: 400px;
    gap: 20px;
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container3 .projects .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.container3 .projects .project-card .left {
    flex: 1;
    min-height: 250px;
}

.container3 .projects .project-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.container3 .projects .project-card .right {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container3 .projects .project-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #111;
}

.container3 .projects .project-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.project-card .right .project-btn {
    display: inline-block;
    background: #0078ff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.project-card .right .project-btn:hover {
    background: #005fcc;
}

/* Responsive */
@media (max-width: 768px) {
    .container3{
        padding: 5px;
    }
    .container3 h2{
        margin-bottom: 20px;
        padding: 0;
    }
    .container3 .projects{
        padding: 0;
        margin: 0;
    }
    .container3 .projects .project-card {
        flex-direction: column;
    }
    .project-card .left,
    .project-card .right {
        flex: unset;
        width: 100%;
    }
    .project-card iframe {
        min-height: 200px;
        width: 100%;
    }
}

.container4 {
    height: auto;
    width: 100vw;
    padding: 10vh;
    margin-bottom: 15vh;
}

.container4>h2 {
    margin-bottom: 7vh;
}

.container4 .contact {
    display: flex;
    flex-direction: row;
    height: 80vh;
    gap: 5vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-radius: 10px;

}

.container4 .contact .left {
    width: 50%;
    height: auto;
    padding: 2vh;
    display: flex;
}

.contact .left img {
    margin: auto;
    width: 70%;
    border-radius: 50%;
}

.container4 .contact .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    padding: 2vh;
    height: auto;


}

.container4 #fname,
#lname,
#number,
#email {
    padding: 18px;
    margin: 12px;
    width: 90%;
}

.right button {
    margin-left: 17px;
    padding: 8px 16px;
    border-radius: 8px;
    border-color: transparent;
    cursor: pointer;
    background-color: #6ecfeab0;
    color: rgb(255, 255, 255);
    margin-top: 2vh;
    box-shadow: 5px 10px 5px rgba(75, 101, 181, 0.334);
    width: 180px;
    font-size: 18px;
}

.right button:hover {
    background-color: aliceblue;
    color: #6ecfead2;
    transition: all 0.5s;
    letter-spacing: 3px;
}

.container4 input {
    padding: 5px;
    color: #0000004b;
    background-color: #eae2e26d;
    border-radius: 12px;

    border-color: transparent;
    height: 5vh;
    outline: none;
}

.container4 .contact textarea {
    outline: none;
    border-radius: 12px;
    border-color: transparent;
    padding: 18px;
    margin: 12px;
    width: 90%;
    background-color: #eae2e26d;

}

footer {
    display: flex;
    padding: 10vh;

    overflow: hidden;
    justify-content: space-between;
    height: auto;
    color: white;
    background-color: #6ecfeae0;

    border-radius: 30px 30px 0 0;
}

footer .quick-links,
.social-medias,
.contact,
.footer-about {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 2px;



}

footer p {

    letter-spacing: 1.5px;
}

footer h3 {
    text-decoration: underline;
    margin-bottom: 1vh;
}

footer a {
    width: auto;
    text-decoration: none;
    color: white;
}

footer a:hover {
    color: #350d0d66;
    transition: all 0.5s;
    scale: 1.1;
}

footer .contact a {
    word-wrap: break-word;
}



@media screen and (max-width: 1024px) {
    .container2 h2 {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .info .intro p {
        letter-spacing: 0;
        line-height: normal;
        font-size: 14px;
    }

    .info .intro {
        padding: 10vh 5vh;
    }

    .info .skills {
        padding: 10vh 5vh;

    }

    .info .skills li {
        margin: 1vh;
    }

    .info .skills li:hover {
        scale: 1.1;
    }

    .projects .project1,
    .project2,
    .project3 {
        width: 85%;
        margin: auto;
        margin-right: auto;
    }

    .projects .right p {
        line-height: 24px;
    }

    footer {
        gap: 1vh;
    }

    footer .quick-links,
    .social-medias,
    .contact,
    .footer-about {
        width: 25%;

    }

    footer p {
        letter-spacing: 0.3px;
    }

    footer a:hover {
        scale: 1.02;
    }
}

@media screen and (max-width: 768px) {

    
    .page{
        display: none;
    }

    .nav {
        padding: 20px;
        margin: 0;
    }

    .nav i {
        cursor: pointer;
        display: block;
    }

    .content>h2 {
        font-size: 30px;
    }

    .content p {
        font-size: 15px;
    }

    .content button {
        padding: 15px 45px;
    }

    .container2 h2 {
        font-size: 25px;
        font-weight: 700;
    }

    .container2>p {
        font-size: 15px;
    }

    .info {
        flex-direction: column;
    }

    .info .intro {
        width: 100%;
        padding: 0 10vh;
    }

    .info .intro p {
        line-height: 20px;
    }

    .info .skills {
        height: auto;
        padding: 10vh;
        width: 100%;

    }

    .container3>h2,
    .container4>h2 {
        font-size: 25px;
        font-weight: 700;
    }

    .projects .project1,
    .project2,
    .project3 {
        flex-direction: column;
        padding: 0;

    }

    .projects .right {
        width: 100%;

    }

    .projects .left {
        width: 100%;
        padding: 0;
    }

    .projects .right p {
        letter-spacing: 1px;
    }

    .projects .right h3 {
        font-size: 25px;
        letter-spacing: 2px;
    }

    .container4 {
        height: auto;
    }

    .container4 .contact {
        flex-direction: column;
        height: auto;
        width: 70%;
        margin: auto;
        gap: 0;

    }

    .container4 .contact .left,
    .container4 .contact .right {
        width: 100%;

    }

    .container4 .contact {
        width: 80%;

    }

    .contact .left img {
        width: 30%;
    }

    .container4 #fname,
    #lname,
    #number,
    #email,
    .container4 .contact textarea {
        width: 95%;

        padding: 18px;
        margin: 4px;
        width: 90%;

    }

    .right button {
        margin-left: 17px;
        padding: 6px 12px;
        border-radius: 8px;
        border-color: transparent;
        cursor: pointer;
        background-color: #6ecfeab0;
        color: rgb(255, 255, 255);
        margin-top: 2vh;
        box-shadow: 5px 10px 5px rgba(75, 101, 181, 0.334);
        width: 180px;
        font-size: 18px;
    }

    footer {
        flex-wrap: wrap;
        row-gap: 5vh;
    }

    footer h3 {
        letter-spacing: 1.5px;
    }

    footer .quick-links,
    .social-medias,
    .contact,
    .footer-about {
        width: 90vw;
        text-align: center;
    }

    footer p {
        letter-spacing: 1.5px;
    }

    footer a {
        letter-spacing: 1.5px;
    }
}

@media screen and (max-width: 700px) {
    .container2 {
        width: 100vw;
        padding: 0;
        margin: 0;
    }

    .container2 .intro {

        padding: 5vw;
    }

    .container2 .skills {
        padding: 5vw;
        gap: 0;

    }

    .container4 .contact {
        width: 100%;

    }

}

@media screen and (max-width: 600px) {
    .contact .left img {
        width: 50%;
    }
}

@media screen and (max-width: 430px) {
    .nav {
        height: 10vh;
        padding: 5px 10px;
    }

    .sidebar{
        width: 100vw;
    }
    footer .quick-links,
    .social-medias,
    .contact,
    .footer-about {
        text-align: left;

    }

    .content>h2 {
        margin-top: -5vh;
        font-size: 24px;
        width: 80%;
    }

    .content>p {
        font-size: 12px;
        width: 80%;
    }

    .content button {
        padding: 5px 10px;
        font-size: 15px;
    }

    .container2 {
        padding: 5px;
        margin-top: 5vh;

    }

    .container2 h2 {
        font-size: 17px;
        font-weight: 750;
    }

    .container2 p {
        padding: 0;
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .info .intro {
        padding: 0px 4vh;
    }

    .info .intro h3 {
        font-size: 18px;
    }

    .info .intro p {
        font-size: 12px;
        line-height: normal;
    }

    .info .intro button {
        padding: 4px;
        width: 150px;
        font-size: 15px;
    }

    .info .skills {
        padding: 3vh;
    }

    .info .skills li {
        font-size: 14px;
        letter-spacing: 0.5px;
        padding: 0 10px;
        height: 5vh;

    }

    .container3>h2 {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .projects {
        margin: 10vh 0;
        gap: 25vh;
    }

    .projects .project1,
    .project2,
    .project3 {
        width: 81%;
        padding: 0px;

    }

    .projects .left {
        padding: 1vh;
        width: 100%;
    }

    .projects .right {
        padding: 1vh;
    }

    .projects .right h3 {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .projects .right p {
        letter-spacing: 0.5px;
        line-height: 18px;
        font-size: 12px;
    }

    .container4 {
        padding: 3vw;
    }

    .container4 .contact {
        padding: 3vw;
    }

    .container4 #fname,
    #lname,
    #number,
    #email,
    .container4 .contact textarea {
        width: 100%;

        padding: 15px;
        margin: 4px;


    }

    .container4 .contact .right button {
        padding: 2px 15px;
        margin: auto;
        width: auto;
    }

    footer {
        padding: 7vh;
    }

    footer h3 {
        font-size: 15px;
    }

    footer p {
        letter-spacing: 0.8px;
        font-size: 12px;
    }

    footer a {
        letter-spacing: 0.5px;
        font-size: 15px;
    }

    footer .contact a {
        font-size: 12px;
    }
}