/* ==========================================================================
   JEEVAN UTTHAN FINANCIAL SERVICES - EXPERT GRAPHIC DESIGN & UI SYSTEM
   Brand Background Swatch: Royal Electric Purple (#490fb4)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Graphic Designer Swatch Palette */
  --bg-dark: #490fb4;
  --bg-darker: #360a8f;
  --bg-card: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  --bg-card-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.12) 100%);
  --bg-glass: rgba(255, 255, 255, 0.08);
  
  --purple-brand: #490fb4;
  --purple-vibrant: #7022f2;
  --purple-light: #f3e8ff;
  --violet-glow: #fef08a;
  
  --gold-accent: #fbbf24;
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --white-gradient: linear-gradient(135deg, #ffffff 0%, #e9d5ff 100%);
  --purple-gradient: linear-gradient(135deg, #ffffff 0%, #e9d5ff 50%, #fef08a 100%);
  --hero-gradient: radial-gradient(circle at 50% 15%, #6a1ce8 0%, #490fb4 75%, #340989 100%);
  
  --text-primary: #ffffff;
  --text-secondary: #f1f5f9;
  --text-muted: #cbd5e1;
  
  --border-purple: rgba(255, 255, 255, 0.22);
  --border-glow: rgba(255, 255, 255, 0.5);
  --border-gold: rgba(251, 191, 36, 0.6);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-purple: 0 15px 35px -5px rgba(25, 4, 68, 0.5);
  --shadow-glow: 0 0 30px rgba(255, 255, 255, 0.35);
  --shadow-gold: 0 0 25px rgba(251, 191, 36, 0.4);

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  /* Layout */
  --container-width: 1240px;
  --nav-height: 80px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(56, 10, 145, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.05) 0%, transparent 60%);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

a {
  color: var(--gold-accent);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: #fff;
}

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.text-center { text-align: center; }
.text-purple { color: var(--purple-light); }
.text-gold { color: var(--gold-accent); }
.gradient-text {
  background: var(--white-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Header Component */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-glow);
  color: var(--gold-accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  font-weight: 400;
}

/* Glass Card Component */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-purple), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0.4;
  transition: var(--transition-fast);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 45px rgba(25, 4, 68, 0.6), var(--shadow-glow);
}

.glass-card:hover::before {
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #ffffff;
  color: var(--purple-brand);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--gold-accent);
  color: #0b051f;
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-3px);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0b051f;
  font-weight: 800;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
  color: #000;
}

/* Navigation Bar */
.top-bar {
  background: rgba(45, 9, 115, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  padding: 0.55rem 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 1.8rem;
  color: #ffffff;
  font-weight: 500;
  white-space: nowrap;
}

.top-bar-info span {
  color: #ffffff;
  white-space: nowrap;
}

.top-bar-info i {
  color: var(--gold-accent);
  margin-right: 0.4rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  transition: transform 0.25s ease;
}

.logo:hover {
  transform: scale(1.02);
}

/* Image-based emblem icon */
.site-logo-icon {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.site-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #2b0856;
  line-height: 1.08;
  letter-spacing: -0.3px;
}

.logo-sub {
  font-size: 0.78rem;
  color: #e65100;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.2;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  color: #1e1b4b;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.2px;
  transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: #7022f2;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #7022f2 0%, #c026d3 100%);
  border-radius: 2px;
  transition: var(--transition-fast);
}

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

/* Navigation Dropdown Menu */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.dropdown-icon {
  font-size: 0.72rem;
  transition: transform 0.25s ease;
  color: #7022f2;
}

.nav-item-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 210px;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.6rem 0.5rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(112, 34, 242, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  color: #1e1b4b;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-item i {
  color: #7022f2;
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
  transition: transform 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(112, 34, 242, 0.08);
  color: #7022f2;
  transform: translateX(4px);
}

.dropdown-item:hover i {
  transform: scale(1.15);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-actions .btn-primary {
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #7022f2 0%, #360a8f 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(112, 34, 242, 0.3);
  border: none;
  transition: all 0.3s ease;
}

.nav-actions .btn-primary:hover {
  background: var(--gold-gradient);
  color: #1a0044;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.55);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(112, 34, 242, 0.08);
  border: 1.5px solid rgba(112, 34, 242, 0.25);
  color: #2b0856 !important;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.25s ease;
}

.menu-toggle i {
  color: #2b0856 !important;
  font-size: 1.25rem;
  display: block;
}

.menu-toggle:hover {
  background: rgba(112, 34, 242, 0.15);
  border-color: rgba(112, 34, 242, 0.4);
}

.mobile-menu-cta {
  display: none !important;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5.5rem 0 7rem 0;
  background: var(--hero-gradient);
  overflow: hidden;
}

.hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.orb-1 {
  width: 450px;
  height: 450px;
  background: rgba(255, 255, 255, 0.15);
  top: -120px;
  left: -80px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(251, 191, 36, 0.12);
  bottom: -150px;
  right: -100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.75rem;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 600px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-purple);
}

.stat-item h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold-accent);
  font-weight: 800;
}

.stat-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-glow);
  box-shadow: 0 20px 45px rgba(25, 4, 68, 0.6), var(--shadow-glow);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

.floating-pill {
  position: absolute;
  background: rgba(45, 9, 115, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  animation: float 4.5s ease-in-out infinite;
}

.pill-1 {
  bottom: 25px;
  left: -25px;
}

.pill-2 {
  top: 35px;
  right: -25px;
  animation-delay: 2.25s;
}

.pill-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b051f;
  font-size: 1.1rem;
}

.pill-text h4 {
  font-size: 0.95rem;
  line-height: 1.2;
}

.pill-text span {
  font-size: 0.78rem;
  color: var(--gold-accent);
  font-weight: 600;
}

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

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-features {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.feature-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid var(--gold-accent);
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.about-feature-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Products Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.product-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.product-title {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.product-desc {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  font-size: 1rem;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  padding: 1.4rem;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-purple);
  margin-bottom: 1.75rem;
}

.spec-item label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.spec-item span {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-accent);
}

/* Board Slider Container & Wrapper */
.board-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 3rem;
}

.board-slider-container {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

.board-slider-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.board-slide-item {
  flex: 0 0 calc(25% - 1.125rem);
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .board-slide-item {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 600px) {
  .board-slide-item {
    flex: 0 0 100%;
  }
}

.team-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.team-img-wrap {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.04);
}

.team-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7022f2 0%, #360a8f 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
}

.team-info {
  background: #ffffff;
  padding: 1.1rem 0.6rem 1.25rem 0.6rem;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.team-name {
  color: #c026d3;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  line-height: 1.35;
  word-wrap: break-word;
}

.team-role {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

/* 4 Team Members Per Row Grid */
.team-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
}

@media (max-width: 1024px) {
  .team-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .team-grid-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.slider-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid var(--border-glow);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-normal);
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.slider-btn:hover {
  background: var(--gold-accent);
  color: #0b051f;
  transform: scale(1.12);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid var(--border-glow);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background: var(--gold-accent);
  width: 32px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
}

/* Timeline Section */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 3.5rem auto 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--gold-gradient);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.75rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3.5rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3.5rem;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-accent);
  border: 4px solid var(--bg-dark);
  box-shadow: var(--shadow-gold);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -11px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -11px;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-purple);
}

.timeline-year {
  display: inline-block;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #0b051f;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-list {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.25rem;
}

.contact-info-item {
  display: flex;
  gap: 1.35rem;
  align-items: flex-start;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--border-glow);
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-purple);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.98rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--bg-darker) 0%, #22055e 100%);
  border-top: 1px solid rgba(251, 191, 36, 0.3);
  position: relative;
  padding: 4.5rem 0 2rem 0;
  margin-top: 5rem;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  z-index: 2;
}

.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/footer-wave.png') no-repeat center bottom / cover;
  opacity: 0.45;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col .logo {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 0.35rem 0.95rem;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.25rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(251, 191, 36, 0.12);
  color: var(--gold-accent);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  text-decoration: none;
}

.footer-socials a:hover {
  background: var(--gold-accent);
  color: #1c004a;
  border-color: var(--gold-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gold-accent);
  border-radius: 2px;
}

.footer-links {
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--gold-accent);
  transition: transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-accent);
  transform: translateX(4px);
}

.footer-links a:hover i {
  transform: translateX(2px);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: grid;
  gap: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-contact-list li i {
  color: var(--gold-accent);
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-apply-btn {
  width: 100%;
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--gold-accent);
  text-decoration: underline;
}

.footer-legal .dot {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
}

.back-to-top-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-normal);
  text-decoration: none;
}

.back-to-top-btn:hover {
  background: var(--gold-accent);
  color: #1c004a;
  border-color: var(--gold-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 9, 115, 0.9);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 90%;
  max-width: 600px;
  background: var(--bg-dark);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5), var(--shadow-glow);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 3000;
}

.toast {
  background: rgba(45, 9, 115, 0.95);
  border: 1px solid var(--border-glow);
  color: #fff;
  padding: 1.1rem 1.6rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  animation: slideIn 0.35s forwards;
  font-weight: 600;
}

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

/* ==========================================================================
   ADVANCED MOBILE & TABLET RESPONSIVE SYSTEM
   ========================================================================== */

/* Large Tablets & Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    width: 92%;
  }

  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }
  
  .hero-stats {
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Tablets & Mobile Header Optimization (max-width: 991px) */
@media (max-width: 991px) {
  .section {
    padding: 3.5rem 0;
  }

  .top-bar {
    padding: 0.4rem 0.5rem;
    background: #1e0344;
  }

  .top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .top-bar-info:first-child { 
    display: none; 
  }

  .top-bar-info:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 0.84rem;
    color: #ffffff;
    width: 100%;
    white-space: nowrap;
  }

  .top-bar-info span {
    white-space: nowrap !important;
  }
  
  .header {
    height: 68px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-container {
    padding: 0;
  }

  .logo {
    gap: 0.5rem;
    padding: 0;
    border-radius: 0;
  }

  .site-logo-icon {
    height: 44px;
    width: auto;
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .logo-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #2b0856;
    line-height: 1.1;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }

  .logo-sub {
    font-size: 0.65rem;
    color: #e65100;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.4px;
    margin-top: 1px;
  }

  .nav-actions {
    gap: 0.5rem;
    display: flex;
    align-items: center;
  }

  .nav-actions .btn-primary {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
    border-radius: var(--radius-full);
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(112, 34, 242, 0.3);
  }

  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(112, 34, 242, 0.1);
    border: 1.5px solid rgba(112, 34, 242, 0.3);
    color: #2b0856 !important;
    font-size: 1.3rem;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(112, 34, 242, 0.15);
  }

  .menu-toggle i {
    color: #2b0856 !important;
    font-size: 1.3rem;
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem 1.5rem 2.5rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 3px solid #7022f2;
    transform: translateY(-160%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
    color: #1e1b4b;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-link:hover, .nav-link.active {
    color: #7022f2;
  }

  /* Mobile Dropdown Submenu */
  .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link.dropdown-toggle {
    width: 100%;
    justify-content: center;
    position: relative;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-link.dropdown-toggle .dropdown-icon {
    position: absolute;
    right: 0.5rem;
    font-size: 0.85rem;
    color: #7022f2;
    transition: transform 0.3s ease;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8f6fc;
    border: 1px solid rgba(112, 34, 242, 0.15);
    border-radius: 10px;
    margin-top: 0.3rem;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
  }

  .nav-item-dropdown.mobile-open .dropdown-menu {
    display: flex;
  }

  .nav-item-dropdown.mobile-open .dropdown-icon {
    transform: rotate(180deg);
  }

  .dropdown-item {
    padding: 0.7rem 1rem;
    font-size: 1rem;
    justify-content: flex-start;
    border-radius: 8px;
  }

  .mobile-menu-cta {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.15);
  }

  .mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid var(--gold-accent);
    color: #92400e;
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
  }

  .hero-title {
    font-size: clamp(2.2rem, 7vw, 3.2rem);
  }

  .section-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  /* Prevent floating pills from overflowing image on mobile */
  .floating-pill {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    margin-top: 1rem;
    animation: none;
    width: 100%;
    justify-content: flex-start;
  }

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

  /* Mobile Timeline Adjustments */
  .timeline::before {
    left: 16px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 2.75rem !important;
    padding-right: 0 !important;
    text-align: left !important;
    margin-bottom: 2rem;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 5px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Mobile Phones (max-width: 576px) */
@media (max-width: 576px) {
  .container {
    width: 95%;
    padding: 0 0.5rem;
  }

  .top-bar-info:last-child span:last-child {
    display: none; /* Hide email on mobile phones so Toll Free fits in 1 clean line */
  }

  .top-bar-info:last-child {
    font-size: 0.86rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.6rem);
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

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

  .stat-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-purple);
  }

  .glass-card {
    padding: 1.4rem 1.15rem;
  }

  .product-specs {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  /* Form input optimization for iOS Safari */
  .form-control {
    font-size: 16px !important;
    padding: 0.85rem 1rem;
  }

  .modal-container {
    padding: 1.75rem 1.25rem;
  }

  .team-img-wrap {
    height: 350px;
  }

  .board-slide-item {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .board-slider-wrapper {
    gap: 0.5rem;
  }

  .logo-name {
    font-size: 1.15rem;
  }

  .logo-sub {
    font-size: 0.62rem;
    display: block;
  }

  .nav-actions .btn-primary {
    font-size: 0.76rem;
    padding: 0.45rem 0.75rem;
  }

  /* Product Chart Card Mobile Optimization */
  .product-chart-card {
    padding: 1.4rem 1rem;
  }

  .donut-chart-container {
    width: 180px;
    height: 180px;
  }

  .donut-chart {
    width: 165px;
    height: 165px;
  }

  .donut-center {
    width: 100px;
    height: 100px;
  }

  .donut-total {
    font-size: 0.95rem;
  }

  .donut-label {
    font-size: 0.58rem;
  }

  .breakdown-item {
    padding: 0.55rem 0.75rem;
  }

  .item-year, .item-amt {
    font-size: 0.82rem;
  }

  .item-pct {
    font-size: 0.76rem;
    min-width: 46px;
    padding: 0.15rem 0.45rem;
  }

  /* Partner Logo Grid Mobile 2-column layout */
  .logo-grid {
    justify-content: center;
    gap: 0.75rem;
  }

  .logo-tile {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 130px;
    max-width: calc(50% - 0.375rem);
    height: 72px;
    padding: 0.6rem 0.8rem;
  }

  .logo-tile img {
    max-height: 44px;
    max-width: 110px;
  }
}

/* Universal Keyboard Focus Accessibility */
:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 3px;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

/* ==========================================================================
   Products Page Donut / Pie Chart Styles & Animations
   ========================================================================== */
.product-chart-card {
  padding: 2.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-purple);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.product-chart-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(192, 38, 211, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-header h4 {
  font-size: 1.1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
}

.chart-header h4 i {
  color: var(--gold-accent);
}

.chart-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(192, 38, 211, 0.15);
  border: 1px solid rgba(192, 38, 211, 0.35);
  color: #d946ef;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chart-visual-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 2rem;
}

.donut-chart-container {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-chart-container::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(172, 86, 247, 0.2) 0%, transparent 70%);
  animation: chartPulse 3.5s ease-in-out infinite;
  pointer-events: none;
}

.donut-chart {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  opacity: 0;
  transform: scale(0.7) rotate(-120deg);
}

.product-chart-card.chart-animated .donut-chart {
  animation: chartRotateIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.donut-chart-1 {
  background: conic-gradient(
    #f8c04e 0% 11.4%,
    #ac56f7 11.4% 27.9%,
    #10b981 27.9% 56.1%,
    #06b6d4 56.1% 79.8%,
    #f43f5e 79.8% 100%
  );
}

.donut-chart-2 {
  background: conic-gradient(
    #06b6d4 0% 54.7%,
    #f43f5e 54.7% 100%
  );
}

.donut-center {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #14032e;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
  text-align: center;
  padding: 0.5rem;
  opacity: 0;
  transform: scale(0.5);
  transition: transform 0.3s ease;
}

.product-chart-card.chart-animated .donut-center {
  animation: centerPop 0.8s 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.donut-total {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  transition: color 0.3s ease;
}

.donut-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

.chart-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateX(15px);
}

.product-chart-card.chart-animated .breakdown-item {
  animation: itemSlideIn 0.5s ease forwards;
}

.product-chart-card.chart-animated .breakdown-item:nth-child(1) { animation-delay: 0.25s; }
.product-chart-card.chart-animated .breakdown-item:nth-child(2) { animation-delay: 0.4s; }
.product-chart-card.chart-animated .breakdown-item:nth-child(3) { animation-delay: 0.55s; }
.product-chart-card.chart-animated .breakdown-item:nth-child(4) { animation-delay: 0.7s; }
.product-chart-card.chart-animated .breakdown-item:nth-child(5) { animation-delay: 0.85s; }

.breakdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.breakdown-item:hover .color-dot {
  transform: scale(1.3);
  box-shadow: 0 0 10px currentColor;
}

.item-year {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  flex: 1;
}

.item-amt {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-right: 0.85rem;
}

.item-pct {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #ffffff;
  min-width: 52px;
  text-align: center;
  transition: transform 0.25s ease;
}

.breakdown-item:hover .item-pct {
  transform: scale(1.05);
}

/* Keyframes */
@keyframes chartRotateIn {
  0% {
    opacity: 0;
    transform: scale(0.6) rotate(-180deg);
  }
  70% {
    opacity: 1;
    transform: scale(1.05) rotate(8deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes centerPop {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes chartPulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.14);
    opacity: 0.7;
  }
}

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

/* Mobile & SEO UX Optimizations */
img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  /* Prevent iOS zoom on input focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Modal responsiveness for mobile */
  .modal-overlay {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-container {
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
    border-radius: 16px;
    padding: 1.5rem;
  }

  .modal-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Accessibility touch target sizes */
  .btn,
  .nav-link,
  .dropdown-item {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .top-bar-content {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }

  .top-bar-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

