*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Share Tech Mono", monospace;
}

body{
    color:#00ffff;
    padding-top:90px;
    line-height: 1.4;
    background-image: linear-gradient(rgba(15, 23, 42, 0.85)), url('/mols_image/mols_backgroundimage.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

}

a{
    text-decoration:none;
    color:#00ffff;
}

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background-color:rgba(28,28,57,1);
    border-bottom:3px solid #00ffff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 40px;
    z-index:100;
}

.header-title span{
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
}

.nav-menu ul{
    display:flex;
    align-items:center;
    gap:25px;
    list-style:none;
}

.nav-menu ul li a{
    transition:.3s;
    font-family:  'Times New Roman', Times, serif;
}

.nav-menu ul li a:hover{
    color:#ffffff;
    background:#0a8686;
}

.section-container{
    max-width:1000px;
    margin:60px auto;
    padding:40px 20px;
    border-left:3px solid #00ffff;
}

.section-title{
    font-size:2rem;
    margin-bottom:30px;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

#home{
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border-left: 3px solid #00ffff;
}

.home-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
}

.home-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.home-profile{
    width:320px;
    height:420px;
    object-fit:cover;
    border:none;
}

#about{
    scroll-margin-top: 100px;
}

#projects{
    scroll-margin-top: 100px;
}

#contact{
    scroll-margin-top: 100px;
}

.contact-link{
    text-decoration: underline;
}

.contact-link:hover{
    color: #ffffff;
}

.bio-text{
    font-size:1.1rem;
    line-height:1.8;
    text-align: center;
}

.hero-title {
    text-align: center;
    margin-bottom: 30px;
}

.main-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #00ffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
    line-height: 1.1;
    font-family: 'Times New Roman', Times, serif;
}

.sub-heading {
    font-size: 1.2rem;
    color: #0bf3f3;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-top: 0;
}

.matrix-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
}

.project-card{
    background:#111827;
    border:1px solid rgba(0,255,255,.25);
    border-radius:8px;
    padding:20px;
    transition:.3s;
}

.project-card:hover{
    border-color:#00ffff;
    box-shadow:0 5px 15px rgba(0,255,255,.15);
}

.project-card h3{
    margin-bottom:12px;
}

.project-desc{
    margin-bottom:20px;
    line-height:1.6;
}

.inspect-btn{
    width:100%;
    padding:10px;
    border:none;
    background:#124040;
    color:#00ffff;
    cursor:pointer;
    font-size:15px;
    border-radius:5px;
    transition:.3s;
}

.inspect-btn:hover{
    background:#00ffff;
    color:#0a0a12;
    font-weight:bold;
}

.project-details{
    display:none;
    margin-top:20px;
    padding-top:15px;
    border-top:1px solid rgba(0,255,255,.2);
    animation:fade .4s ease;
}

.project-details.show{
    display:block;
}

.project-details p{
    margin-bottom:10px;
    line-height:1.5;
}

.view-btn{

    margin-top:15px;
    padding:10px 15px;
    background:#00ffff;
    color:#0a0a12;
    border-radius:5px;
    transition:.3s;
}

.view-btn:hover{
    background:#ffffff;
}

.contact-wrapper{
    padding:30px;
    border:1px solid rgba(0,255,255,.25);
    border-radius:6px;
}

footer{
    text-align:center;
    padding:20px;
    border-top:1px solid rgba(0,255,255,.2);
    margin-top:60px;
    background-color: rgba(28,28,57,1);
}

@keyframes fade{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@media (max-width: 992px){

    .header{
        padding:20px;
        flex-direction:row;
        gap:15px;
    }

    .nav-menu ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .home-content{
        flex-direction:column;
        text-align:center;
        gap:30px;
    }

    .hero-title{
        text-align:center;
    }

    .home-profile{
        width:260px;
        height:340px;
    }

    .section-container{
        margin:40px 20px;
        padding:30px 20px;
    }

    .matrix-grid{
        grid-template-columns:1fr;
    }

    .bio-text{
        text-align:justify;
    }
}

@media (max-width:768px){

    body{
        padding-top:120px;
    }

    .header{
        padding:15px;
    }

    .header-title span{
        font-size:1rem;
    }

    .nav-menu ul{
        gap:12px;
    }

    .nav-menu ul a{
        font-size:.9rem;
    }

    .section-title{
        font-size:1.8rem;
    }

    .main-heading{
        font-size:2.2rem;
    }

    .sub-heading{
        font-size:1rem;
    }

    .home-profile{
        width:220px;
        height:300px;
    }

    .project-card{
        padding:18px;
    }

    .contact-wrapper{
        padding:20px;
    }

    footer{
        padding:15px;
        font-size:.8rem;
    }
}

@media (max-width:480px){

    body{
        padding-top:150px;
    }

    .header{
        flex-direction:column;
        align-items:center;
        gap:10px;
    }

    .header-title span{
        font-size:.9rem;
    }

    .nav-menu ul{
        flex-direction:row;
        gap:12px;
    }

    .nav-menu ul a{
        font-size:.85rem;
    }

    .section-container{
        margin:20px 10px;
        padding:20px 15px;
    }

    .section-title{
        font-size:1.5rem;
    }

    .main-heading{
        font-size:1.8rem;
    }

    .sub-heading{
        font-size:.9rem;
    }

    .home-profile{
        width:180px;
        height:240px;
    }

    .bio-text{
        font-size:.95rem;
        line-height:1.7;
    }

    .project-card{
        padding:15px;
    }

    .inspect-btn,
    .view-btn{
        width:100%;
        text-align:center;
    }

    .contact-wrapper{
        padding:15px;
    }

    footer{
        font-size:.7rem;
        line-height:1.5;
    }
}