/* ===== ÇEVRAXIS DESIGN SYSTEM (logo: cyan + lime on deep navy) ===== */
:root {
  /* Brand core */
  --brand-bg: #050a0f;
  --brand-bg-elevated: #0a111a;
  --brand-cyan: #29b6c6;
  --brand-cyan-bright: #00d2ff;
  --brand-green: #76c753;
  --brand-green-bright: #4ade80;
  --brand-silver: #c8d4e0;
  --brand-silver-dim: #94a3b8;

  /* Legacy greens — harmonized with logo */
  --green-900: #0a1628;
  --green-800: #0d4a52;
  --green-700: #1a7a6d;
  --green-600: #29b6c6;
  --green-500: #76c753;
  --soft-green: #e8f8f5;
  --soft-green-2: #ccfbf1;

  --dark-900: #050a0f;
  --dark-800: #0f172a;
  --dark-700: #1e293b;

  --muted: #64748b;
  --muted-light: #94a3b8;
  --light: #f0f4f8;
  --light-2: #e2e8f0;
  --white: #ffffff;

  --gradient-primary: linear-gradient(135deg, #0d4a52 0%, #29b6c6 50%, #76c753 100%);
  --gradient-accent: linear-gradient(135deg, #29b6c6 0%, #76c753 100%);
  --gradient-brand: linear-gradient(90deg, var(--brand-cyan) 0%, var(--brand-green) 100%);
  --gradient-hero: linear-gradient(
    125deg,
    rgba(5, 10, 15, 0.92) 0%,
    rgba(10, 17, 26, 0.88) 45%,
    rgba(41, 182, 198, 0.25) 75%,
    rgba(118, 199, 83, 0.2) 100%
  );
  --gradient-mesh:
    radial-gradient(ellipse 70% 55% at 15% 35%, rgba(41, 182, 198, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 25%, rgba(118, 199, 83, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 80%, rgba(0, 210, 255, 0.08), transparent 45%);

  --shadow-xs: 0 1px 2px rgba(5, 10, 15, 0.06);
  --shadow-sm: 0 4px 20px rgba(5, 10, 15, 0.12);
  --shadow-md: 0 12px 40px rgba(5, 10, 15, 0.18);
  --shadow-lg: 0 24px 64px rgba(5, 10, 15, 0.28);
  --shadow-glow: 0 0 0 1px rgba(41, 182, 198, 0.15), 0 8px 32px rgba(41, 182, 198, 0.12);
  --shadow-glow-green: 0 0 24px rgba(118, 199, 83, 0.25);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-height: 68px;
  --section-y: clamp(4rem, 8vw, 6.5rem);
  --container-max: 1200px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dark-800);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(41, 182, 198, 0.35);
  color: var(--white);
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6,
.display-4, .display-5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}

h1, .display-4 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

.lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--muted);
  line-height: 1.7;
}

.text-muted { color: var(--muted) !important; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: 0.75rem;
}

.section-eyebrow.justify-content-center {
  display: flex;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-header {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.section-header.text-start {
  margin-left: 0;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ===== BUTTONS ===== */
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary {
  background: var(--gradient-brand);
  color: var(--brand-bg);
  border: none;
  box-shadow: 0 4px 24px rgba(41, 182, 198, 0.35), var(--shadow-glow-green);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00d2ff 0%, #76c753 100%);
  color: var(--brand-bg);
  box-shadow: 0 8px 32px rgba(0, 210, 255, 0.4);
}

.btn-cta {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  box-shadow: 0 4px 16px rgba(20, 83, 45, 0.3);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-primary {
  border-color: var(--brand-cyan);
  color: var(--green-800);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--brand-bg);
}

.btn-outline-secondary {
  border-radius: var(--radius-full);
  border-color: var(--light-2);
  color: var(--dark-700);
  background: var(--white);
}

.btn-outline-secondary:hover,
.filters .btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--white);
}

.btn-lg {
  padding: 0.9375rem 2rem;
  font-size: 1rem;
}

.btn-link {
  color: var(--brand-cyan);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.25s ease, color 0.25s ease;
}

.btn-link:hover {
  color: var(--brand-green);
  gap: 0.55rem;
}

/* ===== HEADER & NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.header-bar {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  gap: 1rem;
}

.header-menu {
  align-items: center;
}

.site-header .navbar-brand {
  text-decoration: none;
}

.site-header .nav-link {
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.4375rem 0.8125rem !important;
  border-radius: var(--radius-full);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.active {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.1);
}

.site-header.scrolled .nav-link.active,
.site-header.inner-page .nav-link.active {
  color: var(--brand-cyan-bright) !important;
  background: rgba(41, 182, 198, 0.12);
}

/* Logo — header */
.navbar-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0;
  margin: 0;
  line-height: 1;
  flex-shrink: 0;
}

.logo-mark-img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(41, 182, 198, 0.3));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.brand-wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--brand-silver);
}

.navbar-brand-logo:hover .logo-mark-img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 14px rgba(0, 210, 255, 0.45));
}

.footer-logo-img {
  max-width: 260px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 24px rgba(41, 182, 198, 0.15));
}

/* Brand-aligned photography */
.img-brand-tone {
  filter: saturate(0.85) contrast(1.06) brightness(0.94) hue-rotate(-4deg);
}

/* Neutral placeholder shown when a content image is missing or fails to load */
.img-fallback {
  object-fit: contain !important;
  padding: 2rem;
  background: #eef2f1;
  filter: grayscale(0.2) opacity(0.55);
}

.site-header .dropdown-menu {
  background: var(--brand-bg-elevated);
  border: 1px solid rgba(41, 182, 198, 0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.375rem;
  margin-top: 0.375rem;
}

.site-header .dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--brand-silver);
  transition: background 0.2s ease, color 0.2s ease;
}

.site-header .dropdown-item:hover {
  background: rgba(41, 182, 198, 0.12);
  color: var(--brand-cyan-bright);
}

.header-toggler {
  border-color: rgba(255, 255, 255, 0.3);
  padding: 0.3125rem 0.5rem;
  border-radius: var(--radius-sm);
}

.header-toggler .navbar-toggler-icon {
  width: 1.25rem;
  height: 1.25rem;
  filter: invert(1);
}

.header-cta {
  flex-shrink: 0;
}

.site-header .btn-cta {
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.2;
  box-shadow: 0 2px 12px rgba(41, 182, 198, 0.28);
}

.site-header.scrolled {
  background: rgba(10, 17, 26, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
  border-bottom-color: rgba(41, 182, 198, 0.1);
}

.site-header.scrolled .header-bar {
  min-height: 60px;
}

.site-header.scrolled .logo-mark-img {
  width: 34px;
  height: 34px;
}

.site-header.scrolled .brand-wordmark {
  font-size: 1.0625rem;
}

.site-header.scrolled .nav-link {
  color: rgba(200, 212, 224, 0.92) !important;
}

.site-header.scrolled .nav-link:hover {
  color: var(--brand-cyan-bright) !important;
  background: rgba(41, 182, 198, 0.12);
}

.site-header.scrolled .header-toggler {
  border-color: rgba(200, 212, 224, 0.25);
}

.site-header.scrolled .header-toggler .navbar-toggler-icon {
  filter: invert(0.85);
}

.site-header.inner-page {
  background: rgba(10, 17, 26, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
  border-bottom-color: rgba(41, 182, 198, 0.08);
}

.site-header.inner-page .nav-link {
  color: rgba(200, 212, 224, 0.9) !important;
}

.site-header.inner-page .nav-link:hover {
  color: var(--brand-cyan-bright) !important;
  background: rgba(41, 182, 198, 0.1);
}

/* Desktop — balanced nav + CTA */
@media (min-width: 1200px) {
  .header-toggler {
    display: none;
  }

  .header-menu {
    display: flex !important;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    gap: 1.25rem;
  }

  .header-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0.125rem;
    margin: 0;
  }

  .header-cta {
    margin-left: 0.25rem;
  }
}

@media (max-width: 1199.98px) {
  .header-bar {
    flex-wrap: wrap;
    min-height: 60px;
    padding: 0.375rem 0;
  }

  .header-toggler {
    margin-left: auto;
  }

  .header-menu {
    width: 100%;
    background: rgba(5, 10, 15, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(41, 182, 198, 0.12);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    margin-top: 0.25rem;
    box-shadow: var(--shadow-md);
  }

  .header-nav {
    gap: 0.125rem;
    margin-bottom: 0.75rem;
  }

  .header-nav .nav-link {
    padding: 0.5625rem 0.75rem !important;
  }

  .header-cta .btn-cta {
    width: 100%;
    display: block;
    text-align: center;
  }

  .site-header.scrolled .header-menu,
  .site-header.inner-page .header-menu {
    background: rgba(5, 10, 15, 0.98);
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-height: 60px;
  }

  .logo-mark-img {
    width: 34px;
    height: 34px;
  }

  .brand-wordmark {
    font-size: 1rem;
  }
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--gradient-brand);
  color: var(--brand-bg);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  box-shadow: var(--shadow-glow);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
  filter: saturate(0.75) contrast(1.1) brightness(0.5) hue-rotate(-6deg);
  /* Dekoratif arka plan — alt metin header alanında görünmesin */
  color: transparent;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero .overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .display-5 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  max-width: 14ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.2);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
  margin-top: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-trust-item strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.hero-trust-item span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-card {
  background: rgba(10, 17, 26, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(41, 182, 198, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(41, 182, 198, 0.12);
  padding: 2rem !important;
}

.hero-card h5 {
  color: var(--white);
  font-size: 1.125rem;
}

.hero-card .text-muted {
  color: rgba(255, 255, 255, 0.75) !important;
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.hero-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.625rem;
}

.hero-card-list i {
  color: var(--brand-green-bright);
  margin-top: 0.2rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 22px; opacity: 0.4; }
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 3rem) 0 3.5rem;
  background: linear-gradient(165deg, var(--brand-bg) 0%, #0a1628 50%, #0d3d45 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.8;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.service-pillars {
  font-size: 0.875rem;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.contact-form-card .footer-links a {
  color: var(--green-800);
}

.service-scope-list li span:last-child {
  color: var(--dark-700);
  font-size: 0.9375rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

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

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

.breadcrumb-nav span {
  color: rgba(255, 255, 255, 0.45);
}

/* ===== SECTIONS ===== */
.py-6 {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.bg-light {
  background: var(--light) !important;
}

.bg-soft-green {
  background: linear-gradient(180deg, rgba(41, 182, 198, 0.06) 0%, var(--light) 100%);
}

.bg-dark-section {
  background: linear-gradient(165deg, var(--brand-bg) 0%, #0a1628 45%, #0d3d45 100%);
  color: var(--white);
}

.bg-dark-section h2,
.bg-dark-section .section-eyebrow {
  color: var(--brand-silver);
}

.bg-dark-section .section-eyebrow {
  color: var(--brand-cyan);
}

.bg-dark-section .section-eyebrow::before {
  background: var(--gradient-brand);
}

.bg-dark-section .text-muted {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* ===== GLASS & CARDS ===== */
.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.glass-shadow {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(41, 182, 198, 0.1);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

/* ===== STAT CARDS ===== */
.stat-card {
  text-align: center;
  padding: 2rem 1.5rem !important;
}

.stat-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  padding: 1.75rem !important;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(41, 182, 198, 0.12);
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(20, 83, 45, 0.15);
}

.service-card .icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(41, 182, 198, 0.15) 0%, rgba(118, 199, 83, 0.15) 100%);
  color: var(--brand-cyan);
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  transition: transform 0.35s var(--ease-spring), background 0.3s ease;
}

.service-card:hover .icon-wrap {
  transform: scale(1.08) rotate(-3deg);
  background: var(--gradient-brand);
  color: var(--brand-bg);
}

.service-card h5 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-800);
  opacity: 1;
  transform: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card .card-link {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease, gap 0.25s ease;
  }

  .service-card:hover .card-link,
  .service-card:focus-within .card-link {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== PROJECT CARDS ===== */
.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.2) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 1;
  transition: background 0.35s ease;
}

.project-overlay h5 {
  color: var(--white);
  font-size: 1.0625rem;
  margin-bottom: 0.35rem;
}

.project-overlay p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  margin-bottom: 0;
}

.project-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.625rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  width: fit-content;
}

.filters {
  gap: 0.5rem;
}

.filters .btn {
  margin: 0 !important;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  padding: 2rem 1.5rem !important;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 83, 45, 0.06);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

.feature-card .icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--green-800);
  font-size: 1.25rem;
}

.feature-card h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* ===== BLOG CARDS ===== */
.blog-card {
  border: 1px solid rgba(20, 83, 45, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.blog-card:hover .card-img-top {
  transform: scale(1.05);
}

.blog-card .card-body {
  padding: 1.5rem;
}

.blog-card .blog-meta {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card .card-title {
  font-size: 1.0625rem;
  margin: 0.5rem 0 0.75rem;
}

/* ===== BLOG TAGS ===== */
.blog-tags {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-tags-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-600, #64748b);
  line-height: 1.2;
}

.blog-tags-label i {
  font-size: 0.75rem;
  opacity: 0.75;
}

.blog-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  align-items: center;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--green-800, #14532d);
  background: rgba(20, 83, 45, 0.06);
  border: 1px solid rgba(20, 83, 45, 0.12);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  max-width: 100%;
  word-break: break-word;
  text-align: center;
}

.blog-tag:hover {
  color: var(--green-900, #052e16);
  background: rgba(20, 83, 45, 0.1);
  border-color: rgba(20, 83, 45, 0.22);
}

.blog-tag.is-active,
.blog-tag.is-active:hover {
  color: #fff;
  background: var(--green-700, #15803d);
  border-color: var(--green-700, #15803d);
}

@media (max-width: 575.98px) {
  .blog-tags-list {
    gap: 0.3rem;
  }

  .blog-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.625rem;
    min-height: 1.625rem;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--soft-green-2);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.testimonial-card blockquote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--dark-700);
  flex-grow: 1;
  margin-bottom: 1.25rem;
  font-style: normal;
}

.testimonial-card .author strong {
  color: var(--dark-900);
  font-size: 0.9375rem;
}

.client-logo {
  opacity: 0.45;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 0.75rem 1.25rem;
}

.client-logo:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

/* ===== CONTACT ===== */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(20, 83, 45, 0.08);
  box-shadow: var(--shadow-sm);
}

.form-control {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--light-2);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: var(--light);
}

.form-control:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(41, 182, 198, 0.15);
  background: var(--white);
}

.form-label {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--dark-800);
  margin-bottom: 0.375rem;
}

.contact-info-card {
  background: linear-gradient(135deg, rgba(41, 182, 198, 0.08) 0%, rgba(118, 199, 83, 0.08) 100%);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(41, 182, 198, 0.15);
}

.contact-info-card p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.contact-info-card a {
  color: inherit;
  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--brand-cyan);
}

.contact-info-card i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 83, 45, 0.06);
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
}

.cta-band .container-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 480px;
}

.btn-light-custom {
  background: var(--gradient-brand);
  color: var(--brand-bg);
  border: none;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 24px rgba(41, 182, 198, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.btn-light-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 210, 255, 0.4);
  color: var(--brand-bg);
}

/* ===== ABOUT ===== */
.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.about-visual img {
  display: block;
  width: 100%;
  transition: transform 0.7s var(--ease-out);
}

.about-visual:hover img {
  transform: scale(1.04);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark-900);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4rem;
}

.site-footer h6 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--brand-cyan-bright);
}

.site-footer .footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
}

.site-footer .footer-links li {
  margin-bottom: 0.625rem;
}

.site-footer .social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-footer .social-link:hover {
  background: var(--gradient-brand);
  color: var(--brand-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.site-footer .social-link--disabled {
  cursor: default;
  opacity: 0.45;
}

.site-footer .social-link--disabled:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  transform: none;
  box-shadow: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.875rem;
}

/* ===== SERVICE DETAIL & ABOUT PAGES ===== */
.service-detail-card,
.vision-card,
.value-card {
  background: var(--white) !important;
  border: 1px solid rgba(20, 83, 45, 0.08) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.service-detail-card .icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(41, 182, 198, 0.15) 0%, rgba(118, 199, 83, 0.15) 100%);
  color: var(--brand-cyan);
  font-size: 1.25rem;
}

.service-detail-card .icon-wrap.icon-wrap-lg {
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
}

.feature-card .icon-wrap.icon-wrap-sm {
  width: 40px;
  height: 40px;
  margin: 0;
  font-size: 1rem;
}

.service-detail-card:hover,
.vision-card:hover,
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(20, 83, 45, 0.3);
}

.process-step {
  display: inline-block;
}

.timeline {
  position: relative;
  padding-left: 2rem;
  max-width: 640px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-800), var(--soft-green-2));
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--green-800);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--soft-green);
}

.timeline-marker {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--green-800);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.check-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

/* ===== UTILITIES ===== */
.shadow-soft {
  box-shadow: var(--shadow-md);
}

.rounded { border-radius: var(--radius-md) !important; }

.z-2 { z-index: 2; }

.text-primary {
  color: var(--brand-cyan) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .hero-trust {
    gap: 1rem;
  }

  .hero-card {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero .display-5 {
    max-width: none;
  }

  .scroll-indicator {
    display: none;
  }

  .project-card {
    height: 260px;
  }

  .cta-band .container-inner {
    text-align: center;
    justify-content: center;
  }
}

@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;
  }
}

@media print {
  .site-header,
  .hero,
  .site-footer,
  .cta-band {
    display: none;
  }
}

/* ===== UTILITIES (extended) ===== */
.fw-600 { font-weight: 600 !important; }

.text-white-75 {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ===== VALUE / VISION ICONS ===== */
.value-icon,
.vision-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.vision-icon {
  font-size: 3rem;
}

.value-icon--brand { color: var(--green-800); }
.value-icon--green { color: var(--brand-green); }
.value-icon--blue { color: #2563eb; }
.value-icon--amber { color: #f59e0b; }
.value-icon--teal { color: #14b8a6; }
.value-icon--rose { color: #f43f5e; }

.vision-icon--brand { color: var(--green-800); }
.vision-icon--green { color: var(--brand-green); }

.check-badge {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.check-badge--brand { background: linear-gradient(135deg, #14532d 0%, #166534 100%); }
.check-badge--green { background: linear-gradient(135deg, #22a355 0%, #14b8a6 100%); }
.check-badge--blue { background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%); }
.check-badge--amber { background: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%); }

/* ===== CASE STUDIES ===== */
.case-study-card {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md) !important;
}

.case-study-media {
  height: 300px;
  overflow: hidden;
}

.case-study-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-badge {
  background: var(--gradient-brand);
  color: var(--brand-bg);
}

.metric {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== TEAM ===== */
.team-card {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.team-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-md) !important;
}

.team-image {
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-mini {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.team-card-mini:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm) !important;
}

.team-dept-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
}

.team-dept-icon--brand { background: linear-gradient(135deg, #14532d 0%, #166534 100%); }
.team-dept-icon--green { background: linear-gradient(135deg, #22a355 0%, #14b8a6 100%); }
.team-dept-icon--amber { background: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%); }
.team-dept-icon--blue { background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%); }

.team-social-link {
  color: var(--muted);
  font-size: 1rem;
  transition: color 0.2s ease;
}

.team-social-link:hover {
  color: var(--brand-cyan);
}

.certification-card {
  transition: transform 0.35s var(--ease-out), background 0.35s ease;
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(20, 83, 45, 0.1) !important;
}

.certification-card:hover {
  transform: scale(1.03);
  background: rgba(255, 255, 255, 0.95) !important;
}

/* ===== FAQ ACCORDION ===== */
.accordion-button:not(.collapsed) {
  background-color: rgba(41, 182, 198, 0.08);
  color: var(--green-800);
  font-weight: 600;
}

.accordion-button:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 0.25rem rgba(41, 182, 198, 0.25);
}

.accordion-item {
  background: rgba(255, 255, 255, 0.85) !important;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item:hover {
  background: var(--white) !important;
  box-shadow: var(--shadow-xs) !important;
}

/* ===== BLOG DETAIL ===== */
.blog-detail-hero {
  padding: calc(var(--header-height) + 2.5rem) 0 2.5rem;
  background: linear-gradient(165deg, var(--brand-bg) 0%, #0a1628 50%, #0d3d45 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.blog-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.75;
  pointer-events: none;
}

.blog-detail-hero .container {
  position: relative;
  z-index: 1;
}

.blog-content h2,
.blog-content h3 {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.blog-tip {
  border-left: 4px solid var(--brand-cyan);
  background: rgba(41, 182, 198, 0.06);
}

.blog-tip--teal {
  border-left-color: #14b8a6;
  background: rgba(20, 184, 166, 0.06);
}

.blog-tip--amber {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.06);
}

.blog-sidebar-card {
  border: 1px solid rgba(41, 182, 198, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

/* ===== ERROR PAGE ===== */
.error-page {
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  text-align: center;
}

.error-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.form-status {
  min-height: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-status.is-success {
  color: var(--brand-green);
}

.form-status.is-error {
  color: #dc3545;
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: #0b1a14;
  color: #e9f3ee;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-text {
  flex: 1 1 260px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: #7fd3a8;
  text-decoration: underline;
}

.cookie-banner .btn {
  white-space: nowrap;
}

.floating-actions {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
  text-decoration: none;
}

.float-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

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

.float-whatsapp {
  background: #25d366;
}

.float-top {
  background: rgba(20, 40, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 575.98px) {
  .floating-actions {
    right: 0.85rem;
    bottom: 0.85rem;
  }
  .float-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}
