/* ==========================================
   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;
    scroll-behavior:smooth;
    font-family:'Space Grotesk',sans-serif;

}

body{

    background:linear-gradient(180deg,#030712,#081120,#030712);
    color:var(--white);
    overflow-x:hidden;

}

img{

    max-width:100%;
    display:block;

}

.container{

    width:90%;
    max-width:1250px;
    margin:auto;

}

section{

    padding:110px 0;

}

.section-title{

    text-align:center;
    margin-bottom:60px;

}

.section-title span{

    color:var(--primary);
    letter-spacing:3px;
    text-transform:uppercase;
    font-size:14px;
    font-weight:700;

}

.section-title h2{

    font-size:48px;
    margin-top:15px;

}

/* =========================
Navbar
========================= */

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    backdrop-filter:blur(20px);
    background:rgba(3,7,18,.85);
    border-bottom:1px solid rgba(255,255,255,.05);

}

.navbar{

    height:90px;
    display:flex;
    justify-content:space-between;
    align-items:center;

}

.logo{

    display:flex;
    align-items:center;
    gap:12px;

}

.logo img{

    width:55px;

}

.logo h2{

    color:var(--primary);
    font-size:30px;

}

.nav-menu{

    display:flex;
    gap:35px;
    list-style:none;

}

.nav-menu a{

    text-decoration:none;
    color:white;
    transition:.3s;
    font-weight:500;
    position:relative;

}

.nav-menu a::after{

    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:var(--primary);
    transition:.3s;

}

.nav-menu a:hover{

    color:var(--primary);

}

.nav-menu a:hover::after{

    width:100%;

}

.theme-btn{

    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:var(--dark2);
    color:var(--primary);
    cursor:pointer;
    font-size:20px;
    transition:.3s;

}

.theme-btn:hover{

    background:var(--primary);
    color:#000;
    transform:rotate(180deg);

}

/* =========================
Hero
========================= */

.hero{

    padding-top:170px;
    min-height:100vh;
    display:flex;
    align-items:center;

}

.hero-container{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;

}

.hero-badge{

    display:inline-block;
    padding:10px 20px;
    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:72px;
    margin-bottom:20px;
    line-height:1.1;

}

.hero h1 span{

    color:var(--primary);

}

.hero h3{

    font-size:24px;
    color:var(--text);
    margin-bottom:25px;

}

.hero p{

    color:var(--text);
    line-height:1.9;
    font-size:18px;
    margin-bottom:35px;

}

.hero-buttons{

    display:flex;
    gap:20px;
    margin-bottom:45px;

}

.btn-primary,
.btn-secondary{

    padding:16px 34px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;

}

.btn-primary{

    background:var(--primary);
    color:#000;

}

.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:#000;

}

.hero-stats{

    display:flex;
    gap:40px;

}

.hero-stats h2{

    color:var(--primary);
    font-size:34px;

}

.hero-stats p{

    margin-top:8px;
    font-size:15px;

}

.hero-image{

    display:flex;
    justify-content:center;

}

.hero-image img{

    max-width:520px;
    animation:float 4s ease-in-out infinite;

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0);

    }

}/* ==========================================
   ABOUT
========================================== */

.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,.25);
box-shadow:0 0 35px rgba(0,229,255,.25);

}

.about-text span{

color:var(--primary);
font-weight:700;
letter-spacing:2px;

}

.about-text h2{

font-size:46px;
margin:15px 0;

}

.about-text h3{

font-size:28px;
margin-bottom:20px;

}

.about-text p{

color:var(--text);
line-height:1.9;
margin-bottom:18px;

}

.about-info{

display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
margin-top:35px;

}

.about-info div{

background:rgba(255,255,255,.04);
padding:20px;
border-radius:15px;
border:1px solid rgba(255,255,255,.08);

}

.about-info strong{

color:var(--primary);

}

/* ==========================================
   SKILLS
========================================== */

.skills-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
gap:25px;

}

.skill-card{

background:rgba(255,255,255,.04);
backdrop-filter:blur(20px);
border:1px solid rgba(255,255,255,.08);
padding:35px;
text-align:center;
border-radius:20px;
transition:.4s;

}

.skill-card:hover{

transform:translateY(-10px);
border-color:var(--primary);
box-shadow:0 0 30px rgba(0,229,255,.25);

}

.skill-card i{

font-size:48px;
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(320px,1fr));
gap:30px;

}

.project-card{

background:rgba(255,255,255,.04);
border:1px solid rgba(255,255,255,.08);
border-radius:22px;
overflow:hidden;
transition:.4s;

}

.project-card:hover{

transform:translateY(-10px);
box-shadow:0 0 30px rgba(0,229,255,.25);

}

.project-card img{

width:100%;
height:220px;
object-fit:cover;

}

.project-card h3{

font-size:28px;
padding:25px 25px 10px;

}

.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;
text-decoration:none;
font-weight:700;
transition:.3s;

}

.project-buttons a:first-child{

background:var(--primary);
color:#000;

}

.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:#000;

}/* ==========================================
   GOALS SECTION
========================================== */

.goal-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;

}

.goal-card{

background:rgba(255,255,255,.04);
backdrop-filter:blur(20px);
border:1px solid rgba(255,255,255,.08);
padding:35px;
border-radius:20px;
text-align:center;
transition:.4s;

}

.goal-card:hover{

transform:translateY(-10px);
border-color:var(--primary);
box-shadow:0 0 30px rgba(0,229,255,.25);

}

.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;
background:#111827;
color:white;
border:1px solid rgba(255,255,255,.08);
border-radius:12px;
outline:none;
font-size:16px;
transition:.3s;

}

.contact-form input:focus,
.contact-form textarea:focus{

border-color:var(--primary);
box-shadow:0 0 15px rgba(0,229,255,.25);

}

.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{

margin-top:80px;
background:#020617;
padding:70px 20px;
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{

font-size:34px;
color:var(--primary);
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;
justify-content:center;
align-items:center;
border-radius:50%;
background:#111827;
color:var(--primary);
font-size:22px;
text-decoration:none;
transition:.3s;

}

.social-icons a:hover{

background:var(--primary);
color:#000;
transform:translateY(-5px);

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

.hero-container,
.about-container{

grid-template-columns:1fr;
text-align:center;

}

.hero-buttons,
.hero-stats{

justify-content:center;

}

.nav-menu{

display:none;

}

.about-info{

grid-template-columns:1fr 1fr;

}

}

@media(max-width:768px){

.hero h1{

font-size:48px;

}

.hero h3{

font-size:20px;

}

.section-title h2{

font-size:36px;

}

.hero-buttons{

flex-direction:column;

}

.hero-stats{

flex-direction:column;
gap:20px;

}

.about-info{

grid-template-columns:1fr;

}

.project-buttons{

flex-direction:column;

}

}

@media(max-width:480px){

.hero{

padding-top:140px;

}

.hero h1{

font-size:36px;

}

.logo h2{

font-size:22px;

}

.logo img{

width:45px;

}

section{

padding:80px 0;

}

.container{

width:94%;

}

}