/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Lake & Mountains: Teal & Gold Palette */
:root {
  --color-bg: #FFFBF5;
  --color-text: #2C3E50;
  --color-text-muted: #5B6876;
  --color-accent: #1ABC9C;
  --color-accent-light: #48D1AF;
  --color-turquoise: #1ABC9C;
  --color-teal-light: #D4ECE8;
  --color-teal: #2C8C7F;
  --color-teal-dark: #1F6B5F;
  --color-gold: #FFD89B;
  --color-forest: #3A6B35;
  --color-border: #F0E9E3;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, sans-serif;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --color-bg: #0F1419;
  --color-text: #E5E7EB;
  --color-text-muted: #D1D5DB;
  --color-accent: #1ABC9C;
  --color-accent-light: #48D1AF;
  --color-turquoise: #1ABC9C;
  --color-teal-light: #1a2b2a;
  --color-teal: #2C5F5D;
  --color-teal-dark: #0d1514;
  --color-gold: #D4A574;
  --color-forest: #3A6B35;
  --color-border: #374151;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-weight: 400;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
header {
  background: var(--color-teal);
  color: white;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.02em;
  text-decoration: none;
}

nav ul {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  nav ul {
    display: flex;
  }
}

nav a {
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

nav a:hover {
  color: var(--color-turquoise);
}

.phone-button {
  background: var(--color-accent);
  color: white;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0;
  transition: all 0.2s ease;
}

.phone-button:hover {
  background: var(--color-accent-light);
  color: white;
}

/* Theme Toggle Button */
.theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(180deg);
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
  z-index: 1001;
}

.mobile-menu-toggle.active {
  transform: rotate(90deg);
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Menu Active State */
@media (max-width: 767px) {
  nav.mobile-active ul {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    background: var(--color-teal);
    padding: 2rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    gap: 1rem;
    animation: slideDown 0.3s ease-out;
  }

  nav.mobile-active li {
    width: 100%;
    text-align: center;
  }

  nav.mobile-active a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    transition: background 0.2s ease;
  }

  nav.mobile-active a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

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

/* Mobile-specific improvements */
@media (max-width: 767px) {
  /* Make tables scrollable on mobile */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Ensure long content doesn't overflow */
  body {
    overflow-x: hidden;
  }

  /* Stack grid columns on mobile */
  .grid-2, .grid-3 {
    grid-template-columns: 1fr !important;
  }

  /* Better spacing on mobile */
  .section {
    padding: 3rem 0;
  }

  /* FAQ mobile improvements */
  .content-list {
    margin-left: 1rem;
  }

  /* Footer improvements */
  .footer-grid {
    text-align: center;
  }

  .footer-links ul {
    padding: 0;
  }
}

/* Hero Section - Modern gradient animation */
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero {
  background: linear-gradient(
    135deg,
    var(--color-teal) 0%,
    var(--color-teal-dark) 25%,
    #1e4d4b 50%,
    var(--color-teal-dark) 75%,
    var(--color-teal) 100%
  );
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0;
  }
}

/* Animated floating orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 40%;
  height: 120%;
  background: radial-gradient(
    circle at center,
    rgba(26, 188, 156, 0.2) 0%,
    rgba(26, 188, 156, 0.1) 40%,
    transparent 70%
  );
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

/* Mountain silhouette with gradient */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(
    to top,
    rgba(31, 70, 68, 0.4) 0%,
    rgba(26, 188, 156, 0.1) 50%,
    transparent 100%
  );
  clip-path: polygon(
    0% 100%, 0% 60%, 10% 50%, 20% 70%, 30% 40%,
    40% 55%, 50% 30%, 60% 45%, 70% 35%, 80% 55%,
    90% 40%, 100% 60%, 100% 100%
  );
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 56rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero .gold-text {
  background: linear-gradient(135deg, #D4A574 0%, #E8C9A0 50%, #FFD89B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

.hero p {
  font-size: 1.25rem;
  color: #E5E7EB;
  margin-bottom: 2rem;
  font-style: normal;
}

@media (min-width: 768px) {
  .hero p {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 1rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--color-accent-light);
  color: white;
}

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 1rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: white;
}

/* Sections */
.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

.section-white {
  background: #FFFFFF;
  transition: background-color 0.3s ease;
}

.section-cream {
  background: #F5E6D3;
  transition: background-color 0.3s ease;
}

.section-dark {
  background: var(--color-teal);
  color: white;
  transition: background-color 0.3s ease;
}

/* Dark mode specific section styles */
[data-theme="dark"] .section-white {
  background: #1a1f2e;
}

[data-theme="dark"] .section-cream {
  background: #151a24;
}

.section-accent {
  background: var(--color-accent);
  color: white;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  font-size: 1.125rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-dark .section-subtitle {
  color: #D1D5DB;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */
.card {
  background: var(--color-bg);
  padding: 2rem;
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .card {
  background: #1a1f2e;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.card h3 {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.card p {
  color: var(--color-text-muted);
}

.icon-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  height: 100%;
}

.icon-card h3 {
  font-size: 1.25rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 600;
}

.icon-card p {
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

.icon {
  width: 4rem;
  height: 4rem;
  background: var(--color-teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  flex-shrink: 0;
}

.icon svg {
  width: 2rem;
  height: 2rem;
  stroke: var(--color-accent);
}

/* Footer */
footer {
  background: var(--color-teal);
  color: white;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h3 {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: #E5E7EB;
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: #E5E7EB;
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--color-turquoise);
}

.footer-bottom {
  border-top: 1px solid #4B5563;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.9375rem;
  color: #D1D5DB;
}

.footer-bottom a:hover {
  color: var(--color-accent) !important;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

/* List Styles */
.check-list {
  list-style: none;
  margin-top: 1rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
}

.check-list li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: bold;
  flex-shrink: 0;
}

.section-dark .check-list li {
  color: #D1D5DB;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 0.25rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Contact Info */
.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: var(--color-peach-light);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--color-accent);
}

.contact-details h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.contact-details a {
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-details p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ===== STYLE GUIDE: Content Headers ===== */

/* Main Section Header - Use for primary section titles */
.section-header {
  font-size: 2.5rem;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--color-accent);
}

/* Centered variant of section header */
.section-header-center {
  font-size: 2.5rem;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--color-accent);
  text-align: center;
}

/* Subsection Header - Use for subsections within a section */
.subsection-header {
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Small Subsection Header - Use for contact info, smaller headings */
.subsection-header-small {
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Section Header for dark backgrounds */
.section-dark .section-header,
.section-dark .section-header-center {
  color: var(--color-gold);
}

/* Content blocks with consistent spacing */
.content-block {
  margin-bottom: 4rem;
}

.content-block-small {
  margin-bottom: 3rem;
}

/* Standard paragraph styling for content sections */
.content-text {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.content-text-large {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* Standard list styling */
.content-list {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.9;
  color: var(--color-text-muted);
}

.content-list li {
  margin-bottom: 0.75rem;
}

/* Container size variants */
.max-w-5xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===== MODERN ANIMATIONS & INTERACTIONS ===== */

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

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

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

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(100%);
  }
}

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

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

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll animation classes */
.scroll-reveal {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-up.revealed {
  animation: fadeInUp 0.8s ease forwards;
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
}

.slide-left.revealed {
  animation: slideInLeft 0.8s ease forwards;
}

.slide-right {
  opacity: 0;
  transform: translateX(50px);
}

.slide-right.revealed {
  animation: slideInRight 0.8s ease forwards;
}

.bounce-in {
  opacity: 0;
  transform: scale(0.3);
}

.bounce-in.revealed {
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Progress indicator for How It Works */
.progress-line {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% - 4rem);
  background: rgba(26, 188, 156, 0.2);
  z-index: 0;
}

.progress-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide progress line on mobile to avoid layout issues */
@media (max-width: 767px) {
  .progress-line,
  .progress-line-fill {
    display: none;
  }
}

/* 3D Floating Decorative Elements */
.floating-shape {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
  animation: float3D 20s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes float3D {
  0%, 100% {
    transform: translateY(0) translateX(0) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translateY(-20px) translateX(10px) rotateX(5deg) rotateY(5deg);
  }
  50% {
    transform: translateY(0) translateX(20px) rotateX(0deg) rotateY(10deg);
  }
  75% {
    transform: translateY(20px) translateX(10px) rotateX(-5deg) rotateY(5deg);
  }
}

/* 3D Perspective Hover Effects */
.hover-3d {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

.hover-3d:hover {
  transform: translateZ(20px) scale(1.02);
}

/* Icon card 3D hover */
.icon-card:hover {
  transform: translateY(-5px) rotateX(5deg) scale(1.02);
}

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

/* Card hover effects with depth and 3D tilt */
.card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-left-width: 6px;
}

/* Button hover effects */
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

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

.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 16px rgba(26, 188, 156, 0.3);
}

/* Link hover animation */
a {
  transition: all 0.2s ease;
}

/* Icon card animations */
.icon-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  transition: transform 0.3s ease;
}

.icon-card:nth-child(1) { animation-delay: 0.1s; }
.icon-card:nth-child(2) { animation-delay: 0.2s; }
.icon-card:nth-child(3) { animation-delay: 0.3s; }

.icon-card:hover {
  transform: translateY(-5px);
}

.icon {
  transition: all 0.3s ease;
}

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

/* Glassmorphism effect */
.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Section fade-in on scroll */
.section {
  animation: fadeIn 0.8s ease-out;
}

/* Hero button animations */
.hero-buttons a {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.hero-buttons a:nth-child(1) { animation-delay: 0.4s; }
.hero-buttons a:nth-child(2) { animation-delay: 0.5s; }

/* Floating animation for accents */
.float {
  animation: float 3s ease-in-out infinite;
}

/* Number animation for stats */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat {
  animation: countUp 0.6s ease-out;
  animation-fill-mode: both;
  transition: transform 0.3s ease;
}

.stat:hover {
  transform: scale(1.05);
}

/* Process step hover effect */
.grid-3 > div {
  transition: transform 0.3s ease;
}

.grid-3 > div:hover {
  transform: translateY(-5px);
}

/* Contact info hover */
.contact-info {
  transition: all 0.3s ease;
}

.contact-info:hover {
  transform: translateX(8px);
}

.contact-info:hover .contact-icon {
  transform: scale(1.1);
  background: var(--color-accent);
}

.contact-icon {
  transition: all 0.3s ease;
}

/* Smooth transitions for all interactive elements */
button, input, textarea, select {
  transition: all 0.2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.1);
  transform: translateY(-2px);
}

/* ROI Calculator Mobile Responsiveness */
@media (max-width: 480px) {
  /* Header mobile spacing */
  header .container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .logo img {
    height: 4.5rem !important;
    margin: 0.5rem 0;
  }

  /* ROI Calculator */
  .roi-calculator-container {
    padding: 1.5rem !important;
  }

  .roi-result-box {
    padding: 1.5rem 1rem !important;
  }

  .roi-label {
    font-size: 0.75rem !important;
    letter-spacing: 0.03em !important;
    line-height: 1.3 !important;
  }

  .roi-amount {
    font-size: 2.25rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .roi-hours {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
  }
}

/* Cookie Banner Mobile Responsiveness */
@media (max-width: 480px) {
  .cookie-banner {
    padding: 0.75rem 0 !important;
  }

  .cookie-content {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .cookie-text {
    min-width: 100% !important;
  }

  .cookie-text p {
    font-size: 0.8125rem !important;
    line-height: 1.4 !important;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: stretch !important;
  }

  .cookie-buttons button {
    flex: 1;
    padding: 0.625rem 1rem !important;
    font-size: 0.75rem !important;
  }
}
