/* Midnight Carbon Theme */
:root {
    --background: #050A30; /* Midnight Blue */
    --text-color: #FFFFFF; /* Crisp White */
    --primary: #00FFFF; /* Electric Cyan */
    --secondary: #E5E4E2; /* Platinum Silver */
    --accent-dark: #121212; /* Onyx Carbon */
    --shadow: rgba(0, 255, 255, 0.3); /* Cyan Glow */
}

body {
    background-color: var(--background);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 50px;
    background: transparent;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease-in-out;
    text-align: left;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 1000;
}

nav.scrolled {
    background: rgba(5, 10, 48, 0.9);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px; /* same spacing as your original */
    position: relative;
}
/* ------------------------------------------ */
/* Desktop Donate Now Button (unchanged)      */
/* ------------------------------------------ */
.donate-top {
  position: absolute;
  top: 10px;
  right: 50px;
  background: linear-gradient(135deg, var(--primary), #0088FF);
  color: var(--text-color);
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 0 10px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Remove default tap/focus outlines */
  -webkit-tap-highlight-color: transparent; 
  outline: none;
}

/* Desktop Hover/Focus/Active */
.donate-top:hover,
.donate-top:focus,
.donate-top:active {
  transform: scale(1.07);
  box-shadow: 0 0 20px var(--primary);
}

/* ------------------------------------------ */
/* Mobile: Center the Donate Now Button       */
/* ------------------------------------------ */
@media (max-width: 600px) {
  .donate-top {
    top: 60px;                /* Adjust vertical position as needed */
    left: 50%;                /* Center horizontally */
    right: auto;              /* Remove desktop right value */
    transform: translateX(-50%);  /* Ensure it's centered */
    white-space: nowrap;      /* Keep text on one line */
  }

  .donate-top:hover,
  .donate-top:focus,
  .donate-top:active {
    transform: translateX(-50%) scale(1.07);
    box-shadow: 0 0 20px var(--primary);
  }
}
.hero h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
    margin: 0.5em 0;
}

.hero h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin: 0.5em 0;
}

/* Hero paragraphs: smaller, silver text, consistent with your original */
.hero p {
    font-size: 1.2rem; /* If 1.2rem is still too big, try 1.1rem or 1rem */
    max-width: 800px;
    color: var(--secondary); /* If you recall pure white, use var(--text-color) */
    margin: 20px 0; /* Adjust if you want more/less vertical space */
}

/* Subtle Divider at bottom of Hero */
.hero-divider {
    width: 80%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-top: 40px;
    opacity: 0; /* Start invisible */
    transition: opacity 0.3s ease; /* Fade in on scroll */
}

/* Reveal divider when body has "scrolled" class */
body.scrolled .hero-divider {
    opacity: 1;
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, var(--primary), #0088FF);
    color: var(--text-color);
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 10px var(--shadow);
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.cta-button:hover {
    transform: scale(1.07);
    box-shadow: 0 0 20px var(--primary);
}

/* Sections */
.section {
    padding: 80px 10%;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* How It Works Ordered List */
#how-it-works ol {
    text-align: left;
    max-width: 800px;
    margin: auto;
    padding: 0;
    list-style: decimal inside;
}

#how-it-works li {
    font-size: 1.1rem;
    margin: 15px 0;
}

/* Card Container for Real-Life Examples */
.card-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* Card Styling */
.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,255,255,0.15);
    text-align: left;
}

.card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 10px 0;
}

/* Combined CTA Section */
#cta p {
    max-width: 800px;
    margin: 20px auto;
    font-size: 1.1rem;
}

/* Attorney Network & Donate Sections */
#attorney-network, #donate, #contact {
    max-width: 800px;
    margin: auto;
}

/* Email Link Hover Effect */
a.email-link {
    color: var(--primary);
    transition: color 0.3s, background 0.3s;
}

a.email-link:hover {
    background: linear-gradient(90deg, #7F00FF, #00FFFF);
    -webkit-background-clip: text;
    color: transparent;
}

/* Footer */
footer {
    padding: 30px;
    text-align: center;
    color: var(--secondary);
    background-color: var(--accent-dark);
    margin-top: 50px;
}
