/* ============================================
    GLOBAL DESIGN SYSTEM - Dhareshwar Enterprises DE
    LIGHT THEME v2 - Premium Engineering Aesthetic
    ============================================ */

/* ----- CSS Custom Properties ----- */
:root {
  /* Colors - Light Theme */
  --color-primary: #1a1a2e;
  --color-primary-light: #e8f1f9;
  --color-secondary: #3b97d4;
  --color-secondary-dark: #2b7abf;
  --color-secondary-light: #b0def4;
  --color-accent: #2563eb;
  --color-accent-dark: #1e40af;
  --color-accent-teal: #0891b2;
  --color-accent-emerald: #059669;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #3b97d4, #7bb8e8, #3b97d4);
  --gradient-gold-strong: linear-gradient(135deg, #2b7abf, #3b97d4, #7bb8e8);
  --gradient-dark: linear-gradient(135deg, #1a1a2e, #2d2d4a);
  --gradient-section: linear-gradient(
    180deg,
    #ffffff 0%,
    #f6f8fc 50%,
    #f0f3f8 100%
  );
  --gradient-warm: linear-gradient(135deg, #f0f7fd, #f8faff, #f0f7fd);
  --gradient-mesh: linear-gradient(
    135deg,
    rgba(59, 151, 212, 0.08) 0%,
    transparent 30%,
    rgba(59, 151, 212, 0.04) 60%,
    transparent 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.92) 0%,
    rgba(26, 26, 46, 0.65) 40%,
    rgba(26, 26, 46, 0.3) 100%
  );

  /* Glow effects */
  --glow-gold: 0 0 40px rgba(59, 151, 212, 0.15);
  --glow-gold-strong: 0 0 60px rgba(59, 151, 212, 0.25);
  --glow-white: 0 0 40px rgba(255, 255, 255, 0.08);

  --color-bg: #ffffff;
  --color-bg-alt: #f6f8fc;
  --color-bg-light: #f0f3f8;
  --color-bg-card: rgba(26, 26, 46, 0.03);
  --color-bg-glass: rgba(255, 255, 255, 0.7);
  --color-surface: #ffffff;

  --color-text: #1a1a2e;
  --color-text-muted: #6b7280;
  --color-text-light: #9ca3af;
  --color-text-dark: #ffffff;

  --color-border: rgba(0, 0, 0, 0.06);
  --color-border-light: rgba(0, 0, 0, 0.1);
  --color-border-hover: rgba(59, 151, 212, 0.3);

  /* Typography */
  --font-heading: "Plus Jakarta Sans", "Poppins", sans-serif;
  --font-body: "Inter", "Manrope", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 900px;
  --container-padding: 1.5rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows - Light */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(59, 151, 212, 0.2);
  --shadow-glow-strong: 0 0 50px rgba(59, 151, 212, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-navbar: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-lightbox: 600;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

/* ----- Typography ----- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
  position: relative;
}

.section-label::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--color-secondary);
  margin-left: var(--space-md);
  vertical-align: middle;
  border-radius: 2px;
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ----- Section Spacing ----- */
.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  outline: none;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-18deg);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    left 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:hover::before {
  transform: translateX(100%) skewX(-15deg);
}
.btn:hover::after {
  opacity: 1;
  left: 115%;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-secondary-dark)
  );
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow-strong);
  transform: translateY(-2px) scale(1.02);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border-light);
}

.btn-outline:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(59, 151, 212, 0.12);
}

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

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

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

/* ----- Glass Card ----- */
.glass-card {
  background: var(--color-bg-glass);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

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

/* ----- Grids ----- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* ----- Navbar ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  height: 100px;
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  height: 80px;
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  z-index: var(--z-dropdown);
}

.navbar-logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 80px;
  transform: scale(2);
  transform-origin: left center;
  transition: transform var(--transition-base);
}

.navbar-logo-img:hover {
  transform: scale(2) scale(1.08);
  transform-origin: left center;
}

.navbar-logo .logo-icon {
  display: none;
}

.navbar-logo .logo-sub {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-dark .navbar-links a {
  color: rgba(255, 255, 255, 0.7);
}

.navbar-dark .navbar-logo {
  color: white;
}

.navbar-dark .navbar-logo .logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

.navbar-dark .navbar-links a:hover,
.navbar-dark .navbar-links a.active {
  color: white;
}

.navbar-dark.scrolled .navbar-links a {
  color: var(--color-text-muted);
}

.navbar-dark.scrolled .navbar-links a:hover,
.navbar-dark.scrolled .navbar-links a.active {
  color: var(--color-text);
}

.navbar-dark.scrolled .navbar-logo {
  color: var(--color-text);
}

.navbar-dark.scrolled .navbar-logo .logo-sub {
  color: var(--color-text-muted);
}

.navbar-dark .hamburger span {
  background: white;
}

.navbar-dark.scrolled .hamburger span {
  background: var(--color-text);
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: var(--color-secondary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-text);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-links .btn {
  margin-left: var(--space-sm);
}

.navbar-links .btn-primary {
  color: white;
}

/* ----- Dropdown ----- */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm) 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem !important;
  color: var(--color-text-muted) !important;
  transition: all var(--transition-fast) !important;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover {
  background: var(--color-bg-card);
  color: var(--color-secondary) !important;
  padding-left: 1.5rem;
}

.dropdown-menu a.active-dropdown {
  color: var(--color-secondary) !important;
  font-weight: 600 !important;
}

/* ----- Hamburger ----- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: var(--z-dropdown);
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 4px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ----- Mobile Menu ----- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
  z-index: var(--z-overlay);
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition-fast);
  position: relative;
}

.mobile-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.mobile-menu a:hover::after {
  width: 80%;
}

.mobile-menu a:hover {
  color: var(--color-secondary);
}

.mobile-menu .btn {
  margin-top: var(--space-lg);
}

/* ----- Footer ----- */
.footer {
  background: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer .navbar-logo {
  color: white;
}

.footer .navbar-logo .logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand h3 {
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
  color: white;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-base);
  font-size: 0.9rem;
}

.footer-socials a:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59, 151, 212, 0.15);
}

/* ----- Scroll Animations (Enhanced) ----- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Parallax reveal */
.reveal-parallax {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition:
    opacity 0.8s ease,
    clip-path 1s cubic-bezier(0.77, 0, 0.18, 1);
}

.reveal-parallax.visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) {
  transition-delay: 0s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(2) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(3) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(4) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(5) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-children.visible > *:nth-child(6) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}

/* ----- Counter ----- */
.counter-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--color-secondary);
  line-height: 1;
}

/* ----- Lightbox ----- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  transform: scale(0.9);
  transition: transform var(--transition-spring);
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
  background: none;
  border: none;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--color-secondary);
  transform: rotate(90deg);
}

/* ----- Page Hero ----- */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-primary-light) 0%,
    var(--color-bg) 100%
  );
  z-index: -2;
}

.page-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b97d4' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-hero h1 {
  margin-bottom: var(--space-md);
  position: relative;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ----- Breadcrumb ----- */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

.breadcrumb span {
  color: var(--color-text-light);
}

.breadcrumb .current {
  color: var(--color-secondary);
  font-weight: 600;
}

/* ----- Process Steps ----- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-xl);
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-full);
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-secondary-dark)
  );
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(59, 151, 212, 0.25);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.process-step:hover::before {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(59, 151, 212, 0.35);
}

.process-step h4 {
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.process-step p {
  font-size: 0.85rem;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary), transparent);
  opacity: 0.3;
}

/* ----- Advantages Cards ----- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.advantage-card {
  text-align: center;
  padding: var(--space-xl);
}

.advantage-card .icon {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
  display: block;
  transition: transform var(--transition-base);
}

.advantage-card:hover .icon {
  transform: scale(1.2);
}

.advantage-card h4 {
  margin-bottom: var(--space-sm);
}

.advantage-card p {
  font-size: 0.9rem;
}

/* ----- Gradient Text ----- */
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-secondary-dark),
    var(--color-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- Noise Texture Overlay ----- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ----- Enhanced Glass Card ----- */
.glass-card-premium {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.glass-card-premium:hover {
  border-color: rgba(59, 151, 212, 0.25);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--glow-gold);
  background: rgba(255, 255, 255, 0.75);
}

/* ----- Subtle Background Pattern ----- */
.bg-pattern-dots {
  background-image: radial-gradient(
    rgba(59, 151, 212, 0.06) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
}

.bg-pattern-grid {
  background-image:
    linear-gradient(rgba(59, 151, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 151, 212, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ----- Glow Dot Effect ----- */
.glow-dot {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.12;
}

.glow-dot-1 {
  background: var(--color-secondary);
  top: -100px;
  right: -80px;
}

.glow-dot-2 {
  background: var(--color-accent-teal);
  bottom: -100px;
  left: -80px;
}

/* ----- Image Reveal ----- */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-secondary);
  z-index: 2;
  transform: translateX(-100%);
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

.img-reveal.visible::before {
  transform: translateX(100%);
}

.img-reveal img {
  transform: scale(1.1);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-reveal.visible img {
  transform: scale(1);
}

/* ----- Floating Particles ----- */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-secondary);
  border-radius: 50%;
  opacity: 0.15;
  animation: particleFloat 12s infinite ease-in-out;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.15;
  }
  25% {
    transform: translateY(-40px) translateX(20px) scale(1.5);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-80px) translateX(-10px) scale(0.8);
    opacity: 0.1;
  }
  75% {
    transform: translateY(-40px) translateX(30px) scale(1.2);
    opacity: 0.25;
  }
}

/* ----- Floating Shapes (Hero) ----- */
.floating-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.floating-shape {
  position: absolute;
  border: 1px solid rgba(59, 151, 212, 0.1);
  border-radius: 50%;
  animation: floatShape 20s infinite ease-in-out;
  will-change: transform;
}

.floating-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -80px;
  animation-delay: 0s;
  border-color: rgba(59, 151, 212, 0.06);
}

.floating-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: -60px;
  animation-delay: -5s;
  border-color: rgba(59, 151, 212, 0.08);
}

.floating-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 5%;
  animation-delay: -10s;
  border-color: rgba(59, 151, 212, 0.05);
}

@keyframes floatShape {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(25px, -35px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 25px) scale(0.95);
  }
}

/* ----- Page Loader ----- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

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

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

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

  .section {
    padding: var(--space-3xl) 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .page-hero {
    min-height: 40vh;
    padding: 6rem 0 3rem;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .navbar-logo {
    font-size: 1rem;
    gap: 0.3rem;
  }

  .navbar-logo-img {
    width: 45px;
    height: 45px;
    margin-right: 45px;
  }
}

/* ----- Selection ----- */
::selection {
  background: var(--color-secondary);
  color: white;
}

/* ----- Scrollbar ----- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border-light);
  border-radius: 4px;
  transition: background var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* ----- Accessible ----- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ----- Pulse Animation ----- */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 151, 212, 0.3);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(59, 151, 212, 0);
  }
}

.pulse-glow {
  animation: pulse-glow 2s infinite;
}

/* ----- Hover Lift ----- */
.hover-lift {
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

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

/* ============================================
   SCROLL-SNAP SECTION LAYOUT (Desktop)
   ============================================ */

.snap-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.snap-container::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

.snap-container {
  scrollbar-width: none;
}

/* ============================================
   SECTION ENTRANCE ANIMATIONS (v4)
   ============================================ */
/* Persistent base class — always keeps the transition alive */
.entrance-base {
  will-change: transform, opacity;
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--entrance-delay, 0s);
}

/* Entrance profiles — initial hidden states */

/* Hero — gentle scale + fade (no blur, minimal transform) */
.entrance-hero.entrance-base {
  opacity: 0.5;
  transform: scale(0.97);
}

/* Section 1+ — slide up */
.entrance-slideUp.entrance-base {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
}

/* Slide in from right */
.entrance-slideRight.entrance-base {
  opacity: 0;
  transform: translateX(50px) scale(0.98);
}

/* Slide in from left */
.entrance-slideLeft.entrance-base {
  opacity: 0;
  transform: translateX(-50px) scale(0.98);
}

/* Scale up from center */
.entrance-scaleIn.entrance-base {
  opacity: 0;
  transform: scale(0.88);
}

/* Rotate + fade */
.entrance-rotateIn.entrance-base {
  opacity: 0;
  transform: perspective(1200px) rotateX(3deg) translateY(30px) scale(0.96);
  transform-origin: center top;
}

/* Final visible state — keep transition alive */
.entrance-visible.entrance-base {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1) rotateX(0);
}

.premium-ready .snap-section {
  isolation: isolate;
}
.premium-section .container {
  position: relative;
  z-index: 1;
}

/* Ambient premium glow layers inside every snap section */
.premium-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.ambient-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(78px);
  opacity: 0.08;
  animation: ambientFloat 18s ease-in-out infinite;
}
.ambient-orb-1 {
  background: rgba(59, 151, 212, 0.65);
  top: -120px;
  right: -90px;
}
.ambient-orb-2 {
  background: rgba(13, 148, 136, 0.45);
  bottom: -130px;
  left: -100px;
  animation-delay: -6s;
}
.ambient-orb-3 {
  background: rgba(26, 26, 46, 0.18);
  width: 260px;
  height: 260px;
  top: 42%;
  left: 45%;
  animation-delay: -11s;
}
.premium-section:first-child .premium-ambient,
.snap-section:first-child .hero-orbs {
  display: none;
}
@keyframes ambientFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(28px, -34px, 0) scale(1.12);
  }
}

.snap-section {
  min-height: 100vh;
  height: auto;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: background-color 0.8s ease;
}

.snap-section .container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 6rem var(--container-padding) 2rem;
}

/* Section background gradient transitions */
.snap-section.bg-white {
  background: var(--color-bg);
}
.snap-section.bg-light {
  background: var(--color-bg-light);
}
.snap-section.bg-dark {
  background: #1a1a2e;
}
.snap-section.bg-gold {
  background: linear-gradient(135deg, #fdf8f0 0%, #fefcf8 50%, #fffdf5 100%);
}

/* Snap navigation dots */
.snap-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.snap-dots a {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
/* Hover tooltip - realistic spring */
.snap-dots a::after {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  font-size: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1a2e;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px 14px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition:
    opacity 0.25s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.snap-dots a:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
/* Active state */
.snap-dots a.active {
  background: var(--color-secondary);
  box-shadow:
    0 0 0 2px rgba(59, 151, 212, 0.2),
    0 0 16px rgba(59, 151, 212, 0.25);
  transform: scale(1.25);
  animation: premiumDotPulse 1.8s ease-in-out infinite;
}
.snap-dots a.active::after {
  opacity: 1;
  color: var(--color-secondary);
}
.snap-dots a:hover {
  background: var(--color-secondary);
  opacity: 0.7;
  transform: scale(1.15);
}
@keyframes premiumDotPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(59, 151, 212, 0.2),
      0 0 16px rgba(59, 151, 212, 0.25);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(59, 151, 212, 0),
      0 0 28px rgba(59, 151, 212, 0.42);
  }
}

/* Section progress bar at top - Enhanced */
.snap-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-secondary),
    #7bb8e8,
    var(--color-secondary),
    #7bb8e8
  );
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  z-index: 55;
  transition: width 0.15s ease;
  width: 0%;
  box-shadow: 0 0 10px rgba(59, 151, 212, 0.3);
}

/* Snap section background alternation */
.snap-section:nth-child(odd) {
  background: var(--color-bg);
}
.snap-section:nth-child(even) {
  background: var(--color-bg-light);
}

/* Snap section typography */
.snap-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
  text-wrap: balance;
}
.snap-label::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-secondary), transparent);
}
.snap-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}
.snap-section .lead {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}
.snap-section h2 {
  text-wrap: balance;
}
.snap-label {
  text-wrap: balance;
}

/* Premium card surface polish */
.premium-card {
  position: relative;
  isolation: isolate;
}
.premium-card > * {
  position: relative;
  z-index: 1;
}
.premium-card:not(.snap-service-card):not(.snap-gallery-item)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(59, 151, 212, 0.16),
      transparent 32%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 0;
}
.premium-card:not(.snap-service-card):not(.snap-gallery-item):hover::after {
  opacity: 1;
}
.premium-card:hover {
  border-color: rgba(59, 151, 212, 0.22) !important;
}

.snap-stat,
.snap-contact-card,
.snap-team-card,
.snap-faq-item,
.glass-card-premium {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Snap navigation dots */
.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-muted);
  font-size: 1.2rem;
  animation: bounce-arrow 2s infinite cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0.5;
  transition:
    opacity 0.3s,
    color 0.3s;
  cursor: pointer;
  z-index: 2;
}
.scroll-arrow:hover {
  opacity: 1;
  color: var(--color-secondary);
}
@keyframes bounce-arrow {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.4;
  }
  35% {
    transform: translateX(-50%) translateY(10px);
    opacity: 1;
  }
  65% {
    transform: translateX(-50%) translateY(-3px);
    opacity: 0.8;
  }
  85% {
    transform: translateX(-50%) translateY(5px);
    opacity: 0.9;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.4;
  }
}

/* Snap section grid helpers */
.snap-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.snap-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.snap-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.snap-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

/* Snap service cards - Premium */
.snap-service-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.snap-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 151, 212, 0.03) 0%,
    transparent 50%,
    rgba(59, 151, 212, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: inherit;
}
.snap-service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 0 40px rgba(59, 151, 212, 0.08);
  border-color: rgba(59, 151, 212, 0.3);
  background: rgba(255, 255, 255, 0.95);
}
.snap-service-card:hover::before {
  opacity: 1;
}
.snap-service-card .icon {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
  display: inline-block;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}
.snap-service-card:hover .icon {
  transform: scale(1.2) rotate(-8deg);
  color: var(--color-secondary-dark);
  text-shadow: 0 0 30px rgba(59, 151, 212, 0.3);
}
.snap-service-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
}
.snap-service-card p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.snap-service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 0;
}
.snap-service-card:hover::after {
  transform: scaleX(1);
}

/* Snap stat cards - Premium */
.snap-stat {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid transparent;
}
.snap-stat:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(59, 151, 212, 0.15);
  box-shadow: var(--glow-gold);
  transform: translateY(-4px);
}
.snap-stat .number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
  position: relative;
  display: inline-block;
}
.snap-stat .label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
  position: relative;
}
.snap-stat .stat-icon {
  font-size: 1.2rem;
  color: var(--color-secondary);
  opacity: 0.2;
  margin-bottom: 0.5rem;
  transition: all 0.5s ease;
}
.snap-stat:hover .stat-icon {
  opacity: 0.4;
  transform: scale(1.2);
}

/* Snap testimonial card - Premium */
.snap-testimonial {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.snap-testimonial::before {
  content: '"';
  position: absolute;
  top: 0.25rem;
  right: 1.25rem;
  font-size: 6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1;
  color: var(--color-secondary);
  opacity: 0.06;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  pointer-events: none;
}
.snap-testimonial:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--glow-gold);
  border-color: rgba(59, 151, 212, 0.2);
}
.snap-testimonial:hover::before {
  opacity: 0.12;
  transform: scale(1.1) rotate(-5deg);
}
.snap-testimonial .stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.snap-testimonial .stars i {
  margin-right: 1px;
  transition: transform 0.3s ease;
}
.snap-testimonial:hover .stars i {
  animation: starPulse 0.4s ease;
}
.snap-testimonial:hover .stars i:nth-child(2) {
  animation-delay: 0.05s;
}
.snap-testimonial:hover .stars i:nth-child(3) {
  animation-delay: 0.1s;
}
.snap-testimonial:hover .stars i:nth-child(4) {
  animation-delay: 0.15s;
}
.snap-testimonial:hover .stars i:nth-child(5) {
  animation-delay: 0.2s;
}
@keyframes starPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}
.snap-testimonial p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.snap-testimonial .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}
.snap-testimonial .author .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), #7bb8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 10px rgba(59, 151, 212, 0.2);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.snap-testimonial:hover .author .avatar {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(59, 151, 212, 0.3);
}
.snap-testimonial .author .info h4 {
  font-size: 0.85rem;
  margin-bottom: 0;
}
.snap-testimonial .author .info span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Snap CTA section */
.snap-cta {
  text-align: center;
}
.snap-cta h2 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.snap-cta .lead {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ in snap sections */
.snap-faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.3s;
}
.snap-faq-item:hover {
  border-color: var(--color-border-hover);
}
.snap-faq-item .faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.snap-faq-item .faq-header h4 {
  font-size: 0.9rem;
  margin: 0;
}
.snap-faq-item .faq-header i {
  color: var(--color-secondary);
  transition: transform 0.3s;
  font-size: 0.8rem;
}
.snap-faq-item.active .faq-header i {
  transform: rotate(180deg);
}
.snap-faq-item .faq-body {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  transition:
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 0.4s ease,
    opacity 0.4s ease;
  opacity: 0;
}
.snap-faq-item.active .faq-body {
  max-height: 300px;
  margin-top: 0.75rem;
  opacity: 1;
}

/* Timeline for snap sections */
.snap-timeline {
  position: relative;
  padding-left: 2rem;
}
.snap-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.snap-timeline-item {
  position: relative;
  padding-bottom: 1.25rem;
}
.snap-timeline-item:last-child {
  padding-bottom: 0;
}
.snap-timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 3px solid var(--color-bg-light);
  box-shadow: 0 0 0 2px var(--color-secondary);
}
.snap-timeline-item .year {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.15rem;
}
.snap-timeline-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.snap-timeline-item p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Team member cards */
.snap-team-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.snap-team-card .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), #7bb8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 0.75rem;
}
.snap-team-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.snap-team-card .role {
  font-size: 0.78rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.snap-team-card p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Gallery grid for snap sections */
.snap-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.snap-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.snap-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.snap-gallery-item:hover img {
  transform: scale(1.08);
}
.snap-gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
}
.snap-gallery-item .overlay h4 {
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
}
.snap-gallery-item .overlay p {
  font-size: 0.7rem;
  opacity: 0.8;
}

/* Contact form compact */
.snap-form {
  max-width: 480px;
}
.snap-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.snap-form input,
.snap-form select,
.snap-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--color-white);
  transition: border-color 0.3s;
}
.snap-form input:focus,
.snap-form select:focus,
.snap-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

/* Contact info cards for snap */
.snap-contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.snap-contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.snap-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 151, 212, 0.2);
  box-shadow: var(--shadow-md), var(--glow-gold);
}
.snap-contact-card .icon {
  font-size: 1.3rem;
  color: var(--color-secondary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
}
.snap-contact-card h4 {
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
}
.snap-contact-card p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Tech specs table */
.snap-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.snap-table th {
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
}
.snap-table td {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--color-border);
}
.snap-table tr:nth-child(even) td {
  background: var(--color-bg-light);
}
.snap-table td:first-child {
  font-weight: 600;
}

/* Process steps inline */
.snap-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.snap-process-step {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.snap-process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 151, 212, 0.2);
  box-shadow: var(--shadow-md), var(--glow-gold);
}
.snap-process-step .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-secondary-dark)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 auto 0.5rem;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  box-shadow: 0 2px 8px rgba(59, 151, 212, 0.2);
}
.snap-process-step:hover .step-num {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(59, 151, 212, 0.3);
}
.snap-process-step h4 {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}
.snap-process-step:hover h4 {
  color: var(--color-secondary-dark);
}
.snap-process-step p {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Floating orbs in hero */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  animation: heroOrbFloat 25s ease-in-out infinite;
}
.hero-orb:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--color-secondary);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}
.hero-orb:nth-child(2) {
  width: 350px;
  height: 350px;
  background: #0d9488;
  bottom: -100px;
  left: -80px;
  animation-delay: -8s;
  opacity: 0.06;
}
.hero-orb:nth-child(3) {
  width: 200px;
  height: 200px;
  background: #7bb8e8;
  top: 30%;
  left: 60%;
  animation-delay: -16s;
  opacity: 0.08;
}
@keyframes heroOrbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -40px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 30px) scale(0.9);
  }
  75% {
    transform: translate(25px, 20px) scale(1.05);
  }
}

/* Section hero image bg - Enhanced */
.snap-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  --hero-pattern: linear-gradient(
    115deg,
    transparent 0 44%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 46% 100%
  );
  --hero-pattern-size: 420px 420px;
  --hero-pattern-start: 0% 0%;
  --hero-pattern-end: 100% 100%;
  --hero-pattern-opacity: 0.24;
  --hero-soft-vignette:
    radial-gradient(
      circle at 72% 18%,
      rgba(255, 255, 255, 0.1),
      transparent 32%
    ),
    radial-gradient(circle at 18% 86%, rgba(0, 0, 0, 0.34), transparent 38%);
}
.snap-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: saturate(1.03) contrast(1.02);
  transition:
    transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 1.4s ease;
}
.snap-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.54) 42%,
      rgba(0, 0, 0, 0.24) 72%,
      rgba(0, 0, 0, 0.18) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      transparent 32%,
      rgba(0, 0, 0, 0.34)
    ),
    var(--hero-soft-vignette);
}
.snap-hero-bg::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: var(--hero-pattern);
  background-size: var(--hero-pattern-size);
  background-position: var(--hero-pattern-start);
  opacity: var(--hero-pattern-opacity);
  mix-blend-mode: soft-light;
  animation: heroPatternDrift var(--pattern-duration, 16s) ease-in-out infinite
    alternate;
  pointer-events: none;
}
@keyframes heroPatternDrift {
  from {
    background-position: var(--hero-pattern-start);
  }
  to {
    background-position: var(--hero-pattern-end);
  }
}

/* Page-specific neutral hero texture overlays — work on dark and bright images */
.snap-section.hero-effect-home {
  --hero-pattern: linear-gradient(
    115deg,
    transparent 0 44%,
    rgba(255, 255, 255, 0.09) 45%,
    transparent 46% 100%
  );
  --hero-pattern-size: 460px 460px;
  --hero-pattern-start: 0% 0%;
  --hero-pattern-end: 100% 100%;
  --hero-pattern-opacity: 0.22;
  --pattern-duration: 14s;
}
.snap-section.hero-effect-about {
  --hero-pattern:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 76px
    ),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.07));
  --hero-pattern-size: 160px 100%, 100% 100%;
  --hero-pattern-start: 0% 0%, 0% 0%;
  --hero-pattern-end: 152px 0%, 0% 100%;
  --hero-pattern-opacity: 0.2;
  --pattern-duration: 18s;
}
.snap-section.hero-effect-contact {
  --hero-pattern: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 1px,
    transparent 1.7px
  );
  --hero-pattern-size: 30px 30px;
  --hero-pattern-start: 0% 0%;
  --hero-pattern-end: 60px 60px;
  --hero-pattern-opacity: 0.22;
  --pattern-duration: 16s;
}
.snap-section.hero-effect-gallery {
  --hero-pattern:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.09) 0 2px,
      transparent 2px 30px
    ),
    repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.1) 0 1px,
      transparent 1px 44px
    );
  --hero-pattern-size: 84px 84px, 126px 126px;
  --hero-pattern-start: 0% 0%, 0% 0%;
  --hero-pattern-end: 84px 84px, 126px 126px;
  --hero-pattern-opacity: 0.2;
  --pattern-duration: 15s;
}
.snap-section.hero-effect-rotary {
  --hero-pattern: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.1) 0deg 2deg,
    transparent 2deg 18deg
  );
  --hero-pattern-size: 280px 280px;
  --hero-pattern-start: center;
  --hero-pattern-end: center;
  --hero-pattern-opacity: 0.16;
  --pattern-duration: 20s;
}
.snap-section.hero-effect-mini {
  --hero-pattern: linear-gradient(
    115deg,
    transparent 0 44%,
    rgba(255, 255, 255, 0.09) 45%,
    transparent 46% 100%
  );
  --hero-pattern-size: 420px 420px;
  --hero-pattern-start: 0% 0%;
  --hero-pattern-end: 100% 100%;
  --hero-pattern-opacity: 0.2;
  --pattern-duration: 16s;
}
.snap-section.hero-effect-micro {
  --hero-pattern:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  --hero-pattern-size: 42px 42px, 42px 42px;
  --hero-pattern-start: 0% 0%, 0% 0%;
  --hero-pattern-end: 42px 42px, 42px 42px;
  --hero-pattern-opacity: 0.18;
  --pattern-duration: 18s;
}
.snap-section.hero-effect-auger {
  --hero-pattern: repeating-radial-gradient(
    circle at 70% 35%,
    transparent 0 16px,
    rgba(255, 255, 255, 0.08) 17px 18px,
    transparent 19px 34px
  );
  --hero-pattern-size: 420px 420px;
  --hero-pattern-start: 0% 0%;
  --hero-pattern-end: 100% 100%;
  --hero-pattern-opacity: 0.16;
  --pattern-duration: 20s;
}
.snap-section.hero-effect-conventional {
  --hero-pattern:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.07) 0 1px,
      transparent 1px 38px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0 1px,
      transparent 1px 64px
    );
  --hero-pattern-size: 100% 38px, 64px 100%;
  --hero-pattern-start: 0% 0%, 0% 0%;
  --hero-pattern-end: 0% 38px, 64px 0%;
  --hero-pattern-opacity: 0.22;
  --pattern-duration: 17s;
}
.snap-section.hero-effect-soil {
  --hero-pattern:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.1) 0 1px,
      transparent 1px 34px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.1) 0 1px,
      transparent 1px 92px
    );
  --hero-pattern-size: 100% 34px, 92px 100%;
  --hero-pattern-start: 0% 0%, 0% 0%;
  --hero-pattern-end: 0% 34px, 92px 0%;
  --hero-pattern-opacity: 0.24;
  --pattern-duration: 19s;
}
@keyframes heroShimmer {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
.snap-hero-content {
  position: relative;
  z-index: 1;
  color: white;
}
.snap-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  max-width: 760px;
  line-height: 1.08;
  text-shadow: 0 2px 50px rgba(0, 0, 0, 0.28);
  text-wrap: balance;
}

.snap-hero-content .hero-buttons {
  position: relative;
  z-index: 2;
}
.snap-hero-content .lead {
  color: rgba(255, 255, 255, 0.8);
  max-width: 550px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary-light);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.hero-badge:hover {
  background: rgba(59, 151, 212, 0.14);
  border-color: rgba(59, 151, 212, 0.32);
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 14px 42px rgba(59, 151, 212, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* Service selector - Enhanced */
.snap-service-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.snap-service-btn {
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  background: var(--color-white);
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: var(--font-body);
}
.snap-service-btn:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-4px);
  box-shadow: var(--glow-gold);
}
.snap-service-btn .icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  display: inline-block;
  transition: transform 0.4s ease;
}
.snap-service-btn:hover .icon {
  transform: scale(1.2) rotate(-5deg);
}
.snap-service-btn h4 {
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* ----- Enhanced Orb Animation ----- */
.orb-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb:nth-child(1) {
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.orb:nth-child(2) {
  width: 300px;
  height: 300px;
  background: #0d9488;
  bottom: -80px;
  left: -80px;
  animation-delay: -7s;
}

.orb:nth-child(3) {
  width: 250px;
  height: 250px;
  background: #3b97d4;
  top: 40%;
  left: 50%;
  animation-delay: -14s;
  opacity: 0.08;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(40px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-30px, 30px) scale(0.9);
  }
  75% {
    transform: translate(20px, 40px) scale(1.05);
  }
}

/* ----- Section Transition Divider ----- */
.section-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
}

.section-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(59, 151, 212, 0.04),
    transparent
  );
}

.section-divider-wave {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40px;
}

/* ----- Enhanced Snap Section Backgrounds ----- */
.snap-section.bg-premium-dark {
  background: var(--color-primary);
  position: relative;
}

.snap-section.bg-premium-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
}

.snap-section.bg-premium-gold {
  background: var(--gradient-warm);
  position: relative;
}

.snap-section.bg-premium-gradient {
  background: var(--gradient-section);
}

/* Animation keyframes */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(8px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(5px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUpBlur {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Section entrance animation */
.section-enter {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(2px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.8s ease;
}
.section-enter.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger entrance for children */
.stagger-fade > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stagger-fade.visible > *:nth-child(1) {
  transition-delay: 0s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-fade.visible > *:nth-child(2) {
  transition-delay: 0.08s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-fade.visible > *:nth-child(3) {
  transition-delay: 0.16s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-fade.visible > *:nth-child(4) {
  transition-delay: 0.24s;
  opacity: 1;
  transform: translateY(0);
}
.stagger-fade.visible > *:nth-child(5) {
  transition-delay: 0.32s;
  opacity: 1;
  transform: translateY(0);
}

/* Section background transition overlay */
.snap-section {
  position: relative;
}
.snap-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    to top,
    var(--color-bg-light) 0%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.snap-section:nth-child(odd)::after {
  background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
}
.snap-section.bg-light::after,
.snap-section:nth-child(even)::after {
  opacity: 1;
}

/* First and last sections shouldn't have gradient overlay */
.snap-section:first-child::after,
.snap-section:last-child::after {
  display: none;
}

/* Enhanced loading effect */
.loading-shimmer {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 151, 212, 0.04),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Ripple effect for clickable elements */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 151, 212, 0.25);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Button active press state */
.btn:active {
  transform: scale(0.96) !important;
}

/* ============================================
   FLOATING CALL BUTTON
   ============================================ */
.floating-call-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border: none;
  box-shadow:
    0 4px 20px rgba(34, 197, 94, 0.35),
    0 0 0 0 rgba(34, 197, 94, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: callBtnPulse 2s infinite;
  text-decoration: none;
}
.floating-call-btn:hover {
  transform: scale(1.12);
  box-shadow:
    0 6px 30px rgba(34, 197, 94, 0.45),
    0 0 0 0 rgba(34, 197, 94, 0.4);
}
.floating-call-btn:active {
  transform: scale(0.94);
}

/* Call button tooltip label */
.floating-call-btn .call-label {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: #1a1a2e;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateY(-50%) translateX(8px);
}
.floating-call-btn:hover .call-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes callBtnPulse {
  0% {
    box-shadow:
      0 4px 20px rgba(34, 197, 94, 0.35),
      0 0 0 0 rgba(34, 197, 94, 0.4);
  }
  70% {
    box-shadow:
      0 4px 20px rgba(34, 197, 94, 0.35),
      0 0 0 16px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow:
      0 4px 20px rgba(34, 197, 94, 0.35),
      0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Responsive: smaller on mobile */
@media (max-width: 768px) {
  .floating-call-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    bottom: 16px;
    right: 16px;
  }
  .floating-call-btn .call-label {
    display: none;
  }
}

/* Card press state */
.snap-service-card:active,
.snap-testimonial:active,
.snap-stat:active {
  transform: scale(0.98) !important;
}

/* Smooth image zoom - cinematic */
.snap-gallery-item {
  overflow: hidden;
}
.snap-gallery-item img {
  transition:
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.6s ease;
}
.snap-gallery-item:hover img {
  transform: scale(1.12);
  filter: brightness(1.05) contrast(1.05);
}
.snap-gallery-item .overlay {
  transition:
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.5s ease;
  transform: translateY(10px);
  opacity: 0;
}
.snap-gallery-item:hover .overlay {
  transform: translateY(0);
  opacity: 1;
}

/* Pulse ring effect for buttons */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 151, 212, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(59, 151, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 151, 212, 0);
  }
}

.pulse-ring {
  animation: pulse-ring 2s infinite;
}

/* Responsive */
@media (max-width: 1024px) {
  .snap-grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .snap-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .snap-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .snap-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .snap-process {
    grid-template-columns: repeat(3, 1fr);
  }
  .snap-service-selector {
    grid-template-columns: repeat(3, 1fr);
  }
  .snap-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  /* Collapse custom inline grids used across pages */
  [style*="grid-template-columns:1.3fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1.1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1.5fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1fr 1fr 1fr"][style*="gap:2rem"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
  }
  /* Team 5-col → 3-col */
  [style*="grid-template-columns:repeat(5,1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  /* Service benefits 3-col → 2-col */
  .snap-grid-3.stagger-fade[style*="align-items:start"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  .snap-container {
    height: auto;
    overflow-y: visible;
    scroll-snap-type: none;
  }
  .snap-section {
    min-height: auto;
    padding: 3rem 0;
    scroll-snap-align: none;
  }
  .snap-dots {
    display: none;
  }
  .snap-progress {
    display: none;
  }
  .snap-grid-2 {
    grid-template-columns: 1fr;
  }
  .snap-grid-3 {
    grid-template-columns: 1fr;
  }
  .snap-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .snap-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .snap-process {
    grid-template-columns: repeat(2, 1fr);
  }
  .snap-service-selector {
    grid-template-columns: repeat(2, 1fr);
  }
  .snap-gallery {
    grid-template-columns: 1fr;
  }
  .snap-form .form-row {
    grid-template-columns: 1fr;
  }
  .snap-contact-info {
    grid-template-columns: 1fr;
  }
  .snap-stat {
    padding: 1.25rem 0.75rem;
  }
  .snap-section::after {
    display: none;
  }
  .snap-section .container {
    padding: 4rem var(--container-padding) 2rem;
  }
  /* Additional mobile overrides for custom inline grids */
  [style*="grid-template-columns:1fr 1fr 1fr"][style*="gap:2rem"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(5,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .snap-grid-3.stagger-fade[style*="align-items:start"] {
    grid-template-columns: 1fr !important;
  }
  /* Gallery square grid 3×2 → 2×3 */
  [style*="grid-template-columns:repeat(3,1fr)"][style*="aspect-ratio"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Gallery 2-col grid */
  [style*="grid-template-columns:1fr 1fr"][style*="aspect-ratio"] {
    grid-template-columns: 1fr !important;
  }
  /* About team grid */
  [style*="grid-template-columns:repeat(5,1fr)"][style*="gap:0.75rem"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  /* Process flow strip - wrap */
  [style*="How We Work"] + div {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }
}
