/* Dorna Media - Bold & Asymmetric Design System */

:root {
  --primary: #FFC000;
  --primary-dark: #E6AD00;
  --primary-light: #FFD633;
  --primary-ultra-light: #FFF9E6;
  --secondary: #00514B;
  --secondary-light: #006B63;
  --secondary-dark: #003A35;
  --accent: #FF6B35;
  --accent-light: #FF8C61;
  --gray-50: #FAFBFC;
  --gray-100: #F4F6F8;
  --gray-200: #E8ECF0;
  --gray-300: #D1D9E0;
  --gray-400: #9AA5B1;
  --gray-500: #6B7785;
  --gray-600: #4A5568;
  --gray-700: #2D3748;
  --gray-800: #1A202C;
  --gray-900: #0D1117;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.16);
  --gradient-primary: linear-gradient(135deg, #FFC000 0%, #FFD633 50%, #FFC000 100%);
  --gradient-primary-vibrant: linear-gradient(135deg, #FFD700 0%, #FFC000 25%, #FFD633 50%, #FFC000 75%, #FFD700 100%);
  --gradient-secondary: linear-gradient(135deg, #00514B 0%, #006B63 50%, #00514B 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 81, 75, 0.95) 0%, rgba(0, 81, 75, 0.85) 100%);
  --gradient-glow: radial-gradient(circle, rgba(255, 192, 0, 0.4) 0%, transparent 70%);
  --diagonal-bg: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 192, 0, 0.03) 10px, rgba(255, 192, 0, 0.03) 20px);
  --shadow-elegant: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Import Bold Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:wght@400;500;700&display=swap');

html {
  overflow-x: hidden;
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Manrope', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: #FAFAFA;
  overflow-x: hidden !important;
  overflow-y: auto;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  margin: 0;
  padding: 0;
  width: 129.87%;
  transform: scale(0.77);
  transform-origin: top left;
  min-height: 129.87vh;
}

/* Ensure all direct children scale properly */
body > * {
  position: relative;
  max-width: 100%;
}

/* Override for carousel to take full width */
body > .carousel {
  max-width: none !important;
  width: 129.87% !important;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 129.87%;
  height: 129.87vh;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 192, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 81, 75, 0.06) 0%, transparent 50%),
    linear-gradient(45deg, transparent 48%, rgba(255, 192, 0, 0.02) 49%, rgba(255, 192, 0, 0.02) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(0, 81, 75, 0.02) 49%, rgba(0, 81, 75, 0.02) 51%, transparent 52%);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  animation: backgroundPulse 20s ease-in-out infinite;
  transform: scale(0.77);
  transform-origin: top left;
}

@keyframes backgroundPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

body > * {
  position: relative;
  z-index: 1;
}

/* Bold Asymmetric Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Manrope', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2rem, 5vw + 0.5rem, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.75rem, 4.5vw + 0.5rem, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h3 {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

p {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.125rem);
  line-height: 1.8;
  color: var(--gray-800);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Ensure text visibility across all sections */
section h1,
section h2,
section h3,
section h4,
section h5,
section h6 {
  color: var(--secondary) !important;
}

section p,
section .text-gray-600,
section .text-gray-700 {
  color: var(--gray-800) !important;
  font-weight: 500;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Bold Asymmetric Background Patterns */
.geometric-bg {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
}

.geometric-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--primary);
  opacity: 0.08;
  transform: rotate(45deg);
  clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 0% 100%);
  z-index: 0;
  animation: floatShape 15s ease-in-out infinite;
}

.geometric-bg::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: var(--secondary);
  opacity: 0.06;
  transform: rotate(-30deg);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  z-index: 0;
  animation: floatShape 18s ease-in-out infinite reverse;
}

@keyframes floatShape {
  0%, 100% {
    transform: rotate(45deg) translate(0, 0);
  }
  50% {
    transform: rotate(50deg) translate(30px, -30px);
  }
}

/* Logo Styles */
.logo {
  height: 40px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover {
  transform: scale(1.08) rotate(-2deg);
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.9);
  transition: all 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Bold Asymmetric Navbar */
nav {
  backdrop-filter: blur(50px) saturate(200%);
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 4px solid;
  border-image: var(--gradient-primary) 1;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 32px rgba(255, 192, 0, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1000;
}

nav::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary-vibrant);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

nav::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 200px;
  height: 3px;
  background: var(--secondary);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  transition: width 0.5s;
}

nav::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 192, 0, 0.05) 0%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
  z-index: -1;
}

nav::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

nav.scrolled {
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 
    0 12px 48px rgba(255, 192, 0, 0.25),
    0 6px 24px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-bottom-width: 5px;
  backdrop-filter: blur(60px) saturate(200%);
}

nav.scrolled::before {
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}

nav.scrolled::after {
  height: 5px;
}

/* Bold Asymmetric Nav Links */
.nav-link {
  position: relative;
  padding: 10px 18px;
  color: var(--gray-800);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  overflow: visible;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 192, 0, 0.1);
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 20px;
  width: 0;
  height: 4px;
  background: var(--secondary);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--secondary) !important;
  transform: translateX(5px);
  font-weight: 800;
}

.nav-link:hover::before {
  width: 100%;
  background: rgba(255, 192, 0, 0.15);
}

.nav-link:hover::after {
  width: calc(100% - 40px);
}

.nav-link.active {
  color: var(--primary) !important;
  background: rgba(255, 192, 0, 0.15);
  font-weight: 800;
}

.nav-link.active::before {
  width: calc(100% - 32px);
}

/* Contact Button in Navbar */
.nav-link-contact {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(255, 192, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.nav-link-contact::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;
}

.nav-link-contact:hover::before {
  left: 100%;
}

.nav-link-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 192, 0, 0.4);
  background: var(--primary);
}

/* Language Toggle Button */
.lang-toggle-btn {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(255, 192, 0, 0.08);
  border: 1px solid rgba(255, 192, 0, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-toggle-btn:hover {
  background: rgba(255, 192, 0, 0.15);
  border-color: var(--primary);
  color: var(--secondary);
  transform: translateY(-1px);
}

.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  color: var(--gray-700);
  transition: all 0.2s;
  border-radius: 6px;
  margin: 2px 4px;
}

.lang-option:hover {
  background: rgba(255, 192, 0, 0.1);
  color: var(--secondary);
  font-weight: 600;
}

/* Mobile Nav Links */
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--gray-700);
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 4px 0;
}

.mobile-nav-link:hover {
  background: rgba(255, 192, 0, 0.1);
  color: var(--primary);
  transform: translateX(4px);
}

.mobile-nav-link svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Revolutionary Button Design */
.btn-primary {
  background: var(--gradient-primary);
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 
    0 8px 24px rgba(255, 192, 0, 0.35), 
    0 3px 12px rgba(255, 192, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: 0;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary::after {
  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;
  z-index: 1;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary > * {
  position: relative;
  z-index: 2;
}

.btn-primary:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 
    0 20px 50px rgba(255, 192, 0, 0.5), 
    0 10px 25px rgba(255, 192, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border-color: var(--primary-dark);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--secondary);
  transform: translateY(-6px) scale(1.05);
  box-shadow: 
    0 16px 40px rgba(255, 192, 0, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover::before {
  width: 100%;
}

/* Hero Section with Modern Design */
.hero-section {
  position: relative;
  height: 129.87vh !important;
  min-height: 129.87vh !important;
  max-height: 129.87vh !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  transform: none !important;
}

/* Ensure hero slides and content fill full height */
.hero-section #hero-slides,
.hero-section .hero-content {
  height: 100% !important;
  width: 100% !important;
}

/* Override body transform for hero section */
body > .hero-section {
  transform: none !important;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 192, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 81, 75, 0.1) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  background: var(--gradient-hero);
  position: relative;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' 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.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
}

.hero-content h1 {
  text-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.4),
    0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
  position: relative;
}

.hero-content h1 span {
  display: block;
  background: var(--gradient-primary-vibrant);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1.4s ease, gradientShift 4s ease infinite;
  filter: drop-shadow(0 4px 20px rgba(255, 192, 0, 0.4));
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.6s ease;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Revolutionary Card Design */
.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 
    0 6px 24px rgba(0, 0, 0, 0.1),
    0 2px 10px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 3px solid transparent;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
    var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6 {
  color: var(--secondary) !important;
}

.card p {
  color: var(--gray-700) !important;
  font-weight: 500;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary-vibrant);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  animation: gradientShift 3s ease infinite;
  z-index: 1;
  border-radius: 28px 28px 0 0;
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 192, 0, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s;
  z-index: 0;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-12px) scale(1.02) rotateY(1deg);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(255, 192, 0, 0.3);
}

.card:hover::after {
  opacity: 1;
}

.card > * {
  position: relative;
  z-index: 1;
}

/* Revolutionary Service Cards */
.service-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px) saturate(180%);
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  border: 3px solid transparent;
  box-shadow: 
    0 10px 32px rgba(0, 0, 0, 0.1),
    0 3px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98)),
    var(--gradient-primary-vibrant);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transform-style: preserve-3d;
}

.service-card h3 {
  color: var(--secondary) !important;
  font-weight: 800;
}

.service-card p {
  color: var(--gray-800) !important;
  font-weight: 500;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.1;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-16px) rotate(2deg) scale(1.03) rotateY(3deg);
  box-shadow: var(--shadow-elevated);
  border-width: 4px;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)),
    var(--gradient-primary-vibrant);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.1;
  transform: scale(3);
}

.service-card .icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: var(--secondary);
  box-shadow: 
    0 12px 30px rgba(255, 192, 0, 0.4),
    0 4px 15px rgba(255, 192, 0, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
  transform: rotate(-5deg);
}

.service-card:hover .icon {
  transform: scale(1.2) rotate(5deg);
  box-shadow: 
    0 24px 60px rgba(255, 192, 0, 0.5),
    0 8px 24px rgba(255, 192, 0, 0.35),
    inset 0 2px 6px rgba(255, 255, 255, 0.5);
}

/* Revolutionary Portfolio Cards */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.15),
    0 6px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: white;
  padding: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  border: 3px solid transparent;
  background-image: 
    linear-gradient(#FFFFFF, #FFFFFF),
    var(--gradient-primary-vibrant);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.portfolio-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0;
  padding: 0;
  vertical-align: bottom;
}

.portfolio-card:hover {
  transform: translateY(-20px) scale(1.04) rotate(1deg);
  box-shadow: 
    0 40px 100px rgba(255, 192, 0, 0.4),
    0 16px 40px rgba(0, 0, 0, 0.15);
  border-width: 4px;
}

.portfolio-card:hover img {
  transform: scale(1.15);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 81, 75, 0.95) 0%, rgba(0, 81, 75, 0.92) 50%, rgba(0, 81, 75, 0.95) 100%);
  color: #FFC000 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s ease;
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(4px);
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.4);
  z-index: 5;
}

.portfolio-overlay h3 {
  color: #FFC000 !important;
  text-shadow: 
    0 3px 12px rgba(0, 0, 0, 1),
    0 6px 24px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(255, 192, 0, 0.5);
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1.3;
}

.portfolio-overlay p {
  color: #FFFFFF !important;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 1),
    0 4px 12px rgba(0, 0, 0, 0.9),
    0 1px 4px rgba(0, 0, 0, 0.8);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Ensure all text in portfolio overlay is visible - override any green colors */
.portfolio-overlay * {
  color: #FFC000 !important;
}

.portfolio-overlay p,
.portfolio-overlay p * {
  color: #FFFFFF !important;
}

.portfolio-overlay h1,
.portfolio-overlay h2,
.portfolio-overlay h3,
.portfolio-overlay h4,
.portfolio-overlay h5,
.portfolio-overlay h6 {
  color: #FFC000 !important;
}

.portfolio-overlay div {
  color: #FFC000 !important;
}

/* Override Tailwind CSS classes that might set green text color */
.portfolio-overlay .text-secondary,
.portfolio-overlay [class*="text-secondary"] {
  color: #FFC000 !important;
}

.portfolio-overlay [class*="text-"] {
  color: #FFC000 !important;
}

.portfolio-overlay p[class*="text-"],
.portfolio-overlay p [class*="text-"] {
  color: #FFFFFF !important;
}

/* Modern Portfolio Card Enhancements */
.portfolio-card.group {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0;
  padding-bottom: 0;
}

.portfolio-card.group:hover {
  transform: translateY(-12px);
}

.portfolio-card.group .portfolio-overlay {
  background: linear-gradient(135deg, rgba(0, 81, 75, 0.98) 0%, rgba(0, 81, 75, 0.95) 50%, rgba(0, 81, 75, 0.98) 100%);
}

.portfolio-card.group:hover .portfolio-overlay {
  opacity: 1;
  backdrop-filter: blur(8px);
}

/* Remove bottom spacing from portfolio card inner divs */
.portfolio-card > div {
  margin-bottom: 0;
  padding-bottom: 0;
  line-height: 0;
}

.portfolio-card > div:first-child {
  line-height: 0;
  font-size: 0;
}

.portfolio-card img {
  margin-bottom: 0;
  padding-bottom: 0;
  display: block;
  line-height: 0;
  vertical-align: bottom;
}

/* Badge styling for portfolio */
.badge-yellow {
  background: var(--gradient-primary);
  color: var(--secondary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-block;
  box-shadow: 
    0 6px 18px rgba(255, 192, 0, 0.4),
    0 3px 10px rgba(255, 192, 0, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-yellow:hover {
  transform: scale(1.05);
  box-shadow: 
    0 12px 32px rgba(255, 192, 0, 0.5),
    0 6px 16px rgba(255, 192, 0, 0.4);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay span {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  color: #FFC000 !important;
  font-weight: 900;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  display: inline-block;
  box-shadow: 
    0 8px 24px rgba(255, 192, 0, 0.4),
    0 4px 12px rgba(255, 192, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 192, 0, 0.5);
  transform: translateY(30px) scale(0.9);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.portfolio-card:hover .portfolio-overlay span {
  transform: translateY(0) scale(1);
}

.portfolio-overlay h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 900;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s ease 0.1s;
  letter-spacing: -0.01em;
  color: #FFC000 !important;
}

.portfolio-card:hover .portfolio-overlay h3 {
  transform: translateY(0) scale(1);
}

.portfolio-overlay p {
  font-size: 1.1rem;
  opacity: 1;
  font-weight: 700;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s ease 0.15s;
}

.portfolio-card:hover .portfolio-overlay p {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Revolutionary Blog Cards */
.blog-card {
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 28px;
  overflow: hidden;
  background: white;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 2px 12px rgba(0, 0, 0, 0.06);
  border: 2px solid rgba(255, 192, 0, 0.1);
}

.blog-card h3,
.blog-card h4 {
  color: var(--secondary) !important;
  font-weight: 800;
}

.blog-card p {
  color: var(--gray-700) !important;
  font-weight: 500;
}

.blog-card:hover {
  transform: translateY(-12px) scale(1.03) rotate(0.5deg) rotateY(2deg);
  box-shadow: var(--shadow-elevated);
  border-color: var(--primary);
  border-width: 3px;
}

.blog-card img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover img {
  transform: scale(1.15);
}

/* Revolutionary Section Headings */
.section-heading {
  position: relative;
  display: inline-block;
  margin-bottom: 72px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-align: center;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 6px;
  background: var(--gradient-primary-vibrant);
  background-size: 200% 100%;
  border-radius: 3px;
  box-shadow: 0 4px 16px rgba(255, 192, 0, 0.3);
  animation: expandLine 1s ease-out, gradientShift 3s ease infinite;
}

.section-heading::before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0.5;
  animation: expandLine 1.2s ease-out;
}

/* Revolutionary Yellow Background */
.yellow-bg {
  background: linear-gradient(135deg, rgba(255, 192, 0, 0.06) 0%, rgba(255, 192, 0, 0.12) 50%, rgba(255, 192, 0, 0.06) 100%);
  position: relative;
  overflow: hidden;
}

.yellow-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 192, 0, 0.03) 35px, rgba(255, 192, 0, 0.03) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255, 192, 0, 0.03) 35px, rgba(255, 192, 0, 0.03) 70px);
  opacity: 0.6;
  z-index: 0;
  animation: patternMove 20s linear infinite;
}

.yellow-bg > * {
  position: relative;
  z-index: 1;
}

/* Ensure text is visible on yellow backgrounds */
.yellow-bg h1,
.yellow-bg h2,
.yellow-bg h3,
.yellow-bg h4,
.yellow-bg h5,
.yellow-bg h6 {
  color: var(--secondary) !important;
  text-shadow: none !important;
}

.yellow-bg p {
  color: var(--gray-800) !important;
  font-weight: 500;
}

.yellow-bg .text-gray-600,
.yellow-bg .text-gray-700 {
  color: var(--gray-800) !important;
}

/* Stats Section */
.stat-card {
  text-align: center;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 5px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.stat-card h3,
.stat-card h4 {
  color: var(--secondary) !important;
  font-weight: 800;
}

.stat-card p {
  color: var(--gray-700) !important;
  font-weight: 500;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 192, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.5s;
}

.stat-card:hover::before {
  transform: scale(1.5);
  opacity: 0.3;
}

.stat-card:hover {
  transform: translateY(-16px) scale(1.06);
  box-shadow: 
    0 24px 64px rgba(255, 192, 0, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.12);
  border-left-width: 8px;
}

.stat-number {
  font-size: 72px;
  font-weight: 900;
  background: var(--gradient-primary-vibrant);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  filter: drop-shadow(0 6px 20px rgba(255, 192, 0, 0.5));
  letter-spacing: -0.03em;
  animation: gradientShift 4s ease infinite, numberPulse 2s ease-in-out infinite;
  position: relative;
}

@keyframes numberPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Footer Enhancements */
footer {
  background: var(--gradient-secondary);
  border-top: 5px solid;
  border-image: var(--gradient-primary) 1;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 1;
}

footer::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 192, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: floatBackground 25s ease-in-out infinite;
}

footer > * {
  position: relative;
  z-index: 1;
}

footer a:hover {
  color: var(--primary) !important;
  transform: translateX(5px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes expandLine {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 120px;
    opacity: 1;
  }
}

@keyframes heroGlow {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes patternMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 70px 70px;
  }
}

@keyframes floatBackground {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Badge with Modern Design */
.badge-yellow {
  background: var(--primary);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(255, 192, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-yellow:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 192, 0, 0.45);
}

/* Team Cards */
.team-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(255, 192, 0, 0.25);
}

.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 5px solid var(--primary);
  margin: 0 auto 20px;
  box-shadow: 0 8px 32px rgba(255, 192, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-avatar {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 40px rgba(255, 192, 0, 0.45);
}

/* Professional Form Styles */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.form-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--gray-300);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  font-size: 1rem;
  color: var(--gray-800);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 192, 0, 0.15),
              0 4px 20px rgba(255, 192, 0, 0.1),
              0 2px 8px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.form-input:hover,
.form-textarea:hover {
  border-color: var(--gray-400);
}

.form-input.error,
.form-textarea.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
  animation: shake 0.4s;
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.6;
}

.form-error {
  display: block;
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  border: 2px solid #22c55e;
  border-radius: 12px;
  color: #15803d;
  font-weight: 600;
  margin-top: 1.5rem;
  animation: slideIn 0.4s ease;
}

.form-error-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
  border: 2px solid #ef4444;
  border-radius: 12px;
  color: #dc2626;
  font-weight: 600;
  margin-top: 1.5rem;
  animation: slideIn 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Info Styles */
.contact-info-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 192, 0, 0.03);
  border-radius: 16px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-item:hover {
  background: rgba(255, 192, 0, 0.08);
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(255, 192, 0, 0.15);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(255, 192, 0, 0.3);
}

.contact-info-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.contact-info-link {
  display: block;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s;
  margin-bottom: 0.25rem;
}

.contact-info-link:hover {
  color: var(--secondary);
  transform: translateX(3px);
}

.contact-info-text {
  color: var(--gray-800) !important;
  line-height: 1.6;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.contact-info-desc {
  color: var(--gray-700) !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Premium Social Links */
.social-link,
.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 192, 0, 0.1);
  border: 2px solid rgba(255, 192, 0, 0.2);
  border-radius: 12px;
  color: var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.social-link:hover,
.social-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--secondary);
  transform: translateY(-4px) scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(255, 192, 0, 0.4);
}

/* Footer Contact Info Styles */
footer {
  color: rgba(255, 255, 255, 0.9) !important;
}

footer h3,
footer h4,
footer h5 {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: 800;
}

footer p {
  color: rgba(255, 255, 255, 0.85) !important;
}

footer .text-gray-300 {
  color: rgba(255, 255, 255, 0.8) !important;
}

footer .text-gray-400 {
  color: rgba(255, 255, 255, 0.75) !important;
}

footer a {
  color: var(--primary) !important;
  transition: all 0.3s;
  font-weight: 600;
}

footer a:hover {
  color: var(--primary-light) !important;
  transform: translateX(3px);
  text-shadow: 0 2px 8px rgba(255, 192, 0, 0.5);
}

/* Form Elements (Legacy Support) */
input, textarea, select {
  border: 2px solid var(--gray-300);
  border-radius: 12px;
  padding: 14px 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 192, 0, 0.15),
              0 4px 16px rgba(255, 192, 0, 0.1);
  background: white;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
  border: 2px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  opacity: 0.8;
}

/* Revolutionary Section Spacing */
.section-padding {
  padding: 80px 0;
  position: relative;
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 100px 0;
  }
}

@media (min-width: 1400px) {
  .section-padding {
    padding: 120px 0;
  }
}

/* Reduced bottom padding for Our Work section */
.section-padding.pb-12 {
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .section-padding.pb-12.md\:pb-20 {
    padding-bottom: 80px;
  }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  
  .stat-number {
    font-size: 42px;
  }
  
  .card {
    padding: 28px 20px;
    border-radius: 20px;
  }
  
  .service-card {
    padding: 36px 24px;
    border-radius: 20px;
  }
  
  .service-card .icon {
    width: 80px;
    height: 80px;
    font-size: 36px;
  }
  
  .btn-primary {
    padding: 16px 32px;
    font-size: 1rem;
  }
  
  .section-heading {
    margin-bottom: 48px;
  }
  
  .section-heading::after {
    width: 60px;
    height: 6px;
  }
}

@media (max-width: 480px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .card {
    padding: 24px 16px;
  }
  
  .service-card {
    padding: 32px 20px;
  }
}

/* Text Gradient */
.text-gradient-yellow {
  color: var(--primary);
  position: relative;
}

/* Glow Effect */
.glow-yellow {
  box-shadow: 0 0 30px rgba(255, 192, 0, 0.6);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 192, 0, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Modern Grid Patterns */
.grid-pattern {
  background-image: 
    linear-gradient(rgba(255, 192, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 192, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Floating Elements */
.floating {
  animation: float 6s ease-in-out infinite;
}

.floating-delayed {
  animation: float 6s ease-in-out infinite;
  animation-delay: 2s;
}

/* Professional Client Logo Cards */
.client-logo-card {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 2px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 192, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: grayscale(60%) opacity(0.7);
}

.client-logo-card:hover {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-10px) scale(1.08);
  box-shadow: 
    0 16px 48px rgba(255, 192, 0, 0.3),
    0 8px 24px rgba(255, 192, 0, 0.2);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 1);
}

/* Professional Additional Enhancements */
.hero-content h1 {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Revolutionary Portfolio Cards */
.portfolio-card {
  border-radius: 32px;
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.08);
  border: 3px solid transparent;
  background-image: 
    linear-gradient(#FFFFFF, #FFFFFF),
    var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-card:hover {
  transform: translateY(-20px) scale(1.04) rotate(1deg);
  box-shadow: 
    0 40px 100px rgba(255, 192, 0, 0.4),
    0 16px 40px rgba(0, 0, 0, 0.15);
  border-width: 4px;
}

/* Revolutionary Badge */
.badge-yellow {
  background: var(--gradient-primary);
  box-shadow: 
    0 8px 24px rgba(255, 192, 0, 0.45),
    0 4px 12px rgba(255, 192, 0, 0.3);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 10px 24px;
  border-radius: 50px;
}

/* Enhanced Navbar with Premium Effects */
nav {
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.04);
}

nav.scrolled {
  box-shadow: 
    0 12px 40px rgba(255, 192, 0, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Premium Hero Section Enhancements */
.hero-section {
  position: relative;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 192, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(0, 81, 75, 0.12) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

/* Premium Card Enhancements with Advanced Glassmorphism */
.card {
  position: relative;
  isolation: isolate;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary), transparent, var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
}

.card:hover::after {
  opacity: 1;
}

/* Premium Service Card Icons with 3D Effect */
.service-card .icon {
  position: relative;
  overflow: hidden;
}

.service-card .icon::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Premium Portfolio Cards with Parallax Effect */
.portfolio-card {
  perspective: 1000px;
}

.portfolio-card img {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover img {
  transform: scale(1.2) rotate(2deg);
}

/* Premium Button with Ripple Effect */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary-vibrant);
  background-size: 200% 200%;
  box-shadow: 
    0 8px 24px rgba(255, 192, 0, 0.4),
    0 4px 12px rgba(255, 192, 0, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  animation: gradientShift 3s ease infinite;
  transform-style: preserve-3d;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s;
  z-index: 1;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: 0;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 
    0 12px 32px rgba(255, 192, 0, 0.3),
    0 6px 16px rgba(255, 192, 0, 0.2);
}

.btn-primary:active::after {
  width: 400px;
  height: 400px;
}

/* Premium Section Headings with Animated Underline */
.section-heading {
  position: relative;
  display: inline-block;
}

.section-heading::before {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 2px;
  animation: expandUnderline 1s ease-out 0.5s forwards;
}

@keyframes expandUnderline {
  to {
    width: 100px;
  }
}

/* Premium Background Patterns */
.geometric-bg::before,
.geometric-bg::after {
  animation: floatBackground 20s ease-in-out infinite;
}

.geometric-bg::after {
  animation-delay: -10s;
}

@keyframes floatBackground {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

/* Premium Yellow Background with Animated Pattern */
.yellow-bg {
  position: relative;
  overflow: hidden;
}

.yellow-bg::before {
  animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}

/* Premium Stats Cards with Counter Animation */
.stat-card {
  counter-reset: stat-counter;
}

.stat-number {
  position: relative;
}

.stat-number::before {
  content: counter(stat-counter);
  counter-increment: stat-counter;
}

/* Premium Form Inputs with Floating Label Effect */
.form-group {
  position: relative;
}

.form-input:focus + .form-label,
.form-textarea:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
  transform: translateY(-24px) scale(0.85);
  color: var(--primary);
}

/* Premium Loading States */
.form-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.form-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 3px solid var(--primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Premium Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Premium Hover Effects for Links */
a:not(.btn-primary):not(.btn-secondary):not(.nav-link):not(.nav-link-contact) {
  position: relative;
  transition: color 0.3s;
}

a:not(.btn-primary):not(.btn-secondary):not(.nav-link):not(.nav-link-contact)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

a:not(.btn-primary):not(.btn-secondary):not(.nav-link):not(.nav-link-contact):hover::after {
  width: 100%;
}

/* Premium Footer Enhancements */
footer {
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Premium Mobile Menu */
#mobileMenu {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.98);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Pricing Cards */
.pricing-card {
  position: relative;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pricing-card:hover {
  transform: translateY(-16px) scale(1.03);
}

.pricing-card.featured {
  border: 3px solid var(--primary);
  box-shadow: 0 20px 60px rgba(255, 192, 0, 0.3);
}

.pricing-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--secondary);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 
    0 8px 24px rgba(255, 192, 0, 0.5),
    0 4px 12px rgba(255, 192, 0, 0.3);
  z-index: 10;
}

/* Revolutionary Testimonial Cards */
.testimonial-card {
  position: relative;
  padding-left: 3rem;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -15px;
  font-size: 5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  font-family: 'Poppins', 'Space Grotesk', serif;
  line-height: 1;
  font-weight: 900;
}

.testimonial-card p {
  color: var(--gray-800) !important;
  font-weight: 500;
  line-height: 1.8;
}

.testimonial-card h4,
.testimonial-card h5 {
  color: var(--secondary) !important;
  font-weight: 800;
}

/* Premium Blog Cards */
.blog-card {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 192, 0, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s;
  border-radius: inherit;
  z-index: 1;
}

.blog-card:hover::before {
  opacity: 1;
}

/* Premium Contact Info Cards */
.contact-info-card {
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 192, 0, 0.1), transparent);
  transition: left 0.5s;
}

.contact-info-card:hover::before {
  left: 100%;
}

/* Premium Team Cards */
.team-card {
  position: relative;
}

.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
  pointer-events: none;
}

.team-card:hover::after {
  opacity: 0.1;
}

/* Revolutionary Filter Buttons */
.filter-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.filter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  border-radius: inherit;
}

.filter-btn.active::before,
.filter-btn:hover::before {
  transform: scaleX(1);
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--primary);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 192, 0, 0.3);
}

/* Revolutionary Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: var(--gradient-primary-vibrant);
  background-size: 200% 200%;
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 8px 24px rgba(255, 192, 0, 0.3),
    0 4px 12px rgba(255, 192, 0, 0.2);
  animation: gradientShift 3s ease infinite, floatButton 3s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999;
  transform-style: preserve-3d;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  animation: gradientShift 3s ease infinite, floatButton 3s ease-in-out infinite, bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes floatButton {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.05);
  }
}

.scroll-to-top:hover {
  transform: translateY(-8px) scale(1.1) rotate(360deg);
  box-shadow: 
    0 12px 32px rgba(255, 192, 0, 0.4),
    0 6px 16px rgba(255, 192, 0, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-to-top:hover {
  transform: translateY(-6px) scale(1.15) rotate(5deg);
  box-shadow: 
    0 16px 40px rgba(255, 192, 0, 0.6),
    0 8px 20px rgba(255, 192, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-180deg);
  }
  50% {
    transform: scale(1.1) rotate(10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Premium Responsive Enhancements */
@media (max-width: 1024px) {
  .section-padding {
    padding: 100px 0;
  }
  
  .card {
    padding: 32px 24px;
  }
  
  .service-card {
    padding: 40px 28px;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .section-heading::before {
    width: 60px;
  }
  
  .btn-primary {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}

/* Premium Print Styles */
@media print {
  .geometric-bg::before,
  .geometric-bg::after,
  nav,
  footer {
    display: none;
  }
  
  body {
    background: white;
  }
  
  .card,
  .service-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* Premium Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Premium Focus States for Accessibility */
*:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Fix text color on green background hover - Make text yellow */
/* When elements have green/secondary background on hover, text should be yellow for visibility */
.item:hover,
[class*="item"]:hover {
  /* If background becomes green on hover, ensure text is yellow */
}

/* Override for any element with secondary color background - make text yellow */
*[style*="background"][style*="00514B"]:hover,
*[style*="background-color"][style*="00514B"]:hover {
  color: var(--primary) !important;
}

/* Premium Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles can be added here */
}
