/*
Theme Name: Usama Ahmad Portfolio
Theme URI: https://usamaahmad.online/
Author: Usama Ahmad
Description: Responsive portfolio theme adapted from the supplied static portfolio, including original CV, profile photo and career logos.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: usama-ahmad-portfolio
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{--bg:#080b10;--surface:#11151c;--text:#f5f7fa;--muted:#a9b1bd;--line:#29303a;--accent:#8ff0c0;--max:1120px}
*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{background:var(--bg);color:var(--text);font-family:"DM Sans",sans-serif;line-height:1.7}a{color:inherit;text-decoration:none}.container{width:min(var(--max),calc(100% - 40px));margin:auto}
.hero{min-height:90vh;display:flex;flex-direction:column;background:radial-gradient(circle at 80% 20%,rgba(143,240,192,.13),transparent 32%),radial-gradient(circle at 15% 75%,rgba(100,120,255,.1),transparent 28%)}.nav{padding:28px 0;display:flex;justify-content:space-between;align-items:center}.brand{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-weight:700}.nav-links{display:flex;gap:22px;color:var(--muted);font-size:.86rem}.nav-links a:hover,.contact-links a:hover{color:var(--accent)}
.hero-content{margin:auto;padding:70px 0 110px}.eyebrow,.section-label{color:var(--accent);font-size:.78rem;font-weight:700;letter-spacing:.14em}.hero-profile{display:flex;align-items:center;gap:30px}.profile-photo{width:180px;height:180px;object-fit:cover;border-radius:50%;border:2px solid var(--accent);padding:4px;background:var(--surface);box-shadow:0 18px 50px rgba(0,0,0,.35)}.hero h1{font:700 clamp(4rem,11vw,8.5rem)/.85 "Space Grotesk";letter-spacing:-.07em;margin:22px 0}.hero h2{font-size:clamp(1.2rem,3vw,2rem);font-weight:500;color:#dce2ea;margin-top:25px}.intro{max-width:720px;margin:25px 0 32px;color:var(--muted);font-size:1.1rem}.actions{display:flex;gap:12px;flex-wrap:wrap}.button{padding:13px 21px;border:1px solid var(--line);border-radius:999px;font-weight:700}.primary{background:var(--accent);color:#06120c;border-color:var(--accent)}.secondary:hover{background:var(--surface)}
.section{padding:110px 0}.section-alt{background:var(--surface)}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:80px;margin-top:36px}.section h2,.contact h2{font:600 clamp(2.1rem,5vw,3.8rem)/1.05 "Space Grotesk";letter-spacing:-.05em}.two-column>p{color:var(--muted);max-width:590px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:55px}.stats div{border-top:1px solid var(--line);padding-top:18px}.stats strong{display:block;font:700 2rem "Space Grotesk"}.stats span{color:var(--muted);font-size:.9rem}
.timeline{margin-top:38px}.card{display:grid;grid-template-columns:190px 1fr;gap:30px;padding:32px 0;border-top:1px solid var(--line)}.card:last-child{border-bottom:1px solid var(--line)}.date{color:var(--accent);font-size:.78rem;font-weight:700;letter-spacing:.07em}.card h3{font-size:1.3rem}.company{color:var(--accent);margin-bottom:12px}.card ul{color:var(--muted);padding-left:18px}.card li{margin:4px 0}.mini{margin-top:18px}.role-with-logo{display:flex;justify-content:space-between;align-items:center;gap:24px}.company-logo{width:150px;height:65px;object-fit:contain;background:#fff;border-radius:10px;padding:8px;flex:none}.small-logo{width:145px}.square-logo{width:90px;height:75px}
.journey-intro{margin-bottom:42px}.logo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.logo-card{border:1px solid var(--line);background:var(--surface);min-height:220px;padding:24px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border-radius:16px}.logo-card img{width:100%;height:105px;object-fit:contain;background:#fff;border-radius:10px;padding:12px}.logo-card figcaption{margin-top:17px}.logo-card figcaption strong{display:block;font-size:1rem}.logo-card figcaption span{display:block;color:var(--muted);font-size:.82rem;margin-top:3px}.psca-mark{width:120px;height:120px;border:5px solid #2f4c8f;border-radius:50%;display:grid;place-items:center;font:700 1.5rem "Space Grotesk";letter-spacing:.08em;color:#2f4c8f;background:#fff}
.skill-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:40px}.skill-grid div{border:1px solid var(--line);padding:26px;min-height:150px}.skill-grid h3{margin-bottom:8px}.skill-grid p{color:var(--muted)}
.edu{border-top:1px solid var(--line);padding:20px 0}.edu strong{color:var(--accent);font-size:.8rem;letter-spacing:.08em}.edu h3{margin-top:4px}.edu p{color:var(--muted)}
.contact{text-align:center}.contact-profile{display:flex;justify-content:center;align-items:center;gap:25px;margin:25px auto 10px}.contact-profile>div{text-align:left}.contact-profile h2{margin-bottom:8px}.contact>p:not(.section-label){color:var(--muted);margin:20px auto;max-width:600px}.contact-links{display:flex;justify-content:center;flex-wrap:wrap;gap:25px;margin-top:28px;font-weight:600}.contact-photo{width:120px;height:120px;object-fit:cover;border-radius:50%;border:2px solid var(--accent);padding:3px;background:var(--surface)}
footer{border-top:1px solid var(--line);padding:24px 0;color:var(--muted);font-size:.85rem}footer .container{display:flex;justify-content:space-between}
@media(max-width:760px){.nav-links{display:none}.hero-content{padding:60px 0 90px}.hero-profile{align-items:flex-start;gap:18px}.profile-photo{width:110px;height:110px}.hero h1{font-size:clamp(3.2rem,17vw,5.5rem)}.two-column,.skill-grid,.stats,.card,.logo-grid{grid-template-columns:1fr;gap:22px}.card{padding:26px 0}.stats{gap:25px}.role-with-logo{align-items:flex-start}.company-logo{width:110px;height:60px}.contact-profile{flex-direction:column}.contact-profile>div{text-align:center}footer .container{flex-direction:column;gap:8px}}
