/* ============================================
   MAVTECH DESIGNS - Premium Website Stylesheet
   Engineering Innovation Layer by Layer

   A $25,000+ Agency-Grade Build
   ============================================ */

/* ===========================================
   0. CSS CUSTOM PROPERTIES
   =========================================== */
:root {
  /* Core Palette */
  --navy-900: #0a1628;
  --navy-800: #0f1f3d;
  --navy-700: #142952;
  --navy-600: #1a3468;
  --navy-500: #1e3f7e;
  --blue-accent: #00b4d8;
  --blue-light: #48cae4;
  --blue-deep: #0077b6;
  --blue-glow: rgba(0, 180, 216, 0.3);
  --blue-glow-intense: rgba(0, 180, 216, 0.5);
  --cyan-100: rgba(0, 180, 216, 0.08);
  --cyan-200: rgba(0, 180, 216, 0.15);
  --cyan-300: rgba(0, 180, 216, 0.25);

  /* Neutral Palette */
  --silver-100: #f0f2f5;
  --silver-200: #d4d8df;
  --silver-300: #a8aeb8;
  --silver-400: #7c8490;
  --white: #ffffff;
  --dark: #060d1a;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Glass */
  --glass-bg: rgba(15, 31, 61, 0.45);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border-hover: rgba(0, 180, 216, 0.25);
  --glass-blur: blur(20px);

  /* Typography */
  --font-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px var(--blue-glow);
  --shadow-glow-intense: 0 0 50px var(--blue-glow-intense);
}

/* ===========================================
   1. RESET & BASE
   =========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-accent) var(--navy-900);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy-900);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue-accent), var(--blue-deep));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-light);
}

body {
  font-family: var(--font-body);
  color: var(--silver-100);
  background: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--blue-light);
}

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

::selection {
  background: rgba(0, 180, 216, 0.3);
  color: var(--white);
}

/* ===========================================
   2. CUSTOM CURSOR DOT
   =========================================== */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--blue-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 0 15px var(--blue-glow), 0 0 30px rgba(0, 180, 216, 0.15);
  mix-blend-mode: screen;
}
.cursor-dot.active {
  width: 40px;
  height: 40px;
  opacity: 0.3;
}

/* ===========================================
   3. LOADING SCREEN
   =========================================== */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loading-screen::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 180, 216, 0.15);
  border-top-color: var(--blue-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===========================================
   4. UTILITY / LAYOUT CLASSES
   =========================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section-dark {
  background: var(--navy-900);
}

.section-darker {
  background: var(--dark);
}

.section-gradient {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-900) 100%);
  position: relative;
}
.section-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.text-center { text-align: center; }
.text-accent { color: var(--blue-accent); }
.text-silver { color: var(--silver-300); }
.text-white { color: var(--white); }

/* ===========================================
   5. TYPOGRAPHY
   =========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-accent);
  margin-bottom: 0.85rem;
  padding: 0.4rem 1.15rem;
  border: 1px solid var(--cyan-300);
  border-radius: 100px;
  background: var(--cyan-100);
  position: relative;
}

.section-title {
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--silver-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--silver-300);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ===========================================
   6. BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-deep));
  color: var(--white);
  border-color: var(--blue-accent);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.2);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-accent));
  border-color: var(--blue-light);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.35);
}
/* Glowing border pulse on CTA buttons */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(0, 180, 216, 0.2); }
  50% { box-shadow: 0 4px 25px rgba(0, 180, 216, 0.45), 0 0 40px rgba(0, 180, 216, 0.15); }
}
.cta-section .btn-primary,
.hero .btn-primary {
  animation: glowPulse 3s ease-in-out infinite;
}
.cta-section .btn-primary:hover,
.hero .btn-primary:hover {
  animation: none;
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  border-color: var(--blue-accent);
  color: var(--blue-accent);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.15);
}

.btn-lg {
  padding: 1.05rem 2.75rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-full-width {
  width: 100%;
}

/* ===========================================
   7. HEADER / NAVIGATION
   =========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Nav container */
.nav {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

/* Logo - supports both .logo and .nav-logo */
.logo,
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo img,
.nav-logo img {
  height: 55px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.1));
  object-fit: contain;
}
.logo:hover img,
.nav-logo:hover img {
  filter: drop-shadow(0 0 12px rgba(0, 180, 216, 0.25));
}

/* Nav links container - supports both .nav-links and .nav-menu */
.nav-links,
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

/* Nav items */
.nav-item {
  position: relative;
}

/* Nav links */
.nav-link,
.nav-links > li > a,
.nav-menu > li > a {
  padding: 0.55rem 1.1rem;
  color: var(--silver-200);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  display: inline-block;
}
.nav-link::after,
.nav-links > li > a::after,
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-light));
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover,
.nav-link.active,
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}
.nav-link.active::after,
.nav-links > li > a.active::after,
.nav-menu > li > a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 0.65rem;
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: rgba(15, 31, 61, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 180, 216, 0.05);
  z-index: 100;
  list-style: none;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-link,
.dropdown-menu a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--silver-200);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}
.dropdown-link:hover,
.dropdown-menu a:hover {
  color: var(--white);
  background: rgba(0, 180, 216, 0.1);
  padding-left: 1.25rem;
}

/* Nav CTA */
.nav-cta {
  margin-left: 1.25rem;
  padding: 0.6rem 1.5rem !important;
  font-size: 0.85rem !important;
  flex-shrink: 0;
}

/* Mobile Menu Toggle - supports both .menu-toggle and .mobile-menu-toggle */
.menu-toggle,
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  padding: 0.5rem;
  border: none;
  z-index: 1001;
}
.menu-toggle span,
.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.menu-toggle.active span:nth-child(1),
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2),
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3),
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================================
   8. HERO SECTION
   =========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--dark) 0%, var(--navy-800) 35%, var(--navy-700) 65%, var(--navy-600) 100%);
}

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 700px at 70% 50%, rgba(0, 180, 216, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 25% 70%, rgba(0, 180, 216, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 80% 20%, rgba(0, 119, 182, 0.05) 0%, transparent 70%);
  animation: heroGradientShift 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGradientShift {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
  pointer-events: none;
}

/* Noise / grain texture overlay */
.hero-grid,
.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 2rem;
}

.hero-content {
  max-width: 620px;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  background: var(--cyan-100);
  border: 1px solid var(--cyan-300);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-accent);
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--blue-accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--blue-glow);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--blue-glow); }
  50% { opacity: 0.5; transform: scale(1.6); box-shadow: 0 0 16px var(--blue-glow-intense); }
}

/* Hero Title */
.hero-title {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.highlight {
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--blue-light) 50%, var(--blue-accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 4s ease-in-out infinite;
}

@keyframes gradientText {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Hero Description */
.hero-description {
  font-size: 1.125rem;
  color: var(--silver-300);
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero-stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-accent);
  margin-left: 2px;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--silver-400);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.cube-wireframe {
  width: 380px;
  height: 380px;
  border: 2px solid rgba(0, 180, 216, 0.2);
  border-radius: 24px;
  position: relative;
  animation: float 6s ease-in-out infinite;
  background: rgba(0, 180, 216, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cube-wireframe::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.4), transparent 40%, transparent 60%, rgba(0, 180, 216, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cube-wireframe::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse at center, rgba(0, 180, 216, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo-stacked {
  width: 240px;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 30px rgba(0, 180, 216, 0.25));
  position: relative;
  z-index: 2;
}

/* Floating Tags */
.floating-tag {
  position: absolute;
  padding: 0.55rem 1.1rem;
  background: rgba(10, 22, 40, 0.9);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--silver-200);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 3;
  transition: border-color 0.3s ease;
}
.floating-tag:hover {
  border-color: var(--blue-accent);
}

.floating-tag-1, .floating-tag.tag-1 {
  top: 5%;
  right: -12%;
  animation: float 5s ease-in-out infinite;
}
.floating-tag-2, .floating-tag.tag-2 {
  bottom: 18%;
  left: -15%;
  animation: float 7s ease-in-out 1s infinite;
}
.floating-tag-3, .floating-tag.tag-3 {
  top: 35%;
  left: -10%;
  animation: float 6s ease-in-out 0.5s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ===========================================
   9. SERVICES SECTION
   =========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-card {
  display: block;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-light), var(--blue-accent));
  background-size: 200% auto;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(0, 180, 216, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.25),
    0 0 30px rgba(0, 180, 216, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: inherit;
}
.service-card:hover::before {
  opacity: 1;
  animation: gradientSlide 2s linear infinite;
}
.service-card:hover::after {
  opacity: 1;
}

@keyframes gradientSlide {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan-100), var(--cyan-200));
  border: 1px solid rgba(0, 180, 216, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--cyan-200), rgba(0, 180, 216, 0.25));
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.15);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-description {
  color: var(--silver-300);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-tag {
  padding: 0.25rem 0.8rem;
  background: var(--cyan-100);
  border: 1px solid rgba(0, 180, 216, 0.12);
  border-radius: 100px;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-accent);
  transition: var(--transition);
}
.service-card:hover .service-link {
  color: var(--blue-light);
  gap: 0.25rem;
}

/* ===========================================
   10. STATS BAR
   =========================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3.5rem 2.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  position: relative;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), transparent 40%, transparent 60%, rgba(0, 180, 216, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.stat-item {
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.6rem;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--white), var(--silver-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-number .accent {
  color: var(--blue-accent);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--silver-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ===========================================
   11. PROCESS / HOW IT WORKS
   =========================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Animated gradient connecting line */
.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-light), var(--blue-accent));
  background-size: 200% auto;
  opacity: 0.35;
  animation: processLine 4s linear infinite;
}

@keyframes processLine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.process-step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  border: 2px solid var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-accent);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.1);
  transition: var(--transition);
}
.process-step:hover .process-number {
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-deep));
  color: var(--white);
  box-shadow: 0 0 30px rgba(0, 180, 216, 0.3);
  transform: scale(1.1);
}

.process-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--white);
}

.process-description {
  font-size: 0.9rem;
  color: var(--silver-400);
  line-height: 1.7;
}

/* ===========================================
   12. PORTFOLIO
   =========================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.portfolio-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--glass-border-hover);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 25px rgba(0, 180, 216, 0.08);
}

.portfolio-image {
  height: 240px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.portfolio-emoji {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-emoji {
  transform: scale(1.15) rotate(-3deg);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 60%);
  pointer-events: none;
}

.portfolio-content {
  padding: 1.75rem;
}

.portfolio-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.portfolio-description {
  color: var(--silver-400);
  font-size: 0.9rem;
  line-height: 1.7;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.15rem;
  flex-wrap: wrap;
}

.portfolio-tag {
  padding: 0.22rem 0.7rem;
  background: var(--cyan-100);
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--blue-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===========================================
   13. CAPABILITIES / EQUIPMENT
   =========================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.capability-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.capability-item:hover {
  border-color: var(--glass-border-hover);
  background: rgba(15, 31, 61, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.capability-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan-100), var(--cyan-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  font-size: 1.15rem;
  transition: var(--transition);
}
.capability-item:hover .capability-icon {
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.2);
}

.capability-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 0.15rem;
}

.capability-desc {
  font-size: 0.8rem;
  color: var(--silver-400);
  display: block;
}

/* Capability groups (about page) */
.capability-group {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2.5rem;
}
.capability-group h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.capability-list {
  list-style: none;
}
.capability-list li {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.capability-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.capability-list .capability-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.capability-list .capability-desc {
  font-size: 0.85rem;
  color: var(--silver-400);
  line-height: 1.6;
}

/* ===========================================
   14. TESTIMONIALS
   =========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2.25rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Quote decoration */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  font-size: 5rem;
  line-height: 1;
  color: rgba(0, 180, 216, 0.07);
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 180, 216, 0.05);
}

.testimonial-stars {
  color: var(--warning);
  font-size: 1rem;
  margin-bottom: 1.15rem;
  letter-spacing: 0.12em;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--silver-200);
  line-height: 1.85;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-700));
  border: 2px solid rgba(0, 180, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue-accent);
  flex-shrink: 0;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--silver-400);
  margin-top: 0.15rem;
}

/* ===========================================
   15. CTA SECTION
   =========================================== */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 50%, var(--navy-800) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 50% 50%, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--white), var(--silver-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--silver-300);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================================
   16. PAGE HEADER (INNER PAGES)
   =========================================== */
.page-header {
  padding: 10rem 0 4.5rem;
  background: linear-gradient(160deg, var(--dark) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 60%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 60%, black 20%, transparent 70%);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 80%, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .container {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--white), var(--silver-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header p,
.page-header-subtitle {
  font-size: 1.125rem;
  color: var(--silver-300);
  max-width: 640px;
  line-height: 1.85;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--silver-400);
  margin-bottom: 1.5rem;
}
.breadcrumbs a {
  color: var(--silver-400);
  transition: var(--transition);
}
.breadcrumbs a:hover {
  color: var(--blue-accent);
}
.breadcrumbs .sep,
.breadcrumb-separator {
  opacity: 0.4;
  font-size: 0.9rem;
}
.breadcrumb-current {
  color: var(--silver-200);
}

/* ===========================================
   17. ABOUT PAGE
   =========================================== */
.about-story,
.about-values,
.about-capabilities {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
}

.about-image {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  position: relative;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), transparent 50%, rgba(0, 180, 216, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.about-image img {
  width: 65%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0, 180, 216, 0.15));
}

.about-content {
  color: var(--silver-300);
}
.about-content .section-label {
  display: inline-block;
}
.about-content h2 {
  margin: 0.75rem 0 1.5rem;
}
.about-content p {
  margin-bottom: 1.25rem;
  line-height: 1.85;
  font-size: 0.98rem;
}

/* Values Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 1rem;
}

.value-card {
  padding: 2.25rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.value-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 180, 216, 0.05);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.value-card p {
  color: var(--silver-300);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* ===========================================
   18. CONTACT PAGE
   =========================================== */
.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-info {
  padding-top: 0.5rem;
}
.contact-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.contact-info > p {
  color: var(--silver-300);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-size: 0.98rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-detail,
.contact-detail-item {
  display: flex;
  gap: 1.15rem;
  padding: 1.15rem 0;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.contact-detail:last-child,
.contact-detail-item:last-child {
  border-bottom: none;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-100), var(--cyan-200));
  border: 1px solid rgba(0, 180, 216, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  font-size: 1.2rem;
  transition: var(--transition);
}
.contact-detail-item:hover .contact-detail-icon {
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.15);
}

.contact-detail-item strong,
.contact-detail h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
  display: block;
}
.contact-detail-item p,
.contact-detail p {
  color: var(--silver-300);
  font-size: 0.9rem;
  margin: 0;
}
.contact-detail-item p a {
  color: var(--silver-300);
}
.contact-detail-item p a:hover {
  color: var(--blue-accent);
}

.contact-social {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-social h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.75rem;
  position: relative;
}
.contact-form-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), transparent 40%, transparent 60%, rgba(0, 180, 216, 0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.35rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver-200);
  margin-bottom: 0.55rem;
}
.form-group .required {
  color: var(--blue-accent);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--silver-400);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1), 0 0 20px rgba(0, 180, 216, 0.05);
  background: rgba(10, 22, 40, 0.8);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%237c8490'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option {
  background: var(--navy-800);
  color: var(--white);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

/* File Upload */
.file-upload {
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 2.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(10, 22, 40, 0.3);
}
.file-upload:hover {
  border-color: var(--blue-accent);
  background: rgba(0, 180, 216, 0.04);
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.05);
}

.file-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.file-upload-icon {
  font-size: 2rem;
  opacity: 0.6;
}

.file-upload-text {
  color: var(--silver-300);
  font-size: 0.9rem;
}

.file-upload-browse {
  color: var(--blue-accent);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.file-upload-browse:hover {
  color: var(--blue-light);
  text-decoration: underline;
}

.file-upload-formats,
.file-upload .formats {
  font-size: 0.75rem;
  color: var(--silver-400);
  margin-top: 0.25rem;
}

/* ===========================================
   19. FAQ SECTION
   =========================================== */
.faq-section {
  position: relative;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}
.faq-item.active {
  border-color: var(--glass-border-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.65rem;
  background: none;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}
.faq-question:hover {
  background: rgba(0, 180, 216, 0.04);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--blue-accent);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 1.65rem 1.4rem;
  color: var(--silver-300);
  line-height: 1.85;
  font-size: 0.95rem;
}

/* ===========================================
   20. BLOG CARDS
   =========================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.blog-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 180, 216, 0.05);
}

.blog-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.75rem;
}
.blog-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}
.blog-content p {
  color: var(--silver-400);
  font-size: 0.9rem;
  line-height: 1.7;
}

.blog-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: var(--cyan-100);
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

/* ===========================================
   21. NEWSLETTER SECTION
   =========================================== */
.newsletter-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  position: relative;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 50%, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
}
.newsletter-section h2 {
  margin-bottom: 0.75rem;
}
.newsletter-section p {
  color: var(--silver-300);
  margin-bottom: 2rem;
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.1rem;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-size: 0.95rem;
}
.newsletter-form input:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
  outline: none;
}

/* ===========================================
   22. FOOTER
   =========================================== */
.footer {
  background: var(--dark);
  padding: 4.5rem 0 2rem;
  position: relative;
}
/* Subtle gradient top border */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-accent), var(--blue-light), var(--blue-accent), transparent);
  opacity: 0.4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  max-width: 360px;
}
.footer-brand p,
.footer-description {
  color: var(--silver-400);
  font-size: 0.9rem;
  margin-top: 1.15rem;
  line-height: 1.75;
}

.footer-logo {
  display: inline-block;
}
.footer-logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.1));
  transition: var(--transition);
}
.footer-logo:hover img {
  filter: drop-shadow(0 0 12px rgba(0, 180, 216, 0.2));
}

.footer-heading,
.footer h4,
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--silver-200);
  margin-bottom: 1.35rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.65rem;
}
.footer-links a {
  color: var(--silver-400);
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue-accent);
  transition: width 0.3s ease;
}
.footer-links a:hover {
  color: var(--blue-accent);
}
.footer-links a:hover::after {
  width: 100%;
}

/* Footer Contact Info */
.footer-contact {
  list-style: none;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--silver-400);
}
.footer-contact a {
  color: var(--silver-400);
  transition: var(--transition);
}
.footer-contact a:hover {
  color: var(--blue-accent);
}

.footer-contact-icon,
.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 180, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Social Links */
.social-links,
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-300);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
}
.social-link:hover {
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-deep));
  border-color: var(--blue-accent);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.2);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--silver-400);
}

.footer-legal {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer-legal a {
  color: var(--silver-400);
  transition: var(--transition);
}
.footer-legal a:hover {
  color: var(--blue-accent);
}
.footer-legal span {
  opacity: 0.3;
}

/* ===========================================
   23. SCROLL REVEAL ANIMATIONS
   =========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  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);
}

/* Staggered delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Alternative delay system */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ===========================================
   24. CARD TILT / PARALLAX HOVER EFFECT (CSS-only)
   =========================================== */
.service-card,
.portfolio-card,
.testimonial-card,
.value-card,
.blog-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ===========================================
   25. ANIMATED GRADIENT BORDERS (KEY ELEMENTS)
   =========================================== */
@keyframes borderGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.contact-form-wrapper::before,
.stats-bar::before {
  background-size: 300% 300%;
  animation: borderGradient 6s ease infinite;
}

/* ===========================================
   26. NUMBER COUNTER ANIMATION SUPPORT
   =========================================== */
.stat-number,
.hero-stat-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* Counting animation state */
.counting {
  animation: countPulse 0.1s steps(1) infinite;
}

@keyframes countPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* ===========================================
   27a. BLOG PAGE STYLES (extracted from blog.html)
   =========================================== */

/* Featured Post */
.blog-featured {
  padding: 4rem 0;
  background: var(--navy-900);
}
.featured-card {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 40%, var(--navy-600) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-light));
}
.featured-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 300px at 80% 20%, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.featured-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dark);
  background: var(--blue-accent);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.featured-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-accent);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-left: 0.75rem;
}
.featured-card h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.featured-card .featured-excerpt {
  font-size: 1.1rem;
  color: var(--silver-300);
  max-width: 700px;
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.featured-date {
  font-size: 0.85rem;
  color: var(--silver-400);
}
.featured-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--blue-accent);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.featured-read-more:hover {
  color: var(--blue-light);
  gap: 0.75rem;
}

/* Blog Grid Section */
.blog-grid-section {
  padding: 5rem 0;
  background: var(--dark);
}

/* Blog Card Image Gradients */
.blog-card-image {
  height: 200px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1.25rem;
  position: relative;
}
.blog-card-image.gradient-1 {
  background: linear-gradient(135deg, #0a2342 0%, #1a3a5c 50%, #0f4c75 100%);
}
.blog-card-image.gradient-2 {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.blog-card-image.gradient-3 {
  background: linear-gradient(135deg, #141e30 0%, #1a2a3a 50%, #243b55 100%);
}
.blog-card-image.gradient-4 {
  background: linear-gradient(135deg, #0a192f 0%, #112240 50%, #1d3461 100%);
}
.blog-card-image.gradient-5 {
  background: linear-gradient(135deg, #1b1b2f 0%, #1a1a40 50%, #2d2b55 100%);
}
.blog-card-image.gradient-6 {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #2c3e50 100%);
}
.blog-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-accent);
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.blog-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-date {
  font-size: 0.8rem;
  color: var(--silver-400);
  margin-bottom: 0.65rem;
}
.blog-card-content h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}
.blog-card:hover .blog-card-content h3 {
  color: var(--blue-accent);
}
.blog-card-content p {
  color: var(--silver-400);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-accent);
  transition: var(--transition);
}
.blog-card-link:hover {
  color: var(--blue-light);
  gap: 0.65rem;
}

/* Newsletter Content (blog page) */
.newsletter-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.newsletter-content h2 {
  margin-bottom: 1rem;
}
.newsletter-content p {
  color: var(--silver-300);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: rgba(15, 31, 61, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
}
.newsletter-form input[type="email"]::placeholder {
  color: var(--silver-400);
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}
.newsletter-form .btn {
  flex-shrink: 0;
}

/* ===========================================
   27b. PORTFOLIO PAGE STYLES (extracted from portfolio.html)
   =========================================== */

/* Portfolio Filter Bar */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-light);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.filter-btn:hover {
  background: rgba(0, 180, 216, 0.15);
  border-color: rgba(0, 180, 216, 0.35);
  color: var(--white);
}
.filter-btn.active {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  color: var(--dark);
}

/* Portfolio Card Visibility */
.portfolio-card.hidden {
  display: none;
}

/* Portfolio Image Emoji/Symbol */
.portfolio-image .portfolio-symbol {
  font-size: 4.5rem;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 20px rgba(0, 180, 216, 0.3));
}

/* Stats Section Styling */
.portfolio-stats {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ===========================================
   27c. LEGAL PAGES (Privacy Policy / Terms of Service)
   =========================================== */
.legal-content {
  max-width: 840px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.legal-content h2:first-of-type {
  margin-top: 0;
}
.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.legal-content p {
  color: var(--silver-300);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}
.legal-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--silver-300);
  font-size: 0.95rem;
  line-height: 1.75;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--blue-accent);
  border-radius: 50%;
}
.legal-content ul li strong {
  color: var(--silver-100);
}
.legal-content a {
  color: var(--blue-accent);
  transition: var(--transition);
}
.legal-content a:hover {
  color: var(--blue-light);
}
.legal-updated {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--silver-400);
  padding: 0.4rem 1rem;
  background: rgba(0, 180, 216, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.12);
  border-radius: 100px;
  margin-bottom: 2.5rem;
}

/* ===========================================
   27d. SHOP / EQUIPMENT PAGE
   =========================================== */
.shop-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.shop-intro p {
  color: var(--silver-300);
  font-size: 1.05rem;
  line-height: 1.7;
}
.shop-intro .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.shop-filter-btn {
  padding: 0.6rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--silver-300);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.shop-filter-btn:hover {
  border-color: var(--glass-border-hover);
  color: var(--silver-100);
}
.shop-filter-btn.active {
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-deep));
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-light), var(--blue-deep));
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.product-card:hover::before {
  opacity: 1;
}
.product-card.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.product-category-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  background: rgba(0, 180, 216, 0.1);
  color: var(--blue-accent);
  border: 1px solid rgba(0, 180, 216, 0.15);
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
.product-price .price-note {
  font-size: 0.8rem;
  font-weight: 400;
  -webkit-text-fill-color: var(--silver-400);
  color: var(--silver-400);
}

.product-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-specs li {
  font-size: 0.85rem;
  color: var(--silver-300);
  padding-left: 1.25rem;
  position: relative;
}
.product-specs li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-weight: 700;
  font-size: 0.75rem;
}

.product-description {
  font-size: 0.9rem;
  color: var(--silver-400);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Materials Pricing Table */
.materials-section {
  margin-top: 4rem;
}
.materials-table-wrapper {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.materials-table {
  width: 100%;
  border-collapse: collapse;
}
.materials-table thead {
  background: rgba(0, 180, 216, 0.08);
}
.materials-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-accent);
  border-bottom: 1px solid var(--glass-border);
}
.materials-table td {
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  color: var(--silver-200);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.materials-table tbody tr:hover {
  background: rgba(0, 180, 216, 0.03);
}
.materials-table .material-name {
  font-weight: 600;
  color: var(--silver-100);
}
.materials-table .material-price {
  font-weight: 600;
  color: var(--blue-accent);
}

/* ===========================================
   27. RESPONSIVE DESIGN
   =========================================== */

/* ---- Large Tablets / Small Desktops ---- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-visual {
    display: none;
  }
  .hero-stats {
    justify-content: center;
  }
  .btn-group {
    justify-content: center;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .process-grid::before {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ---- Tablets ---- */
@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }
  .container {
    padding: 0 1.25rem;
  }

  /* Navigation goes mobile */
  .nav-links,
  .nav-menu {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .menu-toggle,
  .mobile-menu-toggle {
    display: flex;
  }

  /* Mobile menu open state */
  .nav-links.open,
  .nav-menu.open,
  .nav.open .nav-links,
  .nav.open .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2rem;
    gap: 0.35rem;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open a,
  .nav-menu.open a,
  .nav-links.open .nav-link,
  .nav-menu.open .nav-link {
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: block;
  }
  .nav-links.open a::after,
  .nav-menu.open a::after,
  .nav-links.open .nav-link::after,
  .nav-menu.open .nav-link::after {
    display: none;
  }

  /* Mobile dropdown */
  .dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(0, 180, 216, 0.04);
    border: none;
    box-shadow: none;
    padding: 0.25rem 0 0.25rem 1.25rem;
    min-width: auto;
    display: none;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 2.5rem 2rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 8rem 0 3rem;
  }

  /* Blog page responsive */
  .featured-card {
    padding: 2rem;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-form .btn {
    width: 100%;
    justify-content: center;
  }

  /* Shop responsive */
  .product-grid {
    grid-template-columns: 1fr;
  }
  .shop-filters {
    gap: 0.5rem;
  }
  .shop-filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .materials-table {
    font-size: 0.8rem;
  }
  .materials-table th,
  .materials-table td {
    padding: 0.65rem 0.75rem;
  }
}

/* ---- Small Phones ---- */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.65rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .btn-group {
    flex-direction: column;
  }
  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .cta-buttons .btn {
    width: 100%;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }

  .service-card,
  .testimonial-card,
  .value-card {
    padding: 1.75rem;
  }

  .contact-form-wrapper {
    padding: 1.75rem;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

/* ===========================================
   28. PRINT STYLES
   =========================================== */
@media print {
  .header,
  .footer,
  .cta-section,
  .cursor-dot,
  .loading-screen {
    display: none !important;
  }
  body {
    background: white;
    color: #333;
  }
  .section {
    padding: 2rem 0;
  }
  a {
    color: #333;
    text-decoration: underline;
  }
}

/* ===========================================
   29. ACCESSIBILITY / REDUCED MOTION
   =========================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===========================================
   30. FOCUS STYLES (Keyboard Navigation)
   =========================================== */
:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.2);
}

/* ===========================================
   FIN. MAVTECH DESIGNS PREMIUM STYLESHEET
   =========================================== */
