/* =========================
   DAVID UGOCHUKWU PORTFOLIO
   PREMIUM DARK THEME
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    background:#0A0F1C;

    color:#F8FAFC;

    font-family:'Inter',sans-serif;

    line-height:1.7;

}

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

.narrow{

    max-width:850px;

}



/* =========================
NAVIGATION
========================= */

header{

    position:fixed;

    top:0;

    width:100%;

    z-index:999;

    backdrop-filter:blur(20px);

    background:rgba(10,15,28,.85);

    border-bottom:1px solid #1E293B;

}

.nav{

    height:82px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

    text-decoration:none;

    color:white;

}

.logo-mark{

    width:48px;

    height:48px;

    border-radius:12px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#2563EB;

    font-weight:800;

    font-size:18px;

}

.logo-name{

    display:block;

    font-weight:700;

    font-size:18px;

}

.logo-role{

    display:block;

    color:#94A3B8;

    font-size:13px;

}

nav{

    display:flex;

    gap:30px;

    align-items:center;

}

nav a{

    color:#94A3B8;

    text-decoration:none;

    font-weight:500;

    transition:.3s ease;

}

nav a:hover{

    color:#ffffff;

}

.resume-button{

    border:1px solid #2563EB;

    padding:12px 22px;

    border-radius:10px;

    color:white;

    transition:.3s ease;

}

.resume-button:hover{

    background:#2563EB;

}



/* =========================
HERO
========================= */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

}

.eyebrow{

    color:#3B82F6;

    font-size:13px;

    font-weight:700;

    letter-spacing:3px;

    margin-bottom:25px;

}

.hero h1{

    font-size:72px;

    line-height:1.05;

    letter-spacing:-4px;

    margin-bottom:30px;

}

.hero-text{

    max-width:780px;

    color:#94A3B8;

    font-size:22px;

    margin-bottom:45px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.primary{

    background:#2563EB;

    color:white;

    padding:16px 32px;

    border-radius:12px;

    text-decoration:none;

    font-weight:600;

    transition:.3s ease;

}

.primary:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(37,99,235,.35);

}

.secondary{

    border:1px solid #334155;

    color:white;

    padding:16px 32px;

    border-radius:12px;

    text-decoration:none;

    transition:.3s ease;

}

.secondary:hover{

    background:#2563EB;

    border-color:#2563EB;

}
/* =========================
SECTIONS
========================= */

section{

    padding:110px 0;

}

.section-header{

    margin-bottom:55px;

}

.section-label{

    color:#3B82F6;

    text-transform:uppercase;

    letter-spacing:3px;

    font-size:13px;

    font-weight:700;

}

section h2{

    font-size:48px;

    letter-spacing:-2px;

    margin:15px 0;

}

.section-header p{

    color:#94A3B8;

    max-width:700px;

}



/* =========================
TRUSTED PUBLICATIONS
========================= */

.trusted{

    border-top:1px solid #1E293B;

    border-bottom:1px solid #1E293B;

}

.trusted-title{

    color:#64748B;

    margin-bottom:25px;

    font-weight:600;

}

.trusted-grid{

    display:flex;

    gap:40px;

    flex-wrap:wrap;

    align-items:center;

}

.trusted-grid a{

    text-decoration:none;

    color:#CBD5E1;

    font-size:20px;

    font-weight:700;

    transition:.3s ease;

}

.trusted-grid a:hover{

    color:#3B82F6;

    transform:translateY(-2px);

}

.more-publications{

    color:#3B82F6 !important;

    font-weight:700;

}

.more-publications:hover{

    text-decoration:underline;

}



/* =========================
STATS
========================= */

.stats-grid{

    display:grid;

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

    gap:25px;

}

.stat-card{

    background:#111827;

    border:1px solid #1E293B;

    border-radius:18px;

    padding:35px;

    text-align:center;

    transition:all .35s ease;

}

.stat-card:hover{

    transform:translateY(-6px);

    border-color:#2563EB;

    box-shadow:0 20px 40px rgba(37,99,235,.18);

}

.stat-card h2{

    color:#3B82F6;

    font-size:45px;

    margin-bottom:10px;

}

.stat-card p{

    color:#CBD5E1;

    font-weight:600;

}

.stat-card span{

    display:block;

    margin-top:12px;

    color:#3B82F6;

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:1px;

    font-weight:700;

}
/* =========================
PUBLICATIONS
========================= */

.publication-grid{

    display:grid;

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

    gap:30px;

}

.publication{

    background:#111827;

    border:1px solid #1E293B;

    padding:35px;

    border-radius:20px;

    transition:all .35s ease;

}

.publication:hover{

    transform:translateY(-6px);

    border-color:#2563EB;

    box-shadow:0 20px 40px rgba(37,99,235,.15);

}

.publication-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.publication-source{

    color:#3B82F6;

    font-weight:700;

}

.publication-year{

    color:#64748B;

    font-size:14px;

}

.publication h3{

    font-size:25px;

    line-height:1.35;

    margin-bottom:15px;

}

.publication p{

    color:#94A3B8;

    margin-bottom:22px;

}

.text-link{

    display:inline-flex;

    align-items:center;

    gap:6px;

    color:#3B82F6;

    font-weight:600;

    text-decoration:none;

    transition:.3s ease;

}

.text-link:hover{

    color:#60A5FA;

    transform:translateX(5px);

}



/* =========================
PROJECTS
========================= */

.project-grid{

    display:grid;

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

    gap:30px;

}

.card{

    background:#111827;

    border:1px solid #1E293B;

    padding:40px;

    border-radius:20px;

    transition:all .35s ease;

}

.card:hover{

    transform:translateY(-6px);

    border-color:#2563EB;

    box-shadow:0 20px 40px rgba(37,99,235,.15);

}

.project-tag{

    color:#3B82F6;

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;

}

.card h3{

    font-size:28px;

    margin:20px 0;

}

.card p{

    color:#94A3B8;

}

.tech-stack{

    display:flex;

    gap:10px;

    margin:25px 0 30px;

    flex-wrap:wrap;

}

.tech-stack span{

    background:#1E293B;

    padding:7px 14px;

    border-radius:20px;

    font-size:13px;

    color:#E2E8F0;

}

.project-links{

    margin-top:20px;

}

.project-links a{

    color:#3B82F6;

    text-decoration:none;

    font-weight:600;

    transition:.3s ease;

}

.project-links a:hover{

    color:#60A5FA;

    padding-left:5px;

}



/* =========================
FEATURED PROJECT (FLAGSHIP)
========================= */

.featured-project{

    background:linear-gradient(160deg,#111827,#0D1424);

    border:1px solid #2563EB;

    border-radius:24px;

    padding:50px;

    box-shadow:0 25px 50px rgba(37,99,235,.15);

}

.featured-content h3{

    font-size:34px;

    margin-top:15px;

}

.featured-content h4{

    color:#94A3B8;

    font-weight:600;

    font-size:18px;

    margin-bottom:20px;

}

.featured-content > p{

    color:#94A3B8;

}

.feature-list{

    display:grid;

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

    gap:14px;

    margin:30px 0;

}

.feature-item{

    background:#1E293B;

    border-radius:12px;

    padding:14px 18px;

    color:#E2E8F0;

    font-weight:500;

    font-size:15px;

}

.engineering-header{

    margin-top:80px;

}



/* =========================
LARGE TECH STACK
========================= */

.large-stack{

    gap:14px;

}

.large-stack span{

    font-size:14px;

    padding:9px 18px;

}



/* =========================
PHILOSOPHY
========================= */

.philosophy-text{

    color:#CBD5E1;

    font-size:20px;

    text-align:center;

}



/* =========================
CTA BANNER
========================= */

.cta-banner{

    background:linear-gradient(135deg,#2563EB,#1E40AF);

    text-align:center;

}

.cta-banner h2{

    color:#ffffff;

}

.cta-banner p{

    color:rgba(255,255,255,.85);

    max-width:650px;

    margin:20px auto 0;

}

.cta-banner .hero-buttons{

    justify-content:center;

    margin-top:35px;

}

.cta-banner .primary{

    background:#ffffff;

    color:#1E40AF;

}

.cta-banner .primary:hover{

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

}

.cta-banner .secondary{

    border-color:rgba(255,255,255,.4);

    color:#ffffff;

}

.cta-banner .secondary:hover{

    background:rgba(255,255,255,.15);

    border-color:#ffffff;

}



/* =========================
VALUE SECTION
========================= */

.value-grid{

    display:grid;

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

    gap:30px;

}

.value-card{

    background:#111827;

    border:1px solid #1E293B;

    padding:40px;

    border-radius:20px;

    transition:all .35s ease;

}

.value-card:hover{

    transform:translateY(-6px);

    border-color:#2563EB;

    box-shadow:0 20px 40px rgba(37,99,235,.15);

}

.value-card h3{

    margin-bottom:20px;

}

.value-card p{

    color:#CBD5E1;

}





/* =========================
SERVICES
========================= */

.services{

    display:grid;

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

    gap:25px;

}

.service{

    background:#111827;

    border:1px solid #1E293B;

    padding:30px;

    border-radius:18px;

    transition:all .35s ease;

}

.service:hover{

    transform:translateY(-6px);

    border-color:#2563EB;

    box-shadow:0 20px 40px rgba(37,99,235,.15);

}

.service h3{

    margin-bottom:18px;

}

.service p{

    color:#94A3B8;

}





/* =========================
ABOUT
========================= */

.about-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:50px;

}

.about-content p{

    color:#94A3B8;

    font-size:18px;

    margin-top:20px;

}

.about-card{

    background:#111827;

    padding:35px;

    border:1px solid #1E293B;

    border-radius:20px;

    transition:.35s;

}

.about-card:hover{

    border-color:#2563EB;

}

.about-card h3{

    margin-bottom:20px;

}

.about-card ul{

    padding:0;

}

.about-card li{

    list-style:none;

    margin:14px 0;

    color:#CBD5E1;

    padding-left:18px;

    position:relative;

}

.about-card li::before{

    content:"•";

    position:absolute;

    left:0;

    color:#3B82F6;

}





/* =========================
CONTACT
========================= */

#contact{

    text-align:center;

}

#contact p{

    color:#94A3B8;

    margin:30px auto;

    max-width:700px;

}





/* =========================
FOOTER
========================= */

footer{

    border-top:1px solid #1E293B;

    padding:60px 0;

}

.footer-content{

    display:flex;

    justify-content:space-between;

    gap:60px;

}

.footer-brand p{

    color:#94A3B8;

    max-width:430px;

    margin-top:20px;

}

.footer-links{

    display:flex;

    gap:60px;

}

.footer-links h4{

    margin-bottom:18px;

    color:#ffffff;

}

.footer-links a{

    display:block;

    color:#94A3B8;

    text-decoration:none;

    margin:12px 0;

    transition:.3s;

}

.footer-links a:hover{

    color:#3B82F6;

    padding-left:4px;

}

.copyright{

    text-align:center;

    color:#64748B;

    margin-top:50px;

    padding-top:30px;

    border-top:1px solid #1E293B;

}





/* =========================
RESPONSIVE
========================= */

@media(max-width:900px){

nav{

display:none;

}

.hero h1{

font-size:48px;

}

.hero-text{

font-size:20px;

}

.hero-buttons{

justify-content:center;

}

.trusted-grid{

justify-content:center;

}

.about-grid{

grid-template-columns:1fr;

}

.stats-grid{

grid-template-columns:1fr 1fr;

}

.footer-content{

flex-direction:column;

}

.footer-links{

flex-direction:column;

gap:30px;

}

.featured-project{

padding:32px;

}

}

@media(max-width:600px){

.hero h1{

font-size:40px;

letter-spacing:-2px;

}

.hero-text{

font-size:18px;

}

section h2{

font-size:34px;

}

.stats-grid{

grid-template-columns:1fr;

}

.publication-grid,

.project-grid,

.value-grid,

.services{

grid-template-columns:1fr;

}

.hero-buttons{

flex-direction:column;

}

.primary,

.secondary{

width:100%;

text-align:center;

}

.cta-banner .hero-buttons{

flex-direction:column;

}

}