/* ============================================================
   SABA DIGITAL SOLUTIONS — Stylesheet
   Colors: --navy #0F2056 | --gold #C9A052 | --cream #FAF7F1
   ============================================================ */

/* --- Variables & Reset --- */
:root {
  --navy:  #0F2056;
  --gold:  #C9A052;
  --cream: #FAF7F1;
  --cream2:#F2EDE4;
  --dark:  #080f2e;
  --grey:  #6b7280;
  --font:  'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); background: var(--cream); color: var(--navy); overflow-x: hidden; line-height: 1.6; }
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  padding: 13px 30px; border-radius: 2px; border: none; cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
}
.btn-solid        { background: var(--navy); color: #fff; }
.btn-solid:hover  { opacity: .88; }

.btn-outline       { background: transparent; border: 1.5px solid var(--gold); color: var(--navy); }
.btn-outline:hover { background: var(--gold); color: #fff; }

.btn-outline-gold       { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }

.btn-gold       { background: var(--gold); color: #fff; padding: 15px; width: 100%; justify-content: center; font-size: 13px; letter-spacing: .15em; }
.btn-gold:hover { opacity: .88; }

/* --- Reusable Components --- */
.gold-rule  { height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }

.eyebrow    { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.eyebrow-line  { display: block; width: 32px; height: 1px; background: var(--gold); flex-shrink: 0; }
.eyebrow-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: var(--gold); }

.section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .25em; color: var(--gold); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; text-transform: uppercase; line-height: 1.05; }
.section-title.white { color: #fff; }

.icon-circle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold); flex-shrink: 0; }
.icon-circle.sm { width: 44px; height: 44px; }

.learn-more { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: 20px; transition: gap .2s; }
.learn-more:hover { gap: 8px; }
.learn-more.gold  { color: var(--gold); }

/* ===================== NAVBAR ===================== */
#navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,241,.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,160,82,.2);
}
.nav-inner { display: flex; align-items: center; height: 68px; gap: 32px; }

.logo        { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img    { width: 60px; height: 60px; object-fit: contain; }
.logo-name   { display: block; font-size: 26px; font-weight: 900; letter-spacing: -.01em; }
.logo-sub    { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); }

.nav-links   { display: flex; gap: 40px; margin-left: auto; }
.nav-links a { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; transition: color .2s; }
.nav-links a:hover, .nav-active { color: var(--gold); }
.nav-cta     { margin-left: 8px; }

.hamburger  { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 16px 24px 20px; border-top: 1px solid rgba(201,160,82,.2); background: var(--cream); }
.mobile-menu.open { display: flex; }
.mobile-link { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; padding: 10px 0; border-bottom: 1px solid rgba(201,160,82,.12); }
.mobile-cta  { margin-top: 8px; justify-content: center; }

/* ===================== HERO ===================== */
#hero { position: relative; background: var(--cream); min-height: 88vh; overflow: hidden; }

.globe-svg {
  position: absolute; left: -60px; top: 50%; transform: translateY(-50%);
  width: 580px; height: 580px; pointer-events: none; z-index: 0;
}
.hero-panel {
  position: absolute; top: 0; right: 0; width: 42%; height: 100%;
  background: var(--navy); clip-path: polygon(8% 0%,100% 0%,100% 100%,0% 100%); z-index: 1;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  min-height: 88vh; padding: 80px 0;
}

.hero-text h1 { font-size: clamp(2.8rem,5.5vw,4.4rem); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -.01em; margin-bottom: 20px; }
.outline-text  { -webkit-text-stroke: 2px var(--navy); color: transparent; }
.hero-sub      { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.hero-tagline  { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .22em; color: var(--gold); margin-bottom: 36px; }
.hero-btns     { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-mockup   { position: relative; display: flex; justify-content: flex-end; align-items: center; }
.mockup-card   { position: relative; border-radius: 12px; overflow: hidden; border: 2px solid var(--gold); max-width: 520px; width: 100%; transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); box-shadow: 0 30px 80px rgba(15,32,86,.35); }
.browser-bar   { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--navy); }
.browser-dots  { display: flex; gap: 6px; }
.dot           { display: block; width: 12px; height: 12px; border-radius: 50%; }
.dot-red    { background: #f87171; }
.dot-yellow { background: #facc15; }
.dot-green  { background: #4ade80; }
.browser-url   { flex: 1; height: 20px; border-radius: 4px; background: rgba(255,255,255,.12); margin: 0 12px; }
.mockup-img    { width: 100%; }
.mockup-bar    { height: 4px; background: linear-gradient(to right,var(--gold),var(--navy),var(--gold)); }

.stat-card  { position: absolute; bottom: -24px; left: -24px; background: #fff; border: 1px solid #E8D5A3; border-radius: 12px; padding: 16px 24px; box-shadow: 0 8px 24px rgba(15,32,86,.12); }
.stat-card .num { font-size: 26px; font-weight: 900; line-height: 1; }
.stat-card .lbl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-top: 4px; }

.badge-pill { position: absolute; top: -16px; right: -16px; display: flex; align-items: center; gap: 6px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 8px 16px; border-radius: 999px; box-shadow: 0 4px 12px rgba(201,160,82,.4); }

/* ===================== EXPERTISE ===================== */
.expertise { background: var(--cream2); }
.expertise-inner { padding: 56px 0; }
.expertise-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 40px; }
.expertise-item  { display: flex; align-items: flex-start; gap: 20px; }
.expertise-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.expertise-item p  { font-size: 14px; color: var(--grey); }

/* ===================== STATS BAR ===================== */
.stats-bar { background: var(--navy); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.stat-block { display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid rgba(201,160,82,.2); }
.stat-block:last-child { border-right: none; }
.stat-block .num { font-size: 2.4rem; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.stat-block .lbl { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); }

/* ===================== SERVICES ===================== */
.services { padding: 96px 0; background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card { padding: 32px; border: 1px solid #E8D5A3; border-top: 3px solid var(--gold); background: #fff; transition: transform .25s; }
.card.alt { background: var(--cream2); }
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin: 18px 0 10px; }
.card p   { font-size: 13px; color: var(--grey); line-height: 1.65; margin-bottom: 18px; }
.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #4b5563; }
.feature-list li::before { content:''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ===================== ABOUT ===================== */
.about { background: var(--navy); padding: 96px 0; position: relative; overflow: hidden; }
.glow  { position: absolute; border-radius: 50%; opacity: .05; background: var(--gold); pointer-events: none; }
.glow-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.glow-2 { width: 280px; height: 280px; bottom: -80px; left: -80px; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text p { font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 16px; }
.about-text p.muted { color: rgba(255,255,255,.45); font-size: 14px; margin-bottom: 28px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.pillar  { padding: 16px; background: rgba(201,160,82,.08); border: 1px solid rgba(201,160,82,.18); border-radius: 4px; }
.pillar strong { display: block; font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 2px; }
.pillar span   { font-size: 12px; color: rgba(255,255,255,.45); }
.stats-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.astat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(201,160,82,.12); border-radius: 4px; }
.astat .num { font-size: 2.2rem; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.astat .lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; }
.astat .sub { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 2px; }
.gold-text  { color: var(--gold); }

/* ===================== PORTFOLIO ===================== */
.portfolio { background: var(--cream2); padding: 96px 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.project-card   { padding: 32px; border-top: 3px solid var(--gold); transition: transform .25s; }
.project-card:hover { transform: translateY(-4px); }
.project-card .type { display: block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); margin-bottom: 8px; }
.project-card h3    { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.project-card p     { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 20px; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag  { padding: 4px 12px; font-size: 11px; font-weight: 600; border-radius: 999px; background: rgba(201,160,82,.15); color: #E8D5A3; border: 1px solid rgba(201,160,82,.25); }

/* ===================== TESTIMONIALS ===================== */
.testimonials { background: var(--cream); padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.divider-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 14px; }
.divider-line { display: block; width: 64px; height: 1px; background: var(--gold); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tcard { padding: 32px; background: #fff; border: 1px solid #E8D5A3; border-top: 3px solid var(--gold); }
.stars { font-size: 14px; color: var(--gold); margin-bottom: 18px; letter-spacing: 2px; }
.tcard blockquote { font-size: 14px; color: #4b5563; line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.tcard footer strong { display: block; font-size: 14px; font-weight: 700; }
.tcard footer span   { display: block; font-size: 12px; color: var(--gold); margin-top: 3px; }

/* ===================== PAGE HERO ===================== */
.page-hero { background: var(--navy); padding: 80px 0 72px; }
.page-hero h1 { font-size: clamp(2.2rem,5vw,3.6rem); font-weight: 900; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.page-hero p  { font-size: 16px; color: rgba(255,255,255,.6); max-width: 540px; }

/* ===================== CONTACT ===================== */
.contact { background: var(--navy); padding: 96px 0; position: relative; overflow: hidden; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info p { font-size: 15px; color: rgba(255,255,255,.7); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item     { display: flex; align-items: center; gap: 16px; }
.contact-item span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75); }
.more-links { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; }
.more-links a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.more-links a:hover { color: var(--gold); }
.more-links-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); margin-bottom: 16px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group   { display: flex; flex-direction: column; gap: 7px; }
.form-group label  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea { background: rgba(255,255,255,.07); border: 1px solid rgba(201,160,82,.25); color: #fff; padding: 12px 16px; font-size: 14px; font-family: inherit; border-radius: 2px; outline: none; transition: border-color .2s; width: 100%; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }
.form-group select option { background: #0d1a45; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(201,160,82,.7); }
.form-group textarea { resize: none; }

.form-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 32px; background: rgba(201,160,82,.08); border: 1px solid rgba(201,160,82,.3); border-radius: 4px; min-height: 320px; }
.form-success.show { display: flex; }
.success-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 12px; }
.form-success h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.form-success p  { font-size: 14px; color: rgba(255,255,255,.55); }

/* ===================== CTA BANNER ===================== */
.cta-banner { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 64px; padding: 40px 48px; background: var(--navy); border-top: 3px solid var(--gold); }
.cta-banner h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-banner p  { font-size: 14px; color: rgba(255,255,255,.55); }
.cta-banner .btn-gold { width: auto; white-space: nowrap; }

/* ===================== FOOTER ===================== */
.footer { background: var(--dark); border-top: 1px solid rgba(201,160,82,.12); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding: 56px 0 40px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 280px; margin-top: 16px; }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a  { font-size: 12px; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0 24px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.35); }
.footer-legal    { display: flex; gap: 24px; }
.footer-legal a  { font-size: 11px; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-panel { width: 50%; }
  .expertise-grid,
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-block:nth-child(2) { border-right: none; }
  .services-grid,
  .portfolio-grid,
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .hero-grid        { grid-template-columns: 1fr; text-align: center; }
  .hero-mockup      { display: none; }
  .hero-panel       { display: none; }
  .eyebrow          { justify-content: center; }
  .hero-btns        { justify-content: center; }
  .expertise-grid   { grid-template-columns: 1fr; }
  .stats-grid       { grid-template-columns: 1fr 1fr; }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block:nth-child(4) { border-right: none; }
  .services-grid,
  .portfolio-grid,
  .testimonials-grid,
  .stats-2x2,
  .pillars          { grid-template-columns: 1fr; }
  .cta-banner       { flex-direction: column; text-align: center; padding: 32px 24px; }
  .footer-top       { grid-template-columns: 1fr; }
  .footer-bottom    { flex-direction: column; gap: 12px; text-align: center; }
}
