/* ==========================================================================
   KallaiDigitalSurvey — 1536px Pixel-Accurate Reference Match
   Target Viewport: 1536px × 1024px Desktop Layout
   Strict Dense Corporate Visual Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Caveat:wght@700&display=swap');

:root {
  --green: #10b981;
  --green-dark: #059669;
  --green-light: #dcfce7;
  --navy: #0b1a30;
  --navy-dark: #071527;
  --navy-light: #1e293b;
  --blue: #0077ff;
  --cyan: #00d2ff;
  --white: #ffffff;
  --bg: #f1f5f9;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 3px 8px rgba(0,0,0,0.08);
  --radius: 5px;
  --radius-lg: 7px;
  --pill: 999px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-h: 'Outfit', sans-serif;
  --font-hand: 'Caveat', cursive;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  color: var(--navy);
  line-height: 1.15;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button { cursor: pointer; background: none; }

/* 1536px Max Width Centered Container */
.wrap {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 12px;
}

/* Common Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 10.5px;
  padding: 5px 12px;
  border-radius: var(--pill);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-green {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(16, 185, 129, 0.25);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: #ffffff;
}
.btn-navy:hover {
  background: var(--navy-dark);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.btn-sm {
  font-size: 10px;
  padding: 4px 9px;
}

.btn-xs {
  font-size: 9px;
  padding: 3px 7px;
}

/* ══════════════════════════════════════════════════════════════════
   1. WHITE HEADER (Exact 55px Height)
   ══════════════════════════════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  height: 55px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 55px;
  gap: 8px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  /* Ensure crisp rendering at all sizes */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Responsive logo sizing */
@media (max-width: 1024px) {
  .brand-logo-img { height: 42px; max-width: 190px; }
}
@media (max-width: 768px) {
  .brand-logo-img { height: 38px; max-width: 170px; }
}
@media (max-width: 480px) {
  .brand-logo-img { height: 34px; max-width: 150px; }
}

/* Original Logo Text styles hidden as they are replaced by image */
.logo-icon, .logo-text, .logo-title, .logo-sub {
  display: none;
}

/* Navigation Links */
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav a {
  font-weight: 600;
  font-size: 11.5px;
  color: var(--navy);
  position: relative;
  padding: 3px 0;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--green);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--green);
  border-radius: 2px;
}

/* Header CTAs (Call & WhatsApp) */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.header-contact-item:hover { opacity: 0.85; }

/* Phone icon — green circle with white icon */
.header-icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.header-icon-circle.phone {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(16,185,129,0.35);
}
/* WhatsApp icon — WhatsApp green */
.header-icon-circle.wa {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(37,211,102,0.35);
}

.header-contact-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header-contact-label {
  font-size: 8.5px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.header-contact-number {
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
}

.mobile-toggle {
  display: none;
  font-size: 18px;
  color: var(--navy);
}

/* ══════════════════════════════════════════════════════════════════
   2. HERO BANNER — Bright, Premium, Responsive
   KEY: background image lives in ::before so brightness filter
        applies ONLY to the image, not the overlay or text.
   ══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid #46ec62;
  isolation: isolate;
  background: #051424;
}

/* Background image in ::before — filter applies only to this layer */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  /* 50% centre keeps surveyor + drone both visible on wide screens */
  background: url('../assets/images/hero_bg_panoramic.png') no-repeat 50% center / cover;
  /* Natural brightness — not too bright, not too dark */
  filter: brightness(1.08) contrast(1.05) saturate(1.04);
  transform: scale(1.02);
  transform-origin: center center;
  will-change: transform;
}

/* Subtle gradient overlay — balanced: left darker for text, right shows image naturally */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(5, 16, 34, 0.75) 0%,
    rgba(5, 16, 34, 0.45) 40%,
    rgba(5, 16, 34, 0.12) 65%,
    rgba(5, 16, 34, 0.02) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 0;
}

.hero-content {
  max-width: 580px;
}

.hero-pretag {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  line-height: 1.35;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}

.pretag-line {
  width: 60px;
  height: 3px;
  background: #46ec62;
  margin-top: 5px;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(70, 236, 98, 0.5);
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

.highlight-green {
  color: #46ec62;
  text-shadow: 0 0 22px rgba(70, 236, 98, 0.38);
}

.hero-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.94);
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 480px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

.hero-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn-hero-green {
  background: #46ec62;
  color: var(--navy-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--pill);
  box-shadow: 0 4px 16px rgba(70, 236, 98, 0.42);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s ease;
  text-shadow: none;
}
.btn-hero-green:hover {
  background: #3ce056;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(70, 236, 98, 0.58);
}

.btn-hero-outline {
  background: rgba(7, 21, 39, 0.42);
  border: 1.5px solid rgba(255, 255, 255, 0.82);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--pill);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
  text-shadow: none;
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-dark);
  border-color: transparent;
}

.btn-arrow {
  font-size: 10px;
}

.hero-bottom-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 16px;
  max-width: 520px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}

.bar-icon {
  color: #46ec62;
  font-size: 18px;
  filter: drop-shadow(0 0 6px rgba(70, 236, 98, 0.4));
}

.bar-label {
  color: rgba(255,255,255,0.92);
  font-size: 10.5px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}

.bar-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.22);
}

/* ─── Responsive Breakpoints ─── */

/* LARGE DESKTOP 1920px+ */
@media (min-width: 1920px) {
  .hero { height: 660px; }
  .hero::before { background-position: 62% center; }
  .hero-title { font-size: 46px; }
  .hero-content { max-width: 700px; }
  .hero-desc { font-size: 15px; max-width: 580px; }
  .hero-bottom-bar { max-width: 600px; }
}

/* STANDARD DESKTOP 1440px */
@media (max-width: 1440px) {
  .hero { height: 580px; }
  .hero-title { font-size: 38px; }
}

/* LAPTOP 1280px */
@media (max-width: 1280px) {
  .hero { height: 540px; }
  .hero::before { background-position: 65% center; }
  .hero-title { font-size: 34px; }
  .hero-desc { font-size: 12.5px; }
}

/* LAPTOP/TABLET 1024px */
@media (max-width: 1024px) {
  .hero { height: 500px; }
  .hero::before { background-position: 70% center; }
  .hero-title { font-size: 30px; }
  .hero-content { max-width: 500px; }
  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(7, 21, 39, 0.84) 0%,
      rgba(7, 21, 39, 0.58) 45%,
      rgba(7, 21, 39, 0.18) 100%
    );
  }
}

/* ══════════════════════════════════════════════════════════════════
   MAIN DASHBOARD GRID (Dense Corporate Structure)
   ══════════════════════════════════════════════════════════════════ */
.main-area {
  padding: 8px 0;
}

.row3 {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

/* Section 3: About (1.15fr) | Services (1.55fr) | Gallery (1.3fr) */
.row3-sec3 {
  grid-template-columns: 1.15fr 1.55fr 1.3fr;
}

/* Section 4: Why Choose Us (0.95fr) | Equipment (1.25fr) | How it Works + Service Areas (1.8fr) */
.row3-sec4 {
  grid-template-columns: 0.95fr 1.25fr 1.8fr;
}

/* Section 5: Testimonials (1fr) | FAQ (1.15fr) | Contact (1.85fr) */
.row3-sec5 {
  grid-template-columns: 1fr 1.15fr 1.85fr;
}

/* General Panel Styling */
.panel {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-header {
  margin-bottom: 5px;
}

.panel-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1px;
}

.panel-tag::before {
  content: '';
  width: 10px;
  height: 2px;
  background: var(--green);
  display: inline-block;
  border-radius: 1px;
}

.panel-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
}

.panel-sub {
  font-size: 9.5px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 3 — COL 1: ABOUT US
   ══════════════════════════════════════════════════════════════════ */
.about-desc {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.38;
  margin-bottom: 6px;
}

.about-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6px;
  align-items: center;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
}

.about-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 600;
  color: var(--navy);
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 3px 5px;
  border-radius: 3px;
}

.about-item i {
  color: var(--green);
  font-size: 9px;
}

.about-img-box {
  border-radius: 4px;
  overflow: hidden;
  height: 125px;
  border: 1px solid var(--border);
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 3 — COL 2: OUR SERVICES (3 Compact Cards)
   ══════════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 3px;
}

.svc-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.svc-card-green { border-top: 3.5px solid var(--green); }
.svc-card-blue { border-top: 3.5px solid #0077ff; }
.svc-card-purple { border-top: 3.5px solid #9333ea; }

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(11, 26, 48, 0.1);
}

.svc-card-green:hover { border-color: var(--green); }
.svc-card-blue:hover { border-color: #0077ff; }
.svc-card-purple:hover { border-color: #9333ea; }

.svc-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: floatIcon 3.5s ease-in-out infinite;
}

.svc-card:hover .svc-icon-circle {
  transform: scale(1.15) rotate(5deg);
}

.svc-icon-green {
  background: #dcfce7;
  color: var(--green-dark);
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.25);
}

.svc-icon-blue {
  background: #e0f2fe;
  color: #0284c7;
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.25);
}

.svc-icon-purple {
  background: #f3e8ff;
  color: #9333ea;
  box-shadow: 0 3px 8px rgba(147, 51, 234, 0.25);
}

.svc-card-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-list {
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 8px;
}

.svc-list li {
  font-size: 9px;
  color: var(--text);
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 4px;
  padding: 3px 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.svc-list li:hover {
  background: #ffffff;
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateX(3px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.svc-list li i {
  color: var(--green);
  font-size: 8px;
  transition: transform 0.2s ease;
}

.svc-list li:hover i {
  transform: scale(1.25);
}

.btn-svc-animated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin-top: auto;
  transition: all 0.25s ease;
}

.btn-svc-animated:hover .animated-arrow {
  transform: translateX(3px);
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 3 — COL 3: OUR WORK GALLERY (8 Image Thumbnails)
   ══════════════════════════════════════════════════════════════════ */
.gal-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 4px;
}

.gal-filters {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.gal-filter-btn {
  font-size: 8.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--pill);
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.gal-filter-btn.active,
.gal-filter-btn:hover {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-bottom: 4px;
}

.gal-item {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  height: 58px;
  border: 1px solid var(--border);
  cursor: pointer;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gal-item:hover img {
  transform: scale(1.06);
}

.gal-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(11, 26, 48, 0.92));
  padding: 1px 3px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.gal-caption span {
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gal-caption small {
  font-size: 7px;
  opacity: 0.85;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 4 — COL 1: WHY CHOOSE US
   ══════════════════════════════════════════════════════════════════ */
.why-stats-row {
  display: flex;
  gap: 4px;
  margin-bottom: 5px;
}

.why-stat-card {
  flex: 1;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 2px;
  text-align: center;
}

.why-stat-val {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 800;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.why-stat-lbl {
  font-size: 8px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.05;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.why-feat-box {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3px 5px;
  font-size: 9px;
  font-weight: 600;
  color: var(--navy);
}

.why-feat-box i {
  color: var(--green);
  font-size: 9px;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 4 — COL 2: OUR EQUIPMENT & TECHNOLOGY
   ══════════════════════════════════════════════════════════════════ */
.eq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 3px;
}

.eq-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eq-img-box {
  width: 100%;
  height: 38px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 2px;
  background: #f8fafc;
}

.eq-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eq-title {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.05;
}

.eq-sub {
  font-size: 7.5px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 4 — COL 3: HOW IT WORKS & SERVICE AREAS
   ══════════════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════════════
   SECTION 4 — COL 3: HOW IT WORKS & SERVICE AREAS (ANIMATED)
   ══════════════════════════════════════════════════════════════════ */
.how-steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 8px;
  padding: 10px 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.step-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 4px;
  border-radius: 6px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.step-card:hover {
  background: rgba(16, 185, 129, 0.04);
  transform: translateY(-2px);
}

.step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.35);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-circle::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  opacity: 0.4;
  animation: pulseRing 2.4s infinite ease-in-out;
}

.step-card:hover .step-circle {
  transform: scale(1.12);
  box-shadow: 0 5px 14px rgba(16, 185, 129, 0.45);
}

.step-arrow {
  color: var(--green);
  font-size: 10px;
  margin-top: 10px;
  opacity: 0.6;
  animation: arrowBounce 2s infinite ease-in-out;
}

.step-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-title {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 2px;
}

.step-desc {
  font-size: 8px;
  color: var(--text-muted);
  line-height: 1.25;
}

/* Service Areas block */
.sa-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 8px;
  padding: 8px;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.sa-map-box {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 115px;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.sa-map-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sa-map-box:hover img {
  transform: scale(1.06);
}

.map-pin-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
}

.pin-pulse {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.35);
  animation: pulseRing 1.8s infinite ease-out;
}

.pin-label {
  position: relative;
  background: var(--navy);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 12px;
  border: 1.5px solid var(--green);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.pin-label i {
  color: #ef4444;
}

.sa-content-col {
  display: flex;
  flex-direction: column;
}

.sa-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}

.sa-item {
  font-size: 8.5px;
  font-weight: 600;
  color: var(--navy);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 3px 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.sa-item:hover {
  background: var(--green-light);
  border-color: var(--green);
  transform: translateY(-1px);
}

.sa-item i {
  color: var(--green);
  font-size: 8px;
}

.sa-item-full {
  grid-column: span 2;
  justify-content: center;
  background: #f0fdf4;
  font-weight: 700;
}

.btn-map-animated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 4px;
  transition: all 0.25s ease;
}

.btn-map-animated:hover .animated-arrow {
  transform: translateX(4px);
}

.animated-arrow {
  transition: transform 0.2s ease;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0.3; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 5 — COL 1: TESTIMONIALS (3 Cards)
   ══════════════════════════════════════════════════════════════════ */
.testi-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.testi-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 6px;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.testi-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.testi-name {
  font-size: 9px;
  font-weight: 700;
  color: var(--navy);
}

.testi-proj {
  font-size: 7.5px;
  color: var(--text-muted);
}

.testi-stars {
  color: #f59e0b;
  font-size: 8px;
  margin-left: auto;
}

.testi-text {
  font-size: 8.5px;
  color: var(--text);
  font-style: italic;
  line-height: 1.25;
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 5 — COL 2: FAQ (Accordion)
   ══════════════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2.5px;
  margin-top: 2px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.faq-q {
  padding: 4px 6px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #f8fafc;
}

.faq-q i {
  font-size: 8.5px;
  color: var(--green);
  transition: transform 0.2s;
}

.faq-item.active .faq-q i {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #ffffff;
}

.faq-a-inner {
  padding: 4px 6px;
  font-size: 8.5px;
  color: var(--text-muted);
  line-height: 1.3;
  border-top: 1px dashed var(--border);
}

/* ══════════════════════════════════════════════════════════════════
   SECTION 5 — COL 3: CONTACT SECTION
   ══════════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5px;
  margin-top: 2px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: span 2;
}

.form-input {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 9px;
  color: var(--text);
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--green);
  background: #ffffff;
}

textarea.form-input {
  height: 34px;
  resize: none;
}

.contact-info-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ci-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 4px;
}

.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 8.5px;
  color: var(--navy);
}

.ci-item i {
  color: var(--green);
  font-size: 9px;
  margin-top: 1px;
}

.ci-btns {
  display: flex;
  gap: 3px;
}

.ci-btns .btn {
  flex: 1;
  font-size: 8.5px;
  padding: 3px 4px;
}

/* ══════════════════════════════════════════════════════════════════
   DARK NAVY FOOTER
   ══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 0 6px 0;
  margin-top: 6px;
  font-size: 9.5px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-col-title {
  font-family: var(--font-h);
  font-size: 10.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  border-bottom: 1.5px solid var(--green);
  padding-bottom: 2px;
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-socials {
  display: flex;
  gap: 5px;
  margin-top: 4px;
}

.footer-socials a {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  transition: background 0.2s;
}

.footer-socials a:hover {
  background: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* Hide the redundant mobile span on desktop */
.footer-bottom-mobile {
  display: none;
}

/* "Designed & Developed by Riskfreefeel Technologies" — all views */
.footer-devby {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
  padding-top: 10px;
  padding-bottom: 4px;
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.footer-devby-link {
  color: #46ec62;
  font-weight: 700;
  font-size: 10.5px;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: opacity 0.2s ease;
}
.footer-devby-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Mobile: show the bottom-mobile span too for max visibility */
@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
  .footer-bottom-mobile {
    display: block;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.65);
  }
  .footer-devby {
    font-size: 11px;
    padding-top: 12px;
  }
  .footer-devby-link {
    font-size: 12px;
  }
}

/* Target Scroll Offset for Sticky Header */
[id] {
  scroll-margin-top: 65px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 14px;
  right: 14px;
  background: #25d366;
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE MOBILE & TABLET STYLING
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .header-inner {
    position: relative;
    padding: 0 8px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 55px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-bottom: 2px solid var(--green);
    z-index: 1000;
  }

  .nav.active {
    display: flex !important;
  }

  .nav a {
    font-size: 13px;
    width: 100%;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav a.active::after {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 20px;
    color: var(--navy);
  }

  .header-ctas {
    gap: 8px;
  }

  .header-contact-label {
    display: none;
  }

  .row3-sec3, .row3-sec4, .row3-sec5 {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-body {
    grid-template-columns: 1fr;
  }

  .about-img-box {
    height: 180px;
  }

  .eq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps-row {
    flex-direction: column;
    gap: 0;
    padding: 12px 14px;
    position: relative;
  }

  .step-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    padding: 10px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  }

  .step-details {
    align-items: flex-start;
  }

  .step-circle {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .step-title {
    font-size: 11px;
    margin-bottom: 2px;
  }

  .step-desc {
    font-size: 9.5px;
    line-height: 1.35;
  }

  .step-arrow {
    transform: none;
    align-self: center;
    font-size: 11px;
    padding: 4px 0;
    color: var(--green);
  }

  .sa-block {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .sa-map-box {
    height: 140px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .logo-sub {
    display: none;
  }

  .logo-title {
    font-size: 14px;
  }

  /* TABLET 768px */
  .hero {
    height: auto;
    min-height: 480px;
    padding: 0;
    isolation: isolate;
    background: #051424;
  }

  .hero::before {
    /* 55% puts the surveyor and drone clearly in frame on tablet */
    background-position: 55% center;
    filter: brightness(1.10) contrast(1.05) saturate(1.05);
    transform: scale(1.0);
  }

  /* Overlay: left band dark for text, right opens up so image shows */
  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(5, 16, 34, 0.82) 0%,
      rgba(5, 16, 34, 0.55) 45%,
      rgba(5, 16, 34, 0.20) 100%
    );
  }

  .hero-inner {
    padding: 32px 0 24px;
  }

  /* All text: left-aligned, compact sizes */
  .hero-content {
    max-width: 70%;    /* leaves right 30% for image to peek through */
  }

  .hero-pretag {
    font-size: 9.5px;
    margin-bottom: 5px;
    text-align: left;
  }

  .pretag-line {
    margin-left: 0;
  }

  .hero-title {
    font-size: 22px;
    line-height: 1.22;
    margin-bottom: 8px;
    text-align: left;
  }

  .hero-desc {
    font-size: 11px;
    line-height: 1.45;
    margin-bottom: 16px;
    max-width: 100%;
    text-align: left;
  }

  .hero-btns {
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
    width: auto;
    align-items: flex-start;
  }

  .btn-hero-green, .btn-hero-outline {
    width: auto;
    min-width: 180px;
    justify-content: center;
    padding: 10px 16px;
    font-size: 11.5px;
  }

  .hero-bottom-bar {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-top: 10px;
    max-width: 100%;
  }

  .bar-divider {
    display: none;
  }

  .bar-col {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 6px 4px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    align-items: flex-start;
    text-align: left;
    gap: 3px;
  }

  .bar-icon {
    font-size: 12px;
  }

  .bar-label {
    font-size: 8.5px;
    font-weight: 600;
    text-align: left;
    line-height: 1.2;
  }
}

/* MOBILE PORTRAIT: 430px / 390px / 375px */
@media (max-width: 480px) {
  .hero {
    min-height: 440px;
  }

  .hero::before {
    /* Mobile portrait: 55-60% positions the surveyor + drone in view */
    background-position: 58% 40%;
    filter: brightness(1.12) contrast(1.05) saturate(1.05);
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(5, 16, 34, 0.80) 0%,
      rgba(5, 16, 34, 0.50) 50%,
      rgba(5, 16, 34, 0.18) 100%
    );
  }

  .hero-inner {
    padding: 28px 0 20px;
  }

  .hero-content {
    max-width: 78%;
  }

  .hero-pretag {
    font-size: 9px;
    letter-spacing: 0.3px;
  }

  .hero-title {
    font-size: 19px;
    margin-bottom: 8px;
    text-align: left;
  }

  .hero-desc {
    font-size: 10.5px;
    line-height: 1.45;
    margin-bottom: 14px;
    text-align: left;
  }

  .btn-hero-green, .btn-hero-outline {
    font-size: 11px;
    padding: 9px 14px;
    min-width: 160px;
  }

  .hero-bottom-bar {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .bar-col {
    padding: 5px 4px;
    gap: 2px;
  }

  .bar-icon { font-size: 11px; }
  .bar-label { font-size: 8px; }
}

/* MOBILE LANDSCAPE */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 400px;
  }

  .hero::before {
    background-position: 55% center;
    filter: brightness(1.15) contrast(1.07) saturate(1.05);
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(7, 21, 39, 0.82) 0%,
      rgba(7, 21, 39, 0.52) 45%,
      rgba(7, 21, 39, 0.18) 100%
    );
  }

  .hero-inner { padding: 28px 0 20px; }
  .hero-title { font-size: 24px; }
  .hero-btns { flex-direction: row; width: auto; }
  .btn-hero-green, .btn-hero-outline { width: auto; }
  .hero-bottom-bar { max-width: 100%; }
}


@media (max-width: 640px) {
  #hdr-wa-btn {
    display: none;
  }

  .header-contact-number {
    font-size: 10px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gal-item {
    height: 100px;
  }

  .panel {
    padding: 12px;
  }

  .panel-title {
    font-size: 14px;
  }

  .panel-sub {
    font-size: 10px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   LIGHTBOX MODAL & IMAGE VIEWER SYSTEM
   ══════════════════════════════════════════════════════════════════ */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(7, 21, 39, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  user-select: none;
}

.lightbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content {
  max-width: 82vw;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease;
}

.lightbox-caption {
  margin-top: 14px;
  text-align: center;
  color: #ffffff;
}

.lightbox-caption h4 {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.lightbox-caption p {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}

.lightbox-counter {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10001;
}

.lightbox-nav:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

@media (max-width: 640px) {
  .lightbox-prev { left: 10px; width: 38px; height: 38px; font-size: 14px; }
  .lightbox-next { right: 10px; width: 38px; height: 38px; font-size: 14px; }
  .lightbox-close { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 24px; }
  .lightbox-content { max-width: 90vw; max-height: 65vh; }
}

/* ══════════════════════════════════════════════════════════════════
   DIGITAL SURVEY TECHNOLOGY ANIMATED SHOWCASE
   ══════════════════════════════════════════════════════════════════ */
.tech-section {
  margin: 14px 0 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 10px;
  padding: 18px 14px;
  box-shadow: 0 4px 16px rgba(11, 26, 48, 0.04);
}

.tech-header {
  text-align: center;
  margin-bottom: 16px;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tech-title {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}

.tech-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.tech-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 12px 28px rgba(11, 26, 48, 0.12);
}

.tech-visual-container {
  position: relative;
  width: 100%;
  height: 180px;
  background: #071527;
  overflow: hidden;
}

.tech-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.tech-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(11, 26, 48, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tech-badge i {
  color: var(--green);
}

.tech-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tech-card-title {
  font-family: var(--font-h);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1px;
}

.tech-card-sub {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 6px;
}

.tech-card-desc {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  flex: 1;
}

.tech-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.tech-spec {
  font-size: 9px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 3px;
}

.tech-spec i {
  color: var(--green);
}

.tech-cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 6px 18px rgba(11, 26, 48, 0.2);
}

.tech-cta-title {
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tech-cta-title i {
  color: var(--green);
}

.tech-cta-desc {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.35;
}

.tech-cta-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .tech-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .tech-cta-btns {
    width: 100%;
    flex-direction: column;
  }
  .tech-cta-btns .btn {
    width: 100%;
  }
}
