/* ============================================
   Modern UI Enhancement Styles
   InfiniteLoop Innovations
   ============================================ */

/* CSS Variables for Modern Design System */
:root {
  /* Primary Colors - Modern Gradient Scheme */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);

  /* Solid Colors */
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #4facfe;
  --text-primary: #2d3748;
  --text-secondary: #718096;
  --text-light: #a0aec0;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f7fafc;
  --bg-dark: #1a202c;
  --bg-card: rgba(255, 255, 255, 0.7);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
  --shadow-neon: 0 0 20px rgba(102, 126, 234, 0.6);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg-primary: #1a202c;
  --bg-secondary: #2d3748;
  --bg-dark: #000000;
  --bg-card: rgba(45, 55, 72, 0.7);
  --text-primary: #f7fafc;
  --text-secondary: #e2e8f0;
  --text-light: #cbd5e0;
  --glass-bg: rgba(26, 32, 44, 0.3);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Enhanced Body Background with Gradient */
body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
  background-attachment: fixed !important;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(at 40% 20%, rgba(102, 126, 234, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(118, 75, 162, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(79, 172, 254, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 50%, rgba(102, 126, 234, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(118, 75, 162, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 100%, rgba(79, 172, 254, 0.08) 0px, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

#fh5co-wrapper,
#fh5co-page {
  position: relative;
  z-index: 1;
}

/* Dark Mode Body */
[data-theme="dark"] body {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%) !important;
}

[data-theme="dark"] body::before {
  background-image:
    radial-gradient(at 40% 20%, rgba(102, 126, 234, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(118, 75, 162, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 50%, rgba(79, 172, 254, 0.15) 0px, transparent 50%);
}

/* Loading Screen */
.modern-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s, visibility 0.5s;
}

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

.loader-content {
  text-align: center;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loader-text {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Modern Navigation Enhancement */
#fh5co-header-section {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(102, 126, 234, 0.2);
  transition: all var(--transition-base);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

#fh5co-header-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

#fh5co-header-section.scrolled {
  box-shadow: 0 10px 40px rgba(31, 38, 135, 0.1);
  background: rgba(255, 255, 255, 0.95) !important;
}

#fh5co-header-section.scrolled::after {
  opacity: 1;
}

[data-theme="dark"] #fh5co-header-section {
  background: rgba(26, 32, 44, 0.85) !important;
  border-bottom: 1px solid rgba(102, 126, 234, 0.3);
}

/* Header Top Bar Enhancement */
.header-top {
  background: var(--primary-gradient) !important;
  position: relative;
  overflow: hidden;
}

.header-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  position: fixed;
  top: 100px;
  right: 30px;
  z-index: 9998;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.dark-mode-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: var(--shadow-xl);
}

.dark-mode-toggle i {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: all var(--transition-base);
}

/* Gradient Text */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Modern Hero Section */
.fh5co-cover,
.fh5co-hero {
  position: relative;
  overflow: hidden;
}

.fh5co-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
  z-index: 1;
}

/* Animated Background Particles Container */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Enhanced Section Backgrounds */
#fh5co-feature-product,
#fh5co-services-section,
#fh5co-about,
#fh5co-contact {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] #fh5co-feature-product,
[data-theme="dark"] #fh5co-services-section,
[data-theme="dark"] #fh5co-about,
[data-theme="dark"] #fh5co-contact {
  background: rgba(26, 32, 44, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Glassmorphism Cards */
.services,
.fh5co-blog .blog-text,
.fh5co-team,
.feature-text {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

[data-theme="dark"] .services,
[data-theme="dark"] .fh5co-blog .blog-text,
[data-theme="dark"] .fh5co-team,
[data-theme="dark"] .feature-text {
  background: rgba(45, 55, 72, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Team cards need overflow visible for images */
.fh5co-team {
  overflow: visible !important;
}

/* Feature text cards - allow text to be fully visible */
.feature-text {
  padding: 30px 25px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  overflow: visible !important;
  margin-bottom: 30px;
}

.feature-text:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(102, 126, 234, 0.5);
}

.feature-text h3 {
  margin-bottom: 15px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-text p {
  line-height: 1.8;
  flex: 1;
  color: var(--text-secondary);
}

.services::before,
.fh5co-blog .blog-text::before,
.feature-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.services::after,
.fh5co-blog .blog-text::after,
.feature-text::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.6s;
  z-index: 1;
}

.services:hover::before,
.fh5co-blog .blog-text:hover::before,
.feature-text:hover::before {
  opacity: 1;
}

.services:hover::after,
.fh5co-blog .blog-text:hover::after,
.feature-text:hover::after {
  opacity: 1;
  top: 100%;
  left: 100%;
}

.services > *,
.fh5co-blog .blog-text > *,
.feature-text > * {
  position: relative;
  z-index: 2;
}

.services:hover,
.fh5co-blog:hover .blog-text {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(102, 126, 234, 0.5);
}

/* 3D Tilt Effect for Cards */
.services,
.fh5co-blog,
.fh5co-team {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Modern Button Styles */
.btn {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-full);
  font-weight: 600;
  letter-spacing: 1px;
  transition: all var(--transition-base);
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.btn:hover::before {
  opacity: 1;
}

.btn.btn-primary {
  background: var(--primary-gradient) !important;
  border: none !important;
  box-shadow: var(--shadow-md);
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--shadow-neon);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(102, 126, 234, 0);
  }
}

/* Ripple Effect for Buttons */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s;
}

.btn-ripple:active::after {
  transform: translate(-50%, -50%) scale(2);
  opacity: 0;
}

/* Decorative Section Dividers */
#fh5co-feature-product::before,
#fh5co-services-section::before,
#fh5co-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

#fh5co-feature-product::after,
#fh5co-services-section::after,
#fh5co-about::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118, 75, 162, 0.5), transparent);
}

/* Animated Section Headings */
.heading-section {
  position: relative;
  padding: 2rem 0;
}

.heading-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  animation: expand-width 2s ease-in-out infinite;
}

@keyframes expand-width {
  0%, 100% {
    width: 60px;
    opacity: 1;
  }
  50% {
    width: 100px;
    opacity: 0.7;
  }
}

.heading-section h3 {
  position: relative;
  display: inline-block;
}

.heading-section h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: width var(--transition-slow);
}

.heading-section.in-view h3::after {
  width: 100%;
}

/* Feature Icons with Gradient */
.services span i,
.feature-left .icon i {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-base);
}

.services:hover span i,
.feature-left:hover .icon i {
  transform: scale(1.2) rotate(10deg);
}

/* Modern Form Inputs */
.form-control {
  border-radius: var(--radius-md) !important;
  border: 2px solid rgba(102, 126, 234, 0.2) !important;
  padding: 1rem 1.5rem !important;
  transition: all var(--transition-base) !important;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
  transform: translateY(-2px);
}

/* Animated Stats/Numbers */
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Parallax Layers */
.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* Animated Blob Shapes */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  animation: blob-morph 7s ease-in-out infinite;
  pointer-events: none;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #667eea 0%, transparent 70%);
  top: -150px;
  right: -150px;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #764ba2 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
  animation-delay: 2s;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #4facfe 0%, transparent 70%);
  top: 50%;
  left: 50%;
  animation-delay: 4s;
}

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

/* Team Member Cards Enhancement */
.fh5co-team {
  margin-top: 60px !important; /* Extra space for the image that sits above */
}

/* Ensure parent containers don't clip the images */
.fh5co-team,
.fh5co-team .row,
.fh5co-team .container {
  overflow: visible !important;
}

.fh5co-team figure {
  z-index: 10 !important; /* Ensure image is above card */
  overflow: visible !important;
}

.fh5co-team figure img {
  transition: all var(--transition-base);
  filter: grayscale(0%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  border: 10px solid #fff !important;
}

.fh5co-team:hover figure img {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Dark mode team image border */
[data-theme="dark"] .fh5co-team figure img {
  border-color: var(--bg-secondary) !important;
}

/* Add padding to team section to prevent cutoff */
#fh5co-about .row {
  padding-top: 80px;
}

@media screen and (max-width: 768px) {
  .fh5co-team {
    margin-top: 80px !important;
    margin-bottom: 40px !important;
  }

  #fh5co-about .row {
    padding-top: 100px;
  }

  .feature-text {
    margin-bottom: 30px;
    min-height: auto;
  }
}

/* Social Icons Modern Style */
.fh5co-social-icons > a {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
  margin: 0 5px;
}

.fh5co-social-icons > a:hover {
  transform: translateY(-5px) rotate(5deg);
  box-shadow: var(--shadow-lg);
  background: var(--primary-gradient);
}

.fh5co-social-icons > a:hover i {
  color: white !important;
}

/* Modern Footer */
#footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(102, 126, 234, 0.2);
}

#footer::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

#footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
}

/* Scroll Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all var(--transition-slow);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all var(--transition-slow);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all var(--transition-slow);
}

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

.reveal-zoom {
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-slow);
}

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

/* WhatsApp Button Enhancement */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 9997;
  transition: all var(--transition-base);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--primary-gradient);
  z-index: 9999;
  transition: width 0.1s;
}

/* Image Hover Effects */
img {
  transition: all var(--transition-base);
}

img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-secondary);
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
  .dark-mode-toggle {
    width: 45px;
    height: 45px;
    top: 20px;
    left: 20px;
    right: auto;
  }

  .blob {
    opacity: 0.4;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

/* Page Transition */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--primary-gradient);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.page-transition.active {
  opacity: 1;
  visibility: visible;
}

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

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

/* Cursor Follow Effect */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.2s;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: all 0.15s;
}

/* Content Section (Orange Section) Enhancement */
#content {
  background: var(--primary-gradient) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

#content::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

#content #content-text p {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Portfolio/Mission Section Enhancement */
#fh5co-portfolio {
  position: relative;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3);
}

#fh5co-portfolio .container-fluid {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
  backdrop-filter: blur(10px);
}

/* Floating Accent Shapes */
.accent-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: float-rotate 20s ease-in-out infinite;
}

.accent-shape-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #667eea 0%, transparent 70%);
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.accent-shape-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #764ba2 0%, transparent 70%);
  bottom: 10%;
  left: 5%;
  animation-delay: 7s;
}

.accent-shape-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #4facfe 0%, transparent 70%);
  top: 50%;
  left: 50%;
  animation-delay: 14s;
}

@keyframes float-rotate {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  33% {
    transform: translate(50px, -80px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translate(-30px, 40px) rotate(240deg) scale(0.9);
  }
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700 !important;
  letter-spacing: -0.5px;
}

p {
  line-height: 1.8;
}

/* Enhanced Heading Styles */
.heading-section h3 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

/* Client Logo Section Enhancement */
.client-logos {
  padding: 3rem 0;
}

.client-logos img {
  filter: grayscale(100%) opacity(0.6);
  transition: all var(--transition-base);
  max-width: 100%;
  height: auto;
  padding: 15px;
}

.client-logos img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

/* Client logo containers */
.client-logos [class*="col-"] {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Add subtle animation on scroll */
.client-logos .reveal {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.client-logos .reveal.active {
  opacity: 1;
  transform: scale(1);
}

/* Responsive adjustments for client logos */
@media (max-width: 768px) {
  .client-logos img {
    max-width: 150px;
  }
}
