/* CSS Variables for Color Palette */
:root {
  --apollo-primary: #2E7D32; /* Deep botanical green */
  --elysian-gold: #FFD700; /* Classic metallic gold */
  --white: #FFFFFF; /* White */
  --text-dark: #1F2937; /* Charcoal gray */
  --text-muted: #6B7280; /* Cool muted gray */
  --background: #F9FAFB; /* Soft off-white */
  --border: #E5E7EB; /* Subtle border gray */
}

/* Global Styles */
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 215, 0, 0.1);
  border-radius: 0 0 12px 12px;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(255, 215, 0, 0.03));
  pointer-events: none;
  z-index: -1;
}

header::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.08), rgba(30, 144, 255, 0.06));
  border-radius: inherit;
  filter: blur(8px);
  pointer-events: none;
  z-index: -2;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand strong {
  font-size: 1.2rem;
  color: var(--apollo-primary);
}

.tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.byline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--apollo-primary);
}

/* Footer Styles */
footer {
  background: rgba(31, 41, 55, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--white);
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1), inset 0 -1px 0 rgba(255, 215, 0, 0.1);
  border-radius: 12px 12px 0 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(255, 215, 0, 0.03));
  pointer-events: none;
  z-index: -1;
}

footer::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.08), rgba(30, 144, 255, 0.06));
  border-radius: inherit;
  filter: blur(8px);
  pointer-events: none;
  z-index: -2;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.footer .brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer .brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer .contact-info {
  text-align: right;
  font-size: 0.9rem;
}

.footer .contact-info strong {
  color: var(--elysian-gold);
}

/* Container */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive Images, Videos, Iframes */
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Grid Classes */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Responsive Grids */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  color: var(--white);
  text-align: center;
  padding: 100px 20px;
  font-weight: bold;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

/* Button Styles */
.button {
  display: inline-block;
  background-color: var(--elysian-gold);
  color: var(--text-dark);
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.button.secondary {
  background-color: transparent;
  border: 2px solid var(--elysian-gold);
  color: var(--elysian-gold);
}

.button.secondary:hover {
  background-color: var(--elysian-gold);
  color: var(--text-dark);
}

.button.ghost {
  background-color: transparent;
  border: 2px solid var(--apollo-primary);
  color: var(--apollo-primary);
}

.button.ghost:hover {
  background-color: var(--apollo-primary);
  color: var(--white);
}

/* Progress Bar */
.progress-bar {
  margin: 20px 0;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stars {
  color: var(--elysian-gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.subtle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Product List */
.product-list {
  list-style: none;
  padding: 0;
}

.product-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-list img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* CTA Styles */
.cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.cta .button {
  flex: 1;
  max-width: 200px;
}

/* Pill Styles */
.pill {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--apollo-primary);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--elysian-gold);
  color: var(--text-dark);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: var(--apollo-primary);
  color: var(--white);
  padding: 16px;
  font-weight: bold;
  margin: 0;
}

.card-body {
  padding: 16px;
}

/* Image Styles */
.image {
  text-align: center;
}

.image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Lead Text */
.lead {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 1rem 0;
}

/* Note Styles */
.note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .header {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav a {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cta {
    flex-direction: column;
    align-items: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .button {
    width: 100%;
    text-align: center;
    padding: 14px 28px;
    font-size: 1rem;
  }

  .lead {
    font-size: 1.1rem;
  }
}

/* Extra Small Screens (Phones) */
@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  .container {
    padding: 0 15px;
  }

  .header {
    padding: 0.5rem 0;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 1.1rem;
  }

  .tagline,
  .byline {
    font-size: 0.85rem;
  }

  .nav {
    gap: 1rem;
  }

  .nav a {
    padding: 0.75rem 1.25rem;
    font-size: 1.1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero {
    padding: 40px 15px;
    text-align: left;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1rem;
  }

  .button {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-height: 48px;
    width: 100%;
    max-width: none;
  }

  .cta {
    gap: 1.5rem;
  }

  .section {
    padding: 1.5rem 0;
  }

  .section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .card {
    padding: 1rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .product-list li {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .product-list img {
    width: 80px;
    height: 80px;
  }

  .progress-bar {
    padding: 15px;
  }

  .footer .brand img {
    width: 25px;
    height: 25px;
  }

  .contact-info {
    font-size: 0.85rem;
  }

  /* Ensure tiny inline font-sizes remain readable on phones */
  [style*="font-size: 12px"] {
    font-size: 14px !important;
  }
  [style*="font-size: 13px"] {
    font-size: 15px !important;
  }
  [style*="font-size: 14px"] {
    font-size: 16px !important;
  }
}

/* Additional Utility Classes */
.text-muted {
  color: var(--text-muted);
}

.border {
  border: 1px solid var(--border);
}