/* =========================
   MAJID KHAN PORTFOLIO
   APPLE INSPIRED PREMIUM UI
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

:root{
    --bg:#050505;
    --card:#101010;
    --card2:#161616;
    --text:#ffffff;
    --secondary:#b5b5b5;
    --accent:#4da3ff;
    --border:rgba(255,255,255,0.08);
}

body{
    background:var(--bg);
    color:var(--text);
    font-family:'Inter',sans-serif;
    overflow-x:hidden;
}

/* =========================
   BACKGROUND EFFECTS
========================= */

.bg-blur{
    position:fixed;
    border-radius:50%;
    filter:blur(140px);
    z-index:-1;
}

.bg-1{
    width:350px;
    height:350px;
    background:#005eff;
    opacity:.12;
    top:-100px;
    left:-100px;
}

.bg-2{
    width:350px;
    height:350px;
    background:#00d4ff;
    opacity:.08;
    bottom:-100px;
    right:-100px;
}

/* =========================
   HEADER
========================= */

.header{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:24px 8%;
    position:sticky;
    top:0;
    backdrop-filter:blur(25px);
    background:rgba(5,5,5,.75);
    border-bottom:1px solid var(--border);
    z-index:999;
}

.logo{
    font-size:28px;
    font-weight:800;
    letter-spacing:2px;
}

.navbar{
    display:flex;
    gap:30px;
}

.navbar a{
    color:white;
    text-decoration:none;
    font-size:15px;
    transition:.3s;
}

.navbar a:hover{
    color:var(--accent);
}

/* =========================
   HERO SECTION
========================= */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:80px;
    padding:80px 8%;
}

.hero-content{
    flex:1;
}

.badge{
    display:inline-block;
    padding:10px 18px;
    background:rgba(255,255,255,.06);
    border:1px solid var(--border);
    border-radius:999px;
    margin-bottom:24px;
    font-size:14px;
}

.hero h1{
    font-size:72px;
    line-height:1;
    margin-bottom:15px;
}

.hero h2{
    font-size:34px;
    color:var(--accent);
    margin-bottom:25px;
    min-height:45px;
}

.hero p{
    color:var(--secondary);
    font-size:20px;
    line-height:1.8;
    max-width:700px;
}

.hero-buttons{
    margin-top:35px;
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.btn-primary{
    text-decoration:none;
    background:white;
    color:black;
    padding:16px 28px;
    border-radius:14px;
    font-weight:700;
    border:none;
    cursor:pointer;
    transition:.3s;
}

.btn-primary:hover{
    transform:translateY(-3px);
}

.btn-secondary{
    text-decoration:none;
    color:white;
    padding:16px 28px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.2);
    transition:.3s;
}

.btn-secondary:hover{
    background:rgba(255,255,255,.06);
}

/* =========================
   PROFILE IMAGE
========================= */

.hero-image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.profile-ring{
    width:320px;
    height:320px;
    border-radius:50%;
    padding:8px;
    background:linear-gradient(
    135deg,
    #ffffff,
    #4da3ff
    );
}

.profile-ring img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
    display:block;
}

/* =========================
   SECTIONS
========================= */

.section{
    padding:120px 8%;
}

.section-header{
    margin-bottom:60px;
}

.section-header span{
    color:var(--accent);
    font-weight:600;
}

.section-header h2{
    font-size:52px;
    margin-top:10px;
}

/* =========================
   CARDS
========================= */

.card-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.card{
    background:var(--card);
    border:1px solid var(--border);
    padding:35px;
    border-radius:24px;
    transition:.3s;
}

.card:hover{
    transform:translateY(-6px);
}

.card h3{
    margin-bottom:15px;
    font-size:24px;
}

.card p{
    color:var(--secondary);
    line-height:1.8;
}

/* =========================
   WIDE CARD
========================= */

.wide-card,
.future-card,
.motivation-box{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:30px;
    padding:50px;
}

.wide-card p,
.future-card p{
    color:var(--secondary);
    line-height:1.9;
    font-size:18px;
}

/* =========================
   TIMELINE
========================= */

.timeline{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.timeline-item{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:24px;
    padding:30px;
}

.timeline-item h3{
    margin-bottom:10px;
}

.timeline-item p{
    color:var(--secondary);
}

.timeline-item span{
    color:var(--accent);
}

/* =========================
   MOTIVATION
========================= */

.motivation-box{
    text-align:center;
}

.motivation-box p{
    font-size:26px;
    margin-bottom:25px;
}

/* =========================
   FOOTER
========================= */

.footer{
    text-align:center;
    padding:80px 8%;
    border-top:1px solid var(--border);
}

.footer h3{
    font-size:32px;
}

.footer p{
    color:var(--secondary);
    margin-top:10px;
}

.footer-links{
    margin:25px 0;
}

.footer-links a{
    color:white;
    text-decoration:none;
    margin:0 15px;
}

.footer small{
    color:#8a8a8a;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media(max-width:900px){

    .hero{
        flex-direction:column-reverse;
        text-align:center;
        gap:50px;
        padding-top:60px;
    }

    .hero h1{
        font-size:54px;
    }

    .hero h2{
        font-size:28px;
    }

    .hero p{
        font-size:18px;
        max-width:100%;
    }

    .hero-buttons{
        justify-content:center;
    }

    .profile-ring{
        width:220px;
        height:220px;
    }

    .section{
        padding:90px 6%;
    }

    .section-header h2{
        font-size:38px;
    }

    .navbar{
        gap:16px;
    }

    .navbar a{
        font-size:14px;
    }
}

/* EXTRA SMALL PHONES */

@media(max-width:600px){

    .header{
        flex-direction:column;
        gap:15px;
    }

    .logo{
        font-size:30px;
    }

    .hero h1{
        font-size:46px;
    }

    .hero h2{
        font-size:24px;
    }

    .hero p{
        font-size:17px;
        line-height:1.9;
    }

    .section-header h2{
        font-size:32px;
    }

    .card,
    .wide-card,
    .future-card,
    .motivation-box,
    .timeline-item{
        padding:25px;
    }

    .motivation-box p{
        font-size:20px;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
        text-align:center;
    }
}
.hidden{
    opacity:0;
    transform:translateY(50px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

#typing-text{
    transition:.4s;
}

#quote{
    transition:.4s;
}

.profile-ring{
    transition:transform .3s ease;
}

