@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Modern AI-Era Color Palette - Vibrant, Futuristic, Professional */
  /* Primary Backgrounds - Clean, minimal */
  --bg1: #0a0e1a;
  --bg2: #0f1419;
  --bg3: #141820;
  --card: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.08);
  
  /* Text - High contrast for readability */
  --text: #ffffff;
  --text-secondary: #b4bcc8;
  --text-muted: #8b95a6;
  --text-light: #6b7485;
  
  /* Cyan-Blue Color Theme - Matching SAM Consulting Logo */
  --accent-primary: #00c2d8;
  --accent-secondary: #06b6d4;
  --accent-dark: #0891b2;
  --accent-light: #22d3ee;
  --accent-gradient: linear-gradient(135deg, #00c2d8 0%, #06b6d4 50%, #22d3ee 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(0, 194, 216, 0.15) 0%, rgba(6, 182, 212, 0.12) 50%, rgba(34, 211, 238, 0.1) 100%);
  --accent-gradient-text: linear-gradient(135deg, #22d3ee 0%, #00c2d8 30%, #06b6d4 70%, #22d3ee 100%);
  
  /* Accent Highlights - Cyan-blue theme */
  --accent-highlight: #06b6d4;
  --accent-highlight-light: #22d3ee;
  --accent-pink: #06b6d4;
  
  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  
  /* Borders - Subtle glow effects */
  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);
  --border-dark: rgba(255, 255, 255, 0.15);
  
  /* Layout */
  --container: 1280px;
  --radius: 20px;
  --radius-sm: 16px;
  --radius-lg: 24px;
  
  /* Modern Shadows - Colored glows */
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.4), 0 4px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.5), 0 8px 16px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.6), 0 12px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(0, 194, 216, 0.3), 0 0 80px rgba(6, 182, 212, 0.2);
  
  /* Legacy compatibility */
  --accent1: #00c2d8;
  --accent2: #06b6d4;
  --muted: #8b95a6;
  --accent-secondary: #06b6d4;
}

/* Decorative elements */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content::before,
.hero-content::after {
  display: none;
}


@keyframes sparkle {
  0%, 100% { opacity: 0.15; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.3; transform: scale(1.2) rotate(180deg); }
}

/* Image hover effects */
.hero-image img {
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* Gradient text effects */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Decorative background patterns */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent1), transparent);
  opacity: 0.3;
}

/* Icon animations */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes backgroundShift {
  0% { opacity: 1; transform: scale(1) translate(0, 0); }
  100% { opacity: 0.8; transform: scale(1.05) translate(20px, 20px); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.icon-spin {
  animation: rotate 20s linear infinite;
}

/* Glow effect */
.glow {
  box-shadow: 0 0 20px rgba(0, 194, 216, 0.3);
  animation: pulse 2s ease-in-out infinite;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(180deg, #0a0e1a 0%, #0f1419 50%, #141820 100%);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Modern AI-Era Animated Background - Dynamic gradient mesh */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 194, 216, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 194, 216, 0.05) 0%, rgba(6, 182, 212, 0.03) 50%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  animation: backgroundShift 15s ease-in-out infinite alternate;
  filter: blur(60px);
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 60% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 30% 80%, rgba(0, 194, 216, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
  animation: backgroundShift 20s ease-in-out infinite alternate-reverse;
  filter: blur(80px);
  opacity: 0.6;
}

/* Animated gradient mesh background */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header - Modern Glassmorphism */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header:hover {
  background: #ffffff;
  border-bottom-color: rgba(0, 194, 216, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.logo {
  width: auto;
  height: 180px;
  min-width: 600px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  padding: 0;
}

.logo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: rotate 8s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}



.logo img {
  width: auto;
  height: 100%;
  max-height: 180px;
  position: relative;
  z-index: 2;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 11px;
  color: #6b7485;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.menu a {
  color: #4b5563;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.menu a:hover {
  color: #00c2d8;
  background: rgba(0, 194, 216, 0.1);
  transform: translateY(-2px);
}

.menu a.cta {
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 10px 24px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 194, 216, 0.4);
  margin-left: 12px;
  border: none;
}

.menu a.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 194, 216, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 40px rgba(6, 182, 212, 0.4);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  color: #1f2937;
  font-size: 24px;
  cursor: pointer;
  padding: 10px 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 101;
  position: relative;
  min-width: 44px;
  min-height: 44px;
}

.menu-toggle:hover {
  background: rgba(0, 194, 216, 0.1);
  border-color: var(--accent-primary);
}

.menu-toggle:active {
  transform: scale(0.95);
}

/* Hero Section - Modern Layout */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 194, 216, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
  z-index: 0;
}


.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.h-eyebrow {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
  padding-left: 28px;
}

.h-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--accent-gradient);
  transform: translateY(-50%);
  border-radius: 1px;
}

.h1 {
  font-size: 64px;
  line-height: 1.1;
  margin: 0 0 24px 0;
  font-weight: 900;
  letter-spacing: -2px;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Inter', sans-serif;
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

.h-sub {
  color: #e5e7eb;
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 24px;
}

.lead {
  color: #d1d5db;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Button Styles - CTA and Secondary */
.cta,
a.cta,
button.cta {
  display: inline-block;
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 194, 216, 0.4);
  position: relative;
  overflow: hidden;
}

.cta:hover,
a.cta:hover,
button.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 194, 216, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 40px rgba(6, 182, 212, 0.4);
}

.cta:active,
a.cta:active,
button.cta:active {
  transform: translateY(0);
}

.cta-secondary,
a.cta-secondary,
button.cta-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent-primary);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid var(--accent-primary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cta-secondary:hover,
a.cta-secondary:hover,
button.cta-secondary:hover {
  background: rgba(0, 194, 216, 0.1);
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 194, 216, 0.2);
}

.cta-secondary:active,
a.cta-secondary:active,
button.cta-secondary:active {
  transform: translateY(0);
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 80px rgba(0, 194, 216, 0.3);
  animation: fadeInRight 1s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-image:hover {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 120px rgba(6, 182, 212, 0.4);
  transform: translateY(-8px) scale(1.02);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 194, 216, 0.3), rgba(6, 182, 212, 0.2), transparent);
  animation: rotate 20s linear infinite;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.hero-image img {
  position: relative;
  z-index: 2;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95) contrast(1.05);
}

.hero-image:hover img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.1);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}


/* Sections */
.section {
  margin-top: 60px;
  padding: 0;
  position: relative;
}

.section:nth-of-type(even):not(.section-with-image):not(.trust-section):not(.partnership-section) {
  background: linear-gradient(180deg, rgba(0, 194, 216, 0.08) 0%, rgba(6, 182, 212, 0.05) 50%, rgba(34, 211, 238, 0.03) 100%);
  padding: 50px 24px;
  margin-left: -24px;
  margin-right: -24px;
  border-radius: 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .section:nth-of-type(even):not(.section-with-image):not(.trust-section):not(.partnership-section) {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-with-image {
    background-attachment: scroll;
    padding: 40px 20px !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
  }

  .card-image-wrapper {
    height: 180px;
  }

  .partnership-image {
    height: 200px;
  }
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding: 14px 28px;
  z-index: 1;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 194, 216, 0.5), 0 0 30px rgba(34, 211, 238, 0.3);
}

.section-header h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 26, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  border: 2px solid rgba(0, 194, 216, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 30px rgba(0, 194, 216, 0.4);
  z-index: -1;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
}



/* Remove duplicate - using enhanced version above */

.section-header p {
  font-size: 20px;
  color: #ffffff !important;
  font-weight: 600;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  padding: 20px 36px;
  background: rgba(10, 14, 26, 0.98) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 14px;
  border: 2px solid rgba(0, 194, 216, 0.4);
  display: inline-block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 20px rgba(0, 194, 216, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.3px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* Sections with background images */
.section-with-image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 24px !important;
  margin-left: -24px !important;
  margin-right: -24px !important;
  overflow: hidden;
}

.section-with-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.12;
  z-index: 0;
  filter: blur(4px) brightness(0.3) contrast(1.2);
  animation: subtleZoom 20s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.94) 0%, rgba(15, 20, 25, 0.96) 50%, rgba(10, 14, 26, 0.94) 100%);
  z-index: 1;
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
}

.section-with-image > * {
  position: relative;
  z-index: 2;
}

.section-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
  filter: blur(4px) brightness(0.35) contrast(1.2);
}

.trust-section,
.partnership-section {
  padding: 60px 24px !important;
  position: relative;
}

.trust-section::before,
.partnership-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
  filter: blur(4px) brightness(0.3) contrast(1.2);
}

.trust-section .section-overlay,
.partnership-section .section-overlay {
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.94) 0%, rgba(15, 20, 25, 0.96) 50%, rgba(10, 14, 26, 0.94) 100%);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
}

.trust-section > *,
.partnership-section > * {
  position: relative;
  z-index: 2;
}

/* Cards - Modern Glassmorphism */
.card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: 1;
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.card h4 {
  color: #ffffff;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.card p {
  color: #e5e7eb;
  font-weight: 400;
  line-height: 1.7;
}

.card p.small {
  color: #d1d5db;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
}

.card strong {
  color: #ffffff;
  font-weight: 600;
}

/* Ensure cards are readable even in sections with background images */
.section-with-image .card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-with-image .card h3,
.section-with-image .card h4 {
  color: var(--text);
  text-shadow: none;
}

.section-with-image .card p {
  color: #e5e7eb;
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--accent-gradient);
}

.card-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.card:hover .card-image-wrapper::before {
  opacity: 0.4;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.92) saturate(1.1);
}

.card:hover .card-image-wrapper img {
  transform: scale(1.12);
  filter: brightness(1) saturate(1.2);
}

.card-image-wrapper .card-icon {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  margin: 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card:hover .card-image-wrapper .card-icon {
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card > *:not(.card-image-wrapper) {
  padding: 24px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 194, 216, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 60px rgba(0, 194, 216, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.card:hover::before {
  transform: scaleX(1);
}

.card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card-image-wrapper + h3,
.card-image-wrapper + h4 {
  margin-top: 0;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.3;
}

.card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.3;
}

.card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.card .small {
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.7;
}

.card-link {
  color: var(--accent1);
  font-weight: 600;
  font-size: 15px;
  margin-top: auto;
  display: inline-block;
  transition: transform 0.3s ease;
}

.card:hover .card-link {
  transform: translateX(4px);
}

.partnership-card {
  text-align: center;
  padding: 0 !important;
  display: block;
}

.partnership-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.partnership-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.partnership-card:hover .partnership-image img {
  transform: scale(1.05);
}

.partnership-content {
  padding: 32px;
}

.partnership-card .card-icon {
  margin: 0 auto 24px;
}

/* Buttons - Enhanced styles above */

/* Images */
.hero img,
.section img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

/* Sidebar Navigation */
.side-nav {
  position: sticky;
  top: 100px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}

.anchor {
  display: block;
  padding: 12px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 14px;
  margin-bottom: 4px;
}

.anchor:hover {
  background: rgba(0, 194, 216, 0.05);
  color: var(--accent1);
  padding-left: 20px;
}

/* Footer */
.footer {
  margin-top: 80px;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(0, 194, 216, 0.1) 0%, rgba(6, 182, 212, 0.05) 50%, rgba(10, 14, 26, 0.8) 100%);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-link-group h4 {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-link-group a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 12px;
  transition: all 0.25s ease;
}

.footer-link-group a:hover {
  color: var(--accent-dark);
  padding-left: 4px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-name {
  font-weight: 700;
  font-size: 22px;
  color: var(--accent-dark);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.footer-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-copyright {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

/* Utility Classes */
.small {
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Animation classes */
.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Remove card animation delay conflicts - using scroll-based animations instead */

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 0 60px;
  }

  .h1 {
    font-size: 44px;
    line-height: 1.2;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .card {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }


  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .menu.active {
    display: flex;
    max-height: 500px;
    padding: 24px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: relative;
  }

  .logo {
    height: 120px;
    min-width: 400px;
  }

  .logo img {
    max-height: 120px;
  }

  .hero {
    padding: 40px 0 60px;
    gap: 32px;
  }

  .h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .h-sub {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .section-header p {
    font-size: 17px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card {
    padding: 28px;
  }

  .card h3 {
    font-size: 22px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .hero-actions .cta,
  .hero-actions .cta-secondary {
    text-align: center;
    width: 100%;
  }

  .section {
    margin-top: 50px;
  }

  .section-header {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .h-sub {
    font-size: 17px;
  }

  .lead {
    font-size: 15px;
  }

  .section-header h2 {
    font-size: 22px;
  }

  .section-header p {
    font-size: 16px;
  }

  .nav {
    padding: 16px 0;
  }

  .logo {
    height: 100px;
    min-width: 320px;
  }

  .logo img {
    max-height: 100px;
  }

  .hero {
    padding: 50px 0 70px;
    gap: 40px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .grid[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .card {
    padding: 24px;
  }

  .card h3 {
    font-size: 20px;
  }

  .cta,
  .cta-secondary {
    padding: 14px 24px;
    font-size: 15px;
  }

  #contactGrid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg1);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
  background: rgba(0, 194, 216, 0.02);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

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

.checkbox-group {
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent1);
}

.form-message {
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--error);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 194, 216, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 90;
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 194, 216, 0.3);
}

/* FAQ Accordion */
.faq-item {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}

.faq-item:hover {
  border-color: rgba(0, 194, 216, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

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

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--accent1);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  color: #e5e7eb;
  line-height: 1.7;
  margin: 0;
}

/* Newsletter Signup */
.newsletter {
  background: linear-gradient(135deg, rgba(0, 194, 216, 0.15), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(0, 194, 216, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.newsletter h3 {
  color: #ffffff;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 12px;
}

.newsletter p,
.newsletter .small {
  color: #e5e7eb;
  font-size: 15px;
  line-height: 1.7;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 194, 216, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  z-index: 0;
}

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

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 24px auto 0;
}

.newsletter-form input {
  flex: 1;
  background: var(--bg1);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text);
  font-size: 15px;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-dark);
  background: rgba(0, 194, 216, 0.02);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.newsletter-form button {
  padding: 14px 28px;
  white-space: nowrap;
  font-weight: 600;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0 24px 0;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.breadcrumbs a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

.breadcrumbs span {
  color: #8b95a6;
  margin: 0 4px;
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.trust-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.trust-badge:hover::before {
  transform: scaleX(1);
}

.trust-badge:hover {
  border-color: rgba(0, 194, 216, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, rgba(0, 194, 216, 0.05), rgba(0, 194, 216, 0.02));
}

.trust-badge-icon {
  font-size: 32px;
  animation: float 4s ease-in-out infinite;
}

.trust-badge-text {
  font-size: 15px;
  color: #1f2937;
  font-weight: 600;
}

/* Stats Counter */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.stat-card {
  text-align: center;
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(0, 194, 216, 0.12), rgba(6, 182, 212, 0.08));
  border: 2px solid rgba(0, 194, 216, 0.25);
  border-radius: var(--radius);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0, 194, 216, 0.2), 0 0 40px rgba(0, 194, 216, 0.1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  animation: rotate 15s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  border-color: rgba(0, 194, 216, 0.5);
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 194, 216, 0.3), 0 0 60px rgba(0, 194, 216, 0.2);
  background: linear-gradient(135deg, rgba(0, 194, 216, 0.18), rgba(6, 182, 212, 0.12));
}

.stat-number {
  font-size: 52px;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  #contactGrid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 36px;
  }

  .trust-indicators {
    gap: 16px;
  }
}
