/* ============================================
   EzCRO Inc. - Shared Stylesheet
   Clinical Research Organization Network
   Modern Motion Design Edition
   ============================================ */

/* CSS Variables - Brand Colors */
:root {
  --primary-navy: #1B2A4A;
  --accent-teal: #0E7C7B;
  --accent-gold: #D4A843;
  --light-gray: #F0F4F8;
  --charcoal: #2D2D2D;
  --white: #FFFFFF;
  --dark-navy: #121d33;
  --teal-dark: #0a5e5d;
  --gold-dark: #b89235;
  --teal-glow: rgba(14, 124, 123, 0.3);
  --gold-glow: rgba(212, 168, 67, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */

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

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

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

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

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

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

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

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

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

@keyframes borderGlow {
  0%, 100% { box-shadow: 0 0 5px var(--teal-glow), 0 0 10px var(--teal-glow); }
  50% { box-shadow: 0 0 20px var(--teal-glow), 0 0 30px var(--teal-glow); }
}

@keyframes underlineGrow {
  from { width: 0; }
  to { width: 100%; }
}

/* ============================================
   SCROLL ANIMATION CLASSES
   ============================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.animate-fade {
  opacity: 0;
  transition: opacity 1s ease;
}

.animate-fade.animated {
  opacity: 1;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-scale.animated {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays for children */
.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.6s; }

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

h1 { 
  font-size: clamp(2rem, 5vw, 3.5rem); 
  animation: fadeInUp 0.8s ease forwards;
}

h2 { 
  font-size: clamp(1.75rem, 4vw, 2.5rem); 
}

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

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

p {
  margin-bottom: 1rem;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.7;
}

a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

a:hover {
  color: var(--accent-gold);
}

/* Animated underline for links */
a.animated-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
  transition: width 0.3s ease;
}

a.animated-link:hover::after {
  width: 100%;
}

/* Data/Stats Font */
.stat-number {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  color: var(--accent-teal);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: fadeIn 0.6s ease forwards;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo svg {
  width: 40px;
  height: 44px;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo:hover svg {
  transform: rotate(5deg);
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-navy), var(--accent-teal));
  margin: 5px 0;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 2px;
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeIn 0.8s ease 0.2s forwards;
  opacity: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  overflow: hidden;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.nav-links a:hover {
  color: var(--primary-navy);
  transform: translateY(-2px);
}

/* CTA Button in Nav */
.nav-cta {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--gold-dark) 100%);
  background-size: 200% 200%;
  color: var(--white) !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 168, 67, 0.4);
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 50%, var(--primary-navy) 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  color: var(--white);
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(14, 124, 123, 0.15) 50%, transparent 100%);
  pointer-events: none;
  animation: shimmer 8s linear infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, rgba(27, 42, 74, 0.3), transparent);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 900px;
  animation: fadeInUp 0.8s ease forwards;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subheadline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 800px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

/* Floating decorative elements */
.hero-decoration {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 124, 123, 0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero-decoration-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.hero-decoration-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  right: 15%;
  animation-delay: 2s;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--gold-dark) 100%);
  background-size: 200% 200%;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.35);
}

.btn-primary:hover {
  background-position: 100% 0;
  color: var(--white);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 35px rgba(212, 168, 67, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  position: relative;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50px;
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-navy);
  border-color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover::after {
  opacity: 1;
}

.btn-teal {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(14, 124, 123, 0.3);
}

.btn-teal:hover {
  background-position: 100% 0;
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(14, 124, 123, 0.4);
}

/* Button press effect */
.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
  background: linear-gradient(135deg, var(--light-gray) 0%, #e8eef5 100%);
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

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

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  display: block;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: countUp 0.8s ease forwards;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.5;
  font-weight: 500;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.section {
  padding: 5rem 1.5rem;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-alt {
  background: linear-gradient(135deg, var(--light-gray) 0%, #e8eef5 100%);
}

.section-heading {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--accent-teal);
  margin-bottom: 0.75rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
}

.section-title {
  margin-bottom: 1.5rem;
  position: relative;
}

/* ============================================
   CARDS
   ============================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 1);
}

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

.card h3 {
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: var(--accent-teal);
}

.card p {
  color: var(--charcoal);
  line-height: 1.8;
}

/* Card icon styling */
.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--teal-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
  transition: all 0.4s ease;
}

.card:hover .card-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(14, 124, 123, 0.3);
}

/* ============================================
   CALLOUT STRIPS
   ============================================ */

.callout-strip {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--teal-dark) 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.callout-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: float 8s ease-in-out infinite;
}

.callout-strip-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.callout-strip p {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.7;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.track-record-strip {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.track-record-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4a843' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.track-record-strip h3 {
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.track-record-strip p {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.95;
  max-width: 900px;
  margin: 0 auto;
}

/* ============================================
   BOTTOM CTA SECTION
   ============================================ */

.bottom-cta {
  background: linear-gradient(135deg, var(--light-gray) 0%, #e8eef5 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bottom-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(14, 124, 123, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(212, 168, 67, 0.05) 0%, transparent 50%);
}

.bottom-cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.bottom-cta h2 {
  margin-bottom: 1rem;
}

.bottom-cta p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: rgba(45, 45, 45, 0.8);
}

.bottom-cta .contact-info {
  margin-top: 2rem;
  color: var(--charcoal);
}

/* ============================================
   CONTENT PAGES STYLES
   ============================================ */

.content-section {
  padding: 4rem 1.5rem;
}

.content-section h2 {
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
}

.content-section p {
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.content-block {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border-left: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.content-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-teal), var(--accent-gold));
}

.content-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.content-block h4 {
  color: var(--accent-teal);
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

/* Cost Callout */
.cost-callout {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
  color: var(--white);
  padding: 3rem;
  border-radius: 20px;
  margin: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(27, 42, 74, 0.2);
}

.cost-callout::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 60%);
}

.cost-callout p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Service Sections */
.service-section {
  padding: 5rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-section:nth-child(even) {
  background: linear-gradient(135deg, var(--light-gray) 0%, #e8eef5 100%);
}

.service-header {
  margin-bottom: 2.5rem;
}

.service-number {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(14, 124, 123, 0.3);
}

.service-section h2 {
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
}

.service-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--charcoal);
  max-width: 900px;
}

.sub-section {
  margin: 2.5rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 3px solid var(--accent-gold);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 12px 12px 0;
  transition: all 0.4s ease;
}

.sub-section:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.sub-section h4 {
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

/* Lists */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.feature-list li {
  padding: 0.875rem 0 0.875rem 2.5rem;
  position: relative;
  line-height: 1.7;
  transition: all 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(5px);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--teal-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 4px 10px rgba(14, 124, 123, 0.3);
}

/* Performance List */
.performance-list {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.performance-list li {
  padding: 1rem 0 1rem 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.performance-list li:hover {
  background: rgba(14, 124, 123, 0.03);
  border-radius: 8px;
}

.performance-list li:last-child {
  border-bottom: none;
}

.performance-list li strong {
  color: var(--accent-teal);
}

/* Phase Cards */
.phase-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.phase-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 20px;
  border-top: none;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.phase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-gold));
}

.phase-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.phase-card h4 {
  color: var(--accent-teal);
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* Affiliate Cards */
.affiliate-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  margin: 1.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.affiliate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.affiliate-card h4 {
  color: var(--accent-teal);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Leadership Placeholder */
.leadership-placeholder {
  background: linear-gradient(135deg, var(--light-gray) 0%, #e8eef5 100%);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  color: var(--charcoal);
  font-style: italic;
  margin: 2.5rem 0;
  border: 2px dashed rgba(14, 124, 123, 0.2);
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-navy);
  transition: color 0.3s ease;
}

.form-group:focus-within label {
  color: var(--accent-teal);
}

.form-group label .required {
  color: var(--accent-gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e8ecf2;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 4px rgba(14, 124, 123, 0.1);
  transform: translateY(-2px);
}

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

.form-submit {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--gold-dark) 100%);
  background-size: 200% 200%;
  color: var(--white);
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.35);
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.form-submit:hover::before {
  left: 100%;
}

.form-submit:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 168, 67, 0.45);
}

.form-submit:active {
  transform: translateY(-1px);
}

.form-confirmation {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  margin-top: 2rem;
  display: none;
  animation: scaleIn 0.5s ease;
  box-shadow: 0 15px 40px rgba(14, 124, 123, 0.3);
}

.form-confirmation.show {
  display: block;
}

/* Direct Contact Section */
.direct-contact {
  background: linear-gradient(135deg, var(--light-gray) 0%, #e8eef5 100%);
  padding: 4rem 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.direct-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(14, 124, 123, 0.05) 0%, transparent 40%);
}

.direct-contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.direct-contact h3 {
  color: var(--primary-navy);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: left;
}

.contact-detail-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  transition: all 0.4s ease;
}

.contact-detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.contact-detail-item h4 {
  color: var(--accent-teal);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.contact-detail-item p {
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
  color: var(--white);
  padding: 5rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

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

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.footer-column h4 {
  color: var(--accent-gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-column p,
.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
  transition: all 0.3s ease;
}

.footer-column a {
  display: inline-block;
  position: relative;
}

.footer-column a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent-gold);
}

.footer-column a:hover::after {
  width: 100%;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-block;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(5px);
}

.footer-tagline {
  font-style: italic;
  color: var(--accent-gold);
  margin: 1rem 0;
  font-size: 1.05rem;
}

.footer-bottom {
  max-width: 1400px;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

/* Tablet and below */
@media (max-width: 992px) {
  .header-container {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 1rem;
    animation: fadeIn 0.4s ease;
  }

  .nav.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .nav-links a {
    padding: 0.75rem 0;
    display: block;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    width: 100%;
  }

  .hero {
    padding: 4rem 1.5rem;
    min-height: auto;
  }

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

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-decoration {
    display: none;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 1.25rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-details {
    text-align: center;
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 1rem;
  }

  .card {
    padding: 1.75rem;
  }

  .phase-cards {
    grid-template-columns: 1fr;
  }

  .cost-callout {
    padding: 2rem;
  }

  .performance-list {
    padding: 1.5rem;
  }
}

/* Large screens */
@media (min-width: 1400px) {
  .hero {
    padding: 7rem 2rem;
  }

  .section {
    padding: 6rem 2rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

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

/* Glass morphism effect */
.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow effects */
.glow-teal {
  box-shadow: 0 0 20px var(--teal-glow);
}

.glow-gold {
  box-shadow: 0 0 20px var(--gold-glow);
}

/* Smooth image hover */
.img-hover-zoom {
  overflow: hidden;
}

.img-hover-zoom img {
  transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
  transform: scale(1.1);
}

/* ============================================
   IMAGES & VISUAL CONTENT
   ============================================ */

/* Hero with background image */
.hero-with-image {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.92) 0%, rgba(27, 42, 74, 0.75) 50%, rgba(14, 124, 123, 0.4) 100%);
  z-index: 1;
}

/* Hero text styling for image background */
.hero-with-image .hero-container h1 {
  color: #FFFFFF !important;
  text-shadow: 0 3px 25px rgba(0, 0, 0, 0.6);
}

.hero-with-image .hero-container .hero-subheadline {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* Image sections */
.image-section {
  position: relative;
  padding: 5rem 1.5rem;
  overflow: hidden;
}

.image-section-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.image-section.reverse .image-section-container {
  direction: rtl;
}

.image-section.reverse .image-section-container > * {
  direction: ltr;
}

.section-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.section-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 124, 123, 0.1) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.section-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-image-wrapper:hover .section-image {
  transform: scale(1.05);
}

.section-content {
  padding: 1rem 0;
}

/* Full width image banner */
.image-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
}

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

.image-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(27, 42, 74, 0.85) 0%, rgba(27, 42, 74, 0.4) 100%);
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.image-banner-content {
  max-width: 600px;
  color: white;
}

.image-banner-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.image-banner-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Card with image */
.card-with-image {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-with-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-with-image .card-body {
  padding: 1.5rem;
}

/* Responsive images */
@media (max-width: 992px) {
  .image-section-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .image-section.reverse .image-section-container {
    direction: ltr;
  }
  
  .section-image {
    height: 300px;
  }
  
  .image-banner {
    height: 300px;
  }
  
  .image-banner-content h2 {
    font-size: 1.8rem;
  }
}

/* ============================================
   MOTION PICTURES & VISUAL ELEMENTS
   ============================================ */

/* Animated blob shapes */
.motion-blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-gold) 100%);
  opacity: 0.15;
  filter: blur(40px);
  animation: blob 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.motion-blob-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  right: -100px;
}

.motion-blob-2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: -80px;
  animation-delay: -5s;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-teal) 100%);
}

.motion-blob-3 {
  width: 250px;
  height: 250px;
  top: 50%;
  right: 10%;
  animation-delay: -10s;
  opacity: 0.1;
}

/* Animated rings */
.motion-ring {
  position: absolute;
  border: 2px solid rgba(14, 124, 123, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.motion-ring-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 15%;
  animation: pulse-ring 4s ease-out infinite;
}

.motion-ring-2 {
  width: 300px;
  height: 300px;
  top: 15%;
  right: 10%;
  animation: pulse-ring 4s ease-out infinite;
  animation-delay: 1s;
}

/* Floating particles */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 1s; width: 4px; height: 4px; }
.particle:nth-child(3) { left: 70%; top: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 80%; top: 70%; animation-delay: 3s; width: 8px; height: 8px; }
.particle:nth-child(5) { left: 40%; top: 80%; animation-delay: 4s; width: 5px; height: 5px; }
.particle:nth-child(6) { left: 90%; top: 40%; animation-delay: 5s; }
.particle:nth-child(7) { left: 30%; top: 40%; animation-delay: 2.5s; width: 3px; height: 3px; }
.particle:nth-child(8) { left: 60%; top: 15%; animation-delay: 1.5s; }

/* Animated grid background */
.animated-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(14, 124, 123, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 124, 123, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: shimmer 20s linear infinite;
  pointer-events: none;
}

/* Visual image containers */
.visual-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.visual-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 124, 123, 0.1) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.visual-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.visual-container:hover img {
  transform: scale(1.05);
}

/* Animated dots pattern */
.dots-pattern {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, var(--accent-teal) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.1;
  animation: float 10s ease-in-out infinite;
}

/* Wave separator */
.wave-separator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-separator svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-separator .shape-fill {
  fill: var(--light-gray);
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
