/*
Theme Name: NextGen IT Solutions
Description: Custom theme replicating the NextGen IT Solutions homepage.
Version: 1.0
Text Domain: nextgen
*/

:root{--dark:#1d1e20;--mid:#2d2e35;--light:#f4f4f6;--ink:#1a1a1a;--accent:#ffffff}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'DM Sans',sans-serif;color:var(--dark);line-height:1.6}
h1,h2,h3,h4{font-family:'Krona One',sans-serif;font-weight:400}
a{color:inherit;text-decoration:none}
.bar{background:#3f3a3a;color:#fff;text-align:center;font-weight:700;font-size:14px;padding:14px 10px}
header{background:var(--dark);position:sticky;top:0;z-index:20}
.nav{max-width:1280px;margin:auto;display:flex;align-items:center;gap:48px;padding:14px 32px}
.logo{width:96px;height:96px;object-fit:contain}
.menu{display:flex;gap:40px;font-family:'Jost',sans-serif;font-size:18px;color:#fff;flex:1;align-items:center}
.menu a.active{border-bottom:2px solid #fff}
.dd{position:relative}
.dd>span{cursor:pointer}.dd>a{display:inline}.caret{margin-left:6px;font-size:12px}
.dd-list{display:none;position:absolute;top:100%;left:0;background:var(--dark);min-width:320px;padding:12px 0;box-shadow:0 8px 24px #0008}
.dd:hover .dd-list{display:block}
.dd-list a{display:block;padding:8px 20px;font-size:16px}
.dd-list a:hover{background:#ffffff14}
.social{display:flex;gap:16px;color:#fff}
.social svg{width:22px;height:22px;fill:#fff}
.hero{position:relative;min-height:640px;background:#000;overflow:hidden;color:#fff;display:flex;align-items:flex-end}
.hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85}
.hero .in{position:relative;max-width:1280px;margin:auto;padding:0 32px 80px;width:100%}
.hero h4{font-size:28px;margin-bottom:24px}
.hero h1{font-size:32px;max-width:640px;margin-bottom:24px}
.hero p{max-width:600px;font-size:18px}
section{padding:96px 32px}
.wrap{max-width:1180px;margin:auto}
.why{background:var(--mid);color:#fff}
.why .grid{display:grid;grid-template-columns:1fr 1fr;gap:64px}
.why h3{font-size:24px;margin-bottom:24px}
.why p{margin-bottom:16px;text-align:justify}
.pt{display:flex;gap:24px;margin-bottom:32px}
.pt svg{flex:0 0 96px;width:96px;height:96px;fill:#fff}
.pt h4{font-size:18px;margin-bottom:12px}
.services{background:#fff}
.services h3.t{font-size:48px;margin-bottom:24px}
.services .intro{max-width:900px;margin-bottom:32px}
.btn{display:inline-block;background:var(--dark);color:#fff;padding:14px 32px;font-weight:700;letter-spacing:.04em;border-radius:0}
.btn:hover{background:#000}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:56px}
.card{background:var(--light)}
.card .img{height:200px;background:linear-gradient(135deg,#2d2e35,#555a66)}
.card div.b{padding:24px}
.card h4{font-size:15px;margin-bottom:12px;text-transform:uppercase}
.fb{background:var(--light)}
.fb h3{font-size:48px;margin-bottom:48px}
.tests{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.t1{background:#fff;padding:32px;box-shadow:0 2px 12px #0001}
.stars{color:#e0a800;letter-spacing:3px;margin-bottom:12px}
.t1 p{margin-bottom:16px}
.t1 b{display:block}
.proc{background:var(--mid);color:#fff}
.proc h3{font-size:48px;margin-bottom:24px}
.proc .lead{max-width:760px;margin-bottom:56px}
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}
.step .n{font-family:'Krona One';font-size:80px;line-height:1;opacity:.9;margin-bottom:12px}
.step h4{font-size:16px;margin-bottom:12px}
.step p{font-size:15px}
.ceo{background:#fff}
.ceo .grid{display:grid;grid-template-columns:320px 1fr;gap:56px;align-items:start}
.ceo .ph{height:420px;background:linear-gradient(160deg,#2d2e35,#555a66)}
.ceo h3{font-size:36px;margin-bottom:8px}
.ceo .role{font-weight:700;letter-spacing:.06em;margin-bottom:24px}
.ceo p{margin-bottom:16px}
.contact{background:var(--dark);color:#fff}
.contact .grid{display:grid;grid-template-columns:1.2fr 1fr;gap:64px}
.contact h3{font-size:40px;margin-bottom:16px}
form{display:grid;gap:16px;margin-top:24px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
input,textarea{width:100%;padding:14px;background:#2d2e35;border:1px solid #555;color:#fff;font:inherit}
textarea{min-height:140px}
button{background:#fff;color:#000;border:0;padding:14px 32px;font-weight:700;letter-spacing:.06em;cursor:pointer;justify-self:start}
.ci h4{margin:24px 0 6px;font-size:14px;letter-spacing:.08em}
footer{background:#000;color:#fff;padding:48px 32px}
footer .f{max-width:1180px;margin:auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px}
footer .menu{font-size:16px;flex:0}
@media(max-width:900px){
.nav{flex-wrap:wrap;gap:16px;padding:12px 20px}.menu{flex-wrap:wrap;gap:20px;font-size:16px;order:3;flex-basis:100%}
.why .grid,.contact .grid,.ceo .grid{grid-template-columns:1fr}
.cards,.tests{grid-template-columns:1fr}.steps{grid-template-columns:1fr 1fr}
.services h3.t,.fb h3,.proc h3{font-size:32px}.hero h1{font-size:24px}.hero h4{font-size:22px}
section{padding:64px 20px}
}

.card{display:block;color:inherit}
.card:hover{box-shadow:0 8px 24px #0002}
.page-hero{background:linear-gradient(135deg,#1d1e20,#2d2e35);color:#fff;padding:96px 32px}
.page-hero h1{font-size:36px;max-width:900px;margin-bottom:24px}
.page-hero .lead{max-width:900px;font-size:18px}
.pg{background:#fff;padding:80px 32px}
.pg h2{font-size:30px;margin:56px 0 24px}
.pg h2:first-child{margin-top:0}
.pg p{margin-bottom:16px;max-width:900px}
.pcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px;margin:24px 0}
.pcard{background:var(--light);padding:28px}
.pcard h4{font-size:16px;margin-bottom:14px}
.pcard p{margin-bottom:10px}
ul.ticks{list-style:none;margin:12px 0 20px}
ul.ticks li{position:relative;padding-left:26px;margin-bottom:10px}
ul.ticks li:before{content:"\2713";position:absolute;left:0;font-weight:700}
.closing{background:var(--dark);color:#fff;padding:40px;margin-top:48px}
.closing h3{font-size:24px;margin-bottom:16px}
.closing p{margin:0}
.formwrap{max-width:720px;margin:40px 0}
.formwrap input,.formwrap textarea{background:#fff;color:#000;border:1px solid #bbb}
.formwrap button{background:var(--dark);color:#fff}
.follow{font-size:20px;margin:40px 0 12px}
.social.dark a{color:var(--dark);margin-right:20px;font-weight:700}
.post{margin-bottom:32px}.post h2{font-size:24px;margin:0 0 8px}
.card .img{background-size:cover;background-position:center;background-color:#2d2e35}
.hero{background:radial-gradient(ellipse at 70% 40%,#16202e,#000 70%)}
.page-hero{background:linear-gradient(rgba(10,11,14,.62),rgba(10,11,14,.72)),url(assets/page-banner.jpg) center/cover no-repeat}
