/* ==========================================================================
   VestaPayCare — Premium Enterprise Component Styles
   ========================================================================== */

/* --- Header Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--surface-glass-nav);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-6);
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: transform var(--transition-base);
}

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

.brand-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.15));
  transition: filter var(--transition-base);
}

.site-header.scrolled .brand-logo img {
  height: 38px;
}

.brand-logo:hover img {
  filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.3));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.brand-tagline {
  font-size: var(--text-xs);
  color: var(--accent-300);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--accent-300);
  background: rgba(14, 165, 233, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-400);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--accent-glow-strong);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-link::after {
  content: '';
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: rgba(11, 25, 46, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  z-index: 100;
}

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

.dropdown-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  color: #fff;
  background: rgba(14, 165, 233, 0.1);
  padding-left: var(--space-5);
}

.dropdown-link.active {
  color: var(--accent-300);
  background: rgba(14, 165, 233, 0.08);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav-toggle[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

.mobile-nav-toggle svg {
  transition: transform var(--transition-base);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-shimmer);
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: var(--shadow-accent-strong);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--accent-600);
  border: 1.5px solid rgba(14, 165, 233, 0.3);
}

.btn-outline:hover {
  color: #fff;
  background: var(--gradient-accent);
  border-color: transparent;
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

/* Nav button variant */
.nav-link.btn {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
}

.nav-link.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px -2px rgba(14, 165, 233, 0.4);
}

.nav-link.btn-primary:hover {
  color: #fff;
  box-shadow: 0 6px 20px -2px rgba(14, 165, 233, 0.55);
  transform: translateY(-1px);
}

.nav-link.btn-primary::after {
  display: none;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: calc(var(--header-height) + var(--space-12));
  padding-bottom: var(--space-20);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh-hero);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--surface-body));
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37, 75, 130, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero-content.text-center {
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: var(--accent-300);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-400);
  box-shadow: 0 0 10px var(--accent-glow-strong);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--accent-300), var(--accent-400), var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: var(--space-8);
}

.hero-content.text-center .hero-description {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero Stats Bar */
.hero-stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-value .text-gradient {
  background: linear-gradient(135deg, var(--accent-300), var(--accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-1);
  font-weight: 500;
}

/* --- Glass Cards --- */
.glass-card {
  background: var(--surface-card);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

.glass-card:hover {
  background: var(--surface-card-hover);
  box-shadow: var(--shadow-2xl);
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.2);
}

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

.glass-card h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.glass-card p {
  font-size: var(--text-sm);
  color: var(--neutral-600);
  line-height: 1.7;
}

/* Icon Box */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(37, 75, 130, 0.06));
  font-size: 1.75rem;
  margin-bottom: var(--space-4);
  transition: all var(--transition-base);
}

.glass-card:hover .icon-box {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(37, 75, 130, 0.12));
  transform: scale(1.08);
}

/* --- Dark Card (Forms) --- */
.dark-card {
  background: var(--surface-glass-dark);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.dark-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.dark-card h3 {
  color: #fff;
}

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--neutral-700);
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-400);
  background: rgba(14, 165, 233, 0.05);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.dark-card .form-control {
  background: rgba(255, 255, 255, 0.05);
}

/* Toast Alert */
.toast-alert {
  min-height: 0;
  overflow: hidden;
  transition: all var(--transition-smooth);
  border-radius: var(--radius-md);
}

.toast-alert.show {
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success-400);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

/* --- Service Cards Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

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

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Marquee --- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: var(--space-6) 0;
  background: var(--neutral-900);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-track {
  display: inline-flex;
  gap: var(--space-12);
  animation: marquee-scroll 30s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-lg);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.marquee-item span {
  font-size: 1.5rem;
}

/* --- Stats Section --- */
.stats-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh-hero);
}

.stat-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-value .text-gradient {
  background: linear-gradient(135deg, var(--accent-300), var(--accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Tables --- */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  -webkit-overflow-scrolling: touch;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: var(--text-sm);
}

.custom-table thead {
  background: var(--gradient-accent);
}

.custom-table th {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  color: #fff;
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.custom-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--neutral-200);
  color: var(--neutral-700);
}

.custom-table tbody tr {
  transition: background var(--transition-fast);
}

.custom-table tbody tr:hover {
  background: rgba(14, 165, 233, 0.03);
}

.custom-table tbody tr:last-child td {
  border-bottom: none;
}

/* Badge for PDF */
.badge-pdf {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: rgba(220, 38, 38, 0.08);
  color: var(--error-600);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* --- Tab Buttons --- */
.tab-buttons {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.tab-btn {
  padding: var(--space-2) var(--space-5);
  background: transparent;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-full);
  color: var(--neutral-600);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  border-color: var(--accent-400);
  color: var(--accent-600);
}

.tab-btn.active {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* --- Search Box --- */
.search-box {
  position: relative;
  width: 100%;
  margin-bottom: var(--space-6);
}

.search-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-400);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-12);
  background: #fff;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--neutral-700);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-400);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

/* --- Footer --- */
.site-footer {
  background: var(--neutral-950);
  color: var(--neutral-400);
  padding-top: var(--space-20);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh-hero);
  opacity: 0.5;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand-logo {
  margin-bottom: var(--space-4);
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-tagline {
  color: var(--neutral-500);
}

.footer-title {
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  color: var(--neutral-400);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-link:hover {
  color: var(--accent-300);
  padding-left: var(--space-2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--neutral-400);
  line-height: 1.6;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-6) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--neutral-500);
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  color: var(--neutral-500);
  font-size: var(--text-xs);
  margin: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: var(--space-20) 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh-hero);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: var(--space-4);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

/* --- Client Logos --- */
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background: var(--surface-card);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
  min-height: 120px;
}

.client-logo:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.2);
}

.client-logo img {
  max-height: 60px;
  filter: grayscale(100%) opacity(0.6);
  transition: all var(--transition-smooth);
}

.client-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

/* --- Responsive Header / Mobile Nav --- */
@media (max-width: 1024px) {
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 10, 20, 0.98);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    padding: var(--space-6);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: none;
    padding: var(--space-2) 0;
    margin-top: var(--space-1);
    display: none;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-link.btn-primary {
    margin-top: var(--space-4);
    text-align: center;
    padding: var(--space-3) var(--space-6);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-6);
  }

  .hero-stat {
    flex: 1 1 40%;
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: 90vh;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: var(--space-4);
  }

  .hero-stat-value {
    font-size: var(--text-2xl);
  }

  .glass-card {
    padding: var(--space-6);
  }

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

/* --- Utility: Full Width on Mobile --- */
@media (max-width: 640px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .tab-buttons {
    gap: var(--space-1);
  }

  .tab-btn {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }
}

/* --- Additional Components for Index Page --- */

/* Button Secondary */
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Reveal Left & Right */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Marquee Container */
.marquee-container {
  padding: var(--space-10) 0;
  background: var(--neutral-900);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.marquee-container .marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}

.marquee-container .marquee-item {
  flex-shrink: 0;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.marquee-container .marquee-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.marquee-container .marquee-item img {
  height: 40px;
  width: auto;
}

/* Hero Stat Items (index page) */
.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-number .text-gradient,
.stat-number {
  background: linear-gradient(135deg, var(--accent-300), var(--accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-1);
  font-weight: 500;
}

/* Border Y Utility */
.border-y {
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
}

/* Card Link */
.glass-card a {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-4);
  color: var(--accent-600);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.glass-card a:hover {
  color: var(--accent-500);
  gap: 8px;
}

/* Feature Stat Cards */
.glass-card h3[style*="font-size: 2rem"] {
  font-family: var(--font-heading);
  font-weight: 800;
}

/* --- Top Contact Bar --- */
.top-contact-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--primary-950);
  border-bottom: 1px solid rgba(14, 165, 233, 0.15);
  z-index: 1001;
  display: flex;
  align-items: center;
}

.top-contact-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.top-contact-info {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.top-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.top-contact-item:hover {
  color: var(--accent-300);
}

.top-contact-item svg {
  flex-shrink: 0;
}

.top-contact-phone {
  font-weight: 700;
  color: var(--accent-300);
  font-size: var(--text-base);
  letter-spacing: 0.02em;
}

.top-contact-phone:hover {
  color: var(--accent-400);
}

/* Adjust header for top bar */
.site-header {
  top: 40px;
}

/* --- Premium Full-Width Cinematic Slider --- */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--primary-950);
  margin-top: 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 1.2s;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0s;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.0);
}

.hero-slide.active img {
  animation: kenBurns 7s ease-out forwards;
}

@keyframes kenBurns {
  0% {
    transform: scale(1.0) translate(0, 0);
  }
  100% {
    transform: scale(1.12) translate(-1.5%, -1%);
  }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5, 10, 20, 0.75) 0%, rgba(5, 10, 20, 0.3) 40%, transparent 70%),
    linear-gradient(to top, rgba(5, 10, 20, 0.6) 0%, transparent 40%);
  z-index: 1;
}

.hero-slide-caption {
  position: absolute;
  bottom: 18%;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 var(--space-16);
  max-width: 760px;
}

.hero-slide-caption .hero-slide-tag {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--accent-300);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: var(--space-5);
  opacity: 0;
  transform: translateY(20px);
}

.hero-slide-caption .hero-slide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
}

.hero-slide-caption .hero-slide-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 520px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(20px);
}

.hero-slide.active .hero-slide-tag {
  animation: captionFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-slide.active .hero-slide-title {
  animation: captionFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-slide.active .hero-slide-desc {
  animation: captionFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

@keyframes captionFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Navigation Arrows */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  opacity: 0.6;
}

.hero-slider:hover .hero-slider-arrow {
  opacity: 1;
}

.hero-slider-arrow:hover {
  background: rgba(14, 165, 233, 0.4);
  border-color: rgba(14, 165, 233, 0.5);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
}

.hero-slider-arrow.prev {
  left: var(--space-6);
}

.hero-slider-arrow.next {
  right: var(--space-6);
}

/* Premium Controls — Dots + Progress Bar */
.hero-slider-controls {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  z-index: 10;
}

.hero-slider-dots {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.hero-slider-dot.active {
  width: 32px;
  height: 8px;
  border-radius: 4px;
  background: var(--accent-400);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
}

.hero-slider-progress {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  overflow: hidden;
}

.hero-slider-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-400), var(--accent-300));
  border-radius: 1px;
  transition: none;
}

.hero-slider-progress-bar.running {
  animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* Responsive Slider */
@media (max-width: 768px) {
  .hero-slider-section {
    height: 70vh;
    min-height: 420px;
  }

  .hero-slide-caption {
    bottom: 22%;
    padding: 0 var(--space-6);
  }

  .hero-slider-arrow {
    width: 40px;
    height: 40px;
    opacity: 0.8;
  }

  .hero-slider-arrow.prev {
    left: var(--space-3);
  }

  .hero-slider-arrow.next {
    right: var(--space-3);
  }

  .hero-slider-controls {
    bottom: var(--space-6);
  }

  .hero-slider-progress {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .hero-slider-section {
    height: 60vh;
    min-height: 360px;
  }

  .hero-slide-caption {
    bottom: 25%;
    padding: 0 var(--space-4);
  }

  .hero-slide-caption .hero-slide-tag {
    font-size: 0.6rem;
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-3);
  }
}

/* --- Latest News Ticker --- */
.news-ticker {
  background: var(--neutral-900);
  border-top: 1px solid rgba(14, 165, 233, 0.1);
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
  padding: var(--space-3) 0;
  overflow: hidden;
}

.news-ticker .container {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.news-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: var(--gradient-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.news-ticker-content {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.news-ticker-text {
  display: inline-block;
  animation: marquee-scroll 25s linear infinite;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* --- Services Overview List --- */
.services-overview {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.services-overview-item {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--neutral-600);
  font-weight: 500;
}

/* --- Responsive Top Bar --- */
@media (max-width: 768px) {
  .top-contact-bar {
    height: 36px;
  }

  .top-contact-info {
    gap: var(--space-3);
  }

  .top-contact-item {
    font-size: var(--text-xs);
  }

  .top-contact-phone {
    font-size: var(--text-sm);
  }

  .top-contact-item.top-contact-email {
    display: none;
  }

  .site-header {
    top: 36px;
  }
}

@media (max-width: 480px) {
  .top-contact-info {
    gap: var(--space-2);
  }
}
