/* ============================================
   BARMI SOLUTIONS — Main Stylesheet
   Dark theme with Orange accent
   ============================================ */

:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: rgba(249,115,22,0.1);
  --orange-border: rgba(249,115,22,0.25);
  --bg: #080808;
  --bg2: #0d0d0d;
  --bg3: #111111;
  --bg4: #1a1a1a;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #f0ece6;
  --text2: #9ca3af;
  --text3: #6b7280;
  --text4: #374151;
  --font-head: 'Cabinet Grotesk', 'Syne', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-orange: 0 0 40px rgba(249,115,22,0.2);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
h1 { letter-spacing: -0.02em; }
h2 { letter-spacing: -0.015em; }
h3,h4,h5 { letter-spacing: 0; }
.text-orange { color: var(--orange); }
.text-dim { color: #2d2d2d; }
.text-center { text-align: center; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(249,115,22,0.35); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text2);
  padding: 14px 22px; border-radius: var(--radius);
  font-weight: 500; font-size: 0.9rem;
  border: 1px solid var(--border2); cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--orange);
  padding: 10px 18px; border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 600;
  border: 1px solid var(--orange-border); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--orange); color: #fff; }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.section { padding: 100px 0; }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(8,8,8,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 68px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 56px;
  height: 100%; display: flex; align-items: center; gap: 40px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: #fff;
  letter-spacing: 0.2px; white-space: nowrap;
}
.logo-sq {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 900; color: #fff;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 36px; margin-left: auto; }
.nav-links a { font-size: 0.85rem; color: var(--text3); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-avail { display: flex; align-items: center; gap: 7px; font-size: 0.75rem; color: var(--text3); }
.avail-dot { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 8px #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.btn-nav {
  background: var(--orange); color: #fff; padding: 9px 20px;
  border-radius: 8px; font-size: 0.82rem; font-weight: 600;
  transition: background 0.2s;
}
.btn-nav:hover { background: var(--orange-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: 0.3s; }

/* ---- HERO ---- */
.hero { position: relative; min-height: 92vh; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 80px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.eyebrow-line { width: 28px; height: 1px; background: var(--orange); flex-shrink: 0; }
.eyebrow span { font-size: 0.72rem; color: var(--orange); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.hero h1 { font-size: 4rem; margin-bottom: 20px; }
.hero-desc { font-size: 1rem; color: var(--text3); line-height: 1.75; max-width: 440px; margin-bottom: 36px; }
.hero-desc strong { color: var(--text2); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-meta { display: flex; align-items: center; gap: 28px; padding-top: 44px; border-top: 1px solid var(--border); }
.meta-num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: #fff; }
.meta-label { font-size: 0.7rem; color: var(--text4); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.meta-sep { width: 1px; height: 36px; background: var(--border); }

/* PROFILE CARD */
.profile-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  position: relative; overflow: hidden; margin-bottom: 16px;
  transition: transform 0.1s ease-out;
}
.card-glow-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.6), transparent);
}
.card-label { font-size: 0.68rem; color: var(--text4); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.card-label::before { content: ''; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.profile-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.p-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--orange), #dc2626);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: #fff; flex-shrink: 0;
}
.p-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff; }
.p-title { font-size: 0.72rem; color: var(--text3); margin-top: 3px; }
.p-badge {
  margin-left: auto; background: var(--orange-light);
  border: 1px solid var(--orange-border); color: var(--orange);
  padding: 4px 10px; border-radius: 6px; font-size: 0.68rem; font-weight: 600;
}
.skills-wrap { display: flex; flex-wrap: wrap; gap: 7px; }
.sk { background: var(--bg4); border: 1px solid var(--border); color: var(--text2); padding: 5px 12px; border-radius: 6px; font-size: 0.72rem; font-weight: 500; }
.sk.hot { border-color: var(--orange-border); color: var(--orange); background: var(--orange-light); }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; cursor: pointer;
  transition: border-color 0.2s, transform 0.1s ease-out;
  position: relative; overflow: hidden;
}
.mini-card:hover { border-color: var(--orange-border); }
.mc-icon { font-size: 1.3rem; margin-bottom: 10px; }
.mc-title { font-size: 0.82rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.mc-sub { font-size: 0.71rem; color: var(--text3); line-height: 1.4; margin-bottom: 10px; }
.mc-link { font-size: 0.7rem; color: var(--orange); font-weight: 600; }

/* ---- MARQUEE ---- */
.marquee-section {
  padding: 20px 0; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.marquee-track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 20s linear infinite; }
@keyframes marquee { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
.m-item { font-size: 0.72rem; color: #2d2d2d; text-transform: uppercase; letter-spacing: 3px; font-weight: 600; }
.m-star { color: var(--orange); margin-left: 8px; }

/* ---- SECTION HEADERS ---- */
.sec-tag { font-size: 0.7rem; color: var(--orange); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.sec-tag::before { content: ''; width: 20px; height: 1px; background: var(--orange); }
.text-center .sec-tag { justify-content: center; }
.text-center .sec-tag::before { display: none; }
.sec-title { font-size: 2.6rem; color: #fff; margin-bottom: 14px; }
.sec-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }

/* ---- SERVICES GRID ---- */
.svc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.svc-item {
  background: var(--bg); padding: 28px 24px; cursor: pointer;
  position: relative; transition: background 0.25s;
}
.svc-item:hover { background: var(--bg3); }
.svc-num { font-family: var(--font-head); font-size: 0.68rem; color: #2d2d2d; font-weight: 700; margin-bottom: 18px; }
.svc-ico { font-size: 1.5rem; margin-bottom: 12px; }
.svc-name { font-family: var(--font-head); font-size: 0.92rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.svc-desc { font-size: 0.75rem; color: var(--text3); line-height: 1.55; }
.svc-arrow { position: absolute; bottom: 22px; right: 22px; color: #2d2d2d; font-size: 1rem; transition: color 0.2s, transform 0.2s; }
.svc-item:hover .svc-arrow { color: var(--orange); transform: translate(3px,-3px); }

/* ---- PORTFOLIO ---- */
.port-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.port-featured {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.port-screen {
  height: 220px; background: linear-gradient(160deg, #1a0a00, #0f0a00);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border); padding: 20px;
}
.port-browser {
  width: 85%; background: var(--bg2); border: 1px solid var(--orange-border);
  border-radius: 10px; overflow: hidden;
}
.browser-bar {
  background: var(--bg4); padding: 8px 12px;
  display: flex; gap: 5px; align-items: center;
}
.b-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.b-url { font-size: 0.6rem; color: var(--text4); margin-left: 8px; }
.port-img { width: 100%; height: 120px; object-fit: cover; }
.port-placeholder { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.pp-line { height: 8px; background: var(--border); border-radius: 4px; }
.pp-line.wide { width: 80%; }
.pp-line.med { width: 50%; }
.port-info { padding: 24px; }
.port-cat { font-size: 0.68rem; color: var(--orange); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 8px; }
.port-info h3 { font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.port-info p { font-size: 0.78rem; color: var(--text3); line-height: 1.5; margin-bottom: 14px; }
.port-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip { background: var(--bg4); border: 1px solid var(--border); color: var(--text3); padding: 4px 10px; border-radius: 5px; font-size: 0.68rem; }
.port-stack { display: flex; flex-direction: column; gap: 16px; }
.port-small {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  display: flex; align-items: center; gap: 16px; cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.port-small:hover { border-color: var(--orange-border); transform: translateX(4px); }
.port-small.dashed { border-style: dashed; opacity: 0.4; }
.ps-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: linear-gradient(135deg, #1a0a00, #2d1100);
  border: 1px solid var(--orange-border); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.ps-title { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: #fff; margin-bottom: 4px; }
.ps-sub { font-size: 0.72rem; color: var(--text3); }
.ps-arrow { margin-left: auto; color: #2d2d2d; font-size: 0.9rem; }

/* ---- PROCESS ---- */
.process-section { background: var(--bg2); }
.process-steps {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 0;
  margin-top: 60px; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 27px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-border), var(--orange-border), transparent);
}
.step { text-align: center; padding: 0 12px; position: relative; }
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--orange-border); background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-family: var(--font-head);
  font-weight: 800; font-size: 0.82rem; color: var(--orange);
  position: relative; z-index: 2;
}
.step-circle.active {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff; border-color: var(--orange);
  box-shadow: 0 0 30px rgba(249,115,22,0.4);
}
.step-title { font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.step-desc { font-size: 0.72rem; color: var(--text3); line-height: 1.5; }

/* ---- TESTIMONIALS ---- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px; }
.testi-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  position: relative; overflow: hidden;
}
.testi-top-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--orange-border), transparent); }
.testi-quote { font-size: 3.5rem; line-height: 1; color: var(--orange); opacity: 0.3; font-family: Georgia, serif; margin-bottom: 16px; }
.testi-text { font-size: 0.9rem; color: #d1d5db; line-height: 1.8; font-style: italic; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av { width: 40px; height: 40px; background: linear-gradient(135deg, var(--orange), #dc2626); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; color: #fff; flex-shrink: 0; }
.testi-name { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 0.88rem; }
.testi-role { font-size: 0.72rem; color: var(--text3); }
.testi-stars { margin-left: auto; color: var(--orange); font-size: 0.82rem; letter-spacing: 2px; }

/* ---- CTA ---- */
.cta-section { padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 65%); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.cta-inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; padding: 0 24px; }
.cta-inner h2 { font-size: 3rem; color: #fff; margin-bottom: 18px; }
.cta-inner p { color: var(--text3); font-size: 0.95rem; line-height: 1.7; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 80px 0 60px; position: relative; overflow: hidden;
  background: linear-gradient(to bottom, rgba(249,115,22,0.04), transparent);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 3rem; color: #fff; margin-bottom: 14px; }
.page-hero p { font-size: 1rem; color: var(--text3); max-width: 480px; }

/* ---- CONTACT PAGE ---- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.contact-form { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; }
.contact-form::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--orange-border), transparent); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8rem; color: var(--text2); font-weight: 500; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--bg4); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px; color: var(--text);
  font-size: 0.88rem; font-family: var(--font-body);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { padding: 12px 16px; border-radius: 8px; font-size: 0.85rem; margin-bottom: 20px; }
.form-msg.success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
.form-msg.error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { font-size: 1.4rem; flex-shrink: 0; }
.ci-label { font-size: 0.72rem; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.ci-value { font-size: 0.88rem; color: var(--text); font-weight: 500; }

/* ---- ABOUT PAGE ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-avatar-wrap { display: flex; justify-content: center; }
.about-avatar-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; text-align: center;
  position: relative; overflow: hidden; width: 100%; max-width: 320px;
}
.aa-circle {
  width: 100px; height: 100px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--orange), #dc2626);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: #fff;
}
.aa-name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.aa-role { font-size: 0.8rem; color: var(--orange); margin-bottom: 20px; }

/* ---- FOOTER ---- */
.footer { background: var(--bg2); border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; padding: 60px 0; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: 8px; letter-spacing: 0.2px; }
.footer-tagline { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--orange); margin-bottom: 10px !important; letter-spacing: 1px; }
.footer-brand p { font-size: 0.82rem; color: var(--text3); line-height: 1.6; max-width: 240px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; background: var(--bg4); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--text3); font-weight: 700;
  transition: border-color 0.2s, color 0.2s;
}
.footer-socials a:hover { border-color: var(--orange); color: var(--orange); }
.footer-links-group h4 { font-family: var(--font-head); font-size: 0.82rem; color: #fff; margin-bottom: 16px; }
.footer-links-group a { display: block; font-size: 0.8rem; color: var(--text3); margin-bottom: 10px; transition: color 0.2s; }
.footer-links-group a:hover { color: var(--orange); }
.btn-footer-cta { display: inline-block; margin-top: 8px; background: var(--orange); color: #fff !important; padding: 10px 18px; border-radius: 8px; font-size: 0.8rem; font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.75rem; color: var(--text4); }

/* ---- PAGE PROGRESS BAR ---- */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--orange), #fbbf24);
  width: 0%; transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(249,115,22,0.6);
}

/* ---- SCROLL TO TOP ---- */
#scroll-top {
  position: fixed; bottom: 92px; right: 28px; z-index: 998;
  width: 44px; height: 44px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--text3); font-size: 1.1rem; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, border-color 0.2s, color 0.2s, transform 0.2s;
}
#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-3px); }

/* ---- NAV ACTIVE ---- */
.nav-links a.nav-active { color: var(--orange); }
.nav-links a.nav-active::after { content: ''; display: block; width: 100%; height: 1px; background: var(--orange); margin-top: 2px; }

/* ---- FLOATING WHATSAPP ---- */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-bounce 2s ease-in-out 3s 3;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(37,211,102,0.55); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
@keyframes wa-bounce { 0%,100%{transform:scale(1);} 50%{transform:scale(1.15);} }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 0.15s; }

/* ---- 404 ---- */
.not-found { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.not-found h1 { font-size: 8rem; color: var(--orange); opacity: 0.3; line-height: 1; }
.not-found h2 { font-size: 2rem; color: #fff; margin-bottom: 12px; }
.not-found p { color: var(--text3); margin-bottom: 32px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav-inner { padding: 0 32px; }
  .hero-inner { grid-template-columns: 1fr; padding: 60px 32px; }
  .hero-right { display: none; }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .port-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-avail { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg3); padding: 20px 24px; border-bottom: 1px solid var(--border); gap: 16px; }
  .hero h1 { font-size: 2.8rem; }
  .sec-title { font-size: 2rem; }
  .sec-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .cta-inner h2 { font-size: 2.2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { padding: 0 24px; }
  .container { padding: 0 24px; }
}
