/* shared.css — BlackStack Automation */
:root {
  --accent: #FC5207;
  --accent-light: #fff1eb;
  --accent-dark: #d44000;
  --navy: #0D1B2A;
  --slate: #1E2D3D;
  --mid: #4A5568;
  --light: #F7F8FA;
  --border: #E8ECF0;
  --white: #ffffff;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family:'DM Sans',sans-serif;
  background:var(--white);
  color:var(--navy);
  overflow-x:hidden;
}

h1,h2,h3,h4,h5,.display-font { font-family:'Sora',sans-serif; }

/* ── NAVBAR (shared with index) ── */
.navbar-main {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(255,255,255,0.97);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  height:68px; display:flex; align-items:center;
}
.navbar-inner {
  width:100%; max-width:1280px; margin:0 auto;
  padding:0 32px; display:flex; align-items:center; justify-content:space-between;
}
.nav-logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.nav-logo-icon {
  width:36px; height:36px; background:var(--accent);
  border-radius:8px; display:flex; align-items:center; justify-content:center;
}
.nav-logo-text { font-family:'Sora',sans-serif; font-weight:700; font-size:17px; color:var(--navy); letter-spacing:-0.3px; }
.nav-logo-text span { color:var(--accent); }
.nav-links { display:flex; align-items:center; gap:4px; list-style:none; }
.nav-links > li > a, .nav-links > li > button {
  font-family:'DM Sans',sans-serif; font-size:14.5px; font-weight:500;
  color:var(--slate); text-decoration:none;
  padding:8px 14px; border-radius:6px;
  background:none; border:none; cursor:pointer;
  display:flex; align-items:center; gap:5px;
  transition:color .2s,background .2s;
}
.nav-links > li > a:hover, .nav-links > li > button:hover { color:var(--accent); background:var(--accent-light); }
.nav-cta { background:var(--accent)!important; color:white!important; border-radius:7px!important; padding:9px 20px!important; font-weight:600!important; box-shadow:0 2px 12px rgba(252,82,7,0.25); transition:background .2s,box-shadow .2s!important; }
.nav-cta:hover { background:var(--accent-dark)!important; }

/* Mega Menu (shared) */
.mega-wrapper { position:relative; }
.mega-menu {
  display:none; position:absolute; top:calc(100% + 12px); left:50%; transform:translateX(-50%);
  width:820px; background:white; border:1px solid var(--border);
  border-radius:16px; box-shadow:0 24px 60px rgba(13,27,42,0.12),0 4px 16px rgba(13,27,42,0.06);
  padding:8px; z-index:999;
}
.mega-wrapper:hover .mega-menu,.mega-wrapper:focus-within .mega-menu { display:flex; }
.mega-sidebar { width:220px; flex-shrink:0; background:var(--light); border-radius:12px; padding:12px 8px; }
.mega-industry-btn {
  display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:8px;
  cursor:pointer; border:none; background:none; width:100%; text-align:left;
  transition:background .15s,color .15s; font-family:'DM Sans',sans-serif;
  font-size:13.5px; font-weight:500; color:var(--slate);
}
.mega-industry-btn:hover,.mega-industry-btn.active { background:white; color:var(--accent); box-shadow:0 2px 8px rgba(13,27,42,0.07); }
.mega-industry-btn .ind-icon { width:30px; height:30px; border-radius:7px; display:flex; align-items:center; justify-content:center; background:var(--accent-light); font-size:14px; flex-shrink:0; }
.mega-content { flex:1; padding:16px 20px; display:none; }
.mega-content.active { display:block; }
.mega-content-header { display:flex; align-items:flex-start; gap:14px; margin-bottom:18px; padding-bottom:16px; border-bottom:1px solid var(--border); }
.mega-content-icon { width:44px; height:44px; border-radius:10px; background:var(--accent-light); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.mega-content-title { font-family:'Sora',sans-serif; font-size:15px; font-weight:700; color:var(--navy); }
.mega-content-desc { font-size:12.5px; color:var(--mid); margin-top:3px; line-height:1.5; }
.mega-services-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.mega-service-item { display:flex; align-items:flex-start; gap:10px; padding:10px 12px; border-radius:8px; border:1px solid var(--border); text-decoration:none; color:var(--navy); transition:border-color .15s,box-shadow .15s,background .15s; }
.mega-service-item:hover { border-color:var(--accent); background:var(--accent-light); box-shadow:0 2px 8px rgba(252,82,7,0.08); }
.mega-service-icon { width:28px; height:28px; border-radius:6px; background:var(--light); display:flex; align-items:center; justify-content:center; font-size:13px; flex-shrink:0; margin-top:1px; }
.mega-service-name { font-size:13px; font-weight:600; color:var(--navy); line-height:1.3; }
.mega-service-sub { font-size:11.5px; color:var(--mid); margin-top:2px; line-height:1.4; }
.mega-footer { margin-top:14px; padding-top:14px; border-top:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.mega-footer-link { font-size:12.5px; color:var(--accent); font-weight:600; text-decoration:none; display:flex; align-items:center; gap:4px; }
.mega-footer-link:hover { text-decoration:underline; }
.mega-cta-pill { background:var(--accent); color:white; font-size:12px; font-weight:600; padding:6px 14px; border-radius:20px; text-decoration:none; transition:background .15s; }
.mega-cta-pill:hover { background:var(--accent-dark); color:white; }

/* ── INDUSTRY HERO ── */
.industry-hero {
  padding: 120px 0 80px;
  background: var(--white);
  position: relative; overflow: hidden;
}
.industry-hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right,#F0F2F5 1px,transparent 1px), linear-gradient(to bottom,#F0F2F5 1px,transparent 1px);
  background-size:40px 40px; opacity:0.5;
}
.industry-hero-glow {
  position: absolute; top: -80px; right: -80px;
  width:500px; height:500px;
  border-radius:50%;
}
.industry-breadcrumb { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--mid); margin-bottom:24px; }
.industry-breadcrumb a { color:var(--mid); text-decoration:none; }
.industry-breadcrumb a:hover { color:var(--accent); }
.industry-breadcrumb i { font-size:10px; }

.industry-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--accent-light); border:1px solid rgba(252,82,7,0.2);
  color:var(--accent); font-size:12.5px; font-weight:600;
  padding:6px 14px; border-radius:20px; margin-bottom:24px;
}
.industry-h1 {
  font-family:'Sora',sans-serif; font-size:clamp(32px,4.5vw,58px);
  font-weight:800; color:var(--navy); line-height:1.1; letter-spacing:-1px; margin-bottom:20px;
}
.industry-h1 span { color:var(--accent); }
.industry-sub { font-size:17px; color:var(--mid); line-height:1.7; max-width:580px; margin-bottom:36px; }

/* ── SERVICE CARDS ── */
.services-section { padding:90px 0; background:var(--light); }
.service-card {
  background:white; border:1px solid var(--border); border-radius:16px;
  padding:32px; height:100%;
  transition:border-color .2s,box-shadow .2s,transform .2s;
  position:relative; overflow:hidden;
}
.service-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform .3s;
}
.service-card:hover { border-color:transparent; box-shadow:0 12px 40px rgba(13,27,42,0.1); transform:translateY(-3px); }
.service-card:hover::before { transform:scaleX(1); }
.service-card-icon { width:52px; height:52px; border-radius:12px; background:var(--accent-light); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.service-card-icon i { font-size:24px; color:var(--accent); }
.service-card-title { font-family:'Sora',sans-serif; font-size:18px; font-weight:700; color:var(--navy); margin-bottom:10px; }
.service-card-desc { font-size:14.5px; color:var(--mid); line-height:1.7; margin-bottom:20px; }
.service-feature-list { list-style:none; }
.service-feature-list li { display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--slate); padding:5px 0; }
.service-feature-list li::before { content:''; width:6px; height:6px; background:var(--accent); border-radius:50%; flex-shrink:0; }

/* ── WHY SECTION ── */
.why-section { padding:90px 0; background:white; }
.why-card { display:flex; align-items:flex-start; gap:16px; padding:24px; border:1px solid var(--border); border-radius:14px; margin-bottom:16px; transition:border-color .2s,box-shadow .2s; }
.why-card:hover { border-color:var(--accent); box-shadow:0 4px 20px rgba(252,82,7,0.08); }
.why-card-icon { width:44px; height:44px; border-radius:10px; background:var(--accent-light); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.why-card-title { font-family:'Sora',sans-serif; font-size:15px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.why-card-text { font-size:13.5px; color:var(--mid); line-height:1.6; }

/* ── STATS STRIP ── */
.stats-strip { background:var(--navy); padding:60px 0; }
.stat-item { text-align:center; }
.stat-num { font-family:'Sora',sans-serif; font-size:42px; font-weight:800; color:white; letter-spacing:-1px; }
.stat-num span { color:var(--accent); }
.stat-label { font-size:14px; color:rgba(255,255,255,0.5); margin-top:4px; }
.stat-divider { width:1px; height:60px; background:rgba(255,255,255,0.1); margin:auto; }

/* ── CTA STRIP ── */
.industry-cta { padding:80px 0; background:var(--light); }
.cta-box { background:var(--navy); border-radius:20px; padding:56px 60px; position:relative; overflow:hidden; }
.cta-glow { position:absolute; top:-60px; right:-60px; width:300px; height:300px; background:radial-gradient(circle,rgba(252,82,7,0.2) 0%,transparent 70%); }
.cta-box-h2 { font-family:'Sora',sans-serif; font-size:34px; font-weight:800; color:white; margin-bottom:14px; letter-spacing:-0.4px; }
.cta-box-sub { font-size:16px; color:rgba(255,255,255,0.55); margin-bottom:30px; }

/* ── FOOTER (shared) ── */
footer { background:var(--navy); border-top:1px solid rgba(255,255,255,0.07); padding:60px 0 0; }
.footer-logo-text { font-family:'Sora',sans-serif; font-weight:700; font-size:18px; color:white; }
.footer-logo-text span { color:var(--accent); }
.footer-tagline { font-size:13.5px; color:rgba(255,255,255,0.45); margin-top:8px; line-height:1.6; max-width:240px; }
.footer-heading { font-family:'Sora',sans-serif; font-size:12px; font-weight:700; color:rgba(255,255,255,0.35); letter-spacing:1.5px; text-transform:uppercase; margin-bottom:18px; }
.footer-link { display:block; font-size:14px; color:rgba(255,255,255,0.6); text-decoration:none; margin-bottom:10px; transition:color .15s; }
.footer-link:hover { color:var(--accent); }
.footer-bottom { margin-top:48px; padding:20px 0; border-top:1px solid rgba(255,255,255,0.07); display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer-bottom-text { font-size:13px; color:rgba(255,255,255,0.3); }
.social-icon { width:34px; height:34px; border-radius:7px; border:1px solid rgba(255,255,255,0.12); display:inline-flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.5); font-size:15px; text-decoration:none; transition:border-color .15s,color .15s,background .15s; margin-left:8px; }
.social-icon:hover { border-color:var(--accent); color:var(--accent); background:rgba(252,82,7,0.08); }

/* ── UTILS ── */
.section-label { display:inline-flex; align-items:center; gap:8px; color:var(--accent); font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; margin-bottom:14px; }
.section-label::before { content:''; width:20px; height:2px; background:var(--accent); border-radius:2px; }
.section-h2 { font-family:'Sora',sans-serif; font-size:clamp(26px,3.2vw,42px); font-weight:800; color:var(--navy); line-height:1.12; letter-spacing:-0.8px; }
.section-sub { font-size:16.5px; color:var(--mid); line-height:1.7; }
.divider-line { width:48px; height:3px; background:var(--accent); border-radius:2px; margin:18px 0; }

.btn-primary-main { background:var(--accent); color:white; border:none; padding:14px 28px; border-radius:8px; font-family:'DM Sans',sans-serif; font-size:15px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:8px; box-shadow:0 4px 20px rgba(252,82,7,0.3); transition:background .2s,transform .15s,box-shadow .2s; text-decoration:none; }
.btn-primary-main:hover { background:var(--accent-dark); transform:translateY(-1px); box-shadow:0 8px 28px rgba(252,82,7,0.35); color:white; }
.btn-ghost-main { background:none; border:1.5px solid var(--border); color:var(--navy); padding:14px 28px; border-radius:8px; font-family:'DM Sans',sans-serif; font-size:15px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:8px; transition:border-color .2s,color .2s,background .2s; text-decoration:none; }
.btn-ghost-main:hover { border-color:var(--accent); color:var(--accent); background:var(--accent-light); }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .6s,transform .6s; }
.reveal.visible { opacity:1; transform:none; }

/* ── MOBILE HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px;
  background: none; border: 1.5px solid var(--border);
  border-radius: 8px; cursor: pointer; flex-shrink: 0;
  transition: border-color .2s, background .2s;
}
.nav-hamburger:hover { border-color: var(--accent); background: var(--accent-light); }
.ham-bar {
  width: 18px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform .3s, opacity .3s, width .3s;
  transform-origin: center;
}
.nav-hamburger.open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .ham-bar:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: white; z-index: 998;
  overflow-y: auto;
  border-top: 1px solid var(--border);
  transform: translateY(-8px); opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: none;
}
.mobile-drawer.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-drawer-inner { padding: 16px 20px 40px; }

.mob-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; font-weight: 500; color: var(--navy);
  text-decoration: none; cursor: pointer;
  background: none; border-left: none; border-right: none; border-top: none;
  width: 100%; font-family: 'DM Sans', sans-serif;
  transition: color .15s;
}
.mob-link:hover { color: var(--accent); }
.mob-link i { font-size: 13px; transition: transform .25s; }
.mob-link.open i { transform: rotate(180deg); }

.mob-industries { display: none; padding: 8px 0 4px; }
.mob-industries.open { display: block; }
.mob-industry-group { margin-bottom: 4px; }

.mob-industry-trigger {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  background: var(--light); border: none; width: 100%; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--navy); text-align: left;
  transition: background .15s, color .15s;
  justify-content: space-between;
}
.mob-industry-trigger:hover, .mob-industry-trigger.open { background: var(--accent-light); color: var(--accent); }
.mob-industry-trigger .trigger-left { display: flex; align-items: center; gap: 10px; }
.mob-industry-trigger i.chevron { font-size: 11px; transition: transform .2s; }
.mob-industry-trigger.open i.chevron { transform: rotate(180deg); }

.mob-services { display: none; padding: 6px 8px 8px 16px; }
.mob-services.open { display: block; }

.mob-service-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 7px;
  text-decoration: none; color: var(--navy);
  font-size: 13.5px; font-weight: 500;
  transition: background .15s, color .15s;
  margin-bottom: 2px;
}
.mob-service-link:hover { background: var(--accent-light); color: var(--accent); }
.mob-service-emoji { font-size: 15px; width: 24px; text-align: center; flex-shrink: 0; }

.mob-cta {
  display: block; width: 100%; text-align: center;
  background: var(--accent); color: white;
  padding: 14px; border-radius: 9px; margin-top: 20px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(252,82,7,0.25);
  transition: background .2s;
}
.mob-cta:hover { background: var(--accent-dark); color: white; }

@media(max-width: 991px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none !important; }
  .mobile-drawer { display: block; }
  .navbar-main { height: 64px; }
}
@media(max-width: 480px) {
  .navbar-inner { padding: 0 16px; }
  .nav-logo-text { font-size: 15px; }
}
