/*
 --- Base Styling & Variables ---
 eco_platform.css
*/
/* --------------------------------------------------------------------------
   Shared Apollo design tokens
   -------------------------------------------------------------------------- */
:root {
  --primary: #0f172a;
  --secondary: #0d9488;
  --accent: #22c55e;

  --apollo-dark: #0f172a;
  --apollo-slate: #0f172a;
  --apollo-teal: #0d9488;
  --apollo-green: #22c55e;
  --apollo-gold: #f5c542;
  --apollo-copy: #475569;
  --apollo-bg: #f8fafc;
  --apollo-light: #f8fafc;
  --apollo-border: #e2e8f0;
}

body {
    font-family: Arial, 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #ffffff;
    color: #1c1917;
}

button:focus, a:focus, input:focus, textarea:focus {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

footer {
    text-align: center;
    padding: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #555;
}

/* --- Animations & Interaction --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    }
    .reveal.in {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.grid-card:hover {
    transform: translateY(-5px);
    border-color: #10b981;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* --- Hero Background --- */
.hero-bg {
    background-image: linear-gradient(rgba(10, 15, 30, 0.85), rgba(10, 15, 30, 0.85)), url('/images/Hero_Image_Modern_Home.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

@media (min-width: 1024px) {
    .hero-bg { background-attachment: fixed; }
}

/* --- UI Components --- */
.glass {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.code-block {
    font-family: 'ui-monospace', monospace;
    background: #000000;
    color: #5eead4;
    padding: 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    border-left: 4px solid var(--secondary);
    overflow-x: auto;
}

.highlight-box {
    background: #f0f7ff;
    border-left: 5px solid #004a99;
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
}

.badge {
    background: #004a99;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-right: 5px;
}

.pillar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 25px;
}

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

/* --- Modals & Overlays --- */
.insight-modal {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: calc(100% - 2rem);
    max-width: 350px;
    transform: translateY(200%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 100;
}

.insight-modal.show {
    transform: translateY(0);
}

.modal-overlay {
    display: none;
}

.modal-overlay.active {
    display: flex;
}

.eco-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.eco-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.eco-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0f172a;
  color: #fff;
  text-align: center;
}

.eco-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}

.eco-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.62)),
    radial-gradient(circle at center, rgba(13, 148, 136, 0.22), transparent 55%);
}

.eco-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  padding: 80px 20px;
  margin: 0 auto;
}

.eco-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #d9f99d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eco-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.eco-tagline {
  margin: 0 auto 24px;
  max-width: 860px;
  color: #f8fafc;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.12;
}

.eco-subhead {
  margin: 0 auto 34px;
  max-width: 860px;
  color: #e2e8f0;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.eco-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
}

.eco-btn-primary,
.eco-btn-secondary {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.eco-btn-primary {
  background: #f5c542;
  color: #111827;
}

.eco-btn-secondary {
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.eco-btn-primary:hover,
.eco-btn-secondary:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.eco-btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.eco-pill-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.eco-pill {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  text-align: left;
}

.eco-pill strong {
  display: block;
  color: #fff;
  font-size: 18px;
  margin-bottom: 6px;
}

.eco-pill span {
  display: block;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.45;
}

.eco-platform-section {
  padding: 70px 20px;
  background: #f8fafc;
}

.eco-platform-wrap {
  max-width: 1160px;
  margin: 0 auto;
}

.eco-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.eco-platform-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.eco-platform-card h3 {
  margin-bottom: 12px;
  color: #0f172a;
  font-weight: 900;
}

.eco-platform-card p {
  color: #475569;
  line-height: 1.6;
  padding-bottom: .9rem;
}

.eco-platform-eyebrow {
  color: #0d9488;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

.eco-platform-heading {
  margin: 10px 0 12px;
  color: #0f172a;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.eco-platform-copy {
  max-width: 850px;
  color: #475569;
  font-size: 19px;
  line-height: 1.62;
}

.eco-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: #334155;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.eco-close-btn:hover,
.eco-close-btn:focus-visible {
  background: #f1f5f9;
  color: #0f172a;
  outline: 2px solid #059669;
  outline-offset: 2px;
}

.apollo-section-anchors {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  width: 100vw; /* Force true full viewport width */
  max-width: 100%; /* Prevent horizontal scrollbars */
  margin: 0; /* Strip out any inherited pushing margins */
  padding: 10px 20px 14px;
  border-top: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.96);
  box-sizing: border-box;
}

.apollo-section-anchors a {
  color: #57534e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap; /* Keep links from breaking onto two lines */
}

.apollo-section-anchors a:hover {
  color: #0d9488;
}


.contact-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.68)),
    url("/images/city-building-sky-5974876.jpg") center / cover no-repeat;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(13, 148, 136, 0.22), transparent 55%);
  z-index: 1;
}

.contact-hero-content {
  font-family: Arial, sans-serif;
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding: 80px 20px;
  margin: 0 auto;
}

.contact-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #d9f99d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-hero h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.contact-hero p {
  max-width: 820px;
  margin: 0 auto;
  color: #e2e8f0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.contact-section {
  padding: 72px 20px;
  background: var(--apollo-light);
}

.contact-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.contact-card,
.form-card {
  background: #ffffff;
  border: 1px solid var(--apollo-border);
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.section-eyebrow {
  color: var(--apollo-teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  margin: 10px 0 18px;
  color: var(--apollo-slate);
  font-family: Arial, sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-copy {
  margin: 0 0 24px;
  color: #475569;
  font-size: 17px;
  line-height: 1.65;
}

.contact-link-list {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--apollo-border);
  border-radius: 16px;
  color: var(--apollo-slate);
  text-decoration: none;
  font-weight: 800;
  background: #ffffff;
}

.contact-link:hover {
  border-color: rgba(13, 148, 136, 0.45);
  color: var(--apollo-teal);
  text-decoration: none;
}

.contact-link i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ccfbf1;
  color: #0f766e;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.location-card {
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--apollo-border);
}

.location-card h4 {
  margin: 0 0 8px;
  color: var(--apollo-slate);
  font-size: 15px;
  font-weight: 900;
}

.location-card p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.apollo-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.apollo-form label {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.apollo-form input,
.apollo-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #f1f5f9;
  color: var(--apollo-slate);
  font-size: 15px;
  outline: none;
  font-family: inherit;
}

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

.apollo-form input:focus,
.apollo-form textarea:focus {
  border-color: var(--apollo-teal);
  background: #ffffff;
}

.apollo-submit {
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--apollo-teal);
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.22);
}

.apollo-submit:hover {
  background: var(--apollo-slate);
}

.contact-note {
  margin: 14px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.footer {
  background: var(--apollo-slate);
  color: #cbd5e1;
  padding: 42px 20px 24px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-logo {
  width: 84px;
  height: auto;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 12px;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.footer-links a:hover {
  color: #5eead4;
}

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  text-decoration: none;
}

.footer-phone {
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.copyright {
  color: #94a3b8;
  font-size: 13px;
}

@media (max-width: 980px) {
  .contact-wrap,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .contact-card,
  .form-card {
    padding: 24px;
  }

  .locations-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .apollo-section-anchors {
    display: none;
  }

}


@media (max-width: 900px) {
  .eco-pill-row,
  .eco-platform-grid {
    grid-template-columns: 1fr;
  }

  .eco-pill {
    text-align: center;
  }

}
