@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family:  "inter", "anton";
    box-sizing: border-box;
}
body{
    background-color: black;
    color: white;
}
hr{
   border: none;
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.1),
        inset 0 0 4px rgba(255, 255, 255, 0.15);
}
.navbar{
   position: fixed;
    height:60px;
    left: 50%;
    transform:translateX(-50%);
    width:min(90%,1200px);
    top: 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 40px;
    box-sizing:border-box;
    border-radius: 10px;
    background:rgba(34, 34, 34, 0.6);
    z-index: 100;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(12px); /* Safari */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.navbar:hover{
    box-shadow:
        0 0 15px rgba(255, 253, 255, 0.5),
        0 0 35px rgba(168, 167, 168, 0.2);
    
}
.logo a{
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}
.nav-links{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.nav-links a{
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: .3s;
}
.nav-links a:hover,
.nav-links a.active{
    color: #ff00ff;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8); /* Dark overlay */
}
.home{
    position: relative;
    height: 100vh;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
}
.home h1{
    font-size: 90px;
}
.intro-line{
    font-size: 23px;
}
.home-content-left{
    z-index: 2;
}
.home-content-right{
    z-index: 2;
}

.bg-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -2;
}
#about{
    position: relative;
    width:100%;
    min-height:100vh;
    padding:120px 10%;
    display:flex;
    justify-content:space-evenly;
    align-items:center;
    background-image: url("../src/images/about-bg.jpg");
    background-size: cover;
}
#about::before{
    content: "";
    position:absolute;
    inset:0;

    background:rgba(0,0,0,.6);

    z-index:0;
}
.about-container{
    width:100%;
    max-width:900px;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.about-heading{
    position: relative;
    color:white;
    font-size:70px;
    margin-bottom:60px;
    letter-spacing:3px;
}


.about-card{
    margin-top:45px;
    width:100%;
    padding:45px;

    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-radius:22px;

    box-shadow:
        0 8px 32px rgba(0,0,0,.35),
        inset 0 1px 1px rgba(255,255,255,.08);

    transition:.35s ease;
}

.about-card:hover{
    border-color:rgba(255,255,255,.2);
    background:rgba(255,255,255,.08);
}

.about-card p{
    color:rgba(255,255,255,.82);
    font-size:1.08rem;
    line-height:1.9;
    text-align:center;
}

.about-card p:first-child{
    margin-bottom:28px;
}

#projects{
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: rgb(0, 0, 0);

    background-image: url(../src/images/projects-bg.jpeg);
    background-size :cover;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background-position: center;
    /* padding:80px 0; */

    overflow:hidden;
    color: white;
}
#projects::before{

    content:"";

    position:absolute;
    inset:0;

    background:rgba(0,0,0,.8);

    z-index:0;
}

#projects > *{

    position:relative;
    z-index:1;
}

.project-heading{
    color:white;
    font-size:70px;
    margin-bottom:60px;
    letter-spacing:1px;
}

.project-carousel{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 100;
}

.cards{
    position: relative;
    display: flex;
    gap:40px;
    align-items: center;
    justify-content: center;
    z-index: 100;
}
.card{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(0, 0, 0);
    border-radius: 20px;
     backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); 
    /* opacity: .6; */
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    background-size:cover;
    background-position:center;
    overflow: hidden;

    z-index: 100;
}
.project-content{
    position: relative;
    z-index: 1000000;
}
.project-image img{

    width:100%;
    height:100%;

    object-fit:cover;
}
.left-card{
    width:220px;
    height:330px;
}
.center-card{
    width:320px;
    height:450px;
    box-shadow:
        0 0 15px rgba(255, 253, 255, 0.5),
        0 0 35px rgba(168, 167, 168, 0.2);
}
.right-card{
    width:220px;
    height:330px;
}

#githubBtn1{
    display: inline-flex;
    justify-content:center;
    align-items:center;

    padding:16px 40px;
    margin-top: 30px;
    
    text-decoration: none;

    font-size:20px;
    font-weight:600;
    color:white;

     border:2px solid rgba(255,255,255,.2);
    border-radius:50px;

    background:rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    cursor:pointer;

    transition:all .3s ease;
}
#githubBtn:hover{

    background:rgba(255,255,255,.15);

    border-color:#ffffff;

    box-shadow:
        0 0 15px rgba(255, 253, 255, 0.5),
        0 0 35px rgba(168, 167, 168, 0.2);

    transform:scale(1.09);
}

#contact{
    width: 100%;
    position: relative;
    height: 100vh;

}
.contact-container{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* gap : 20px */
}

.contact-info{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* top: 50%; */
    padding-inline:80px;
}

.contact-left p{
    justify-self: center;
    margin-top: 10px;
    font-style: italic;
}
.contact-left,
.contact-right{
    flex: 1;
}

.contact-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:rgba(255, 255, 255, 0.08);
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Safari */

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    height: 500px;
    gap: 20px;
    border-radius: 20px;
}
.contact-form input{
    width: 50%;
    padding: 16px 20px;

    border: none;
    outline: none;
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1rem;

    margin-bottom: 25px;
}

.contact-form textarea{
   width: 50%;
    padding: 16px 20px;

    border: none;
    outline: none;
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1rem;

    margin-bottom: 25px;
    resize: none;
}
.contact-form button{
    height: 40px;
    width: 150px;
    border-style: none;
}
.contact-form > *{
    border-radius: 15px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color: rgba(255,255,255,0.65);
}

.contact-right{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* gap: 50px; */
}

.social-cards{
    /* display: flex; */
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   grid-template-rows: auto;
   column-gap: 50px;
   row-gap: 50px;
}

.social-cards > *:hover{
    transform: scale(1.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

#footer{
    height: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0e0e0e;

}



@media (max-width :900px) {
    section{
        box-sizing: border-box;
        overflow: hidden;
    }
    .navbar{
        padding: 0 25px;
    }
    .logo a{
        font-size: 1.6rem;
    }
    .nav-links{
        gap : 20px;
        display: none;
    }
    .nav-links a{
        font-size: 18px;
    }
    .home{
        position: relative;
        width:min(1200px, 100%);
        flex-direction: column-reverse;
        box-sizing: border-box;
        padding: 0 20px;
        gap: 50px;
    }
    .home h1{
        font-size: 40px;
    }
    .intro-line{
        font-size: 20px;
        align-self: center;
        justify-self: center;
    }
    .home-content-left{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }
    .home-content-right img{
        width: 250px;
    }
    #projects{
        width: min(1200px, 100%);
        gap: 0px;
    }
    .project-heading{
        font-size: 40px;
        
    }
    .project-carousel{
        width: 100%;
    }

    .left-card{
        display: none;
    }
    .center-card{
        width:220px;
        height:350px;
        box-shadow:
            0 0 15px rgba(255, 253, 255, 0.5),
            0 0 35px rgba(168, 167, 168, 0.2);
    }
    .right-card{
        display: none;
    }
    #githubBtn1{
        scale: .8;
    }
    #contact{
        width: min(1200px, 100%);
        height: fit-content;
    }
    .contact-container{
        gap: space-between;
    }
    .contact-container p {
        font-size: 13px;
        
    }
    .contact-container h1 {
        margin: 20px 0px;
        
    }
    .contact-container h2 {
        font-size: 23px;
        margin: 15px 0px;
        
    }

    .contact-info{
        flex-direction: column;
    }
    .contact-form{
        height: fit-content;
        width: 350px;
        padding:20px 0px;
        gap: 10px;
    }
    .contact-form input{
        width: 75%;
        height: 44px;
        padding: 15px;
        margin-bottom: 0px;
    }
    .contact-form textarea{
        width: 75%;
        margin-bottom: 0px;
    }
    .contact-right{
        gap: 20px;
    }
    .social-cards{
        column-gap: 20px;
        row-gap: 20px;
        margin: 0px 0px 25px 0px;
    }
    .social-cards a img{
        width: 35px;
    }
    #footer{
        font-size: 13px;
    }

    
}