/* ============================================================
   JTCS — Joshi Tax Consultancy & Services
   Premium Corporate Design System
   ============================================================ */

:root {
  /* Brand Colors */
  --primary: #0F4C81;
  --primary-dark: #0A3560;
  --primary-light: #1A6BB5;
  --secondary: #10B981;
  --secondary-dark: #059669;
  --accent: #F97316;
  --accent-light: #FB923C;

  /* Surfaces */
  --bg: #F8FAFC;
  --bg-alt: #F1F5F9;
  --card: #FFFFFF;
  --footer: #0F172A;

  /* Text */
  --heading: #0F172A;
  --paragraph: #475569;
  --muted: #94A3B8;
  --white: #FFFFFF;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(15, 76, 129, 0.06);
  --shadow: 0 4px 20px rgba(15, 76, 129, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 76, 129, 0.12);
  --shadow-xl: 0 24px 60px rgba(15, 76, 129, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.35);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0A3560 0%, #0F4C81 40%, #1565A0 70%, #0F766E 100%);
  --gradient-primary: linear-gradient(135deg, #0F4C81, #10B981);
  --gradient-accent: linear-gradient(135deg, #F97316, #FBBF24);
  --gradient-soft: linear-gradient(180deg, #F8FAFC 0%, #E8F0F8 50%, #F8FAFC 100%);

  /* Fonts */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-numbers: 'Montserrat', sans-serif;

  /* Layout */
  --nav-height: 80px;
  --container: 1200px;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg: #0B1220;
  --bg-alt: #111827;
  --card: #1A2332;
  --heading: #F1F5F9;
  --paragraph: #94A3B8;
  --muted: #64748B;
  --glass: rgba(26, 35, 50, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.5);
  --footer: #060B14;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--paragraph);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition), color var(--transition);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.stat-number, .counter { font-family: var(--font-numbers); }

.container-jtcs {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 48px;
  color: var(--paragraph);
}

.text-center { text-align: center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn-jtcs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary-jtcs {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(15, 76, 129, 0.3);
}

.btn-primary-jtcs:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15, 76, 129, 0.4);
  color: var(--white);
}

.btn-secondary-jtcs {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary-jtcs:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-jtcs {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-jtcs:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent-jtcs {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.btn-accent-jtcs:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.4);
  color: var(--white);
}

.btn-group-jtcs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========== PRELOADER ========== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.loader-logo span { color: var(--secondary); }

.loader-bar {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--secondary);
  border-radius: 3px;
  animation: loadSlide 1.2s ease-in-out infinite;
}

@keyframes loadSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ========== NAVIGATION ========== */
.navbar-jtcs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all var(--transition);
}

.navbar-jtcs.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--glass-border);
}

.navbar-jtcs.scrolled .nav-link-jtcs { color: var(--heading); }
.navbar-jtcs.scrolled .brand-text { color: var(--heading); }
.navbar-jtcs.scrolled .nav-toggle span { background: var(--heading); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color var(--transition);
}

.brand-text span { color: var(--secondary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link-jtcs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-link-jtcs:hover,
.nav-link-jtcs.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.navbar-jtcs.scrolled .nav-link-jtcs:hover,
.navbar-jtcs.scrolled .nav-link-jtcs.active {
  color: var(--primary);
  background: rgba(15, 76, 129, 0.08);
}

.nav-link-jtcs i.fa-chevron-down {
  font-size: 10px;
  transition: transform var(--transition);
}

.nav-item:hover .nav-link-jtcs i.fa-chevron-down { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 680px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  border: 1px solid var(--glass-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.mega-item:hover {
  background: var(--bg-alt);
}

.mega-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  transition: all var(--transition);
}

.mega-item:hover .mega-item-icon {
  background: var(--primary);
  color: var(--white);
}

.mega-item-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 2px;
}

.mega-item-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.dropdown-menu-jtcs {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  border: 1px solid var(--glass-border);
}

.nav-item:hover .dropdown-menu-jtcs {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu-jtcs a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--paragraph);
  border-radius: 8px;
  font-weight: 500;
}

.dropdown-menu-jtcs a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.1);
}

.navbar-jtcs.scrolled .theme-toggle {
  color: var(--heading);
  background: var(--bg-alt);
}

.theme-toggle:hover { background: rgba(255, 255, 255, 0.2); }
.navbar-jtcs.scrolled .theme-toggle:hover { background: rgba(15, 76, 129, 0.1); }

.nav-cta {
  padding: 10px 20px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 0 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(26, 107, 181, 0.2) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: floatShape 12s ease-in-out infinite;
}

.hero-shapes .shape-1 {
  width: 400px; height: 400px;
  background: rgba(16, 185, 129, 0.2);
  top: -100px; right: -50px;
}

.hero-shapes .shape-2 {
  width: 300px; height: 300px;
  background: rgba(249, 115, 22, 0.12);
  bottom: 10%; left: -80px;
  animation-delay: -4s;
}

.hero-shapes .shape-3 {
  width: 200px; height: 200px;
  background: rgba(255, 255, 255, 0.06);
  top: 40%; right: 30%;
  animation-delay: -7s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -30px); }
  66% { transform: translate(-15px, 20px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge i { color: var(--secondary); }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--secondary), #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 560px;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
}

.hero-card-stack {
  position: relative;
  height: 420px;
}

.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  animation: cardFloat 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 20px; left: 0; width: 240px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  top: 100px; right: 0; width: 260px;
  animation-delay: -2s;
}

.hero-float-card.card-3 {
  bottom: 40px; left: 40px; width: 220px;
  animation-delay: -4s;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-float-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.hero-float-card .card-icon.green { background: rgba(16, 185, 129, 0.3); color: #34D399; }
.hero-float-card .card-icon.orange { background: rgba(249, 115, 22, 0.3); color: #FB923C; }
.hero-float-card .card-icon.blue { background: rgba(59, 130, 246, 0.3); color: #60A5FA; }

.hero-float-card h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 4px;
}

.hero-float-card p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.hero-main-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-visual .center-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--white);
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3); }
  50% { box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); }
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  animation: bounceDown 2s ease-in-out infinite;
}

.hero-scroll i { font-size: 16px; }

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 64px;
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--glass-border);
}

.about-badge-float .years {
  font-family: var(--font-numbers);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-badge-float .years-label {
  font-size: 13px;
  color: var(--paragraph);
  font-weight: 500;
  line-height: 1.3;
}

.about-content .section-desc { margin: 0 0 28px; max-width: none; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature h4 {
  font-size: 14px;
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.mv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.mv-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.mv-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.mv-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.mv-card-icon.mission { background: rgba(15, 76, 129, 0.1); color: var(--primary); }
.mv-card-icon.vision { background: rgba(249, 115, 22, 0.1); color: var(--accent); }

.mv-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.mv-card p { font-size: 0.9rem; margin: 0; }

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 76, 129, 0.1);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.service-card:nth-child(1) .service-icon { background: rgba(15, 76, 129, 0.1); color: var(--primary); }
.service-card:nth-child(2) .service-icon { background: rgba(16, 185, 129, 0.1); color: var(--secondary); }
.service-card:nth-child(3) .service-icon { background: rgba(249, 115, 22, 0.1); color: var(--accent); }
.service-card:nth-child(4) .service-icon { background: rgba(99, 102, 241, 0.1); color: #6366F1; }
.service-card:nth-child(5) .service-icon { background: rgba(236, 72, 153, 0.1); color: #EC4899; }
.service-card:nth-child(6) .service-icon { background: rgba(14, 165, 233, 0.1); color: #0EA5E9; }
.service-card:nth-child(7) .service-icon { background: rgba(168, 85, 247, 0.1); color: #A855F7; }
.service-card:nth-child(8) .service-icon { background: rgba(15, 76, 129, 0.1); color: var(--primary); }
.service-card:nth-child(9) .service-icon { background: rgba(16, 185, 129, 0.1); color: var(--secondary); }

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-list {
  margin-bottom: 20px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--paragraph);
  padding: 4px 0;
}

.service-list li i {
  color: var(--secondary);
  font-size: 11px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-heading);
}

.service-link:hover { gap: 10px; color: var(--secondary); }

.service-card.featured {
  grid-column: span 1;
  background: var(--gradient-hero);
  color: var(--white);
}

.service-card.featured h3,
.service-card.featured .service-link { color: var(--white); }
.service-card.featured .service-list li { color: rgba(255, 255, 255, 0.8); }
.service-card.featured .service-list li i { color: var(--secondary); }
.service-card.featured .service-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}
.service-card.featured:hover .service-icon {
  background: var(--secondary);
}
.service-card.featured::before { background: var(--secondary); }

/* ========== INDUSTRIES ========== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.industry-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.industry-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(15, 76, 129, 0.15);
}

.industry-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all var(--transition);
}

.industry-item:hover .industry-icon {
  background: var(--primary);
  color: var(--white);
}

.industry-item h4 {
  font-size: 13px;
  font-weight: 600;
}

/* ========== WHY CHOOSE ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.2);
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.875rem;
  margin: 0;
}

/* ========== STATS ========== */
.stats-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.stats-section .section-label { color: var(--secondary); }
.stats-section .section-title { color: var(--white); }
.stats-section .section-desc { color: rgba(255, 255, 255, 0.7); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .suffix { color: var(--secondary); }

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ========== TECHNOLOGY ========== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.tech-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(15, 76, 129, 0.12);
}

.tech-icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--primary);
  transition: color var(--transition);
}

.tech-item:hover .tech-icon { color: var(--secondary); }

.tech-item h4 {
  font-size: 13px;
  font-weight: 600;
}

/* ========== PROCESS ========== */
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 16px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.3;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-numbers);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.process-step:hover .process-num {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08);
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  max-width: 180px;
  margin: 0 auto;
}

/* ========== TESTIMONIALS ========== */
.testimonials-swiper {
  padding-bottom: 50px !important;
}

.testimonial-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  height: 100%;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(15, 76, 129, 0.1);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: #FBBF24;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--paragraph);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--heading);
}

.author-role {
  font-size: 12px;
  color: var(--muted);
}

.swiper-pagination-bullet {
  background: var(--primary) !important;
  opacity: 0.3 !important;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  background: var(--secondary) !important;
}

/* ========== GALLERY ========== */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.gallery-tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
  color: var(--paragraph);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  font-family: var(--font-heading);
}

.gallery-tab.active,
.gallery-tab:hover {
  background: var(--primary);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--gradient-hero);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 76, 129, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--white);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i { font-size: 24px; }
.gallery-overlay span { font-size: 13px; font-weight: 500; }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 36px;
}

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-image {
  aspect-ratio: 16/10;
  background: var(--gradient-hero);
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img { transform: scale(1.05); }

.blog-category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: var(--secondary);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-body { padding: 24px; }

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.blog-meta i { margin-right: 4px; }

.blog-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.blog-card:hover .blog-body h3 { color: var(--primary); }

.blog-body p {
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.blog-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
}

.blog-link:hover { gap: 10px; color: var(--secondary); }

/* ========== FAQ ========== */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.faq-item.active {
  border-color: rgba(15, 76, 129, 0.15);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-question i {
  font-size: 14px;
  color: var(--primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--paragraph);
  line-height: 1.7;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.contact-info-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(15, 76, 129, 0.1);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15, 76, 129, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-info-card a,
.contact-info-card p {
  font-size: 0.9rem;
  color: var(--paragraph);
  margin: 0;
}

.contact-info-card a:hover { color: var(--primary); }

.contact-form-wrap {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.form-control-jtcs {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--heading);
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}

.form-control-jtcs:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
}

.form-control-jtcs::placeholder { color: var(--muted); }

textarea.form-control-jtcs {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.map-wrap {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(20%);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand .brand-text { color: var(--white); margin-bottom: 16px; display: inline-flex; }

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.875rem;
}

.footer-contact li i {
  color: var(--secondary);
  margin-top: 3px;
  width: 16px;
}

.footer-contact a:hover { color: var(--secondary); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover { color: var(--secondary); }

/* ========== FLOATING BUTTONS ========== */
.float-buttons {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}

.float-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}

.float-whatsapp { background: #25D366; }
.float-call { background: var(--primary); }
.float-email { background: var(--accent); }

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: var(--gradient-hero);
  padding: calc(var(--nav-height) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero .hero-bg-pattern,
.page-hero .hero-grid { position: absolute; inset: 0; }

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb-jtcs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.breadcrumb-jtcs a { color: rgba(255, 255, 255, 0.6); }
.breadcrumb-jtcs a:hover { color: var(--secondary); }
.breadcrumb-jtcs span { color: rgba(255, 255, 255, 0.4); }
.breadcrumb-jtcs .current { color: var(--white); }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== UTILITIES ========== */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show { display: block; }

.form-success i {
  font-size: 48px;
  color: var(--secondary);
  margin-bottom: 16px;
}

.form-success h3 {
  margin-bottom: 8px;
}

/* Selection */
::selection {
  background: rgba(15, 76, 129, 0.2);
  color: var(--heading);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* Focus visible for a11y */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1199px) {
  .mega-menu { width: 560px; grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 991px) {
  :root { --nav-height: 70px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 85vw);
    height: 100vh;
    background: var(--card);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 24px 40px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-menu.open { right: 0; }

  .nav-link-jtcs {
    color: var(--heading) !important;
    padding: 14px 16px;
  }

  .nav-link-jtcs:hover,
  .nav-link-jtcs.active {
    background: var(--bg-alt);
    color: var(--primary) !important;
  }

  .mega-menu,
  .dropdown-menu-jtcs {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    padding: 8px 0 8px 16px;
    background: transparent;
    border: none;
    grid-template-columns: 1fr;
  }

  .nav-item.open .mega-menu,
  .nav-item.open .dropdown-menu-jtcs {
    display: grid;
  }

  .nav-actions .nav-cta { display: none; }

  .navbar-jtcs .theme-toggle {
    color: var(--heading);
    background: var(--bg-alt);
  }

  .navbar-jtcs:not(.scrolled) .theme-toggle {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .navbar-jtcs.scrolled .nav-toggle span,
  .nav-menu.open ~ .nav-toggle span,
  .nav-toggle.active span { background: var(--heading); }

  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-visual { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge-float { right: 10px; bottom: -16px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .process-timeline {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .process-timeline::before {
    top: 0; bottom: 0; left: 50%;
    width: 2px; height: auto;
    right: auto;
  }

  .process-step p { max-width: 280px; }

  .section { padding: 70px 0; }
}

@media (max-width: 767px) {
  .services-grid,
  .why-grid,
  .blog-grid,
  .mv-cards,
  .about-features,
  .form-row { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 1.9rem; }
  .btn-group-jtcs { flex-direction: column; }
  .btn-group-jtcs .btn-jtcs { width: 100%; }

  .cta-banner { padding: 40px 24px; }
  .contact-form-wrap { padding: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .float-buttons { bottom: 20px; right: 16px; }
  .float-btn { width: 46px; height: 46px; font-size: 18px; }
  .back-to-top { bottom: 20px; left: 16px; width: 42px; height: 42px; }

  .stat-card { padding: 24px 12px; }
  .stat-number { font-size: 1.75rem; }
}

/* ========== LOGIN TO WORK ========== */
.login-work-section {
  background: var(--gradient-soft);
}

.login-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 860px;
  margin: 0 auto 36px;
}

.login-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid transparent;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.login-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(15, 76, 129, 0.15);
  color: inherit;
}

.login-card-primary:hover {
  border-color: rgba(16, 185, 129, 0.35);
}

.login-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  background: var(--gradient-primary);
  color: var(--white);
}

.login-card-secondary .login-card-icon {
  background: linear-gradient(135deg, #334155, #64748B);
}

.login-card h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.login-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex: 1;
}

.login-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}

.login-card-primary .login-card-cta {
  color: var(--secondary-dark);
}

.login-card-cta.muted {
  color: var(--muted);
}

.login-card:hover .login-card-cta {
  gap: 12px;
}

.login-note {
  color: var(--paragraph);
  font-size: 0.9rem;
}

.login-note a {
  color: var(--primary);
  font-weight: 600;
}

.login-note a:hover {
  color: var(--secondary);
}

@media (max-width: 767px) {
  .login-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container-jtcs { padding: 0 16px; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .about-badge-float { position: relative; bottom: auto; right: auto; margin-top: 16px; }
}
