/* ================================================================
   ApnaWebsite — Main Stylesheet
   Mobile-first, no framework dependencies
   ================================================================ */

/* --- Reset & Variables ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #1e3a5f;
  --primary-light: #2d5a8e;
  --accent:        #ff6b35;
  --accent-hover:  #e55a25;
  --text-dark:     #0d1b2a;
  --text-body:     #4a5568;
  --text-light:    #718096;
  --text-white:    #ffffff;
  --bg-light:      #f7f9fc;
  --bg-white:      #ffffff;
  --bg-dark:       #0d1b2a;
  --border:        #e2e8f0;
  --border-light:  #f0f4f8;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.07);
  --shadow:        0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.15);
  --radius:        12px;
  --radius-sm:     6px;
  --radius-pill:   50px;
  --transition:    0.3s ease;
  --max-w:         1200px;
  --header-h:      72px;
  --section-pad:   80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Noto Sans', 'Noto Sans Devanagari', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography ------------------------------------------------ */
h1, h2, h3, h4, h5 {
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(255,107,53,.30);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  box-shadow: 0 4px 16px rgba(37,211,102,.30);
}
.btn-whatsapp:hover {
  background: #1aad54;
  border-color: #1aad54;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
}
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* --- Section Headings ------------------------------------------ */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-tag {
  display: inline-block;
  background: rgba(255,107,53,.1);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ================================================================
   HEADER / NAV
   ================================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--primary);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  transition: background var(--transition), box-shadow var(--transition);
}
#site-header.scrolled {
  background: rgba(30,58,95,.97);
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.logo-text span { color: var(--accent); }

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  color: rgba(255,255,255,.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,.12);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-btn {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.lang-btn:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.wa-float-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.wa-float-btn:hover { background: #1aad54; color: #fff; }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--primary);
  padding: 20px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,.85);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.mobile-nav .mobile-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 85vh;
  background: linear-gradient(135deg, #0d1b2a 0%, #1e3a5f 50%, #2d5a8e 100%);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,107,53,.10) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(45,90,142,.4) 0%, transparent 60%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Decorative SVG orbit rings + sparkles */
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-decor svg { position: absolute; }
.hero-decor .ring-lg {
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  opacity: .10;
  animation: hero-spin 40s linear infinite;
}
.hero-decor .ring-md {
  left: -60px; bottom: -60px;
  width: 300px; height: 300px;
  opacity: .08;
  animation: hero-spin 28s linear infinite reverse;
}
.hero-decor .sparkle-1 { top: 18%; left: 42%; opacity: .55; animation: hero-pulse 3s ease-in-out infinite; }
.hero-decor .sparkle-2 { top: 72%; left: 55%; opacity: .4;  animation: hero-pulse 4s ease-in-out infinite 1s; }
.hero-decor .sparkle-3 { top: 30%; right: 28%; opacity: .35; animation: hero-pulse 3.5s ease-in-out infinite .5s; }
.hero-decor .dot-1 { top: 60%; left: 38%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: .4; animation: hero-float 5s ease-in-out infinite; }
.hero-decor .dot-2 { top: 25%; right: 35%; width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .3; animation: hero-float 6s ease-in-out infinite 1s; }
.hero-decor .dot-3 { bottom: 30%; left: 52%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .35; animation: hero-float 4s ease-in-out infinite .7s; }
@keyframes hero-spin  { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes hero-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hero-pulse { 0%,100% { opacity: .2; transform: scale(.9); } 50% { opacity: .7; transform: scale(1.1); } }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 44px 0;
}
.hero-content { }
.hero-tag {
  display: inline-block;
  background: rgba(255,107,53,.15);
  color: var(--accent);
  border: 1px solid rgba(255,107,53,.3);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-content h1 {
  color: #fff;
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
}
.hero-content h1 .highlight { color: var(--accent); }
.hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 22px;
  max-width: 480px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.75);
  font-size: 0.83rem;
}
.hero-trust-item i { color: var(--accent); font-size: 1rem; }
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Visual / Right Side */
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-card-stack {
  position: relative;
  width: 320px;
  height: 360px;
}
.hero-card {
  position: absolute;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 24px;
}
.hero-card-main {
  width: 260px;
  top: 0; left: 30px;
  z-index: 2;
}
.hero-card-back {
  width: 240px;
  top: 30px; left: 0;
  z-index: 1;
  opacity: 0.5;
}
.hero-stat-row {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}
.hero-stat .lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,.6);
}
.hero-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,.8);
  margin: 3px;
}
.hero-service-pill i { color: var(--accent); }

/* ================================================================
   HERO ICON GRID — 4-column organic floating grid inside hero
   Each column has its own X+Y drift keyframe for natural feel.
   ================================================================ */

/* Per-column organic float — combines vertical bob + subtle horizontal drift */
@keyframes hi-float-1 {
  0%,100% { transform: translate(0,     0); }
  25%     { transform: translate(5px,  -14px); }
  50%     { transform: translate(-3px, -22px); }
  75%     { transform: translate(6px,  -10px); }
}
@keyframes hi-float-2 {
  0%,100% { transform: translate(0,     0); }
  25%     { transform: translate(-7px, -10px); }
  50%     { transform: translate(4px,  -20px); }
  75%     { transform: translate(-5px, -6px);  }
}
@keyframes hi-float-3 {
  0%,100% { transform: translate(0,    0); }
  25%     { transform: translate(8px,  -8px); }
  50%     { transform: translate(-2px, -18px); }
  75%     { transform: translate(6px,  -13px); }
}
@keyframes hi-float-4 {
  0%,100% { transform: translate(0,     0); }
  25%     { transform: translate(-5px, -16px); }
  50%     { transform: translate(7px,  -22px); }
  75%     { transform: translate(-6px, -9px);  }
}

.hero-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: start;
}
.hero-icon-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start; /* lets margin-left offsets work per-icon */
}

/* Staggered start position + independent float speeds/directions */
.hic-1 { margin-top: 0;    animation: hi-float-1 4.2s ease-in-out infinite; }
.hic-2 { margin-top: 34px; animation: hi-float-2 5.1s ease-in-out infinite .9s; }
.hic-3 { margin-top: 18px; animation: hi-float-3 3.8s ease-in-out infinite 1.6s; }
.hic-4 { margin-top: 50px; animation: hi-float-4 4.7s ease-in-out infinite .4s; }

/* Base icon box — brand color bg set per .si-* below */
.hi-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.2rem;
  cursor: default;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
}
.hi-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

/* Real brand gradient backgrounds — 16 recognisable tech/brand logos */
/* Col 1 */
.si-php      { background: linear-gradient(145deg, #4F5B93, #8892bf); }
.si-react    { background: linear-gradient(145deg, #0d1f2d, #20232a); color: #61dafb; }
.si-html     { background: linear-gradient(145deg, #b83311, #e34f26); }
.si-css      { background: linear-gradient(145deg, #0d5091, #1572b6); }
/* Col 2 */
.si-js       { background: #f0d000; color: #1a1a1a; }
.si-wp       { background: linear-gradient(145deg, #175e7b, #21759b); }
.si-wa       { background: linear-gradient(145deg, #0f7a40, #25d366); }
.si-google   { background: linear-gradient(145deg, #1a48b0, #4285f4); }
/* Col 3 */
.si-nodejs   { background: linear-gradient(145deg, #1a4a1a, #339933); }
.si-angular  { background: linear-gradient(145deg, #f0f0f0, #ffffff); color: #dd0031; }
.si-android  { background: linear-gradient(145deg, #0d2b0d, #1a4a1a); color: #3ddc84; }
.si-apple    { background: linear-gradient(145deg, #4a4a4c, #636366); }
/* Col 4 */
.si-github   { background: linear-gradient(145deg, #0d1117, #24292e); }
.si-bootstrap{ background: linear-gradient(145deg, #420f88, #7952b3); }
.si-chrome   { background: linear-gradient(145deg, #1a3a6b, #1a6b4a); color: #4fc3f7; }
.si-figma    { background: linear-gradient(145deg, #1e1e1e, #2c2c2c); color: #f24e1e; }

/* ================================================================
   STATS SECTION
   ================================================================ */
.stats-section {
  background: var(--accent);
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 20px;
}
.stat-number {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,.85);
  margin-top: 6px;
  display: block;
}

/* ================================================================
   SERVICES SECTION
   ================================================================ */
.services-section {
  padding: var(--section-pad) 0;
  background: var(--bg-light);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,107,53,.2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  background: rgba(255,107,53,.1);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: rgba(255,107,53,.18); }
.service-icon i {
  font-size: 1.6rem;
  color: var(--accent);
}
.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.service-card p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.service-card .card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .card-link:hover { gap: 10px; }

/* ================================================================
   PORTFOLIO
   ================================================================ */
.portfolio-section {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.portfolio-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: 0.8rem;
}
.portfolio-img-placeholder i { font-size: 2rem; }
.portfolio-info {
  padding: 18px 20px;
}
.portfolio-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 6px;
}
.portfolio-info h3 {
  font-size: 1rem;
  color: var(--text-dark);
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-section {
  padding: var(--section-pad) 0;
  background: var(--bg-light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testi-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testi-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: .3;
  font-family: Georgia, serif;
  position: absolute;
  top: 16px; right: 20px;
}
.testi-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.testi-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testi-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
}
.testi-designation {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ================================================================
   BLOG SECTION
   ================================================================ */
.blog-section {
  padding: var(--section-pad) 0;
  background: var(--bg-white);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}
.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.blog-cover {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-cover-placeholder {
  color: rgba(255,255,255,.4);
  font-size: 2.5rem;
}
.blog-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-meta i { color: var(--accent); }
.blog-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.4;
  flex: 1;
}
.blog-card h3 a { color: var(--text-dark); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-excerpt {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card .card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

/* ================================================================
   CLIENTS SECTION
   ================================================================ */
.clients-section {
  padding: 50px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 30px;
}
.clients-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.client-logo {
  opacity: 0.5;
  transition: opacity var(--transition), transform var(--transition);
  filter: grayscale(1);
}
.client-logo:hover {
  opacity: 0.8;
  transform: scale(1.05);
  filter: grayscale(0);
}
.client-logo img { height: 40px; width: auto; }
.client-placeholder {
  width: 120px; height: 40px;
  background: var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,107,53,.1) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-section { padding: var(--section-pad) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info p { color: var(--text-body); margin-bottom: 28px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(255,107,53,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1rem;
}
.contact-item-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.contact-item-text span {
  font-size: 0.9rem;
  color: var(--text-body);
}

/* Form */
.contact-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group .required { color: var(--accent); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,107,53,.1);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; cursor: pointer; }
.honeypot { display: none !important; }
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-hero {
  padding: calc(var(--header-h) + 60px) 0 60px;
  background: linear-gradient(135deg, #0d1b2a 0%, var(--primary) 100%);
  text-align: center;
}
.about-hero h1 { color: #fff; margin-bottom: 14px; }
.about-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; }

.about-section { padding: var(--section-pad) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  padding: 50px;
  text-align: center;
  color: rgba(255,255,255,.7);
}
.about-visual i { font-size: 5rem; color: var(--accent); margin-bottom: 20px; }
.about-text h2 { margin-bottom: 16px; }
.values-list { margin-top: 24px; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.value-icon { color: var(--accent); font-size: 1.2rem; margin-top: 2px; }
.value-text strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 3px;
}

/* ================================================================
   BLOG LISTING PAGE
   ================================================================ */
.page-hero {
  padding: calc(var(--header-h) + 60px) 0 60px;
  background: linear-gradient(135deg, #0d1b2a 0%, var(--primary) 100%);
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; }

.blog-listing-section { padding: var(--section-pad) 0; }
.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all var(--transition);
}
.pagination a { color: var(--text-dark); }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pagination .dots {
  border: none;
  color: var(--text-light);
}

/* ================================================================
   BLOG DETAIL PAGE
   ================================================================ */
.blog-detail-hero {
  padding: calc(var(--header-h) + 50px) 0 50px;
  background: linear-gradient(135deg, #0d1b2a 0%, var(--primary) 100%);
}
.blog-detail-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.blog-detail-meta i { color: var(--accent); }
.blog-detail-hero h1 { color: #fff; }

.blog-detail-section { padding: var(--section-pad) 0; }
.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.blog-content {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.blog-content img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 24px 0;
}
.blog-content h2, .blog-content h3 {
  margin: 28px 0 14px;
  color: var(--text-dark);
}
.blog-content h2 { font-size: 1.5rem; }
.blog-content h3 { font-size: 1.2rem; }
.blog-content p { margin-bottom: 18px; }
.blog-content ul, .blog-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
  list-style: disc;
}
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 8px; }
.blog-content strong { color: var(--text-dark); }
.blog-content a { color: var(--accent); }

.blog-sidebar {}
.sidebar-widget {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.sidebar-post {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-post:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.sidebar-post-info h5 {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-dark);
}
.sidebar-post-info h5 a { color: var(--text-dark); }
.sidebar-post-info h5 a:hover { color: var(--accent); }
.sidebar-post-date {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ================================================================
   SERVICE DETAIL PAGE
   ================================================================ */
.service-detail-hero {
  padding: calc(var(--header-h) + 60px) 0 60px;
  background: linear-gradient(135deg, #0d1b2a 0%, var(--primary) 100%);
}
.service-detail-hero .hero-icon {
  width: 72px; height: 72px;
  background: rgba(255,107,53,.2);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-detail-hero .hero-icon i { font-size: 2rem; color: var(--accent); }
.service-detail-hero h1 { color: #fff; margin-bottom: 14px; }
.service-detail-hero p { color: rgba(255,255,255,.75); max-width: 600px; }

.service-detail-section { padding: var(--section-pad) 0; }
.service-content {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.service-content h2, .service-content h3 { margin: 24px 0 12px; }
.service-content ul, .service-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
  list-style: disc;
}
.service-content ol { list-style: decimal; }
.service-content li { margin-bottom: 8px; }

/* ================================================================
   SERVICES LISTING PAGE
   ================================================================ */
.services-listing { padding: var(--section-pad) 0; }
.services-listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-list-card {
  display: flex;
  gap: 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.service-list-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(255,107,53,.2);
}
.service-list-icon {
  width: 64px; height: 64px;
  background: rgba(255,107,53,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-list-icon i { font-size: 1.5rem; color: var(--accent); }
.service-list-body h3 { margin-bottom: 10px; }
.service-list-body p { font-size: 0.9rem; margin-bottom: 16px; }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--accent); color: #fff; }

.footer-col h4 {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--accent);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
}
.footer-contact-item i { color: var(--accent); margin-top: 3px; font-size: 0.9rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,.4);
  text-decoration: none;
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ================================================================
   FLOATING WHATSAPP BUTTON (mobile)
   ================================================================ */
/* Floating WhatsApp Button — fixed bottom-right, all pages */
@keyframes wa-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.55); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,.6),  0 0 0 14px rgba(37,211,102,0); }
}
.wa-float-fixed {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 62px; height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.65rem;
  z-index: 9999;
  text-decoration: none;
  animation: wa-glow 2.4s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float-fixed:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 36px rgba(37,211,102,.65);
  color: #fff;
  animation-play-state: paused;
}
/* Tooltip on hover */
.wa-float-fixed::before {
  content: 'Chat on WhatsApp';
  position: absolute;
  right: calc(100% + 12px);
  background: #111;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.wa-float-fixed::after {
  content: '';
  position: absolute;
  right: calc(100% + 4px);
  border: 6px solid transparent;
  border-left-color: #111;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.wa-float-fixed:hover::before,
.wa-float-fixed:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ================================================================
   UTILITY
   ================================================================ */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }
.pt-0  { padding-top: 0 !important; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .hero-inner       { grid-template-columns: 1fr; text-align: center; }
  .hero-visual      { display: none; }
  .hero-actions, .hero-trust { justify-content: center; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid   { grid-template-columns: repeat(2, 1fr); }
  .blog-grid        { grid-template-columns: repeat(2, 1fr); }
  .blog-listing-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: repeat(2, 1fr); }
  .blog-detail-layout { grid-template-columns: 1fr; }
  .about-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .main-nav, .header-right .wa-float-btn { display: none; }
  .hamburger { display: flex; }

  .services-grid    { grid-template-columns: 1fr; }
  .portfolio-grid   { grid-template-columns: 1fr; }
  .blog-grid        { grid-template-columns: 1fr; }
  .blog-listing-grid{ grid-template-columns: 1fr; }
  .services-listing-grid { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; gap: 32px; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .service-list-card{ flex-direction: column; gap: 16px; }
  .hero-actions     { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr; }
  .contact-form-wrap{ padding: 24px 18px; }
  .blog-content     { padding: 24px 18px; }
}
