/* ============================================================
   K1 Technology — Premium Enterprise Website
   style.css
   
   Color Palette:
   --navy-950:   #020c1b  (deepest background)
   --navy-900:   #0a1628  (primary background)
   --navy-800:   #0d1f3c  (elevated surface)
   --navy-700:   #112b52  (card background)
   --navy-600:   #163566  (subtle borders)
   --blue-500:   #1a56db  (primary brand blue)
   --blue-400:   #3b82f6  (interactive blue)
   --cyan-400:   #00b4d8  (accent / highlight)
   --cyan-300:   #48cae4  (lighter accent)
   --white:      #ffffff
   --gray-100:   #f0f4f8
   --gray-300:   #b0c0d4
   --gray-400:   #8899ae
   --gray-500:   #607080
============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
============================================================ */
:root {
  /* Colors */
  --navy-950: #020c1b;
  --navy-900: #0a1628;
  --navy-800: #0d1f3c;
  --navy-700: #112b52;
  --navy-600: #163566;
  --blue-600: #1247b8;
  --blue-500: #1a56db;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --cyan-500: #0096c7;
  --cyan-400: #00b4d8;
  --cyan-300: #48cae4;
  --cyan-200: #90e0ef;
  --white: #ffffff;
  --gray-100: #f0f4f8;
  --gray-200: #d0dce8;
  --gray-300: #b0c0d4;
  --gray-400: #8899ae;
  --gray-500: #607080;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Rajdhani', 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 6rem 0;
  --container-max: 1200px;
  --container-px: 1.5rem;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 8px 40px rgba(0, 180, 216, 0.15);
  --shadow-glow-blue: 0 0 60px rgba(26, 86, 219, 0.2);
  --shadow-glow-cyan: 0 0 40px rgba(0, 180, 216, 0.15);

  /* Header height */
  --header-h: 72px;
}

/* ============================================================
   2. RESET & BASE
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--navy-900);
  color: var(--gray-300);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   3. UTILITY CLASSES
============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-padding {
  padding: var(--section-padding);
}

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

.mt-sm {
  margin-top: 1.75rem;
  display: inline-flex;
}

/* Section Header */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

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

.section-header.text-center .section-heading {
  margin-left: auto;
  margin-right: auto;
}

.highlight-text {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--cyan-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.inline-link {
  color: var(--cyan-400);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.inline-link:hover {
  border-color: var(--cyan-400);
}

/* ============================================================
   4. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--transition-fast);
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.06);
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26, 86, 219, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-500) 100%);
  box-shadow: 0 6px 28px rgba(26, 86, 219, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan-400);
  color: var(--cyan-400);
  transform: translateY(-2px);
}

/* Full width button */
.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   5. HEADER & NAVIGATION
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.nav-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-k1 {
  color: var(--cyan-400);
  font-size: 1.65rem;
  font-weight: 800;
}

.logo-tech {
  color: var(--white);
  margin-left: 0.35rem;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-300);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta-link {
  background: rgba(26, 86, 219, 0.2);
  color: var(--cyan-400) !important;
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 0.5rem 1.1rem;
  font-weight: 600;
}

.nav-cta-link:hover {
  background: rgba(26, 86, 219, 0.35) !important;
  border-color: var(--cyan-400) !important;
}

/* Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   6. HERO SECTION
============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background-color: var(--navy-950);
  overflow: hidden;
}

/* Background grid pattern */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Glow blobs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.25) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  bottom: 0;
  right: -100px;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem var(--container-px);
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeInDown 0.7s ease both;
}

.hero-heading {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  animation: fadeInDown 0.7s ease 0.1s both;
}

.hero-subtext {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--gray-400);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  animation: fadeInDown 0.7s ease 0.2s both;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  animation: fadeInDown 0.7s ease 0.3s both;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeInDown 0.7s ease 0.4s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

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

.stat-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}

/* Orbit decorations */
.hero-orbit {
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  pointer-events: none;
  opacity: 0.25;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--cyan-400);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbitRotate 20s linear infinite;
}

.orbit-1 {
  width: 300px;
  height: 300px;
  border-color: rgba(0, 180, 216, 0.5);
  animation-duration: 15s;
}

.orbit-2 {
  width: 500px;
  height: 500px;
  border-color: rgba(26, 86, 219, 0.35);
  animation-duration: 25s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 700px;
  height: 700px;
  border-color: rgba(0, 180, 216, 0.15);
  animation-duration: 35s;
}

@keyframes orbitRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================================
   7. ABOUT SECTION
============================================================ */
.about-section {
  background-color: var(--navy-900);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-content .section-heading {
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--gray-400);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.8;
}

/* Pillar Cards */
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pillar-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.pillar-card:hover {
  border-color: rgba(0, 180, 216, 0.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.2), rgba(0, 180, 216, 0.2));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 180, 216, 0.2);
}

.pillar-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================================
   8. SERVICES SECTION
============================================================ */
.services-section {
  background-color: var(--navy-950);
  position: relative;
  overflow: hidden;
}

.services-bg-accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(26, 86, 219, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Service Card */
.service-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(0, 180, 216, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 180, 216, 0.1);
}

.service-card-inner {
  padding: 2rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.25), rgba(0, 180, 216, 0.15));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0, 180, 216, 0.2);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.4), rgba(0, 180, 216, 0.3));
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.2);
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: var(--gray-400);
}

.service-features li i {
  color: var(--cyan-400);
  font-size: 0.7rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

/* Hover glow effect */
.service-card-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover .service-card-glow {
  opacity: 1;
}

/* ============================================================
   9. INDUSTRIES SECTION
============================================================ */
.industries-section {
  background-color: var(--navy-900);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.industry-card {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.industry-card:hover {
  border-color: rgba(0, 180, 216, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.industry-icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.2), rgba(0, 180, 216, 0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(0, 180, 216, 0.2);
  transition: background var(--transition-base);
}

.industry-card:hover .industry-icon-wrap {
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.35), rgba(0, 180, 216, 0.25));
}

.industry-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.industry-desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(26, 86, 219, 0.15);
  border: 1px solid rgba(26, 86, 219, 0.25);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue-300);
  letter-spacing: 0.03em;
}

/* ============================================================
   10. WHY K1 SECTION
============================================================ */
.why-section {
  background-color: var(--navy-950);
  position: relative;
  overflow: hidden;
}

.why-bg-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.why-left .section-heading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.why-intro-text {
  color: var(--gray-400);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-top: 1rem;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: padding var(--transition-base);
}

.why-item:last-child {
  border-bottom: none;
}

.why-item:hover {
  padding-left: 0.5rem;
}

.why-item-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.2), rgba(0, 180, 216, 0.15));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 180, 216, 0.2);
}

.why-item-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.why-item-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================================
   11. FAQ SECTION
============================================================ */
.faq-section {
  background-color: var(--navy-900);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: rgba(0, 180, 216, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--cyan-300);
}

.faq-question[aria-expanded="true"] {
  color: var(--cyan-400);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--gray-500);
  font-size: 0.85rem;
  transition: transform var(--transition-base), color var(--transition-base);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--cyan-400);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.faq-answer p {
  margin: 0;
}

/* ============================================================
   12. CONTACT SECTION
============================================================ */
.contact-section {
  background-color: var(--navy-950);
  position: relative;
  overflow: hidden;
}

.contact-bg-accent {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info .section-heading {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.contact-intro {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/* Contact Details List */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(26, 86, 219, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  font-size: 0.9rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 180, 216, 0.15);
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  font-size: 0.92rem;
  color: var(--gray-300);
  font-weight: 500;
  transition: color var(--transition-fast);
  display: block;
}

a.contact-detail-value:hover {
  color: var(--cyan-400);
}

/* Social Links */
.contact-social,
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.85rem;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.social-link:hover {
  background: rgba(0, 180, 216, 0.15);
  border-color: rgba(0, 180, 216, 0.3);
  color: var(--cyan-400);
  transform: translateY(-2px);
}

/* Form Notice */
.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  background: rgba(26, 86, 219, 0.08);
  border: 1px solid rgba(26, 86, 219, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.form-notice i {
  color: var(--blue-400);
  font-size: 0.9rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.form-notice a {
  color: var(--cyan-400);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.form-notice a:hover {
  border-color: var(--cyan-400);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

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

.form-label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--gray-300);
  letter-spacing: 0.02em;
}

.required {
  color: var(--cyan-400);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--white);
  font-family: var(--font-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-500);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23607080' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--navy-800);
  color: var(--white);
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

/* Form Success Message */
.form-success {
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}

.form-success i {
  color: var(--cyan-400);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.form-success a {
  color: var(--cyan-400);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.form-success a:hover {
  border-color: var(--cyan-400);
}

/* ============================================================
   13. FOOTER
============================================================ */
.site-footer {
  background-color: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  padding: 4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand-col {
  padding-right: 2rem;
}

.footer-logo {
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer-brand-desc {
  font-size: 0.87rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

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

.footer-link {
  font-size: 0.87rem;
  color: var(--gray-500);
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: var(--cyan-400);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.87rem;
  color: var(--gray-500);
}

.footer-contact-list li i {
  color: var(--cyan-400);
  font-size: 0.85rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.83rem;
  color: var(--gray-500);
}

.footer-tagline {
  font-size: 0.83rem;
  color: var(--gray-500);
  letter-spacing: 0.04em;
}

/* ============================================================
   14. SCROLL TO TOP BUTTON
============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--blue-500);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 900;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.4);
}

.scroll-top-btn:hover {
  background: var(--blue-400);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(26, 86, 219, 0.55);
}

.scroll-top-btn[hidden] {
  display: none;
}

/* ============================================================
   15. ANIMATIONS
============================================================ */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Scroll-triggered animation class */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   16. RESPONSIVE — TABLET (≤ 1024px)
============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 5rem 0;
  }

  /* Services: 2 columns */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Industries: 3 columns */
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* About: single column */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  /* Why K1: single column */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Contact: single column */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Footer: 2x2 */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-brand-col {
    padding-right: 0;
    grid-column: span 2;
  }

  /* Orbit decoration - hide on tablet */
  .hero-orbit {
    opacity: 0.1;
  }
}

/* ============================================================
   17. RESPONSIVE — MOBILE (≤ 768px)
============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
    --header-h: 64px;
  }

  /* Show mobile toggle */
  .nav-toggle {
    display: flex;
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
    pointer-events: none;
    z-index: 999;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 0;
  }

  .nav-cta-link {
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(0, 180, 216, 0.15);
    margin-top: 0.5rem;
  }

  /* Hero */
  .hero-section {
    min-height: auto;
    padding: var(--header-h) 0 3rem;
  }

  .hero-content {
    padding: 3rem var(--container-px) 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

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

  .stat-value {
    font-size: 1.4rem;
  }

  .hero-orbit {
    display: none;
  }

  /* Services: 1 column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Industries: 1 column */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About pillars: 1 column */
  .about-pillars {
    grid-template-columns: 1fr;
  }

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

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

  .footer-brand-col {
    grid-column: span 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Scroll to top */
  .scroll-top-btn {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* ============================================================
   18. RESPONSIVE — SMALL MOBILE (≤ 480px)
============================================================ */
@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    font-size: 0.7rem;
  }

  .btn {
    padding: 0.8rem 1.35rem;
    font-size: 0.9rem;
  }
}

/* ============================================================
   19. PRINT & REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
