/* ============================================
   Om IT Solutions — Premium Redesign 2025
   Aesthetic: Dark tech-premium, electric blue accents
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg:        #07090f;
  --bg2:       #0b0f1c;
  --bg3:       #10152a;
  --surface:   #141928;
  --surface2:  #1c2236;
  --border:    rgba(255,255,255,0.06);
  --border-hi: rgba(255,255,255,0.13);

  --accent:      #3b82f6;
  --accent2:     #6366f1;
  --accent-glow: rgba(59,130,246,0.30);
  --accent-light:#93c5fd;

  --green: #22c55e;
  --red:   #ef4444;

  --text:       #e2e6f0;
  --text-muted: #8892aa;
  --text-dim:   #4e5a72;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --shadow:        0 4px 20px rgba(0,0,0,0.45);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.55);
  --shadow-accent: 0 6px 28px var(--accent-glow);

  --nav-h: 70px;
  --ease:  cubic-bezier(0.4,0,0.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---- Typography ---- */
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(120deg, #fff 0%, var(--accent-light) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.22);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 7px var(--accent);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(59,130,246,0.45);
  filter: brightness(1.1);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hi);
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transform: scale(0);
  animation: ripple-anim 0.55s linear;
  pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(7,9,15,0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.navbar.scrolled {
  background: rgba(7,9,15,0.97);
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-logo-text span { color: var(--accent); }

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--accent-light); background: rgba(59,130,246,0.1); }

/* Client Login nav button */
.nav-item.client-login { margin-left: 10px; }
.nav-link.client-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-accent);
  transition: all 0.25s var(--ease);
}
.nav-link.client-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(59,130,246,0.45);
  filter: brightness(1.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover { background: var(--surface); }
.bar {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  margin-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  padding: 80px 0 60px;
}

.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.10) 0%, transparent 65%);
  top: -150px; right: -150px;
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, transparent 65%);
  bottom: -100px; left: -80px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.hero-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--accent-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fade-up 0.6s var(--ease) both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 5px var(--green); }
  50%      { box-shadow: 0 0 14px var(--green); }
}

.hero-content h1 {
  font-size: clamp(1.65rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  animation: fade-up 0.7s 0.1s var(--ease) both;
  word-break: break-word;
}

.hero-content p {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.75;
  animation: fade-up 0.7s 0.2s var(--ease) both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fade-up 0.7s 0.3s var(--ease) both;
}

/* Client login in hero — styled same as nav btn */
.btn-client-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--surface2);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
}
.btn-client-login:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  animation: fade-up 0.7s 0.4s var(--ease) both;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-stat-num span { color: var(--accent); }
.hero-stat-label { font-size: 0.78rem; color: var(--text-dim); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.05em; }

/* Hero visual */
.hero-visual {
  position: relative;
  animation: fade-left 0.8s 0.2s var(--ease) both;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(59,130,246,0.08);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ef4444; }
.dot-y { background: #f59e0b; }
.dot-g { background: #22c55e; }
.hero-card-title {
  margin-left: 4px;
  font-size: 0.76rem;
  color: var(--text-dim);
  font-weight: 500;
}

.hero-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.hero-card-footer {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-card-tag {
  font-size: 0.76rem;
  color: var(--accent-light);
  background: rgba(59,130,246,0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--font-display);
}
.hero-card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--green);
  font-weight: 600;
}
.hero-card-status::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.hero-float-badge {
  position: absolute;
  bottom: -16px; left: -20px;
  background: var(--surface2);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.hero-float-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-float-label { font-size: 0.7rem; color: var(--text-dim); }
.hero-float-val { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--text); }

@keyframes fade-up {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fade-left {
  from { opacity:0; transform: translateX(24px); }
  to   { opacity:1; transform: translateX(0); }
}

/* ---- Section Common ---- */
section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-header p { color: var(--text-muted); max-width: 520px; margin: 0 auto; font-size: 1rem; }

/* ---- Services ---- */
.services { background: var(--bg3); position: relative; overflow: hidden; }
.services::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(59,130,246,0.3); box-shadow: var(--shadow-accent); }
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.service-card:hover .service-icon-wrap {
  background: rgba(59,130,246,0.18);
  border-color: rgba(59,130,246,0.38);
  transform: scale(1.06);
}

.service-card h3 { font-size: 1.15rem; margin-bottom: 11px; color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 22px; line-height: 1.65; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-light);
  font-size: 0.87rem;
  font-weight: 600;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }
.service-link::after { content: '→'; }

/* ---- About ---- */
.about { background: var(--bg2); }

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.97rem; line-height: 1.75; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: border-color 0.25s;
}
.stat:hover { border-color: rgba(59,130,246,0.3); }
.stat h3 { font-size: 1.6rem; font-weight: 800; color: var(--accent-light); letter-spacing: -0.02em; }
.stat p { font-size: 0.74rem; color: var(--text-dim); font-weight: 600; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hi);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 420px;
}
.about-badge {
  position: absolute;
  top: -14px; right: -14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-accent);
  text-align: center;
  line-height: 1.3;
}
.about-badge strong { display: block; font-size: 1.5rem; }

/* ---- Portfolio ---- */
.portfolio { background: var(--bg3); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.portfolio-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.portfolio-item:hover { transform: translateY(-6px); border-color: rgba(59,130,246,0.25); box-shadow: var(--shadow-accent); }

.portfolio-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.portfolio-item:hover img { transform: scale(1.04); }

.portfolio-content { padding: 20px; }
.portfolio-content h3 { font-size: 1rem; margin-bottom: 7px; color: var(--text); }
.portfolio-content p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.55; }

/* ---- Contact ---- */
.contact { background: var(--bg2); }

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.contact-intro h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.contact-intro p { color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; font-size: 0.97rem; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s;
}
.contact-item:hover { border-color: rgba(59,130,246,0.3); }
.contact-item-icon {
  width: 38px; height: 38px;
  background: rgba(59,130,246,0.1);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item h3 { font-size: 0.74rem; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; font-family: var(--font-body); }
.contact-item p { color: var(--text); font-size: 0.92rem; }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.03em; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-dim); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.14);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; justify-content: center; padding: 14px; font-size: 0.97rem; }

/* ---- Footer ---- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; max-width: 250px; }

.footer-socials { display: flex; gap: 9px; margin-top: 20px; }
.social-link {
  width: 34px; height: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem;
  transition: all 0.2s;
  color: var(--text-muted);
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-family: var(--font-body);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.83rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-dim); font-size: 0.83rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--accent-light); }

/* ---- Floating WhatsApp ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.whatsapp-tooltip {
  background: var(--surface2);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-hi);
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.2s;
  pointer-events: none;
  white-space: nowrap;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }
.whatsapp-btn {
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.38);
  transition: all 0.25s var(--ease);
  text-decoration: none;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,0.5); }

/* ---- Page Header (inner pages) ---- */
.page-header {
  margin-top: var(--nav-h);
  padding: 70px 0 55px;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}
.page-header::after {
  content: '';
  position: absolute;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.10) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.page-header-inner { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.page-header p { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 1rem; }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.pricing-card:hover { transform: translateY(-6px); border-color: rgba(59,130,246,0.28); box-shadow: var(--shadow-accent); }

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--surface2) 0%, rgba(59,130,246,0.04) 100%);
  box-shadow: 0 0 0 1px rgba(59,130,246,0.18), var(--shadow-accent);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 4px 18px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: var(--font-display);
}

.pricing-card h3 { font-size: 1.1rem; margin-bottom: 18px; }
.price { font-size: 2.2rem; font-weight: 800; font-family: var(--font-display); letter-spacing: -0.03em; color: #fff; }
.price-period { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 26px; margin-top: 3px; }

.features { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.features li:last-child { border-bottom: none; }
.features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
  width: 17px; height: 17px;
  background: rgba(34,197,94,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- Features section ---- */
.features-section { background: var(--bg3); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.22); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.6; }

/* ---- Portfolio filter ---- */
.portfolio-filter-section { padding: 30px 0 0; background: var(--bg); }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.filter-btn {
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(59,130,246,0.1);
  border-color: var(--accent);
  color: var(--accent-light);
}
.portfolio-gallery { background: var(--bg); padding-top: 36px; }

/* ---- Modal ---- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-xl);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
  z-index: 1;
  line-height: 1;
}
.close:hover { color: var(--text); background: var(--bg3); }

.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl) 0 0 var(--radius-xl); }
.modal-info { padding: 30px; }
.modal-info h2 { font-size: 1.35rem; margin-bottom: 6px; }
.modal-info > p { color: var(--accent-light); font-size: 0.83rem; font-weight: 600; margin-bottom: 20px; }
.project-details { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.detail-item { font-size: 0.86rem; color: var(--text-muted); }
.detail-item strong { color: var(--text); }
#modalDescription { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 16px; }
.modal-info h4 { font-size: 0.78rem; margin-bottom: 8px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; }
#modalFeatures { padding-left: 16px; display: flex; flex-direction: column; gap: 5px; margin-bottom: 22px; }
#modalFeatures li { color: var(--text-muted); font-size: 0.86rem; }
.project-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-visit-site {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border-radius: var(--radius);
  font-size: 0.86rem; font-weight: 600;
  transition: all 0.2s; text-decoration: none;
}
.btn-visit-site:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-get-quote {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  background: var(--surface2); border: 1px solid var(--border-hi);
  color: var(--text); border-radius: var(--radius);
  font-size: 0.86rem; font-weight: 600;
  transition: all 0.2s; text-decoration: none;
}
.btn-get-quote:hover { border-color: var(--accent); color: var(--accent-light); }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .footer-content { grid-template-columns: 1fr 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { order: -1; }
  .about-image-wrap img { height: 300px; }
  .about-badge { top: -10px; right: -8px; }
  .contact-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(7,9,15,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.35s var(--ease);
    z-index: 999;
  }
  .nav-menu.active { transform: translateY(0); }
  .nav-link { padding: 12px 24px; border-radius: 0; }
  .nav-item.client-login { margin-left: 0; padding: 8px 20px; }
  .nav-link.client-login-btn { width: 100%; justify-content: center; border-radius: var(--radius); }

  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-visual { display: none; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 16px; padding-top: 26px; margin-top: 36px; }

  .about-stats { grid-template-columns: repeat(3,1fr); }
  .form-row { grid-template-columns: 1fr; }

  .modal-body { grid-template-columns: 1fr; }
  .modal-image { display: none; }
  .modal-info { border-radius: var(--radius-xl); }

  .footer-content { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .whatsapp-float { bottom: 18px; right: 14px; }
}

@media (max-width: 480px) {
  section { padding: 60px 0; }
  .about-stats { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: center; gap: 14px; }
}

/* ============================================
   MOBILE FIXES — patch
   ============================================ */

/* Tighter hero heading on small screens */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.65rem;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }
  .hero-content p {
    font-size: 0.97rem;
  }

  /* Badge wraps instead of overflowing */
  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  /* Section headings smaller */
  .section-header h2 {
    font-size: 1.5rem;
  }
  .page-header h1 {
    font-size: 1.7rem !important;
  }
  .contact-intro h2,
  .about-text h2 {
    font-size: 1.55rem;
  }

  /* Buttons stack cleanly */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Nav logo — hide text, show mark only on very small */
  .nav-logo-text {
    font-size: 0.95rem;
  }

  /* Contact form full-width */
  .contact-form-wrap {
    padding: 22px 18px;
  }
}

@media (max-width: 380px) {
  /* Hide logo text on tiny screens, keep the mark */
  .nav-logo-text { display: none; }
}

/* ---- Logo SVG image ---- */
.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  /* SVG already has correct colors for dark bg */
}

@media (max-width: 480px) {
  .nav-logo-img {
    height: 30px;
  }
}

/* ============================================
   NAVBAR + HERO BUTTON FIXES
   ============================================ */

/* Logo SVG — ensure it renders on dark bg */
.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}
.footer-brand .nav-logo-img {
  height: 32px;
  opacity: 0.85;
}

/* On mobile: hide the Client Portal btn inside hero-buttons
   It's already in the hamburger menu — no need to repeat it */
@media (max-width: 768px) {
  .hero-buttons .btn-client-login {
    display: none;
  }

  /* Two main hero buttons side by side, full width */
  .hero-buttons {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    flex: 1;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.88rem;
  }
}

/* On very small screens, stack the two buttons */
@media (max-width: 380px) {
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
  }
}

/* Hero heading tighter on narrow screens */
@media (max-width: 420px) {
  .hero-content h1 {
    font-size: 1.55rem;
    line-height: 1.22;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
}

/* ============================================
   BULLETPROOF MOBILE NAV FIX
   ============================================ */
@media (max-width: 768px) {
  /* Extra safety: hide nav-menu until toggled,
     using both visibility and transform */
  .nav-menu:not(.active) {
    visibility: hidden;
    pointer-events: none;
  }
  .nav-menu.active {
    visibility: visible;
    pointer-events: auto;
  }
}
