/* ===========================================
   Victor Igbokwe Portfolio
   Part 1
=========================================== */

:root{

    --background:#07111f;

    --surface:#0f172a;

    --surface-light:#172554;

    --card:#132238;

    --primary:#2563eb;

    --primary-light:#60a5fa;

    --secondary:#7c3aed;

    --accent:#38bdf8;

    --text:#ffffff;

    --muted:#cbd5e1;

    --border:#334155;

    --shadow:0 20px 40px rgba(0,0,0,.25);

    --radius:18px;

    --transition:.3s ease;

}


*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}


html{

    scroll-behavior:smooth;

}


body{

    font-family:Inter,sans-serif;

    background:var(--background);

    color:var(--text);

    line-height:1.8;

    font-size:16px;

}


img{

    max-width:100%;

    display:block;

}


a{

    text-decoration:none;

    color:inherit;

}


.container{

    width:min(1150px,92%);

    margin:auto;

}


/* ===========================================
   Header
=========================================== */

header{

    position:fixed;

    top:0;

    width:100%;

    z-index:1000;

    backdrop-filter:blur(16px);

    background:rgba(7,17,31,.82);

    border-bottom:1px solid rgba(255,255,255,.05);

}


header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}


.logo{

    font-size:1.35rem;

    font-weight:800;

    color:white;

}


nav ul{

    display:flex;

    list-style:none;

    gap:2rem;

}


nav a{

    color:var(--muted);

    transition:var(--transition);

    font-weight:500;

}


nav a:hover{

    color:white;

}


/* ===========================================
   Hero
=========================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    padding-top:110px;

    background:

        radial-gradient(circle at top right,#1d4ed822,transparent 45%),

        radial-gradient(circle at bottom left,#7c3aed22,transparent 40%),

        var(--background);

}


.hero-grid{

    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:5rem;

    align-items:center;

}


.tag{

    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(37,99,235,.15);

    color:#93c5fd;

    font-size:.9rem;

    margin-bottom:30px;

    border:1px solid rgba(37,99,235,.35);

}


.hero h1{

    font-size:4rem;

    line-height:1.1;

    margin-bottom:25px;

}


.hero h1 span{

    color:var(--primary-light);

}


.hero p{

    color:var(--muted);

    font-size:1.2rem;

    max-width:700px;

}


.hero-image{

    display:flex;

    justify-content:center;

}


.hero-image img{

    width:360px;

    height:360px;

    object-fit:cover;

    border-radius:50%;

    border:8px solid rgba(255,255,255,.08);

    box-shadow:0 25px 60px rgba(0,0,0,.45);

   opacity: 0.9;

}


/* ===========================================
   Buttons
=========================================== */

.hero-buttons{

    display:flex;

    gap:1rem;

    flex-wrap:wrap;

    margin:45px 0;

}


.button{

    padding:15px 28px;

    border-radius:12px;

    font-weight:700;

    transition:var(--transition);

}


.primary{

    background:var(--primary);

    color:white;

}


.primary:hover{

    transform:translateY(-4px);

    background:#1d4ed8;

}


.secondary{

    border:1px solid var(--border);

    color:white;

}


.secondary:hover{

    background:white;

    color:#111827;

}


.hero-details{

    display:flex;

    flex-wrap:wrap;

    gap:2rem;

    color:#cbd5e1;

}


/* ===========================================
   Sections
=========================================== */

section{

    padding:110px 0;

}


section h2{

    font-size:2.4rem;

    margin-bottom:45px;

    position:relative;

}


section h2::after{

    content:"";

    display:block;

    width:70px;

    height:4px;

    margin-top:14px;

    border-radius:999px;

    background:linear-gradient(90deg,#2563eb,#7c3aed);

}


section p{

    color:var(--muted);

    margin-bottom:22px;

}


/* ===========================================
   Cards
=========================================== */

.expertise-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}


.expertise-card{

    background:var(--card);

    padding:35px;

    border-radius:var(--radius);

    border:1px solid rgba(255,255,255,.05);

    transition:var(--transition);

}


.expertise-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow);

}


.expertise-card h3{

    margin-bottom:20px;

}


.expertise-card ul{

    list-style:none;

}


.expertise-card li{

    padding:9px 0;

    color:var(--muted);

}


/* ===========================================
   Tech badges
=========================================== */

.tech-stack{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:25px;

}


.tech-stack span{

    padding:8px 16px;

    background:#1e3a8a;

    color:white;

    border-radius:999px;

    font-size:.9rem;

    font-weight:600;

}


/* ===========================================
   Responsive
=========================================== */

@media(max-width:900px){

.hero-grid{

    grid-template-columns:1fr;

    text-align:center;

}

.hero-image{

    order:-1;

}

.hero-buttons{

    justify-content:center;

}

.hero-details{

    justify-content:center;

}

.hero h1{

    font-size:2.8rem;

}

nav{

    display:none;

}

}
/* ===========================================
   Timeline
=========================================== */

.timeline{

    position:relative;

    margin-top:60px;

    padding-left:45px;

}

.timeline::before{

    content:"";

    position:absolute;

    left:10px;

    top:0;

    bottom:0;

    width:3px;

    background:linear-gradient(
        to bottom,
        var(--primary),
        var(--secondary)
    );

}

.timeline-item{

    position:relative;

    margin-bottom:70px;

}

.timeline-item:last-child{

    margin-bottom:0;

}

.timeline-item::before{

    content:"";

    position:absolute;

    left:-44px;

    top:10px;

    width:22px;

    height:22px;

    border-radius:50%;

    background:var(--primary);

    border:4px solid var(--background);

    box-shadow:0 0 0 4px rgba(37,99,235,.2);

}

.timeline-year{

    display:inline-block;

    margin-bottom:18px;

    padding:8px 16px;

    background:#1e3a8a;

    border-radius:999px;

    font-size:.9rem;

    font-weight:700;

}

.timeline-content{

    background:var(--card);

    border:1px solid rgba(255,255,255,.05);

    border-radius:18px;

    padding:35px;

    transition:.3s;

}

.timeline-content:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow);

}

.timeline-content h3{

    font-size:1.6rem;

    margin-bottom:8px;

}

.timeline-content h4{

    color:var(--primary-light);

    margin-bottom:22px;

    font-weight:600;

}

.timeline-content ul{

    margin:20px 0 0 20px;

}

.timeline-content li{

    margin-bottom:12px;

    color:var(--muted);

}


/* ===========================================
   Projects
=========================================== */

.projects-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.project-card{

    background:linear-gradient(
        180deg,
        rgba(37,99,235,.15),
        rgba(124,58,237,.08)
    );

    border:1px solid rgba(255,255,255,.05);

    border-radius:18px;

    padding:35px;

    transition:.3s;

}

.project-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow);

}

.project-card h3{

    margin-bottom:18px;

    font-size:1.5rem;

}

.project-card p{

    margin-bottom:25px;

}


/* ===========================================
   Skills
=========================================== */

.skills-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.skill-group{

    background:var(--card);

    padding:35px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.05);

}

.skill-group h3{

    margin-bottom:20px;

}


/* ===========================================
   Education
=========================================== */

.education-card{

    background:var(--card);

    border-radius:18px;

    padding:40px;

    border:1px solid rgba(255,255,255,.05);

}

.education-card h3{

    margin-bottom:15px;

}


/* ===========================================
   Professional Development
=========================================== */

.development-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.development-card{

    background:var(--card);

    padding:30px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.05);

    transition:.3s;

}

.development-card:hover{

    transform:translateY(-6px);

}

.development-card h3{

    margin-bottom:15px;

    font-size:1.2rem;

}

.development-card span{

    display:inline-block;

    margin-top:20px;

    color:var(--primary-light);

    font-weight:700;

}


/* ===========================================
   Contact
=========================================== */

#contact{

    text-align:center;

}

.contact-links{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:18px;

    margin-top:40px;

}

.contact-links a{

    padding:15px 24px;

    background:var(--card);

    border:1px solid rgba(255,255,255,.08);

    border-radius:12px;

    transition:.3s;

}

.contact-links a:hover{

    background:var(--primary);

}


/* ===========================================
   Footer
=========================================== */

footer{

    margin-top:80px;

    border-top:1px solid rgba(255,255,255,.05);

    text-align:center;

    padding:50px 0;

}

footer p{

    color:#94a3b8;

    margin-bottom:12px;

}


/* ===========================================
   Nice scrollbar
=========================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#091220;

}

::-webkit-scrollbar-thumb{

    background:#2563eb;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#3b82f6;

}


/* ===========================================
   Extra responsive tweaks
=========================================== */

@media (max-width:768px){

    .timeline{

        padding-left:28px;

    }

    .timeline-item::before{

        left:-28px;

        width:18px;

        height:18px;

    }

    .timeline-content{

        padding:25px;

    }

    .projects-grid{

        grid-template-columns:1fr;

    }

    .skills-grid{

        grid-template-columns:1fr;

    }

    .development-grid{

        grid-template-columns:1fr;

    }

    .contact-links{

        flex-direction:column;

    }

    .contact-links a{

        width:100%;

    }

}

/* Active navigation */

nav a.active{

    color:white;

}

/* Reveal animations */

.hidden{

    opacity:0;

    transform:translateY(40px);

    transition:.7s ease;

}

.show{

    opacity:1;

    transform:translateY(0);

}

/* Header */

header.scrolled{

    box-shadow:0 12px 35px rgba(0,0,0,.35);

}

/* Back to top */

#backToTop{

    position:fixed;

    right:25px;

    bottom:25px;

    width:52px;

    height:52px;

    border:none;

    border-radius:50%;

    background:#2563eb;

    color:white;

    font-size:22px;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:999;

}

#backToTop.visible{

    opacity:1;

    visibility:visible;

}

#backToTop:hover{

    transform:translateY(-4px);

}

.stats-grid {
   display: grid;
   grid-template-columns: auto auto auto auto;
}
