/* ==========================================
   NovaPortfolio Ultimate
   Developed by Mehak Azeem
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root{
    --primary:#00E5FF;
    --secondary:#7C3AED;
    --dark:#030712;
    --dark2:#0F172A;
    --white:#ffffff;
    --text:#CBD5E1;
    --border:rgba(255,255,255,.08);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Space Grotesk',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:linear-gradient(180deg,#030712,#081120,#030712);
    color:var(--white);
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

section{
    padding:100px 0;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:var(--primary);
    font-size:14px;
    letter-spacing:2px;
    font-weight:700;
    text-transform:uppercase;
}

.section-title h2{
    margin-top:12px;
    font-size:46px;
}

/* ===========================
Navbar
=========================== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    backdrop-filter:blur(15px);
    background:rgba(3,7,18,.9);
    border-bottom:1px solid var(--border);
}

.navbar{
    height:90px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:55px;
}

.logo h2{
    color:var(--primary);
    font-size:28px;
}

.nav-menu{
    display:flex;
    list-style:none;
    gap:30px;
}

.nav-menu a{
    color:white;
    font-weight:500;
    transition:.3s;
    position:relative;
}

.nav-menu a:hover{
    color:var(--primary);
}

.nav-menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:var(--primary);
    transition:.3s;
}

.nav-menu a:hover::after{
    width:100%;
}

.theme-btn{
    width:45px;
    height:45px;
    border-radius:50%;
    border:none;
    background:var(--dark2);
    color:var(--primary);
    cursor:pointer;
    transition:.4s;
    font-size:18px;
}

.theme-btn:hover{
    background:var(--primary);
    color:black;
    transform:rotate(180deg);
}

/* ===========================
Hero
=========================== */

.hero{
    padding-top:160px;
    min-height:100vh;
    display:flex;
    align-items:center;
}

.hero-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.hero-badge{
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    background:rgba(0,229,255,.12);
    border:1px solid rgba(0,229,255,.3);
    color:var(--primary);
    margin-bottom:25px;
}

.hero h1{
    font-size:70px;
    line-height:1.1;
    margin-bottom:20px;
}

.hero h1 span{
    color:var(--primary);
}

.hero h3{
    color:var(--text);
    font-size:24px;
    margin-bottom:25px;
}

.hero p{
    color:var(--text);
    line-height:1.9;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-bottom:40px;
}

.btn-primary,
.btn-secondary{
    padding:15px 30px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
}

.btn-primary{
    background:var(--primary);
    color:black;
}

.btn-primary:hover{
    transform:translateY(-5px);
    box-shadow:0 0 25px var(--primary);
}

.btn-secondary{
    border:2px solid var(--primary);
    color:white;
}

.btn-secondary:hover{
    background:var(--primary);
    color:black;
}

.hero-stats{
    display:flex;
    gap:35px;
}

.hero-stats h2{
    color:var(--primary);
    font-size:32px;
}

.hero-stats p{
    font-size:15px;
}

.hero-image{
    display:flex;
    justify-content:center;
}

.hero-image img{
    max-width:480px;
    animation:float 4s ease-in-out infinite;
}

@keyframes float{

0%{
transform:translateY(0);
}

50%{
transform:translateY(-18px);
}

100%{
transform:translateY(0);
}

} /* ==========================================
   ABOUT SECTION
========================================== */

.stats{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
margin-bottom:100px;
}

.stat-box{
background:#111827;
padding:35px;
border-radius:18px;
text-align:center;
border:1px solid rgba(255,255,255,.08);
transition:.4s;
}

.stat-box:hover{
transform:translateY(-10px);
box-shadow:0 0 25px rgba(0,229,255,.25);
border-color:var(--primary);
}

.stat-box h2{
font-size:42px;
color:var(--primary);
margin-bottom:10px;
}

.stat-box p{
color:var(--text);
}

.tech-stack{
margin-bottom:100px;
}

.tech-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
gap:25px;
}

.tech-card{
background:#111827;
padding:35px;
border-radius:18px;
text-align:center;
transition:.4s;
border:1px solid rgba(255,255,255,.08);
}

.tech-card:hover{
transform:translateY(-10px);
box-shadow:0 0 20px rgba(0,229,255,.25);
border-color:var(--primary);
}

.tech-card i{
font-size:50px;
color:var(--primary);
margin-bottom:20px;
}

.tech-card h3{
font-size:22px;
}

.about-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:center;
}

.about-image{
display:flex;
justify-content:center;
}

.about-image img{
width:360px;
border-radius:20px;
border:3px solid rgba(0,229,255,.2);
box-shadow:0 0 35px rgba(0,229,255,.2);
}

.about-text span{
color:var(--primary);
font-weight:700;
letter-spacing:2px;
}

.about-text h2{
font-size:45px;
margin:15px 0;
}

.about-text h3{
font-size:28px;
margin-bottom:20px;
}

.about-text p{
color:var(--text);
line-height:1.9;
margin-bottom:25px;
}

.about-info{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
}

.about-info div{
background:#111827;
padding:20px;
border-radius:15px;
border:1px solid rgba(255,255,255,.08);
}

.about-info strong{
color:var(--primary);
}

.about-info p{
margin-top:10px;
color:var(--text);
}

/* ==========================================
   SKILLS
========================================== */

.skills-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:25px;
}

.skill-card{
background:#111827;
padding:35px;
border-radius:20px;
text-align:center;
transition:.4s;
border:1px solid rgba(255,255,255,.08);
}

.skill-card:hover{
transform:translateY(-10px);
box-shadow:0 0 25px rgba(0,229,255,.25);
border-color:var(--primary);
}

.skill-card i{
font-size:50px;
color:var(--primary);
margin-bottom:20px;
}

.skill-card h3{
font-size:24px;
margin-bottom:15px;
}

.skill-card p{
color:var(--text);
line-height:1.8;
}

/* ==========================================
   PROJECTS
========================================== */

.project-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
gap:30px;
}

.project-card{
background:#111827;
border-radius:20px;
overflow:hidden;
transition:.4s;
border:1px solid rgba(255,255,255,.08);
}

.project-card:hover{
transform:translateY(-10px);
box-shadow:0 0 30px rgba(0,229,255,.25);
border-color:var(--primary);
}

.project-card img{
width:100%;
height:220px;
object-fit:cover;
}

.project-card h3{
padding:20px 25px 10px;
font-size:28px;
}

.project-card p{
padding:0 25px;
color:var(--text);
line-height:1.8;
min-height:90px;
}

.project-buttons{
display:flex;
gap:15px;
padding:25px;
}

.project-buttons a{
flex:1;
text-align:center;
padding:14px;
border-radius:10px;
font-weight:600;
transition:.3s;
}

.project-buttons a:first-child{
background:var(--primary);
color:black;
}

.project-buttons a:last-child{
border:2px solid var(--primary);
color:white;
}

.project-buttons a:hover{
transform:translateY(-4px);
}

.project-buttons a:last-child:hover{
background:var(--primary);
color:black;
}/* ==========================================
   GOALS SECTION
========================================== */

.goal-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.goal-card{
background:#111827;
padding:35px;
border-radius:20px;
text-align:center;
border:1px solid rgba(255,255,255,.08);
transition:.4s;
}

.goal-card:hover{
transform:translateY(-10px);
box-shadow:0 0 30px rgba(0,229,255,.25);
border-color:var(--primary);
}

.goal-card i{
font-size:50px;
color:var(--primary);
margin-bottom:20px;
}

.goal-card h3{
font-size:24px;
margin-bottom:15px;
}

.goal-card p{
color:var(--text);
line-height:1.8;
}

/* ==========================================
   CONTACT
========================================== */

.contact-form{
max-width:750px;
margin:auto;
display:flex;
flex-direction:column;
gap:20px;
}

.contact-form input,
.contact-form textarea{
padding:18px;
border-radius:12px;
background:#111827;
border:1px solid rgba(255,255,255,.08);
color:white;
font-size:16px;
outline:none;
transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
border-color:var(--primary);
box-shadow:0 0 15px rgba(0,229,255,.3);
}

.contact-form textarea{
resize:none;
}

.contact-form button{
padding:18px;
border:none;
border-radius:12px;
background:linear-gradient(90deg,#00E5FF,#7C3AED);
color:white;
font-size:18px;
font-weight:700;
cursor:pointer;
transition:.3s;
}

.contact-form button:hover{
transform:translateY(-5px);
box-shadow:0 0 25px rgba(0,229,255,.35);
}

/* ==========================================
   FOOTER
========================================== */

footer{
background:#020617;
padding:70px 20px;
margin-top:80px;
border-top:1px solid rgba(255,255,255,.08);
}

.footer-container{
text-align:center;
}

.footer-container img{
width:70px;
margin:auto;
margin-bottom:20px;
}

.footer-container h2{
color:var(--primary);
font-size:34px;
margin-bottom:15px;
}

.footer-container p{
color:var(--text);
margin:10px 0;
}

.social-icons{
display:flex;
justify-content:center;
gap:18px;
margin:30px 0;
}

.social-icons a{
width:55px;
height:55px;
display:flex;
align-items:center;
justify-content:center;
background:#111827;
border-radius:50%;
font-size:22px;
color:var(--primary);
transition:.3s;
}

.social-icons a:hover{
background:var(--primary);
color:black;
transform:translateY(-5px);
}

/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{
width:10px;
}

::-webkit-scrollbar-track{
background:#081120;
}

::-webkit-scrollbar-thumb{
background:var(--primary);
border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
background:#00b8d4;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

.hero-container,
.about-container{
grid-template-columns:1fr;
text-align:center;
}

.hero-buttons,
.hero-stats{
justify-content:center;
}

.about-info{
grid-template-columns:1fr 1fr;
}

.nav-menu{
display:none;
}

}

@media(max-width:768px){

.hero{
padding-top:140px;
}

.hero h1{
font-size:48px;
}

.hero h3{
font-size:20px;
}

.section-title h2{
font-size:34px;
}

.hero-buttons{
flex-direction:column;
}

.hero-stats{
flex-direction:column;
gap:20px;
}

.about-info{
grid-template-columns:1fr;
}

.project-buttons{
flex-direction:column;
}

.logo h2{
font-size:24px;
}

}

@media(max-width:480px){

.hero h1{
font-size:36px;
}

.hero p{
font-size:16px;
}

.logo img{
width:45px;
}

.logo h2{
font-size:20px;
}

.container{
width:94%;
}

section{
padding:80px 0;
}

.hero-image img{
max-width:300px;
}

}

/* ==========================================
   END
========================================== */