/*
================================================================================
  EKAN SOLUTIONS INC. — SHARED STATIC SITE STYLES
  Colors: --primary #0A3D62 (navy), --accent #1ABC9C (teal)
  Font: Inter (Google Fonts)
================================================================================

========== COPY-PASTE NAV HTML (use on every page) ==========================

<header class="site-header" id="site-header">
  <div class="container nav-inner">
    <!-- Logo -->
    <a href="home.html" class="nav-logo">
      <svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
        <rect width="44" height="44" rx="10" fill="#0A3D62"/>
        <!-- Circuit lines -->
        <line x1="8" y1="22" x2="36" y2="22" stroke="#1ABC9C" stroke-width="1" opacity="0.5"/>
        <line x1="22" y1="8" x2="22" y2="36" stroke="#1ABC9C" stroke-width="1" opacity="0.5"/>
        <line x1="8" y1="14" x2="16" y2="14" stroke="#1ABC9C" stroke-width="1" opacity="0.4"/>
        <line x1="28" y1="30" x2="36" y2="30" stroke="#1ABC9C" stroke-width="1" opacity="0.4"/>
        <line x1="14" y1="8" x2="14" y2="16" stroke="#1ABC9C" stroke-width="1" opacity="0.4"/>
        <line x1="30" y1="28" x2="30" y2="36" stroke="#1ABC9C" stroke-width="1" opacity="0.4"/>
        <!-- Neural dots -->
        <circle cx="8" cy="22" r="2" fill="#1ABC9C"/>
        <circle cx="36" cy="22" r="2" fill="#1ABC9C"/>
        <circle cx="22" cy="8" r="2" fill="#1ABC9C"/>
        <circle cx="22" cy="36" r="2" fill="#1ABC9C"/>
        <circle cx="14" cy="14" r="1.5" fill="#1ABC9C" opacity="0.7"/>
        <circle cx="30" cy="30" r="1.5" fill="#1ABC9C" opacity="0.7"/>
        <circle cx="30" cy="14" r="1.5" fill="#1ABC9C" opacity="0.7"/>
        <circle cx="14" cy="30" r="1.5" fill="#1ABC9C" opacity="0.7"/>
        <!-- ES Text -->
        <text x="22" y="27" text-anchor="middle" fill="white" font-size="14" font-weight="800" font-family="Inter,sans-serif" letter-spacing="-0.5">ES</text>
      </svg>
      <div class="nav-logo-text">
        <span class="nav-logo-name">Ekan Solutions</span>
        <span class="nav-logo-inc">Inc.</span>
      </div>
    </a>
    <!-- Desktop nav links -->
    <nav class="nav-links" id="nav-links">
      <a href="home.html" class="nav-link" data-page="home">Home</a>
      <a href="about.html" class="nav-link" data-page="about">About</a>
      <a href="services.html" class="nav-link" data-page="services">Services</a>
      <a href="solutions.html" class="nav-link" data-page="solutions">Solutions</a>
      <a href="contact.html" class="nav-link" data-page="contact">Contact</a>
    </nav>
    <!-- Phone + CTA -->
    <div class="nav-cta">
      <div class="nav-phones">
        <a href="tel:8322950408" class="nav-phone">(832) 295-0408</a>
        <a href="tel:4105968362" class="nav-phone">410-596-8362</a>
      </div>
      <a href="contact.html" class="btn btn-accent">Get Consultation</a>
    </div>
    <!-- Hamburger -->
    <button class="hamburger" id="hamburger" aria-label="Toggle menu" aria-expanded="false">
      <span></span><span></span><span></span>
    </button>
  </div>
  <!-- Mobile dropdown -->
  <div class="mobile-menu" id="mobile-menu">
    <nav class="mobile-nav">
      <a href="home.html" class="mobile-link" data-page="home">Home</a>
      <a href="about.html" class="mobile-link" data-page="about">About</a>
      <a href="services.html" class="mobile-link" data-page="services">Services</a>
      <a href="solutions.html" class="mobile-link" data-page="solutions">Solutions</a>
      <a href="contact.html" class="mobile-link" data-page="contact">Contact</a>
    </nav>
    <div class="mobile-phones">
      <a href="tel:8322950408">(832) 295-0408</a>
      <a href="tel:4105968362">410-596-8362</a>
    </div>
    <a href="contact.html" class="btn btn-accent mobile-cta">Get Consultation</a>
  </div>
</header>

========== COPY-PASTE FOOTER HTML (use on every page) =======================

<footer class="site-footer">
  <div class="container footer-grid">
    <div class="footer-col">
      <div class="footer-logo">
        <svg width="40" height="40" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg">
          <rect width="44" height="44" rx="10" fill="#0A3D62"/>
          <line x1="8" y1="22" x2="36" y2="22" stroke="#1ABC9C" stroke-width="1" opacity="0.5"/>
          <line x1="22" y1="8" x2="22" y2="36" stroke="#1ABC9C" stroke-width="1" opacity="0.5"/>
          <line x1="8" y1="14" x2="16" y2="14" stroke="#1ABC9C" stroke-width="1" opacity="0.4"/>
          <line x1="28" y1="30" x2="36" y2="30" stroke="#1ABC9C" stroke-width="1" opacity="0.4"/>
          <circle cx="8" cy="22" r="2" fill="#1ABC9C"/>
          <circle cx="36" cy="22" r="2" fill="#1ABC9C"/>
          <circle cx="22" cy="8" r="2" fill="#1ABC9C"/>
          <circle cx="22" cy="36" r="2" fill="#1ABC9C"/>
          <circle cx="14" cy="14" r="1.5" fill="#1ABC9C" opacity="0.7"/>
          <circle cx="30" cy="30" r="1.5" fill="#1ABC9C" opacity="0.7"/>
          <text x="22" y="27" text-anchor="middle" fill="white" font-size="14" font-weight="800" font-family="Inter,sans-serif" letter-spacing="-0.5">ES</text>
        </svg>
        <span class="footer-logo-name">Ekan Solutions Inc.</span>
      </div>
      <p class="footer-tagline">Enterprise IT solutions built on integrity, innovation, and 15+ years of expertise.</p>
      <div class="footer-contact-items">
        <span>📞 (832) 295-0408</span>
        <span>📞 410-596-8362</span>
        <span>📍 Maryland, United States</span>
      </div>
    </div>
    <div class="footer-col">
      <h4 class="footer-heading">Quick Links</h4>
      <ul class="footer-links">
        <li><a href="home.html">Home</a></li>
        <li><a href="about.html">About Us</a></li>
        <li><a href="services.html">Services</a></li>
        <li><a href="solutions.html">Solutions</a></li>
        <li><a href="contact.html">Contact</a></li>
      </ul>
    </div>
    <div class="footer-col">
      <h4 class="footer-heading">Our Services</h4>
      <ul class="footer-links">
        <li><a href="service-cybersecurity.html">Cybersecurity</a></li>
        <li><a href="service-project-management.html">Project Management</a></li>
        <li><a href="service-fullstack.html">Full Stack Development</a></li>
        <li><a href="service-aws.html">AWS Cloud Solutions</a></li>
        <li><a href="service-java.html">Java Development</a></li>
        <li><a href="service-qa.html">Quality Assurance / Testing</a></li>
        <li><a href="service-ai.html">AI &amp; Automation Services</a></li>
      </ul>
    </div>
  </div>
  <div class="footer-bottom">
    <div class="container">
      <p>&copy; 2025 Ekan Solutions Inc. All rights reserved.</p>
    </div>
  </div>
</footer>

<script src="nav.js"></script>

========== END OF HTML SNIPPETS =============================================
*/

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

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --primary:     #0A3D62;
  --primary-dark:#072d48;
  --primary-light:rgba(10,61,98,0.08);
  --accent:      #1ABC9C;
  --accent-dark: #17a589;
  --accent-light:rgba(26,188,156,0.12);
  --white:       #ffffff;
  --gray-light:  #f8f9fa;
  --gray-border: #e9ecef;
  --gray-mid:    #dee2e6;
  --text-dark:   #1a1a2e;
  --text-body:   #3d4451;
  --text-muted:  #6c757d;
  --shadow-sm:   0 2px 8px rgba(10,61,98,0.08);
  --shadow-md:   0 4px 24px rgba(10,61,98,0.12);
  --shadow-lg:   0 12px 40px rgba(10,61,98,0.18);
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --transition:  all 0.25s ease;
}

/* ============================================================
   Typography Utilities
   ============================================================ */
.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title.white { color: var(--white); }

.section-subtitle {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

.section-subtitle.white { color: rgba(255,255,255,0.7); }

.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-muted  { color: var(--text-muted); }

/* ============================================================
   Container & Layout
   ============================================================ */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
}

@media (max-width: 768px) {
  .container { padding: 0 1rem; }
}

.section {
  padding: 60px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-alt {
  padding: 60px 0 40px;
  background: var(--gray-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section > .container,
.section-alt > .container {
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ============================================================
   Grid Utilities
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: center; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; }
.grid-equal { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* ============================================================
   Flex Utilities
   ============================================================ */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-start  { display: flex; align-items: center; }
.flex-wrap   { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,188,156,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(10,61,98,0.09);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(10,61,98,0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav-logo-inc {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav right: phones + CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-phones {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: right;
}

.nav-phone {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: none;
}

.nav-phone:hover { color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  padding: 1rem 1.5rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--gray-border);
}

.mobile-menu.open { display: block; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.mobile-link {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  border-bottom: 1px solid var(--gray-border);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-link:hover,
.mobile-link.active { color: var(--primary); }

.mobile-phones {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.mobile-phones a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
}

.mobile-cta { width: 100%; justify-content: center; }

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0A3D62 0%, #0d4f80 50%, #0A3D62 100%);
  color: var(--white);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('assets/generated/ekan-hero-bg.dim_1600x800.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  width: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

.hero-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span { color: var(--accent); }

.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-stat-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stat-icon svg {
  width: 18px; height: 18px;
  color: var(--accent);
  stroke: var(--accent);
}

.hero-stat-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

/* Hero right card */
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
}

.hero-card-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  transition: background 0.2s;
  text-decoration: none;
  color: var(--white);
}

.hero-service-item:hover { background: rgba(255,255,255,0.12); }

.hero-service-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-service-name {
  font-size: 0.875rem;
  font-weight: 500;
  flex: 1;
}

.hero-chevron {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.hero-card-glow-1 {
  position: absolute;
  top: -24px; right: -24px;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(26,188,156,0.3);
  filter: blur(20px);
  pointer-events: none;
}

.hero-card-glow-2 {
  position: absolute;
  bottom: -24px; left: -24px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  filter: blur(24px);
  pointer-events: none;
}

/* Wave divider */
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}

.hero-wave svg { width: 100%; display: block; }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 28px; height: 28px;
}

.card-icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.card-icon-circle svg {
  width: 26px; height: 26px;
  stroke: var(--accent);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Service card (with center alignment for grid) */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  cursor: default;
  margin-bottom: 0;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card .card-icon-circle { flex-shrink: 0; }

.service-card:hover .card-icon-circle { transform: scale(1.1); transition: transform 0.3s ease; }

/* Dark card (Why Choose Us) */
.card-dark {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: background 0.3s ease;
}

.card-dark:hover { background: rgba(255,255,255,0.13); }

.card-dark .card-icon {
  background: rgba(26,188,156,0.2);
  margin-bottom: 1.25rem;
}

.card-dark .card-icon svg { stroke: var(--accent); }

.card-dark .card-title { color: var(--white); font-size: 1.2rem; margin-bottom: 0.75rem; }
.card-dark .card-desc { color: rgba(255,255,255,0.65); }

/* ============================================================
   Intro Cards (below hero)
   ============================================================ */
.intro-cards {
  background: var(--white);
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

/* ============================================================
   Stats Bar
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.stat-item { text-align: center; padding: 2rem 1.5rem; }

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   Why Choose Us (dark section)
   ============================================================ */
.why-section {
  background: linear-gradient(135deg, #0A3D62 0%, #0d5a8a 100%);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 40px 40px;
}

.why-section .container { position: relative; z-index: 1; }

/* ============================================================
   Process Steps
   ============================================================ */
.process-section { background: var(--white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent), var(--primary));
  opacity: 0.2;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  position: relative;
}

.process-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(10,61,98,0.3);
  position: relative;
  z-index: 2;
}

.process-circle svg {
  width: 32px; height: 32px;
  stroke: var(--white);
}

.process-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.process-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   Service Tabs (Deep Dive)
   ============================================================ */
.tabs-section { background: var(--gray-light); }

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.tab-btn svg { width: 15px; height: 15px; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.tab-content-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.tab-content-icon svg { width: 28px; height: 28px; stroke: var(--primary); }

.tab-headline {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.tab-body {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.included-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.included-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-body);
}

.check-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  background: var(--primary);
  padding: 60px 0 40px;
}

.cta-banner-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ============================================================
   Contact Section
   ============================================================ */
.contact-info-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg { width: 18px; height: 18px; stroke: var(--primary); }

.contact-card {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 2rem 2rem;
  color: var(--white);
  margin-top: 2rem;
}

.contact-card h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem; }

.contact-card-steps { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.contact-card-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

/* Form */
.form-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,188,156,0.1);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success.visible { display: flex; }

.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.form-success-icon svg { width: 32px; height: 32px; stroke: var(--accent); }

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--white); }

.breadcrumb-sep { color: rgba(255,255,255,0.4); }

/* ============================================================
   Tech Stack Badges
   ============================================================ */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition);
}

.tech-badge:hover {
  background: var(--primary);
  color: var(--white);
}

/* Industry badges */
.industry-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(10,61,98,0.05);
  border: 1.5px solid rgba(10,61,98,0.15);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: default;
  transition: var(--transition);
}

.industry-badge:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ============================================================
   Service Hero (individual service pages)
   ============================================================ */
.service-hero {
  background: linear-gradient(135deg, #0A3D62 0%, #0d4f80 100%);
  padding: 60px 0 40px;
  color: var(--white);
}

.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.service-hero-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.service-hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* ============================================================
   Solutions Page Tabs
   ============================================================ */
.solutions-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

/* ============================================================
   About Page Sections
   ============================================================ */
.mission-block {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  color: var(--white);
  margin-top: 1.5rem;
}

.mission-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.value-card {
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: box-shadow 0.25s;
}

.value-card:hover { box-shadow: var(--shadow-md); }

.value-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.value-icon svg { width: 16px; height: 16px; stroke: var(--accent); }

.value-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.value-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

.promise-block {
  background: var(--gray-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
}

.promise-divider {
  width: 48px; height: 4px;
  border-radius: 4px;
  background: var(--accent);
  margin: 0.75rem auto 1.25rem;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #0a2540;
  color: var(--white);
  padding-top: 4rem;
}

.footer-grid,
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* New footer contact block */
.footer-contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1ABC9C;
  margin: 0.25rem 0 0.75rem;
  display: block;
}
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}
.footer-contact-row svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #1ABC9C;
  stroke: #1ABC9C;
}
.footer-contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.footer-contact-text a,
.footer-contact-text span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.45;
}
.footer-contact-text a:hover { color: #fff; }

.footer-heading,
.footer-col-title,
.site-footer .footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }

/* ── Footer link clickability: always on top, never intercepted ── */
.footer-links li { position: relative; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
  cursor: pointer;
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
  color: var(--accent);
}

/* footer-bottom removed */

/* ============================================================
   Form: Loading Spinner, Thank You State, Error State
   ============================================================ */

/* --- Spinner overlay shown above the form while submitting --- */
#form-spinner {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}
#form-spinner.visible { display: flex; }

/* The rotating circle */
.spinner-ring {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(26,188,156,0.2);
  border-top-color: #1ABC9C;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Inline spinner inside a button (used when button text is replaced) */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Disabled submit button — visual feedback */
[type="submit"]:disabled,
button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* --- Enhanced Thank You / Success panel --- */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  background: #e8f8f4;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(26,188,156,0.3);
  animation: successFadeIn 0.45s ease forwards;
}

@keyframes successFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.form-success.visible { display: flex; }

.form-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(26,188,156,0.15);
  border: 2px solid rgba(26,188,156,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.form-success-icon svg {
  width: 40px;
  height: 40px;
  stroke: #1ABC9C;
}

.form-success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.form-success-msg {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 1.5rem;
}

.form-success-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* --- Error state panel --- */
.form-error {
  display: none;
  padding: 1rem 1.25rem;
  background: #fff5f5;
  border: 1.5px solid #f5c6cb;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  color: #721c24;
  font-size: 0.875rem;
  line-height: 1.6;
}
.form-error.visible { display: block; }
.form-error a { color: #721c24; font-weight: 600; text-decoration: underline; }

/* Inline error (appended to form on error) */
.form-submit-error {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff5f5;
  border: 1.5px solid #f5c6cb;
  border-radius: var(--radius-sm);
  color: #721c24;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================================
   Desktop Nav Dropdown
   ============================================================ */

/* Wrapper — must be position:relative so the menu can be absolute */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* The trigger link (same base styles as .nav-link) */
.nav-link-has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Chevron icon inside the trigger */
.dropdown-chevron {
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  vertical-align: middle;
  color: currentColor;
}

/* Rotate chevron when dropdown is open via CSS hover */
.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

/* The dropdown panel */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 230px;
  background: #ffffff;
  border-radius: 8px;
  border-top: 3px solid #1ABC9C;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  list-style: none;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
  pointer-events: none;
}

/* Bridge gap between trigger and panel so mouse can travel without closing */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* Show on hover */
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Individual dropdown items */
.nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #0A3D62;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
  background: #f0f9f6;
  color: #1ABC9C;
}

/* Active page highlight in dropdown */
.nav-dropdown-menu li a.active {
  color: #1ABC9C;
  font-weight: 600;
}

/* Active state on the trigger when on a service sub-page */
.nav-dropdown .nav-link-has-dropdown.active {
  color: var(--primary);
}

.nav-dropdown .nav-link-has-dropdown.active::after {
  width: 100%;
}

/* ============================================================
   Mobile Nav Dropdown (Accordion)
   ============================================================ */

/* Wrapper for the mobile dropdown block */
.mobile-dropdown {
  border-bottom: 1px solid var(--gray-border);
}

/* Toggle button styled like a mobile-link */
.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: color 0.2s;
}

.mobile-dropdown-toggle:hover,
.mobile-dropdown-toggle.active {
  color: var(--primary);
}

/* Chevron icon in mobile toggle */
.mobile-dropdown-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: currentColor;
}

/* Rotate chevron when expanded */
.mobile-dropdown.open .mobile-dropdown-chevron {
  transform: rotate(180deg);
}

/* Collapsible sub-menu */
.mobile-dropdown-menu {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(10, 61, 98, 0.03);
  border-radius: 0 0 6px 6px;
}

.mobile-dropdown.open .mobile-dropdown-menu {
  max-height: 500px;
}

/* Sub-link items */
.mobile-sub-link {
  display: block;
  padding: 0.55rem 0 0.55rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 61, 98, 0.07);
  transition: color 0.15s ease, background 0.15s ease;
}

.mobile-sub-link:last-child,
.mobile-dropdown-menu li:last-child .mobile-sub-link {
  border-bottom: none;
}

.mobile-sub-link:hover {
  color: #1ABC9C;
  background: rgba(26, 188, 156, 0.06);
}

.mobile-sub-link.active {
  color: #1ABC9C;
  font-weight: 600;
}

/* ============================================================
   Scroll Animations
   — Content is ALWAYS visible. Animation is purely decorative.
   — opacity:1 is the default state. The animation enhances but
     never hides content. Safe for direct loads, back/forward
     navigation, and any navigation path.
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0.01;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0.01; }
  to   { opacity: 1; }
}

/*
 * CRITICAL: opacity:1 and transform:none are set FIRST as the
 * base state. The animation uses fill-mode:forwards (NOT "both")
 * so the "from" keyframe is never applied as the initial render
 * state — content is always visible before the animation plays.
 */
.fade-in {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
}

.fade-in.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
  animation: fadeInUp 0.55s ease forwards;
}

/* Stagger delays for .visible state */
.fade-in.visible:nth-child(1)  { animation-delay: 0s; }
.fade-in.visible:nth-child(2)  { animation-delay: 0.08s; }
.fade-in.visible:nth-child(3)  { animation-delay: 0.16s; }
.fade-in.visible:nth-child(4)  { animation-delay: 0.24s; }
.fade-in.visible:nth-child(5)  { animation-delay: 0.32s; }
.fade-in.visible:nth-child(6)  { animation-delay: 0.40s; }
.fade-in.visible:nth-child(7)  { animation-delay: 0.48s; }

/* Honour reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in.visible {
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

/* ============================================================
   Utility Classes
   ============================================================ */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* ============================================================
   Responsive — Mobile Breakpoint (768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card  { display: none; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 1rem; }

  /* Grids — tighter gaps on mobile */
  .grid-2  { grid-template-columns: 1fr; gap: 1.25rem; }
  .grid-3  { grid-template-columns: 1fr; gap: 1.25rem; }
  .grid-4  { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .grid-5  { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .grid-equal  { grid-template-columns: 1fr; }
  .grid-2-1    { grid-template-columns: 1fr; }
  .grid-1-2    { grid-template-columns: 1fr; }

  /* Card base padding reduction on mobile */
  .card { padding: 1.5rem 1.25rem; }
  .service-card { padding: 20px 16px; }
  .card-dark { padding: 1.75rem 1.25rem; }
  .value-card { padding: 1.5rem 1.25rem; }
  .industry-card { padding: 1.5rem 1.25rem; }
  .industry-card-v2 { padding: 1.5rem 1.25rem; }
  .mission-block { padding: 2rem 1.5rem; }
  .process-step { padding: 20px 16px; }

  /* Stats */
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 1.5rem 1rem; }

  /* Process */
  .process-steps       { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .process-steps::before { display: none; }

  /* Tab content */
  .tab-content { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid,
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; gap: 1rem; }
  .grid-5 { grid-template-columns: 1fr; gap: 1rem; }
  .process-steps { grid-template-columns: 1fr; gap: 1rem; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { padding: 1.25rem 1rem; }
  .hero-actions { flex-direction: column; }
}

/* ============================================================
   Tablet Breakpoint (1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .grid-2 { gap: 1.5rem; }
  .grid-3 { gap: 1.5rem; }
  .grid-4 { gap: 1.5rem; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .process-steps::before { display: none; }
  .service-card { padding: 24px 20px; }
}

@media (max-width: 900px) {
  .nav-phones { display: none; }
}

/* ============================================================
   Home Page — Component Styles (merged from home.html)
   ============================================================ */

/* Hero panel (right card) */
.hero-panel {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}
.hero-panel-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.hero-service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.hero-service-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  transition: background 0.2s;
}
.hero-service-list li:hover { background: rgba(255,255,255,0.12); }

/* Intro card icons */
.icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(26,188,156,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.icon-circle svg { width: 24px; height: 24px; }

.intro-card { text-align: center; }
.intro-card .icon-circle { margin: 0 auto 1rem; }
.intro-card h3 { font-size: 1.1rem; font-weight: 700; color: #0A3D62; margin-bottom: 0.5rem; }
.intro-card p { font-size: 0.875rem; color: #6c757d; line-height: 1.65; }

/* Service card link */
.card-link {
  display: inline-block;
  margin-top: 1rem;
  color: #1ABC9C;
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.card-link:hover { color: #17a589; }
.service-card h4 { font-size: 1rem; font-weight: 700; color: #0A3D62; margin-bottom: 0.4rem; }
.service-card p  { font-size: 0.82rem; color: #6c757d; }
.service-card .icon-circle { margin: 0 auto 1rem; }
.service-card-cta { border: 2px dashed #1ABC9C; background: rgba(26,188,156,0.04); }

/* Section dark (tabs section) */
.section-dark {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #0A3D62 0%, #0d5a8a 100%);
}
.section-label-light { color: rgba(255,255,255,0.6); }
.section-title-light { color: #fff; }
.section-desc-light { color: rgba(255,255,255,0.7); }

/* Tab panel content */
.tab-content-inner {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 2rem;
  max-width: 820px;
  margin: 0 auto;
}
.tab-content-inner h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}
.tab-content-inner > p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.tab-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.tab-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
}
.tab-bullets li::before {
  content: "✓";
  color: #1ABC9C;
  font-weight: 700;
  flex-shrink: 0;
}
.btn-accent-sm {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: #1ABC9C;
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-accent-sm:hover { background: #17a589; }

/* Dark section tab btn overrides */
.section-dark .tab-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}
.section-dark .tab-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.section-dark .tab-btn.active {
  background: #1ABC9C;
  border-color: #1ABC9C;
  color: #fff;
}

/* Process — override to flex so arrows work */
#process .process-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
}
#process .process-steps::before { display: none; }
#process .process-step {
  flex: 1 1 120px;
  min-width: 100px;
}
.process-arrow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: 1.5rem;
  color: #1ABC9C;
  font-weight: 700;
  padding-top: 1.25rem;
  flex-shrink: 0;
}
@media (max-width: 768px) { .process-arrow { display: none; } }

/* Stats bar standalone section */
.stats-section {
  background: #0a2540;
  padding: 64px 0 48px;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}
@media (max-width: 768px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #1ABC9C;
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  display: block;
}
.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.12);
  margin: 0 auto;
}
@media (max-width: 768px) { .stat-divider { display: none; } }

/* CTA banner layout (home page variant) */
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.cta-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 480px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: #fff;
  color: #0A3D62;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-white:hover { background: #f0faf8; transform: translateY(-2px); }
.btn-outline-white-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-white-sm:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
@media (max-width: 768px) {
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text p { max-width: 100%; margin: 0 auto; }
  .cta-actions { width: 100%; }
}

/* Contact grid (home page) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
  position: relative;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0A3D62;
  margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.contact-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(10,61,98,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail strong { font-size: 0.85rem; font-weight: 700; color: #0A3D62; display: block; margin-bottom: 0.25rem; }
.contact-detail a { color: #3d4451; font-size: 0.875rem; display: block; }
.contact-detail a:hover { color: #1ABC9C; }
.contact-detail p, .contact-detail span { color: #3d4451; font-size: 0.875rem; }
.contact-hours {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(10,61,98,0.05);
  border-radius: 10px;
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.7;
}
.contact-hours strong { color: #0A3D62; display: block; margin-bottom: 0.4rem; }

.contact-form-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(10,61,98,0.12);
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: #3d4451; }
.form-group label span { color: #e74c3c; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: inherit;
  color: #1a1a2e;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #1ABC9C;
  box-shadow: 0 0 0 3px rgba(26,188,156,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-full { width: 100%; }

/* Why us cards */
.why-card { text-align: left; }
.why-card .icon-circle { margin: 0 0 1rem; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; color: #0A3D62; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.875rem; color: #6c757d; line-height: 1.65; }

/* ============================================================
   Logo Image Classes (no inline styles ever)
   ============================================================ */
.header-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-img {
  height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* 4-column footer grid */
.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 1024px) {
  .footer-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid-4 { grid-template-columns: 1fr; gap: 2rem; }
}

/* Footer contact column (4th col) */
.footer-contact-col { display: flex; flex-direction: column; gap: 0; }
.footer-contact-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}
.footer-contact-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: #1ABC9C;
  color: #1ABC9C;
}
.footer-contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.footer-contact-item-text a,
.footer-contact-item-text span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-contact-item-text a:hover { color: #1ABC9C; }

/* Footer social icons */
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer-social-link:hover {
  background: #1ABC9C;
  color: #fff;
}

/* About snapshot stats (light background variant) */
.about-stats-light .stat-value { color: #0A3D62; }
.about-stats-light .stat-label { color: #6c757d; }

/* section-desc left align override */
.section-desc.text-left { text-align: left; margin: 0 0 1rem; max-width: 100%; }

/* About snapshot stats (on white/light background) */
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.about-stat-item {
  text-align: center;
  background: var(--gray-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  border: 1px solid var(--gray-border);
}
.about-stat-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}
.about-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
}

/* ============================================================
   Footer Bottom Bar
   ============================================================ */
.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-bottom-bar span {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
}

/* ============================================================
   CTA Banner — standard teal gradient (used site-wide)
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #1ABC9C 0%, #17a589 100%);
  padding: 60px 0 40px;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.cta-banner-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
}
.cta-banner-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin: 0;
}
.cta-banner .btn-white,
.cta-banner .btn-accent {
  background: #fff;
  color: #0A3D62;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 2px solid transparent;
}
.cta-banner .btn-white:hover,
.cta-banner .btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* CTA Inner layout (home page) */
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.cta-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 480px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text p { max-width: 100%; margin: 0 auto; }
  .cta-actions { width: 100%; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   About Page Styles
   ============================================================ */

/* Hero */
.about-hero {
  background: linear-gradient(135deg, #0A3D62 0%, #0d4f7d 50%, #062d4a 100%);
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,188,156,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.about-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  color: #fff;
  margin: 0.75rem 0 1rem;
  line-height: 1.15;
}
.about-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.about-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* Company Story */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 768px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.about-story-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0A3D62;
  margin: 0 0 1.25rem;
}
.about-story-text p {
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}
.about-story-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.about-badge {
  background: rgba(26,188,156,0.1);
  color: #0d9e82;
  border: 1px solid rgba(26,188,156,0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
}

/* About Story Image */
.about-story-image { position: relative; }
.about-team-photo {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 8px 32px rgba(10,61,98,0.15);
  object-fit: cover;
}

/* Stats Bar */
.stats-bar {
  background: linear-gradient(90deg, #0A3D62 0%, #0d4f7d 100%);
  padding: 60px 0 40px;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 640px) {
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

/* Mission & Vision */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 640px) {
  .mission-vision-grid { grid-template-columns: 1fr; }
}
.mission-block {
  background: #fff;
  border-radius: 14px;
  padding: 2.5rem 2.25rem;
  border: 1px solid #e8edf2;
  box-shadow: 0 2px 12px rgba(10,61,98,0.06);
}
.mission-icon { margin-bottom: 1.25rem; }
.mission-block h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0A3D62;
  margin: 0 0 0.85rem;
}
.mission-block p {
  color: #4a5568;
  line-height: 1.75;
  margin: 0;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: #fff;
  border-radius: 14px;
  padding: 2.25rem 2rem;
  border: 1px solid #e8edf2;
  box-shadow: 0 2px 10px rgba(10,61,98,0.05);
  transition: transform 0.22s, box-shadow 0.22s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(10,61,98,0.12);
}
.value-icon {
  width: 52px;
  height: 52px;
  background: rgba(26,188,156,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.value-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0A3D62;
  margin: 0 0 0.6rem;
}
.value-card p {
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* Industries Grid — About Page */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .industries-grid { grid-template-columns: 1fr; } }

/* Premium industry card — vertical stack with top accent bar */
.industry-card {
  background: #ffffff;
  border: 1px solid #e8eef4;
  border-radius: 14px;
  padding: 2rem 2rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(10,61,98,0.05);
}
.industry-card::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #1abc9c;
  border-radius: 14px 14px 0 0;
}
.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(10,61,98,0.12);
  border-color: #1abc9c;
}
/* Icon container inside .industry-card */
.industry-card .industry-icon {
  width: 56px;
  height: 56px;
  background: #f0faf7;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0;
}
.industry-card .industry-icon svg {
  width: 28px;
  height: 28px;
}
.industry-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0A3D62;
  margin: 16px 0 8px;
  line-height: 1.3;
}
.industry-card p {
  color: #5a7184;
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0 0 18px;
}
.industry-card .industry-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1abc9c;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s, gap 0.2s;
}
.industry-card .industry-read-more:hover {
  color: #17a589;
  text-decoration: underline;
  gap: 7px;
}

/* Promise Section */
.promise-section {
  background: #f4f8fb;
  padding: 60px 0 40px;
}
.promise-block {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.promise-icon { margin-bottom: 1.5rem; }
.promise-block h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #0A3D62;
  margin: 0 0 1.75rem;
}
.promise-block blockquote {
  font-size: 1.15rem;
  color: #1a2a3a;
  line-height: 1.8;
  font-style: italic;
  border-left: 4px solid #1ABC9C;
  padding-left: 1.75rem;
  text-align: left;
  margin: 0 0 1.25rem;
}
.promise-block cite {
  display: block;
  font-size: 0.9rem;
  color: #1ABC9C;
  font-weight: 600;
  font-style: normal;
  text-align: right;
}

/* ============================================================
   Contact Page Styles
   ============================================================ */
.contact-hero {
  background: linear-gradient(135deg, #0A3D62 0%, #0d4f80 100%);
  padding: 60px 0 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.contact-hero .container { position: relative; z-index: 1; }
.contact-hero-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.contact-hero-title span { color: var(--accent); }
.contact-hero-subtitle {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 520px;
}
.contact-info-heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}
.contact-detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}
.contact-detail-value a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}
.contact-detail-value a:hover { color: var(--accent); }
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 1.5px solid transparent;
}
.social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: 100px;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 1.5rem;
}
.hours-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.form-wrapper { position: relative; }
.map-placeholder {
  background: linear-gradient(135deg, #e8f0f7 0%, #d0e4f1 100%);
  border-radius: var(--radius-xl);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  border: 2px dashed rgba(10,61,98,0.18);
  gap: 0.75rem;
}
.map-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.map-icon svg { width: 26px; height: 26px; stroke: var(--white); }
.map-label { font-size: 1rem; font-weight: 700; color: var(--primary); }
.map-address { font-size: 0.875rem; color: var(--text-muted); }
.map-location-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.map-location-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.location-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-body);
}
.location-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.location-item-icon svg { width: 15px; height: 15px; stroke: var(--primary); }
.location-item a { color: var(--primary); text-decoration: none; }
.location-item a:hover { color: var(--accent); }
.location-item-label {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.location-item-value {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
}
.location-item-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-question:hover { color: var(--accent); }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--gray-border);
  padding-top: 1rem;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   Services Page Styles
   ============================================================ */
.services-hero {
  background: linear-gradient(135deg, #0A3D62 0%, #0d5a8a 60%, #072d48 100%);
  padding: 60px 0 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.services-hero .container { position: relative; z-index: 2; }
.services-hero .hero-title { color: #fff; }
.services-hero .hero-title span { color: #1ABC9C; }
.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.services-grid .service-card:last-child { grid-column: 2; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-top: 1rem;
  transition: gap 0.2s ease;
}
.service-card-link:hover { gap: 0.55rem; }
.breakdown-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.breakdown-block:hover { box-shadow: var(--shadow-md); }
.breakdown-left { display: flex; flex-direction: column; gap: 1rem; }
.breakdown-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.breakdown-icon svg { width: 30px; height: 30px; stroke: var(--primary); }
.breakdown-service-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.breakdown-service-name small {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.breakdown-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s;
}
.breakdown-link:hover { gap: 0.6rem; }
.breakdown-capabilities { display: flex; flex-direction: column; gap: 0.5rem; }
.breakdown-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-body);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--gray-border);
}
.breakdown-cap-item:last-of-type { border-bottom: none; }
.cap-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  stroke: var(--accent);
  margin-top: 2px;
}
.tech-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.tech-overview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.tech-overview-badge:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.tech-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.stats-dark {
  background: linear-gradient(135deg, #0A3D62 0%, #0d5a8a 100%);
  padding: 60px 0 40px;
}
.stats-dark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-dark-item { text-align: center; }
.stat-dark-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-dark-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
@media (max-width: 900px) {
  .breakdown-block { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:last-child { grid-column: auto; }
  .stats-dark-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:last-child { grid-column: auto; }
  .stats-dark-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stats-dark-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Solutions Page Styles
   ============================================================ */
.sol-hero {
  position: relative;
  padding: 60px 0 40px;
  overflow: hidden;
  color: #fff;
}
.sol-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A3D62 0%, #072d48 55%, #0d4f7a 100%);
  z-index: 0;
}
.sol-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 75% 50%, rgba(26,188,156,0.12) 0%, transparent 70%);
}
.sol-hero-inner { position: relative; z-index: 1; }
.sol-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
  max-width: 700px;
}
.sol-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.sol-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Solution Cards */
.sol-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.sol-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.sol-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sol-card:hover::before { opacity: 1; }
.sol-card-ai { border-color: rgba(26,188,156,0.25); background: linear-gradient(135deg, #fff 0%, rgba(26,188,156,0.04) 100%); }
.sol-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.sol-card:hover .sol-card-icon { background: var(--accent-light); color: var(--accent-dark); }
.sol-card-icon-ai { background: var(--accent-light); color: var(--accent-dark); }
.sol-card-title { font-size: 0.975rem; font-weight: 700; color: var(--primary); margin-bottom: 0.55rem; line-height: 1.3; }
.sol-card-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.sol-card-link { font-size: 0.85rem; font-weight: 600; color: var(--accent-dark); text-decoration: none; transition: color 0.2s; cursor: pointer; }
.sol-card-link:hover { color: var(--primary); }

/* Deep Dive Tabs */
.sol-tabs-section {
  background: linear-gradient(135deg, #0A3D62 0%, #0d4f7a 100%);
  padding: 60px 0 40px;
}
.sol-tabs-section .section-header { margin-bottom: 2.5rem; }
.sol-tab-nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 0.35rem;
  margin-bottom: 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.sol-tab-nav .tab-btn {
  flex: 1;
  min-width: 110px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}
.sol-tab-nav .tab-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.sol-tab-nav .tab-btn.active { background: var(--accent); color: #fff; box-shadow: 0 2px 12px rgba(26,188,156,0.4); }
.sol-tab-panels { margin-top: 1.5rem; }
.sol-tab-panel { display: none; }
.sol-tab-panel.active { display: block; }
.sol-panel-content {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 2rem;
  align-items: center;
}
.sol-panel-title { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 0.9rem; }
.sol-panel-desc { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: 540px; }
.sol-features { list-style: none; margin-bottom: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1.5rem; }
.sol-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.85); font-weight: 500; }
.sol-feature-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.sol-panel-icon-wrap { display: flex; align-items: center; justify-content: center; opacity: 0.85; }
.sol-panel-bg-icon { width: 160px; height: 160px; }

/* Industries */
.sol-industry-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--gray-border);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sol-industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sol-industry-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  transition: background 0.25s, color 0.25s;
}
.sol-industry-card:hover .sol-industry-icon { background: var(--accent-light); color: var(--accent-dark); }
.sol-industry-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.sol-industry-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Engagement Models */
.sol-model-grid { align-items: stretch; }
.sol-model-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.sol-model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sol-model-card-featured { border-color: var(--accent); background: linear-gradient(135deg, #fff 0%, rgba(26,188,156,0.04) 100%); box-shadow: 0 4px 24px rgba(26,188,156,0.15); }
.sol-model-num { font-size: 3rem; font-weight: 900; color: var(--primary-light); line-height: 1; margin-bottom: 0.75rem; }
.sol-model-card-featured .sol-model-num { color: rgba(26,188,156,0.15); }
.sol-model-badge { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 20px; letter-spacing: 0.05em; text-transform: uppercase; }
.sol-model-icon { width: 60px; height: 60px; border-radius: var(--radius-md); background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: background 0.25s, color 0.25s; }
.sol-model-card-featured .sol-model-icon { background: var(--accent-light); color: var(--accent-dark); }
.sol-model-card:hover .sol-model-icon { background: var(--accent-light); color: var(--accent-dark); }
.sol-model-title { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin-bottom: 0.75rem; }
.sol-model-desc { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; margin-bottom: 1.25rem; flex: 1; }
.sol-model-features { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.sol-model-features li { font-size: 0.85rem; color: var(--text-muted); padding-left: 1.1rem; position: relative; }
.sol-model-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Tech Partners */
.sol-partners-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Stats Bar */
.sol-stats-bar {
  background: linear-gradient(135deg, #0A3D62 0%, #0d4f7a 100%);
  padding: 3.5rem 0;
}
.sol-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.sol-stat { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.sol-stat-num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: var(--accent); line-height: 1; }
.sol-stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.7); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* Solutions responsive */
@media (max-width: 1100px) { .sol-cards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .sol-panel-content { grid-template-columns: 1fr; }
  .sol-panel-icon-wrap { display: none; }
  .sol-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .sol-features { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sol-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-tab-nav .tab-btn { min-width: 80px; font-size: 0.76rem; padding: 0.55rem 0.65rem; }
}
@media (max-width: 540px) {
  .sol-cards-grid { grid-template-columns: 1fr; }
  .grid-3.sol-industry-grid { grid-template-columns: 1fr 1fr; }
  .grid-3.sol-model-grid { grid-template-columns: 1fr; }
  .sol-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-tab-nav { gap: 0.15rem; }
}

/* ============================================================
   AI Services Page — Partner Badges
   ============================================================ */
.ai-partner-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}
.ai-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(26,188,156,0.35);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.ai-partner-badge-check { color: #1ABC9C; font-weight: 800; }

/* Misc helper classes */
.required-star { color: var(--accent); }
.card-icon-primary { background: var(--primary-light); }
.card-icon-primary svg { stroke: var(--primary); }
.card-title-center { text-align: center; }
.card-desc-center { text-align: center; }
.tech-stack-centered { justify-content: center; }
.location-item-link { display: block; font-weight: 600; font-size: 0.85rem; color: var(--primary); text-decoration: none; }
.location-item-link:hover { color: var(--accent); }
.location-item-label-mt { margin-top: 0.6rem; }
.contact-detail-label-mt { margin-top: 0.6rem; }
.grid-mt { margin-top: 2.5rem; }
.form-success-title { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.form-success-msg { color: var(--text-body); font-size: 1rem; max-width: 380px; line-height: 1.7; margin: 0 auto 1.5rem; }
.services-hero-title { max-width: 680px; }
.card-icon-primary-soft { background: rgba(10,61,98,0.07); }
.card-icon-primary-soft svg { stroke: var(--primary); }
.card-icon-accent-soft { background: rgba(26,188,156,0.1); }
.card-icon-accent-soft svg { stroke: var(--accent); }
.service-hero-container { position: relative; z-index: 2; }
.hero-actions-centered { justify-content: center; }

/* ============================================================
   Contact Page — Additional Classes
   ============================================================ */
.contact-info-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 440px;
}
.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 16px; height: 16px; stroke: var(--primary); }

/* Office cards */
.office-card { text-align: left; }
.office-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--primary); margin-bottom: 0.6rem; }
.office-address { font-size: 0.9rem; color: var(--text-body); line-height: 1.65; margin-bottom: 1rem; }

/* Form error state */
.form-error {
  display: none;
  padding: 1rem 1.25rem;
  background: #fff5f5;
  border: 1.5px solid #f5c6cb;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: #721c24;
  line-height: 1.6;
  margin-top: 0.75rem;
}
.form-error.visible { display: block; }
.form-error a { color: #721c24; font-weight: 600; text-decoration: underline; }

/* Hidden utility for form toggle */
.hidden { display: none !important; }

/* ============================================================
   Services Page — Breakdown Items
   ============================================================ */
.services-breakdown {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.breakdown-item {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.breakdown-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.breakdown-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.breakdown-content { flex: 1; min-width: 0; }

.breakdown-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.breakdown-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

@media (max-width: 600px) {
  .breakdown-item { flex-direction: column; }
}

/* ============================================================
   Services Page — Tech Stack Groups
   ============================================================ */
.tech-stack-groups {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tech-group-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* ============================================================
   Solutions Page — Solution Area Cards
   ============================================================ */
.solutions-deepdive {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.solution-area-card {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.solution-area-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.solution-area-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solution-area-body { flex: 1; min-width: 0; }

.solution-area-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.solution-area-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.solution-area-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.solution-area-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-body);
}

.solution-area-bullets li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .solution-area-card { flex-direction: column; }
}

/* ============================================================
   Solutions Page — Industry Cards
   ============================================================ */
.industry-card {
  text-align: center;
  padding: 2rem 2rem;
}

.industry-card .icon-circle {
  margin: 0 auto 0.85rem;
}

.industry-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.industry-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   Solutions Page — Engagement Cards
   ============================================================ */
.engagement-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 2.25rem 2rem;
}

.engagement-card-featured {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, var(--white) 0%, rgba(26,188,156,0.04) 100%);
  box-shadow: 0 4px 24px rgba(26,188,156,0.15);
}

.engagement-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.engagement-card-featured .engagement-number {
  color: rgba(26,188,156,0.15);
}

.engagement-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.engagement-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.engagement-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  flex: 1;
}

.engagement-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.engagement-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.engagement-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.engagement-cta {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.engagement-cta p {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ============================================================
   Solutions Page — Tech Partners Grid
   ============================================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.partner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.partner-badge:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.partner-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}

.partner-tier {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   Solutions Page — Case Study Cards
   ============================================================ */
.case-card { padding: 2.25rem 2rem; margin-bottom: 0; }

.case-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.case-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.case-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  border-top: 1px solid var(--gray-border);
  padding-top: 1.25rem;
}

.case-metric { text-align: center; }

.case-metric-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.case-metric-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Contact form error message (replaces inline style in nav.js) */
.web3forms-error {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.75rem;
  text-align: center;
}

/* ============================================================
   Solutions Page — Split Cards (50/50 image+content)
   ============================================================ */
.solutions-split-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.solution-split-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  box-shadow: 0 4px 24px rgba(10,61,98,0.10);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.solution-split-card:hover {
  box-shadow: 0 12px 40px rgba(10,61,98,0.18);
  transform: translateY(-3px);
  z-index: 1;
  position: relative;
}

/* Alternating layout: reverse puts content first, image second */
.solution-split-card--reverse {
  direction: rtl;
}
.solution-split-card--reverse > * {
  direction: ltr;
}

/* Image panel */
.solution-split-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.solution-split-image svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3));
}

/* Per-service gradient backgrounds */
.solution-split-image--cyber {
  background: linear-gradient(135deg, #0A3D62 0%, #1a5276 100%);
}
.solution-split-image--cyber::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(26,188,156,0.15) 0%, transparent 70%);
}

.solution-split-image--pm {
  background: linear-gradient(135deg, #0d4f3c 0%, #1abc9c 100%);
}
.solution-split-image--pm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.solution-split-image--dev {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.solution-split-image--dev::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(26,188,156,0.18) 0%, transparent 70%);
}

.solution-split-image--cloud {
  background: linear-gradient(135deg, #1b2a4a 0%, #2d6a9f 100%);
}
.solution-split-image--cloud::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.solution-split-image--java {
  background: linear-gradient(135deg, #8b0000 0%, #c0392b 100%);
}
.solution-split-image--java::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,255,255,0.10) 0%, transparent 70%);
}

.solution-split-image--qa {
  background: linear-gradient(135deg, #1a3a4a 0%, #1abc9c 100%);
}
.solution-split-image--qa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.solution-split-image--ai {
  background: linear-gradient(135deg, #0d1b2a 0%, #1abc9c 100%);
}
.solution-split-image--ai::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255,255,255,0.10) 0%, transparent 70%);
}

/* Content panel */
.solution-split-content {
  background: #ffffff;
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border: 1px solid #e9ecef;
}

.solution-split-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #1ABC9C;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.solution-split-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: #0A3D62;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.solution-split-desc {
  font-size: 0.9rem;
  color: #3d4451;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.solution-split-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.solution-split-bullets li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: #3d4451;
  font-weight: 500;
}

.solution-split-bullets li::before {
  content: "✓";
  color: #1ABC9C;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.solution-split-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1ABC9C;
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
  align-self: flex-start;
}

.solution-split-link:hover {
  color: #17a589;
  gap: 0.55rem;
}

/* Responsive: stack on tablet and mobile */
@media (max-width: 900px) {
  .solution-split-card,
  .solution-split-card--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: auto;
  }
  .solution-split-card--reverse > * {
    direction: ltr;
  }
  .solution-split-image {
    min-height: 220px;
  }
  .solution-split-content {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 480px) {
  .solution-split-image {
    min-height: 180px;
  }
  .solution-split-content {
    padding: 2rem 1.5rem;
  }
}

/* ============================================================
   Solutions Page — Industry Cards v2 (premium, matches about.html)
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.industry-card-v2 {
  background: #ffffff;
  border: 1px solid #e8eef4;
  border-radius: 14px;
  padding: 1.75rem 1.75rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(10,61,98,0.05);
  margin-bottom: 0;
}

.industry-card-v2::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #1abc9c;
  border-radius: 14px 14px 0 0;
}

.industry-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(10,61,98,0.12);
  border-color: #1abc9c;
}

.industry-card-v2-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #f0faf7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0;
}

.industry-card-v2-icon svg {
  width: 28px;
  height: 28px;
}

.industry-card-v2-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0A3D62;
  margin: 16px 0 8px;
  line-height: 1.3;
}

.industry-card-v2-desc {
  font-size: 0.875rem;
  color: #5a7184;
  line-height: 1.7;
  margin: 0 0 18px;
}

.industry-card-v2-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1abc9c;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s, gap 0.2s;
}

.industry-card-v2-link:hover {
  color: #17a589;
  text-decoration: underline;
  gap: 7px;
}

/* ============================================================
   Solutions Page — Stats Inner Grid (strict 4-col, no flex)
   ============================================================ */
.stats-inner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

/* Vertical dividers between stats — desktop only */
.stats-inner-grid .stat-item {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}

.stats-inner-grid .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
  .stats-inner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Hide all dividers on tablet/mobile */
  .stats-inner-grid .stat-item::after {
    display: none;
  }
  .stats-inner-grid .stat-item {
    padding: 20px 12px;
  }
}

@media (max-width: 480px) {
  .stats-inner-grid {
    grid-template-columns: 1fr;
  }
  .stats-inner-grid .stat-item {
    padding: 16px 12px;
  }
}

/* ============================================================
   HERO CAROUSEL  (.hc- prefix — home.html only)
   ============================================================ */

/* ── Outer container ── */
.hero-carousel {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 600px;
  max-height: 720px;
  overflow: hidden;
  background: #0A3D62;
  outline: none;
}

/* ── Slide track (flex row, moves via translateX) ── */
.hc-track {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ── Individual slide ── */
.hc-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: inherit;
  position: relative;
  overflow: hidden;
}

.hc-slide-inner {
  position: relative;
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
}

/* ── Slide background gradient ── */
.hc-slide-bg {
  position: absolute;
  inset: 0;
  min-height: 100%;
  z-index: 0;
}

/* ── Dot / grid pattern overlay (same feel as old .hero-grid-pattern) ── */
.hc-slide-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* ── Radial glow (center-right) ── */
.hc-slide-glow {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,172,156,0.13) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* ── Slide content wrapper ── */
.hc-slide-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: center;
  gap: 2rem;
  padding-top: 60px;
  padding-bottom: 40px;
}

/* ── LEFT zone ── */
.hc-slide-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Content enter animation (triggered via JS) */
.hc-slide--enter .hc-slide-left,
.hc-slide--enter .hc-slide-right {
  animation: hcFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hc-slide--enter .hc-slide-right {
  animation-delay: 0.1s;
}

@keyframes hcFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Badge pill ── */
.hc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(26,172,156,0.18);
  border: 1px solid rgba(26,172,156,0.45);
  border-radius: 100px;
  color: #1ABC9C;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: fit-content;
}

/* ── Headline ── */
.hc-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}
.hc-title span {
  color: #1ABC9C;
}

/* ── Subtext ── */
.hc-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  margin: 0;
  max-width: 540px;
}

/* ── CTA buttons row ── */
.hc-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.25rem;
}

/* ── RIGHT zone ── */
.hc-slide-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* ── Large icon ── */
.hc-icon-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 32px rgba(26,172,156,0.18));
}

/* ── Floating stat cards ── */
.hc-stat-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 0.65rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  z-index: 3;
  min-width: 76px;
}

.hc-stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1ABC9C;
  line-height: 1;
}

.hc-stat-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Positions for the 3 stat cards */
.hc-stat-card--1 {
  top: 12%;
  right: 2%;
  transform: rotate(3deg);
}
.hc-stat-card--2 {
  bottom: 15%;
  right: 4%;
  transform: rotate(-2deg);
}
.hc-stat-card--3 {
  top: 45%;
  left: 0%;
  transform: rotate(-3deg);
}

/* ── Prev / Next buttons ── */
.hc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  outline: none;
}
.hc-btn:hover,
.hc-btn:focus-visible {
  background: rgba(26,172,156,0.55);
  border-color: rgba(26,172,156,0.8);
  transform: translateY(-50%) scale(1.08);
}
.hc-btn--prev { left: 24px; }
.hc-btn--next { right: 24px; }

/* ── Dot indicators ── */
.hc-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hc-dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.35s ease, background 0.35s ease;
  outline: none;
  flex-shrink: 0;
}
.hc-dot:hover {
  background: rgba(255,255,255,0.6);
}
.hc-dot:focus-visible {
  box-shadow: 0 0 0 3px rgba(26,172,156,0.7);
}
.hc-dot--active {
  width: 24px;
  background: #1ABC9C;
}

/* ── Top-right controls (counter + pause) ── */
.hc-controls-top {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hc-counter {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1ABC9C;
  letter-spacing: 0.08em;
  user-select: none;
}

.hc-counter-sep {
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}

.hc-pause-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  outline: none;
}
.hc-pause-btn:hover,
.hc-pause-btn:focus-visible {
  background: rgba(26,172,156,0.4);
  color: #ffffff;
}

/* ============================================================
   HERO CAROUSEL — RESPONSIVE
   ============================================================ */

/* Tablet (768px – 1024px) */
@media (max-width: 1024px) {
  .hc-slide-content {
    grid-template-columns: 58% 42%;
    gap: 1.5rem;
  }
  .hc-icon-wrap svg {
    width: 170px;
    height: 170px;
  }
  .hc-stat-card--3 { display: none; }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  .hero-carousel {
    height: auto;
    max-height: none;
    min-height: 520px;
  }

  .hc-slide-content {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
    padding-bottom: 5rem;
    gap: 2.5rem;
  }

  .hc-slide-left {
    gap: 1rem;
    order: 1;
  }

  .hc-slide-right {
    order: 2;
    min-height: 180px;
  }

  .hc-icon-wrap svg {
    width: 140px;
    height: 140px;
  }

  .hc-stat-card {
    padding: 0.5rem 0.85rem;
  }

  .hc-stat-card--1 {
    top: 5%;
    right: 5%;
  }
  .hc-stat-card--2 {
    bottom: 5%;
    right: 5%;
  }
  .hc-stat-card--3 {
    display: none;
  }

  .hc-title {
    font-size: clamp(1.7rem, 6vw, 2.4rem);
  }

  .hc-subtitle {
    font-size: 0.97rem;
  }

  .hc-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hc-btn {
    width: 36px;
    height: 36px;
  }
  .hc-btn--prev { left: 12px; }
  .hc-btn--next { right: 12px; }

  .hc-dots {
    bottom: 16px;
  }

  .hc-controls-top {
    top: 12px;
    right: 14px;
  }
}


/* ===== DEEP DIVE SECTION ===== */

.deep-dive-section {
  background: #fff;
  padding-top: 60px;
  padding-bottom: 60px;
}

.deep-dive-header {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 40px;
}

/* ── Row base ── */
.dd-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 440px;
  border-top: 1px solid #e8eef3;
  padding-top: 50px;
  padding-bottom: 50px;
  /* Horizontal containment — matches .container */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.dd-row--alt {
  /* Background spans full viewport width even though .dd-row is max-width constrained.
     We use a large outset box-shadow — no clip-path, no overflow. */
  background-color: #f7fafc;
  box-shadow: 0 0 0 100vmax #f7fafc;
}

/* ── Image side ── */
.dd-image {
  min-height: 450px;
  position: relative;
  overflow: hidden;
}

/* Real photo image fills the entire card half */
.dd-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  border-radius: 50px;
  position: absolute;
  top: 0;
  left: 0;
}

/* ── Content side ── */
.dd-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 52px;
}

.dd-number {
  display: block;
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
  color: #1ABC9C;
  letter-spacing: -2px;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  opacity: 0.85;
}

.dd-title {
  font-size: 28px;
  font-weight: 700;
  color: #0A3D62;
  margin: 0 0 14px 0;
  line-height: 1.2;
}

.dd-desc {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.75;
  margin: 0 0 20px 0;
  max-width: 520px;
}

.dd-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.dd-list li {
  font-size: 14.5px;
  color: #4a4a4a;
  line-height: 1.6;
  padding: 5px 0 5px 20px;
  position: relative;
  border-bottom: 1px solid #edf2f7;
}

.dd-list li:last-child {
  border-bottom: none;
}

.dd-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 4px;
  color: #1ABC9C;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

.dd-cta {
  display: inline-block;
  background-color: #1ABC9C;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.25s ease, transform 0.2s ease;
  letter-spacing: 0.3px;
}

.dd-cta:hover {
  background-color: #159b84;
  transform: translateY(-1px);
  color: #fff;
}

/* ── Reverse row: content left, image right ── */
.dd-row--reverse .dd-content {
  order: 1;
}
.dd-row--reverse .dd-image {
  order: 2;
}

/* ── Responsive: tablet ── */
@media (max-width: 1024px) {
  .dd-row {
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .dd-content {
    padding: 36px 32px;
  }

  .dd-title {
    font-size: 24px;
  }

  .dd-number {
    font-size: 44px;
  }
}

/* ── Responsive: mobile (<768px) — always image on top, content below ── */
@media (max-width: 767px) {
  .dd-row,
  .dd-row--reverse {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 28px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Image always on top regardless of reverse */
  .dd-row--reverse .dd-content {
    order: 2;
  }
  .dd-row--reverse .dd-image {
    order: 1;
  }

  .dd-image {
    min-height: 240px;
    padding: 0;
  }

  .dd-img {
    border-radius: 0;
  }

  .dd-content {
    padding: 28px 24px;
  }

  .dd-number {
    font-size: 36px;
  }

  .dd-title {
    font-size: 22px;
  }

  .dd-desc {
    font-size: 14px;
  }

  .dd-list li {
    font-size: 14px;
  }

  .deep-dive-header {
    padding-top: 40px;
    padding-bottom: 24px;
  }
}

/* ============================================================
   Services Page — Our Toolkit Tabbed Interface
   ============================================================ */

/* Section wrapper — light background to distinguish from adjacent sections */
.toolkit-section {
  background: var(--gray-light);
  padding: 64px 0 48px;
}

/* ── Tab Navigation Bar ── */
.toolkit-tabs {
  display: flex;
  gap: 0.25rem;
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: 50px;
  padding: 0.3rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;           /* Firefox */
}
.toolkit-tabs::-webkit-scrollbar { display: none; } /* Chrome/Safari */

/* ── Individual Tab Buttons ── */
.toolkit-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.toolkit-tab-btn svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.toolkit-tab-btn:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.toolkit-tab-btn:hover svg { opacity: 1; }

.toolkit-tab-btn.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 14px rgba(26,188,156,0.35);
}
.toolkit-tab-btn.active svg { opacity: 1; }

/* ── Tab Panels ── */
.toolkit-panel {
  display: none;
  padding-top: 8px;
}
.toolkit-panel.active {
  display: block;
}

/* ── Technology Cards Grid ── */
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.toolkit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 24px 18px;
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  cursor: default;
  transition: all 0.22s ease;
}
.toolkit-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(26,188,156,0.18);
  transform: translateY(-2px);
}

.toolkit-card-icon {
  font-size: 2rem;
  line-height: 1;
  display: block;
}

.toolkit-card-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
}

/* ── Responsive — Tablet (768px–1023px) ── */
@media (max-width: 1023px) {
  .toolkit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Responsive — Mobile (<768px) ── */
@media (max-width: 767px) {
  .toolkit-tabs {
    border-radius: 12px;
    gap: 0;
  }
  .toolkit-tab-btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
    gap: 0.3rem;
    border-radius: 8px;
  }
  .toolkit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .toolkit-card {
    padding: 1.1rem 0.75rem;
  }
  .toolkit-card-icon {
    font-size: 1.7rem;
  }
  .toolkit-card-name {
    font-size: 0.82rem;
  }
}


