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

:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #8b5cf6;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Theme Options - Uncomment the theme class on <body> to use different themes */

/* Theme 1: Indigo (Default) */
body.theme-indigo {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #8b5cf6;
}

/* Theme 2: Blue Ocean */
body.theme-blue {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --secondary-color: #60a5fa;
}

/* Theme 3: Emerald Green */
body.theme-emerald {
  --primary-color: #10b981;
  --primary-dark: #059669;
  --secondary-color: #34d399;
}

/* Theme 4: Rose Red */
body.theme-rose {
  --primary-color: #f43f5e;
  --primary-dark: #e11d48;
  --secondary-color: #fb7185;
}

/* Theme 5: Amber Orange */
body.theme-amber {
  --primary-color: #f59e0b;
  --primary-dark: #d97706;
  --secondary-color: #fbbf24;
}

/* Theme 6: Teal */
body.theme-teal {
  --primary-color: #14b8a6;
  --primary-dark: #0d9488;
  --secondary-color: #5eead4;
}

/* Theme 7: Purple */
body.theme-purple {
  --primary-color: #a855f7;
  --primary-dark: #9333ea;
  --secondary-color: #c084fc;
}

/* Theme 8: Slate Gray */
body.theme-slate {
  --primary-color: #64748b;
  --primary-dark: #475569;
  --secondary-color: #94a3b8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo a:hover {
  opacity: 0.8;
}

.logo-icon {
  height: 80px;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  transform: scale(1.8);
  transform-origin: left center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 50px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

/* Theme-specific hero backgrounds */
body.theme-blue .hero {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(96, 165, 250, 0.05) 100%);
}

body.theme-emerald .hero {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(52, 211, 153, 0.05) 100%);
}

body.theme-rose .hero {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.05) 0%, rgba(251, 113, 133, 0.05) 100%);
}

body.theme-amber .hero {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%);
}

body.theme-teal .hero {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(94, 234, 212, 0.05) 100%);
}

body.theme-purple .hero {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(192, 132, 252, 0.05) 100%);
}

body.theme-slate .hero {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.05) 0%, rgba(148, 163, 184, 0.05) 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 1;
  /* Geometric grid pattern */
  background: linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px), /* Base gradient */ linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(99, 102, 241, 0.05) 100%);
  background-size: 50px 50px, 50px 50px, 100% 100%;
}

/* Theme-specific grid colors */
body.theme-blue .hero-background {
  background: linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px), linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(96, 165, 250, 0.08) 50%, rgba(59, 130, 246, 0.05) 100%);
  background-size: 50px 50px, 50px 50px, 100% 100%;
}

body.theme-emerald .hero-background {
  background: linear-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 185, 129, 0.03) 1px, transparent 1px), linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(52, 211, 153, 0.08) 50%, rgba(16, 185, 129, 0.05) 100%);
  background-size: 50px 50px, 50px 50px, 100% 100%;
}

body.theme-rose .hero-background {
  background: linear-gradient(rgba(244, 63, 94, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 63, 94, 0.03) 1px, transparent 1px), linear-gradient(135deg, rgba(244, 63, 94, 0.08) 0%, rgba(251, 113, 133, 0.08) 50%, rgba(244, 63, 94, 0.05) 100%);
  background-size: 50px 50px, 50px 50px, 100% 100%;
}

body.theme-amber .hero-background {
  background: linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px), linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(251, 191, 36, 0.08) 50%, rgba(245, 158, 11, 0.05) 100%);
  background-size: 50px 50px, 50px 50px, 100% 100%;
}

body.theme-teal .hero-background {
  background: linear-gradient(rgba(20, 184, 166, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 184, 166, 0.03) 1px, transparent 1px), linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(94, 234, 212, 0.08) 50%, rgba(20, 184, 166, 0.05) 100%);
  background-size: 50px 50px, 50px 50px, 100% 100%;
}

body.theme-purple .hero-background {
  background: linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px), linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(192, 132, 252, 0.08) 50%, rgba(168, 85, 247, 0.05) 100%);
  background-size: 50px 50px, 50px 50px, 100% 100%;
}

body.theme-slate .hero-background {
  background: linear-gradient(rgba(100, 116, 139, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 116, 139, 0.03) 1px, transparent 1px), linear-gradient(135deg, rgba(100, 116, 139, 0.08) 0%, rgba(148, 163, 184, 0.08) 50%, rgba(100, 116, 139, 0.05) 100%);
  background-size: 50px 50px, 50px 50px, 100% 100%;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  opacity: 0.15;
  animation: pulse 20s ease-in-out infinite;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
        /* Large circles - using CSS variables for theme support */ radial-gradient(circle at 20% 30%, var(--primary-color) 0%, transparent 50%), radial-gradient(circle at 80% 70%, var(--secondary-color) 0%, transparent 50%), radial-gradient(circle at 50% 50%, var(--primary-color) 0%, transparent 60%);
  opacity: 0.1;
  animation: float 25s ease-in-out infinite;
  z-index: 2;
}

.hero-background::before {
  z-index: 1;
}

/* Additional decorative elements */
.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -250px;
  right: -250px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(100px);
  animation: rotate 30s linear infinite;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -200px;
  left: -200px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(100px);
  animation: rotate 25s linear infinite reverse;
  z-index: -1;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.15;
  }
  33% {
    transform: scale(1.1) translate(30px, -30px);
    opacity: 0.2;
  }
  66% {
    transform: scale(0.95) translate(-20px, 20px);
    opacity: 0.1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

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

/* Animated Background Images/Shapes */
.hero-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Add subtle animated lines/connections */
.hero-animated-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(45deg, transparent 30%, var(--primary-color) 30%, var(--primary-color) 31%, transparent 31%), linear-gradient(-45deg, transparent 30%, var(--secondary-color) 30%, var(--secondary-color) 31%, transparent 31%);
  background-size: 200px 200px, 200px 200px;
  background-position: 0 0, 100px 100px;
  opacity: 0.05;
  animation: slideLines 20s linear infinite;
}

.hero-animated-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, var(--primary-color) 0%, transparent 50%);
  opacity: 0.08;
  animation: pulseBg 15s ease-in-out infinite;
}

@keyframes slideLines {
  0% {
    background-position: 0 0, 100px 100px;
  }
  100% {
    background-position: 200px 200px, 300px 300px;
  }
}

@keyframes pulseBg {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.08;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.12;
  }
}

/* Animated Shapes */
.animated-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0.15;
  filter: blur(40px);
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 10%;
  animation: floatShape 25s ease-in-out infinite reverse;
}

.shape-3 {
  width: 250px;
  height: 250px;
  bottom: 15%;
  left: 15%;
  animation: floatShape 18s ease-in-out infinite;
}

.shape-4 {
  width: 180px;
  height: 180px;
  top: 30%;
  right: 25%;
  animation: floatShape 22s ease-in-out infinite reverse;
}

.shape-5 {
  width: 220px;
  height: 220px;
  bottom: 30%;
  right: 5%;
  animation: floatShape 19s ease-in-out infinite;
}

.shape-6 {
  width: 160px;
  height: 160px;
  top: 50%;
  left: 8%;
  animation: floatShape 24s ease-in-out infinite reverse;
}

.shape-7 {
  width: 280px;
  height: 280px;
  top: 20%;
  left: 50%;
  animation: floatShape 21s ease-in-out infinite;
}

.shape-8 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  right: 30%;
  animation: floatShape 23s ease-in-out infinite reverse;
}

.shape-9 {
  width: 190px;
  height: 190px;
  top: 70%;
  left: 40%;
  animation: floatShape 17s ease-in-out infinite;
}

.shape-10 {
  width: 210px;
  height: 210px;
  top: 5%;
  right: 40%;
  animation: floatShape 26s ease-in-out infinite reverse;
}

/* Floating Particles */
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0.2;
  animation: floatParticle 15s ease-in-out infinite;
}

.particle-1 {
  width: 8px;
  height: 8px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle-2 {
  width: 12px;
  height: 12px;
  top: 40%;
  right: 15%;
  animation-delay: 2s;
}

.particle-3 {
  width: 6px;
  height: 6px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.particle-4 {
  width: 10px;
  height: 10px;
  top: 60%;
  right: 25%;
  animation-delay: 1s;
}

.particle-5 {
  width: 7px;
  height: 7px;
  bottom: 15%;
  right: 10%;
  animation-delay: 3s;
}

.particle-6 {
  width: 9px;
  height: 9px;
  top: 35%;
  left: 30%;
  animation-delay: 5s;
}

.particle-7 {
  width: 11px;
  height: 11px;
  bottom: 40%;
  left: 50%;
  animation-delay: 2.5s;
}

.particle-8 {
  width: 8px;
  height: 8px;
  top: 80%;
  right: 35%;
  animation-delay: 4.5s;
}

/* Geometric Shapes */
.geometric-shape {
  position: absolute;
  opacity: 0.1;
  border: 3px solid var(--primary-color);
  animation: rotateShape 30s linear infinite;
}

.geo-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  right: 20%;
  border-radius: 20% 80% 20% 80%;
  transform: rotate(45deg);
  animation-duration: 25s;
}

.geo-2 {
  width: 100px;
  height: 100px;
  bottom: 25%;
  left: 25%;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border: none;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  animation-duration: 20s;
  animation-direction: reverse;
}

.geo-3 {
  width: 140px;
  height: 140px;
  top: 55%;
  right: 15%;
  border-radius: 30%;
  transform: rotate(30deg);
  animation-duration: 35s;
}

/* Additional professional animated elements */
.animated-shape::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  opacity: 0.3;
  animation: pulseInner 3s ease-in-out infinite;
}

@keyframes pulseInner {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

/* Make particles more visible and animated */
.particle::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  opacity: 0.4;
  animation: particleGlow 2s ease-in-out infinite;
}

@keyframes particleGlow {
  0%,
  100% {
    transform: scale(0.5);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.6;
  }
}

/* Animations */
@keyframes floatShape {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  25% {
    transform: translate(30px, -40px) scale(1.1);
    opacity: 0.2;
  }
  50% {
    transform: translate(-20px, 30px) scale(0.9);
    opacity: 0.1;
  }
  75% {
    transform: translate(40px, 20px) scale(1.05);
    opacity: 0.18;
  }
}

@keyframes floatParticle {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
  33% {
    transform: translate(50px, -60px) scale(1.2);
    opacity: 0.3;
  }
  66% {
    transform: translate(-40px, 50px) scale(0.8);
    opacity: 0.15;
  }
}

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

/* Finance-themed Icons */
.finance-icon {
  position: absolute;
  color: var(--primary-color);
  opacity: 0.12;
  z-index: 1;
  pointer-events: none;
}

.finance-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

/* Calculator Icons */
.calculator-icon {
  width: 60px;
  height: 60px;
}

.calc-1 {
  top: 15%;
  left: 8%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.calc-2 {
  bottom: 25%;
  right: 12%;
  animation-delay: 3s;
  animation-duration: 22s;
  animation-direction: reverse;
}

/* Dollar Sign Icons */
.dollar-icon {
  font-size: 48px;
  font-weight: 700;
  color: var(--secondary-color);
  opacity: 0.15;
  animation: floatFinance 16s ease-in-out infinite;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dollar-1 {
  top: 35%;
  right: 8%;
  animation-delay: 1s;
  animation-duration: 18s;
}

.dollar-2 {
  bottom: 40%;
  left: 12%;
  animation-delay: 4s;
  animation-duration: 19s;
  animation-direction: reverse;
}

.dollar-3 {
  top: 65%;
  right: 35%;
  animation-delay: 2s;
  animation-duration: 17s;
}

/* Chart Icons */
.chart-icon {
  width: 50px;
  height: 50px;
}

.chart-1 {
  top: 50%;
  left: 5%;
  animation-delay: 2.5s;
  animation-duration: 16s;
}

.chart-2 {
  bottom: 15%;
  right: 25%;
  animation-delay: 1.5s;
  animation-duration: 21s;
  animation-direction: reverse;
}

/* Document Icons */
.document-icon {
  width: 45px;
  height: 55px;
}

.doc-1 {
  top: 25%;
  right: 18%;
  animation-delay: 0.5s;
  animation-duration: 17s;
}

.doc-2 {
  bottom: 30%;
  left: 20%;
  animation-delay: 3.5s;
  animation-duration: 23s;
  animation-direction: reverse;
}

/* Finance icon animation */
@keyframes floatFinance {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.12;
  }
  25% {
    transform: translate(40px, -50px) rotate(5deg) scale(1.1);
    opacity: 0.18;
  }
  50% {
    transform: translate(-30px, 40px) rotate(-5deg) scale(0.9);
    opacity: 0.1;
  }
  75% {
    transform: translate(50px, 30px) rotate(3deg) scale(1.05);
    opacity: 0.15;
  }
}

/* Enhanced glow effect for finance icons */
.finance-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, currentColor 0%, transparent 70%);
  opacity: 0.2;
  animation: iconGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes iconGlow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.2;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.3;
  }
}

/* Individual icon animations with rotation */
.calc-1,
.calc-2,
.chart-1,
.chart-2,
.doc-1,
.doc-2 {
  animation: floatFinanceRotate 18s ease-in-out infinite;
}

@keyframes floatFinanceRotate {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.12;
  }
  25% {
    transform: translate(40px, -50px) rotate(90deg) scale(1.1);
    opacity: 0.18;
  }
  50% {
    transform: translate(-30px, 40px) rotate(180deg) scale(0.9);
    opacity: 0.1;
  }
  75% {
    transform: translate(50px, 30px) rotate(270deg) scale(1.05);
    opacity: 0.15;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  animation: fadeInUp 0.8s ease 0.2s both;
  text-align: center;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.3s both;
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
  animation: fadeInUp 0.8s ease 0.4s both;
  position: relative;
  overflow: hidden;
}

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

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

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

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

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
}

/* About Section */
.about {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-item h4 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.about-image {
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Services Section */
.services {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

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

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Map Section */
.map-section {
  background: var(--bg-light);
}

.map-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

#map {
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.map-info {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  height: fit-content;
}

.map-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.map-info p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.map-info strong {
  color: var(--text-dark);
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

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

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.testimonial-rating {
  margin-bottom: 1.5rem;
}

.testimonial-rating .star {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-right: 0.25rem;
}

.testimonial-text {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  font-size: 1.05rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  color: var(--text-dark);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Trust Badges Section */
.trust-badges {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.badge-item {
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.badge-item:hover {
  transform: translateY(-5px);
}

.badge-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}

.badge-icon svg {
  width: 90%;
  height: 90%;
  overflow: visible;
}

.badge-item h4 {
  color: var(--text-dark);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.badge-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

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

.faq-question span {
  flex: 1;
  padding-right: 1rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

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

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

.faq-answer p {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.newsletter-text h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  background: white;
  color: var(--text-dark);
  outline: none;
  transition: box-shadow 0.3s ease;
}

.newsletter-form input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-button {
  padding: 1rem 2rem;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Enquire Section */
.enquire {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.enquire::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.03) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.enquire-form {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

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

.submit-button {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

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

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

.submit-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.submit-button:active {
  transform: translateY(0);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  display: block;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  display: block;
}

/* Footer */
.footer {
  background: #1e293b;
  color: #e2e8f0;
  padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon {
  height: 50px;
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.cpa-logo {
  margin-top: 0;
  margin-bottom: 1rem;
  display: flex;
  justify-content: flex-start;
}

.cpa-logo-img {
  height: 40px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.footer-section p {
  color: #cbd5e1;
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

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

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

.footer-section ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

/* Theme Switcher */
.theme-switcher {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1001;
}

.theme-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  z-index: 1002;
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
}

.theme-options {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.theme-options.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.theme-options h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.theme-colors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.theme-color {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.theme-color:hover {
  transform: scale(1.1);
  border-color: var(--primary-color);
}

.theme-color.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.theme-color.active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

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

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

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

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

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

  .map-wrapper {
    grid-template-columns: 1fr;
  }

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

  .enquire-form {
    padding: 2rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Logo adjustments for mobile */
  .logo-icon {
    height: 70px;
    width: auto;
    transform: scale(1.3);
    transform-origin: left center;
  }

  .footer-logo .logo-icon {
    height: 40px;
    width: auto;
  }

  .theme-switcher {
    bottom: 20px;
    right: 20px;
  }

  .theme-toggle {
    width: 45px;
    height: 45px;
  }

  /* Finance icons - smaller on mobile */
  .calculator-icon {
    width: 40px;
    height: 40px;
  }

  .dollar-icon {
    font-size: 32px;
  }

  .chart-icon {
    width: 35px;
    height: 35px;
  }

  .document-icon {
    width: 30px;
    height: 38px;
  }

  .finance-icon {
    opacity: 0.08;
  }

  /* Testimonials responsive */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Trust badges responsive */
  .badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Newsletter responsive */
  .newsletter-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .newsletter-button {
    width: 100%;
  }

  .theme-options {
    bottom: 60px;
    padding: 1rem;
    min-width: 180px;
  }

  .theme-colors {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .theme-color {
    width: 35px;
    height: 35px;
  }

  /* Reduce animated elements on mobile */
  .animated-shape {
    opacity: 0.1;
    filter: blur(30px);
  }

  .particle {
    opacity: 0.15;
  }

  .geometric-shape {
    opacity: 0.08;
  }

  .shape-1,
  .shape-2,
  .shape-3,
  .shape-4,
  .shape-5,
  .shape-6,
  .shape-7,
  .shape-8,
  .shape-9,
  .shape-10 {
    width: 60%;
    height: 60%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .container {
    padding: 0 15px;
  }

  /* Trust badges mobile */
  .badges-grid {
    grid-template-columns: 1fr;
  }

  /* Newsletter mobile */
  .newsletter-text h2 {
    font-size: 1.5rem;
  }
}
