:root {
  --solarc-blue: #0040E6;
  --solarc-dark-blue: #001f70;
  --solarc-navy: #001242;
  --solarc-cyan: #00D2FF;
  --solarc-light-bg: #f8fafc;
  --solarc-card-bg: #ffffff;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #334155;
  background-color: var(--solarc-light-bg);
  overflow-x: hidden;
  position: relative;
}

/* Dynamic Animated Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 15% 20%, rgba(0, 64, 230, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(0, 210, 255, 0.06) 0%, transparent 45%),
    linear-gradient(to right, rgba(0, 64, 230, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 64, 230, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  z-index: -1;
  pointer-events: none;
  animation: bgGlow 15s ease-in-out infinite alternate;
}

@keyframes bgGlow {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.03) translate(-10px, 15px); }
  100% { transform: scale(1) translate(10px, -10px); }
}

/* Section Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

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

/* Stagger Delay Classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Typography & Colors */
.text-solarc-blue { color: var(--solarc-blue) !important; }
.text-solarc-cyan { color: var(--solarc-cyan) !important; }
.bg-solarc-blue { background-color: var(--solarc-blue) !important; }
.bg-solarc-navy { background-color: var(--solarc-navy) !important; }

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 31, 112, 0.06);
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.nav-link {
  font-weight: 500;
  color: var(--solarc-navy) !important;
  margin: 0 8px;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--solarc-blue) !important;
}

/* Custom Buttons */
.btn-solarc-primary {
  background-color: var(--solarc-blue);
  color: #ffffff;
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 64, 230, 0.25);
}

.btn-solarc-primary:hover {
  background-color: var(--solarc-dark-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 64, 230, 0.35);
}

.btn-solarc-outline {
  border: 2px solid var(--solarc-blue);
  color: var(--solarc-blue);
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-solarc-outline:hover {
  background-color: var(--solarc-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Cards & Floating Effects */
.solarc-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.solarc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -5px rgba(0, 64, 230, 0.12);
  border-color: rgba(0, 64, 230, 0.3);
}

.icon-box-lg {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: rgba(0, 64, 230, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--solarc-blue);
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.solarc-card:hover .icon-box-lg {
  transform: scale(1.1) rotate(3deg);
}

.badge-popular {
  background: linear-gradient(135deg, var(--solarc-blue), var(--solarc-cyan));
  color: white;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 20px;
}

footer {
  background-color: var(--solarc-navy);
  color: #e2e8f0;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--solarc-blue);
  color: #ffffff;
  transform: translateY(-3px);
}