
:root{--navy:#111827;--blue:#ed1c24;--blue2:#c9151d;--light:#f5f7fa;--text:#101828;--muted:#667085;--border:#e5e7eb;--white:#fff;--max:1200px}
*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:Arial,Helvetica,sans-serif;color:var(--text);line-height:1.6}a{text-decoration:none;color:inherit}.container{width:min(92%,var(--max));margin:auto}
header{position:sticky;top:0;z-index:99;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border)}.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.logo{font-size:26px;font-weight:800;color:var(--navy)}.logo span{color:var(--blue)}nav ul{display:flex;gap:26px;list-style:none}nav a{font-weight:700;font-size:14px;color:var(--navy)}nav a:hover,nav a.active{color:var(--blue)}.nav-actions{display:flex;gap:10px}.btn{display:inline-flex;padding:13px 22px;font-weight:700;font-size:14px;border:1px solid transparent;justify-content:center;transition:.25s}.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{background:var(--blue2);transform:translateY(-2px)}.btn-outline{border-color:var(--navy);color:var(--navy)}.btn-light{background:#fff;color:var(--navy)}.menu{display:none;background:none;border:0;font-size:26px}
.hero{min-height:680px;display:flex;align-items:center;color:#fff;background:linear-gradient(90deg,rgba(7,29,49,.95),rgba(7,29,49,.75)),url('https://images.unsplash.com/photo-1581092919535-7146ff1a590a?auto=format&fit=crop&w=1800&q=80') center/cover}.hero .content{max-width:760px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:800;text-transform:uppercase;color:#70baff;margin-bottom:16px}.hero h1{font-size:clamp(44px,6vw,78px);line-height:1.04;letter-spacing:-2px;margin-bottom:24px}.hero p{font-size:19px;color:#d7e5f0;margin-bottom:30px;max-width:650px}.buttons{display:flex;gap:14px;flex-wrap:wrap}
.section{padding:95px 0}.light{background:var(--light)}.dark{background:var(--navy);color:#fff}.heading{max-width:760px;margin-bottom:50px}.heading h1,.heading h2{font-size:clamp(34px,4vw,54px);line-height:1.12;letter-spacing:-1px;margin-bottom:16px}.heading p{color:var(--muted);font-size:17px}.dark .heading p{color:#b8c9d6}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:25px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;border:1px solid var(--border);padding:34px}.card h3{font-size:22px;color:var(--navy);margin:14px 0}.card p{color:var(--muted)}.number{color:var(--blue);font-weight:800;font-size:13px}.feature{min-height:410px;padding:48px;display:flex;align-items:flex-end;position:relative;background-size:cover;background-position:center;color:#fff;overflow:hidden}.feature:before{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(7,29,49,.96),rgba(7,29,49,.15))}.feature>*{position:relative}.feature h2{font-size:36px;margin-bottom:12px}.feature p{color:#dce8f1;margin-bottom:22px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center}.stats h3{font-size:50px}.stats p{color:#b9cad8;font-size:13px;text-transform:uppercase;letter-spacing:1px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.split img{width:100%;height:520px;object-fit:cover}.list{list-style:none;margin:24px 0}.list li{padding:11px 0;border-bottom:1px solid var(--border);font-weight:600;color:var(--navy)}.list li:before{content:"✓";color:var(--blue);margin-right:12px}
.banner{background:linear-gradient(135deg,var(--blue),#0b4e8b);color:#fff;text-align:center;padding:90px 0}.banner h2{font-size:clamp(38px,5vw,62px);margin-bottom:15px}.banner p{max-width:650px;margin:0 auto 28px;color:#dceeff;font-size:18px}
.page-hero{background:var(--navy);color:#fff;padding:100px 0}.page-hero h1{font-size:clamp(42px,5vw,66px);margin-bottom:15px}.page-hero p{max-width:700px;color:#c9d8e5;font-size:18px}
.contact-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:50px}.contact-box{background:var(--navy);color:#fff;padding:45px}.contact-box p{color:#c5d3df;margin:15px 0}.form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form .full{grid-column:1/-1}.form input,.form select,.form textarea{width:100%;padding:15px;border:1px solid var(--border);font:inherit}.form textarea{min-height:150px;resize:vertical}
footer{background:#061522;color:#fff;padding:70px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;padding-bottom:45px;border-bottom:1px solid rgba(255,255,255,.12)}.footer-grid p,.footer-grid a{color:#a9bbc9;font-size:14px}.footer-grid a{display:block;margin:9px 0}.footer-grid h4{margin-bottom:16px}.footer-bottom{padding-top:24px;color:#8096a7;font-size:13px}
@media(max-width:900px){nav ul,.nav-actions{display:none}.menu{display:block}.grid3{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.split,.contact-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.section{padding:65px 0}.grid2,.grid3,.stats,.footer-grid,.form{grid-template-columns:1fr}.form .full{grid-column:auto}.feature{padding:30px}.hero{min-height:620px}.buttons .btn{width:100%}.split img{height:350px}}

/* SGTech Solutions brand */
.brand{display:flex;align-items:center;gap:11px;min-width:270px}
.brand-mark{width:52px;height:52px;border-radius:50%;background:var(--blue);color:#fff;
display:grid;place-items:center;font-size:23px;font-weight:900;font-style:italic;
letter-spacing:-3px;position:relative;overflow:hidden}
.brand-mark:after{content:"";position:absolute;width:15px;height:70px;background:#fff;
transform:rotate(34deg);left:19px;top:-10px;opacity:.18}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.brand-name{font-size:22px;font-weight:800;color:#111827;letter-spacing:-.5px}
.brand-name span{color:var(--blue)}
.brand-tagline{font-size:9px;color:#4b5563;letter-spacing:.8px;text-transform:uppercase;margin-top:5px;font-weight:700}
footer .brand-name{color:#fff}footer .brand-tagline{color:#a9bbc9}
@media(max-width:620px){.brand{min-width:auto}.brand-mark{width:44px;height:44px;font-size:20px}.brand-name{font-size:18px}.brand-tagline{font-size:7px}}

/* Official SGTech Solutions logo */
.brand{display:flex;align-items:center;gap:12px;min-width:300px}
.brand-logo{width:54px;height:54px;object-fit:contain;display:block}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.brand-name{font-size:22px;font-weight:800;color:#111827;letter-spacing:-.5px}
.brand-name span{color:#ed1c24}
.brand-tagline{font-size:9px;color:#4b5563;letter-spacing:.8px;text-transform:uppercase;margin-top:5px;font-weight:700}
footer .brand-name{color:#fff}
footer .brand-tagline{color:#a9bbc9}
footer .brand-logo{background:transparent}
@media(max-width:620px){
  .brand{min-width:auto;gap:8px}
  .brand-logo{width:42px;height:42px}
  .brand-name{font-size:18px}
  .brand-tagline{font-size:7px}
}

/* RPO page */
.rpo-hero{min-height:620px;display:flex;align-items:center;color:#fff;
background:linear-gradient(100deg,rgba(7,20,34,.96),rgba(7,20,34,.78)),
url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=85') center/cover}
.rpo-hero .hero-copy{max-width:800px;padding:90px 0}
.rpo-hero h1{font-size:clamp(44px,6vw,76px);line-height:1.04;margin-bottom:22px;letter-spacing:-2px}
.rpo-hero p{font-size:19px;color:#d7e4ed;max-width:740px;margin-bottom:30px}
.rpo-pills{display:flex;flex-wrap:wrap;gap:12px;margin-top:35px}
.rpo-pill{padding:10px 15px;border:1px solid rgba(255,255,255,.28);font-size:13px;font-weight:700}
.rpo-intro{font-size:18px;color:var(--muted);max-width:820px}
.rpo-triggers{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:28px}
.rpo-trigger{border-left:4px solid var(--blue);background:var(--light);padding:18px;font-weight:700;color:var(--navy)}
.deliverables{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.deliverable{padding:26px;background:#fff;border:1px solid var(--border)}
.deliverable h3{color:var(--navy);font-size:20px;margin-bottom:8px}
.faq{max-width:900px}
.faq details{border-bottom:1px solid var(--border);padding:18px 0}
.faq summary{font-weight:800;color:var(--navy);cursor:pointer}
.faq p{color:var(--muted);margin-top:12px}
@media(max-width:900px){.rpo-triggers{grid-template-columns:repeat(2,1fr)}.deliverables{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.rpo-triggers,.deliverables{grid-template-columns:1fr}.rpo-hero{min-height:590px}}

/* Center the SGTech Solutions logo and brand block in the footer */
footer .footer-grid > div:first-child .brand{
  justify-content:center;
  margin-left:auto;
  margin-right:auto;
}
footer .footer-grid > div:first-child{
  text-align:center;
}
footer .footer-grid > div:first-child p{
  margin-left:auto;
  margin-right:auto;
  max-width:420px;
}


/* Clean centered footer branding */
footer .footer-grid{
  position:relative;
}

footer .footer-grid > div:first-child{
  grid-column:1 / -1;
  text-align:center;
  padding-bottom:28px;
  margin-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.12);
}

footer .footer-grid > div:first-child .brand{
  width:max-content;
  max-width:100%;
  min-width:0;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:left;
}

footer .footer-grid > div:first-child .brand-logo{
  width:68px;
  height:68px;
  flex:0 0 auto;
}

footer .footer-grid > div:first-child .brand-name{
  font-size:26px;
  white-space:nowrap;
}

footer .footer-grid > div:first-child .brand-tagline{
  font-size:10px;
  letter-spacing:1px;
  white-space:nowrap;
}

footer .footer-grid > div:first-child > p{
  max-width:560px;
  margin:18px auto 0 !important;
  text-align:center;
}

@media(max-width:620px){
  footer .footer-grid > div:first-child .brand{
    gap:10px;
  }
  footer .footer-grid > div:first-child .brand-logo{
    width:52px;
    height:52px;
  }
  footer .footer-grid > div:first-child .brand-name{
    font-size:20px;
  }
  footer .footer-grid > div:first-child .brand-tagline{
    font-size:8px;
    letter-spacing:.6px;
  }
}


/* Final footer layout: logo on the left, navigation columns side by side */
footer .footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1.2fr;
  gap:45px;
  align-items:start;
  padding-bottom:42px;
  border-bottom:none !important;
}

footer .footer-grid > div:first-child,
footer .footer-grid > .footer-brand{
  grid-column:auto !important;
  text-align:left !important;
  padding-bottom:0 !important;
  margin-bottom:0 !important;
  border-bottom:none !important;
}

footer .footer-brand .brand{
  width:auto !important;
  min-width:0 !important;
  margin:0 !important;
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  text-align:left !important;
}

footer .footer-brand .brand-logo{
  width:62px !important;
  height:62px !important;
}

footer .footer-brand .brand-name{
  font-size:24px !important;
}

footer .footer-brand .brand-tagline{
  font-size:9px !important;
  white-space:normal !important;
}

footer .footer-brand p{
  max-width:360px !important;
  margin:18px 0 0 !important;
  text-align:left !important;
}

footer .footer-grid h4{
  margin:8px 0 16px;
  font-size:14px;
  letter-spacing:.8px;
}

footer .footer-grid a{
  display:block;
  margin:10px 0;
}

@media(max-width:900px){
  footer .footer-grid{
    grid-template-columns:1.7fr 1fr 1fr;
    gap:30px;
  }
  footer .footer-brand{
    grid-column:1 / -1 !important;
  }
}

@media(max-width:620px){
  footer .footer-grid{
    grid-template-columns:1fr;
    gap:25px;
  }
  footer .footer-brand{
    grid-column:auto !important;
  }
}
