:root {
  /* Color Palette based on Daga Advisory Group logo and theme */
  --color-charcoal: #333333;
  --color-charcoal-light: #4A4A4A;

  /* Responding to user request: bringing back the Original Navy & Gold Theme */
  --color-navy: #0F204B;
  --color-navy-light: #1A367D;
  --color-gold: #C5A059;
  --color-gold-light: #D4B678;

  --color-white: #FFFFFF;
  --color-offwhite: #FFFFFF;
  /* Kept pure white background per user request */
  --color-gray-border: #F0F0F0;
  /* Softened border for luxury feel */

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;

  /* Shadows & Transitions */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.12);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.2);
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--color-charcoal);
  background-color: var(--color-offwhite);
  line-height: 1.6;
  padding-top: var(--header-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-charcoal);
  letter-spacing: -0.02em; /* Tighter for professional feel */
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

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

.text-navy {
  color: var(--color-navy);
}

.text-gold {
  color: var(--color-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-primary);
}

.btn-primary {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  font-weight: 600;
}

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

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
  border: 2px solid var(--color-gold);
  font-weight: 600;
}

.btn-gold:hover {
  background-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Header Components */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.site-header.scrolled {
  height: 65px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1600px;
}

.logo {
  font-family: 'Times New Roman', serif;
  font-size: 1.5rem;
  color: var(--color-charcoal);
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-top {
  font-size: 2.2rem;
}

.logo-bottom {
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: var(--color-charcoal-light);
}

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

.nav-links a {
  font-weight: 500;
  color: var(--color-charcoal);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-charcoal);
  cursor: pointer;
}

/* Footer Components */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

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

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

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

.footer-links a {
  color: #CBD5E1;
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

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

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Mobile menu logic required via JS */
  }

  .menu-toggle {
    display: block;
  }
}

/* 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);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-500 {
  transition-delay: 500ms;
}

/* Floating Micro-animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

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

/* Premium Hero Styles */
.hero-premium {
  background: radial-gradient(circle at 20% 30%, rgba(26, 54, 125, 0.8) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(197, 160, 89, 0.15) 0%, transparent 40%),
              linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%) !important;
  box-shadow: inset 0 0 100px rgba(0,0,0,0.2);
}

/* Custom hub card hover for calculators.html */
.hub-card:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}