@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --blue:#0756d8;
  --blue-2:#2b68e8;
  --ink:#14243b;
  --muted:#687386;
  --line:#e7ebf2;
  --soft:#f4f7ff;
  --white:#fff;
  --shadow:0 14px 35px rgba(20,48,100,.08);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}
a{text-decoration:none;color:inherit}
.container{width:min(1120px,92%);margin:auto}
.section{padding:76px 0}
.navbar{height:68px;position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.nav-inner{height:100%;display:flex;align-items:center;gap:26px}
.brand{font-weight:800;font-size:17px;margin-right:auto}
.nav-links{display:flex;align-items:center;gap:22px;font-size:10px;font-weight:600;color:#3e4858}
.nav-links a{padding:26px 0;position:relative}
.nav-links a.active,.nav-links a:hover{color:var(--blue)}
.nav-links a.active:after{content:"";height:2px;width:100%;position:absolute;left:0;bottom:19px;background:var(--blue)}
.btn{border:0;background:var(--blue);color:#fff;border-radius:7px;padding:11px 19px;font-size:10px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;box-shadow:0 7px 16px rgba(7,86,216,.16);transition:.2s}
.btn:hover{transform:translateY(-1px);background:#0049bd}
.btn-small{padding:9px 21px;border-radius:18px}
.btn-outline{background:transparent;color:var(--ink);border:1px solid #dbe1eb;box-shadow:none}
.btn-outline:hover{background:#f6f8fc;color:var(--ink)}
.menu-btn{display:none;background:none;border:0;font-size:23px;color:var(--ink)}

.hero{background:#f2f5fd;padding:72px 0 62px}
.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:50px}
.availability{display:inline-flex;align-items:center;gap:7px;color:#3d76d9;background:#e3ebff;border-radius:20px;padding:4px 10px;font-size:8px;font-weight:700;letter-spacing:.25px}
.availability span{width:5px;height:5px;background:#6e9aff;border-radius:50%}
.hero h1{font-size:42px;line-height:1.15;letter-spacing:-1.8px;margin:17px 0 8px;font-weight:800}
.hero h1 span{color:var(--blue)}
.hero h2{font-size:16px;color:#3f4653;font-weight:600;margin-bottom:18px}
.hero h2 b{font-weight:400;color:#929aaa}
.hero p{font-size:11px;color:#687386;max-width:570px;line-height:1.7}
.hero-actions{display:flex;gap:9px;margin-top:23px}
.hero-photo-wrap{justify-self:end;width:320px;height:320px;border:4px solid #fff;border-radius:22px;overflow:hidden;box-shadow:0 18px 35px rgba(29,53,98,.17);background:#8c2c35}
.hero-photo-wrap img{width:100%;height:100%;object-fit:cover;display:block}

.about{background:#fff}
.about-grid{display:grid;grid-template-columns:30% 70%;align-items:center;gap:35px}
.section-title{font-size:25px;line-height:1.15;letter-spacing:-.6px}
.section-subtitle{font-size:9px;color:#6c7584;margin-top:7px;max-width:280px}
.about-card{border:1px solid var(--line);border-radius:10px;padding:22px 26px;box-shadow:0 5px 18px rgba(0,0,0,.025)}
.about-card p{font-size:10px;color:#697283;line-height:1.75}
.tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}
.tags span,.project-tags span{background:#f5f7fb;color:#718098;border-radius:4px;padding:5px 8px;font-size:7px;font-weight:600}

.timeline-section{background:#f5f7fd;padding-top:62px;padding-bottom:62px}
.timeline-grid{display:grid;grid-template-columns:1fr 1fr;gap:52px}
.block-title{font-size:15px;display:flex;align-items:center;gap:8px;margin-bottom:20px}
.icon-box{width:22px;height:22px;border-radius:5px;background:#e5edff;display:inline-flex;align-items:center;justify-content:center;font-size:10px}
.timeline-item{position:relative;border-left:1px solid #dce4f1;padding-left:15px}
.dot{position:absolute;left:-5px;top:0;width:9px;height:9px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 3px #dbe7ff}
.timeline-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:14px 15px}
.card-top{display:flex;justify-content:space-between;gap:10px}
.timeline-card h4{font-size:10px}
.timeline-card strong{font-size:7px;color:var(--blue);display:block;margin-top:1px}
.date{font-size:6px;font-weight:700;color:#6c7688;background:#f1f4fa;padding:5px 7px;border-radius:8px;height:max-content;white-space:nowrap}
.timeline-card p,.timeline-card li{font-size:7.5px;color:#687386;line-height:1.65;margin-top:9px}
.timeline-card ul{padding-left:15px;margin-top:3px}

.skills{background:#fff}
.center-heading{text-align:center;margin-bottom:30px}
.center-heading .section-subtitle{margin:7px auto 0}
.center-heading p{font-size:9px;color:#778090;margin-top:7px}
.skills-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}
.skill-card{border:1px solid var(--line);border-radius:8px;padding:18px 17px;min-height:174px}
.skill-card h3{font-size:8px;color:var(--blue);margin-bottom:18px}
.skill-card h3 span{color:#35445b;margin-left:4px}
.skill-row{margin-bottom:15px}
.skill-row>div:first-child{display:flex;justify-content:space-between;font-size:7.5px;color:#596577}
.skill-row b{color:#3470da;font-size:7px}
.bar{height:3px;background:#e8edf5;border-radius:3px;margin-top:6px;overflow:hidden}
.bar i{height:100%;background:var(--blue);display:block}
.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px 8px}
.tool-grid span{font-size:10px;text-align:center;color:#3d70d7}
.tool-grid small{display:block;color:#667287;font-size:6px;margin-top:3px}
.human-tags{display:flex;flex-wrap:wrap;gap:6px}
.human-tags span{font-size:6.5px;color:#3470da;background:#eef4ff;padding:4px 6px;border-radius:8px;font-weight:600}

.projects{background:#f5f7fd}
.projects-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}
.view-all{font-size:8px;color:var(--blue);font-weight:700}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.project-card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 3px 10px rgba(0,0,0,.02)}
.project-card>img{width:100%;height:125px;object-fit:cover;display:block}
.project-body{padding:13px}
.project-tags{display:flex;gap:5px}
.project-tags span{font-size:6px;padding:4px 6px}
.project-body h3{font-size:11px;margin-top:8px}
.project-body p{font-size:7.5px;color:#6c7584;line-height:1.55;margin:5px 0 11px}
.project-btn{background:var(--blue);color:#fff;text-align:center;display:block;padding:8px;border-radius:6px;font-size:7px;font-weight:700}

.contact-section{background:#eaf0ff;padding:70px 0}
.contact-card{background:#fff;border-radius:19px;padding:32px 35px;display:grid;grid-template-columns:1fr 1fr;gap:45px;box-shadow:0 8px 25px rgba(41,68,120,.05)}
.contact-info h2{font-size:25px;line-height:1.2;letter-spacing:-.7px}
.contact-info h2 span{color:var(--blue)}
.contact-info>p{font-size:8px;color:#70798a;max-width:300px;margin:16px 0 22px;line-height:1.7}
.contact-list{display:grid;gap:12px}
.contact-list>div{display:flex;align-items:center;gap:11px}
.contact-list>div>span{width:22px;height:22px;border-radius:50%;background:#eef4ff;color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:9px}
.contact-list small{font-size:6px;display:block;font-weight:800;color:#657186;letter-spacing:.5px}
.contact-list b{font-size:7px;display:block;margin-top:2px}
.socials{display:flex;gap:8px;margin-top:20px}
.socials a{width:22px;height:22px;border:1px solid #dfe4ec;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:700}
.contact-form{display:grid;gap:10px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.contact-form label{font-size:7px;font-weight:700;color:#344055}
.contact-form input,.contact-form textarea{font:inherit;width:100%;margin-top:6px;border:1px solid #e4e8ef;border-radius:8px;padding:10px 11px;font-size:8px;outline:none;color:var(--ink);resize:vertical}
.contact-form input:focus,.contact-form textarea:focus{border-color:#8db2f4;box-shadow:0 0 0 3px #edf4ff}
.submit-btn{width:100%;margin-top:1px}
.form-note{font-size:7px;color:var(--blue);min-height:10px;text-align:center}

.footer{background:#f5f7fd;border-top:1px solid var(--line);padding:24px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:center}
.footer-inner>div:first-child{display:flex;align-items:center;gap:12px}
.footer-inner strong{font-size:12px}
.footer-inner span,.footer-links a{font-size:7px;color:#8a92a0}
.footer-links{display:flex;gap:20px}

@media(max-width:850px){
  .nav-links{display:none}
  .navbar .btn-small{display:none}
  .menu-btn{display:block}
  .nav-inner{gap:10px}
  .hero{padding:55px 0}
  .hero-grid{grid-template-columns:1fr;gap:35px}
  .hero-photo-wrap{justify-self:start;width:260px;height:260px}
  .hero h1{font-size:38px}
  .about-grid,.timeline-grid,.contact-card{grid-template-columns:1fr}
  .skills-grid,.project-grid{grid-template-columns:1fr 1fr}
  .contact-card{gap:30px}
}
@media(max-width:560px){
  .section{padding:55px 0}
  .hero h1{font-size:34px}
  .hero h2{font-size:13px}
  .hero-photo-wrap{width:100%;max-width:310px;height:310px}
  .about-grid{gap:20px}
  .skills-grid,.project-grid{grid-template-columns:1fr}
  .projects-heading{align-items:start;gap:12px;flex-direction:column}
  .form-row{grid-template-columns:1fr}
  .contact-card{padding:25px 20px}
  .footer-inner{align-items:flex-start;gap:15px;flex-direction:column}
  .footer-links{flex-wrap:wrap;gap:12px}
}
