:root {
  --ez-primary: #0B1F3B;
  --ez-accent: #0EA5E9;
  --ez-secondary: #14B8A6;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--ez-primary), #0F172A);
  padding: 80px 0;
}

.hero-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* General Section */
.section {
  padding: 100px 0;
}

/* Buttons */
.btn-ez-primary {
  background: var(--ez-accent);
  color: #fff;
  border-radius: 8px;
  padding: 14px 28px;
  font-weight: 600;
}

.btn-ez-primary:hover {
  background: #0284c7;
}

.btn-ez-secondary {
  background: var(--ez-secondary);
  color: #fff;
  border-radius: 8px;
  padding: 14px 28px;
  font-weight: 600;
}

/* Cards */
.card-ez {
  border: none;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  transition: .3s ease;
}

.card-ez:hover {
  transform: translateY(-6px);
}

/* Navbar */
#mainNavbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#mainNavbar.scrolled {
  background-color: var(--ez-primary);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Announcement Bar */
.announcement-bar {
  background: var(--ez-secondary);
  font-weight: 500;
}
/* Animation for the points to pulse and glow */
.animated-points circle {
    animation: pulse 4s infinite ease-in-out;
    transform-origin: center;
    transform-box: fill-box;
}

/* Delaying points so they don't all pulse at the same time */
.animated-points circle:nth-child(odd) {
    animation-delay: 1s;
}

/* Animation for the lines to fade in and out slightly */
.animated-lines line {
    animation: breathe 6s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 1; }
}

@keyframes breathe {
    0%, 100% { stroke-opacity: 0.2; stroke-width: 1; }
    50% { stroke-opacity: 0.5; stroke-width: 1.5; }
}
.button-progress {
    transition: background-color 0.5s ease;
}

.button-progress.active {
    background-color: #ccc; /* A slightly darker shade of the original button color */
}

/* Progress Button Styling */
.hold-progress-btn {
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    background-color: var(--ez-primary) !important;
    border-color: var(--ez-primary) !important;
    color: #fff !important;
}

/* Prevent Bootstrap from changing button color to white/light on hover/focus/active */
.hold-progress-btn:hover,
.hold-progress-btn:focus,
.hold-progress-btn:active {
    background-color: var(--ez-primary) !important;
    border-color: var(--ez-primary) !important;
    box-shadow: none !important;
    color: #fff !important;
}

/* The Progress Bar Fill Layer (Slightly darker shade moving across) */
.hold-progress-btn .btn-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: rgba(0, 0, 0, 0.25); /* Darker shade overlay */
    pointer-events: none;
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.hold-progress-btn.holding .btn-fill {
    animation: fillProgress 5s linear forwards;
}

.hold-progress-btn .btn-text {
    position: relative;
    z-index: 2; /* Keeps text crisp and readable above the fill bar */
}