/* ================================
   ZeroSphere - style.css
   ================================ */

/* Global Colors */
:root {
  --dark-blue: #0c2b4e;
  --mid-blue: #1a3d64;
  --light-blue: #1d546c;
  --off-white: #f4f4f4;
  --accent: #00bfa6; /* Bright green-blue accent */
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--off-white);
  color: #222;
  line-height: 1.6;
}

/* ================================
   Navbar
   ================================ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--dark-blue);
  color: white;
  padding: 10px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-size: 1.25rem;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo {
  height: 75px;
  width: auto;
  margin-right: 10px;
}

.site-name {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ================================
   Hero Section (Home)
   ================================ */
.hero {
  background: linear-gradient(
      rgba(12, 43, 78, 0.6),
      rgba(12, 43, 78, 0.6)
    ),
    url("../images/banner.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 10px;
}

.tagline {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--accent);
}

.intro {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.5rem;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* ================================
   Features Section
   ================================ */
.features {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
  padding: 0px;
}

/* First feature - light blue */
.feature:nth-child(1) {
  background-color: #ddeaf6;
}

/* Second feature - off white */
.feature:nth-child(2) {
  background-color: var(--off-white);
}

/* Third feature - light blue again */
.feature:nth-child(3) {
  background-color: #ddeaf6;
}

.feature {
  border-radius: 0;
  padding: 60px 20px;
  text-align: center;
  width: 100%;
  box-shadow: none;
  transition: background-color 0.3s ease;
}

.feature h2 {
  color: var(--mid-blue);
  margin-bottom: 15px;
  font-size: 3rem;
}

.feature p {
  max-width: 700px;
  margin: 0 auto 15px;
  font-size: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--light-blue);
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  margin-top: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 1.5rem;
}

.btn:hover {
  background-color: var(--accent);
}

/* ================================
   Footer
   ================================ */
footer {
  background-color: var(--dark-blue);
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 1rem;
}

/* ===========================================================
   CALCULATOR PAGE ADDITIONS
   =========================================================== */

/* ---------- Calculator Hero Section ---------- */
.calculator-hero {
  background: linear-gradient(
      rgba(12, 43, 78, 0.6),
      rgba(12, 43, 78, 0.6)
    ),
    url("../images/calculator-banner.jpg")center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.calculator-hero h1 {
  font-size: 5rem;
  margin-bottom: 20px;
}

.calculator-hero .hero-subtext {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 1.8;
}

/* ---------- Calculator Sections (Common Layout) ---------- */
.calculator-section {
  padding: 60px 20px;
  text-align: center;
}

.light-bg {
  background-color: #ddeaf6;
}

.alt-bg {
  background-color: var(--off-white);
}

.calculator-section h2 {
  font-size: 3rem;
  color: var(--mid-blue);
  margin-bottom: 15px;
}

.section-intro {
  font-size: 1.4rem;
  max-width: 850px;
  margin: 0 auto 40px;
  color: #333;
}

/* ---------- Input Grid ---------- */
.input-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 40px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.form-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.form-field label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--mid-blue);
  font-size: 1.2rem;
}

.form-field input {
  width: 100%;
  padding: 10px 15px;
  border: 2px solid var(--mid-blue);
  border-radius: 10px;
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-field input:focus {
  border-color: var(--accent);
}

/* ---------- Calculation Buttons & Results ---------- */
.calc-btn {
  font-size: 1.4rem;
  padding: 10px 30px;
  margin-top: 20px;
}

.result-display {
  margin-top: 20px;
  font-size: 1.5rem;
  color: var(--dark-blue);
}

.result-display span {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Charts & Visualization ---------- */
.charts-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
}

.chart-box {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 800px;
}

.chart-box h3 {
  color: var(--mid-blue);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.checkbox-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.checkbox-group label {
  color: var(--dark-blue);
}

/* ---------- Download Button ---------- */
.download-section {
  margin-top: 40px;
}

.download-btn {
  font-size: 1.4rem;
  padding: 12px 35px;
}
/* ---------- Hero Section for Calculator Page ---------- */
.hero-calculator {
  background: linear-gradient(
      rgba(12, 43, 78, 0.65),
      rgba(12, 43, 78, 0.65)
    ),
    url("./") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero-calculator h1 {
  font-size: 5rem;
  margin-bottom: 10px;
}

.hero-calculator .tagline {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 500;
}

.hero-calculator .intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #f9f9f9;
}

/* ===========================================================
   CARBON NEUTRALITY PATHWAYS PAGE ADDITIONS
   =========================================================== */

/* ---------- Hero Section ---------- */
.hero-pathways {
  background: linear-gradient(
      rgba(12, 43, 78, 0.65),
      rgba(12, 43, 78, 0.65)
    ),
    url("../images/pathways-banner.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero-pathways h1 {
  font-size: 5rem;
  margin-bottom: 10px;
}

.hero-pathways .tagline {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-pathways .intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #f9f9f9;
}

/* ---------- Pathways Section Layout ---------- */
.pathways-section {
  padding: 60px 20px;
  text-align: center;
}

.pathways-section h2 {
  font-size: 3rem;
  color: var(--mid-blue);
  margin-bottom: 15px;
}

.pathways-section .section-intro {
  font-size: 1.4rem;
  max-width: 850px;
  margin: 0 auto 40px;
  color: #333;
}

/* ---------- Method Blocks (Afforestation, Methane, Renewable) ---------- */
.methods-container {
  display: flex;
  flex-direction: column;
}

.method-block {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-block .overlay {
  background: rgba(0, 0, 0, 0.55);
  padding: 60px 20px;
  text-align: center;
  width: 100%;
}

.method-block h2 {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.method-block p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto 20px;
}

.method-btn {
  font-size: 1.3rem;
  margin-top: 10px;
  padding: 10px 25px;
}

/* ---------- Method Results Display ---------- */
.method-results {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.method-results p {
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark-blue);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 1.3rem;
  width: fit-content;
  min-width: 280px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ---------- Highlight Calculated Values (for both pages) ---------- */
.result-display span,
.method-results span {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.3rem;
  margin-left: 6px;
}

/* ---------- Chart Section ---------- */
.pathways-section .chart-box {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.pathways-section .chart-box h3 {
  color: var(--mid-blue);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* ---------- Download Button ---------- */
.download-btn {
  margin-top: 30px;
  font-size: 1.4rem;
  padding: 12px 35px;
}

/* ===========================================================
   Checkbox Color Styling (applies to all pages)
   =========================================================== */
.checkbox-group input[type="checkbox"] {
  accent-color: var(--accent); /* Makes the checkbox tick mark green-blue */
  width: 18px;
  height: 18px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.checkbox-group input[type="checkbox"]:hover {
  transform: scale(1.1);
}

/* ===========================================================
  INFO & ABOUT PAGE STYLES
   =========================================================== */

/* ---------- Table of Contents (More Prominent) ---------- */

.toc {
  background-color: var(--mid-blue);
  color: black;
  width: 100%;
  text-align: left;
  padding: 50px 80px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.toc h2 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 2.2rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 5px;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.toc li {
  margin: 10px 0;
}

.toc a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.3rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.toc a:hover {
  color: var(--accent);
  padding-left: 10px;
}

/* ---------- Info Page Sections (Clear Distinction) ---------- */
.info-section {
  padding: 80px 40px;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.info-section:nth-of-type(odd) {
  background-color: #ffffff;
}

.info-section:nth-of-type(even) {
  background-color: #ddeaf6;
}

.info-section:hover {
  transform: translateY(-5px);
}

.info-section h2 {
  color: var(--mid-blue);
  margin-bottom: 20px;
  font-size: 2.8rem;
  border-left: 5px solid var(--accent);
  padding-left: 15px;
}

.info-section p {
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.8;
  color: #333;
}

/* ---------- About Page Enhancements ---------- */

/* Vision Section */
.about-section {
  background-color: #ddeaf6;
  text-align: center;
  padding: 80px 40px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.about-section h2 {
  font-size: 3rem;
  color: var(--mid-blue);
  margin-bottom: 25px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 5px;
}

.about-section p {
  font-size: 1.5rem;
  max-width: 950px;
  margin: 0 auto;
  color:white;
  line-height: 1.9;
}

/* Team Section (More Dynamic) */
.team-section {
  background-color: var(--off-white);
  padding: 80px 40px;
  text-align: center;
}

.team-section h2 {
  font-size: 3rem;
  color: var(--mid-blue);
  margin-bottom: 40px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 5px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-card {
  background: linear-gradient(145deg, #ffffff, #eef5fa);
  border: 2px solid #cbd9e6;
  border-radius: 20px;
  padding: 40px 30px;
  width: 270px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.team-card h3 {
  color: var(--dark-blue);
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.team-card p {
  color: var(--mid-blue);
  font-size: 1.2rem;
}

/* Contact Section (Modern Look) */
.contact-section {
  background: var(--dark-blue);
  text-align: center;
  padding: 100px 20px;
  color: white;
}

.contact-section h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  color: var(--accent);
}

.contact-section p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

/* ===========================================================
   HERO BANNERS FOR INFO & ABOUT PAGES
   =========================================================== */

/* ---------- Info Page Hero Banner ---------- */
.hero-info {
  background: linear-gradient(
      rgba(12, 43, 78, 0.75),
      rgba(12, 43, 78, 0.75)
    ),
    url("../images/info-banner.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.hero-info h1 {
  font-size: 5rem;
  margin-bottom: 15px;
}

.hero-info .tagline {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 15px;
  font-weight: 500;
}

.hero-info .intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #f0f0f0;
}

/* ---------- About Page Hero Banner ---------- */
.hero-about {
  background: linear-gradient(
      rgba(12, 43, 78, 0.75),
      rgba(12, 43, 78, 0.75)
    ),
    url("../images/about-banner.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.hero-about h1 {
  font-size: 5rem;
  margin-bottom: 15px;
}

.hero-about .tagline {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 15px;
  font-weight: 500;
}

.hero-about .intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #f0f0f0;
}



/* Center and space out charts */
.chart-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.history-box {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#historyLine {
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: block;
}

.download-section {
  text-align: center;
  margin-top: 40px;
}

.dataset-checkboxes input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-right: 6px;
}

.dataset-checkboxes div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
}
/* ---------- Historical Line Chart Box ---------- */
.chart-box {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 800px;
  margin: 0 auto 60px auto;
  text-align: center;
}

#historyLine {
  width: 100%;
  max-width: 700px;
  margin: 20px auto;
  display: block;
}

/* Green-blue accent for all checkboxes */
.history-controls input[type="checkbox"],
.dataset-checkboxes input[type="checkbox"] {
  accent-color: var(--accent);
}

.dataset-checkboxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}
.dataset-checkboxes div {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dark-blue);
  font-size: 1.1rem;
}

/* ---------- Profile & Results ---------- */
.profile-section, .results-section {
  padding: 60px 80px;
  text-align: center;
}

.profile-card {
  background: var(--mid-blue);
  color: var(--off-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  max-width: 600px;
  margin: 0 auto 40px;
}

.profile-grid p {
  font-size: 1rem;
  margin: 8px 0;
}

.results-table {
  background: var(--light-blue);
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  max-width: 900px;
  color: var(--off-white);
  overflow-x: auto;
}

.results-table table {
  width: 100%;
  border-collapse: collapse;
  color: var(--off-white);
}

.results-table th, .results-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px;
  text-align: center;
}

.results-table th {
  color: var(--accent);
  font-weight: bold;
}

.results-table tr:hover {
  background: rgba(255, 255, 255, 0.1);
}

.download-section {
  margin-top: 30px;
  text-align: center;
}
/* Navbar (consistent across all pages) */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--dark-blue);
  color: white;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.site-name {
  font-size: 1.5em;
  color: var(--off-white);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  color: var(--off-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* Logout button */
.logout-btn {
  background: var(--accent);
  color: var(--dark-blue);
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
}

.logout-btn:hover {
  background: #02a58d;
}

/* Mobile menu */
.hamburger {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background-color: var(--mid-blue);
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    transition: left 0.3s;
  }
  .nav-links.active {
    left: 0;
  }
}


/* ================================
   Responsive Styles
   ================================ */

/* ===== iPad & Tablets (768px - 1024px) ===== */
@media (max-width: 1024px) {
  .navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between; 
  align-items: center;
  font-size: 1rem;
  padding: 8px 15px;
}
.logo {
  height: 55px;
}

  .hero, .calculator-hero, .hero-calculator, .hero-pathways, .hero-info, .hero-about {
    padding: 80px 15px;
  }
  .hero h1,
  .hero-calculator h1,
  .hero-pathways h1,
  .hero-info h1,
  .hero-about h1 {
    font-size: 3.5rem;
  }
  .tagline {
    font-size: 1.6rem;
  }
  .intro, .calculator-hero .hero-subtext, .hero-calculator .intro, .hero-pathways .intro, .hero-info .intro, .hero-about .intro {
    font-size: 1.2rem;
  }
  .features {
    gap: 20px;
  }
  .feature h2 {
    font-size: 2.5rem;
  }
  .feature p {
    font-size: 1.3rem;
  }
  .team-card {
    width: 45%;
  }
  .input-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .charts-container, .methods-container {
    gap: 40px;
  }
}

/* ===== Mobile (max-width: 767px) ===== */
@media (max-width: 767px) {
  .navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;   
  align-items: center;
  font-size: 1rem;
  padding: 8px 15px;
}
.logo {
  height: 55px;
}

  .nav-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .hero, .calculator-hero, .hero-calculator, .hero-pathways, .hero-info, .hero-about {
    padding: 60px 10px;
  }
  .hero h1,
  .hero-calculator h1,
  .hero-pathways h1,
  .hero-info h1,
  .hero-about h1 {
    font-size: 2.5rem;
  }
  .tagline {
    font-size: 1.4rem;
  }
  .intro, .calculator-hero .hero-subtext, .hero-calculator .intro, .hero-pathways .intro, .hero-info .intro, .hero-about .intro {
    font-size: 1rem;
  }
  .feature h2 {
    font-size: 2rem;
  }
  .feature p {
    font-size: 1.1rem;
  }
  .team-card {
    width: 90%;
  }
  .charts-container, .methods-container {
    gap: 30px;
  }
  .chart-box {
    padding: 20px 15px;
  }
  .method-block .overlay {
    padding: 40px 15px;
  }
  .input-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .btn, .calc-btn, .download-btn, .method-btn {
    font-size: 1.2rem;
    padding: 8px 20px;
  }
}
/* ===========================================
   Slide-in Navbar for Mobile & Tablet
   =========================================== */
.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1201;
  
  margin-left: auto;    
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  z-index: 1201;
  line-height: 1;        
}



/* Mobile & Tablet Menu */
@media (max-width: 1024px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -260px; /* Hidden by default */
    height: 100%;
    width: 250px;
    background-color: var(--dark-blue);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 20px;
    gap: 25px;
    transition: left 0.3s ease;
    z-index: 1200;
  }

  .nav-links.active {
    left: 0; /* Slide in */
  }

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

  .nav-links a {
    font-size: 1.3rem;
    display: block;
    width: 100%;
    padding: 10px 0;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Dim background when menu is open */
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    pointer-events: none;

  }
}
/* ================================
   ZeroSphere - style.css (Standardized Typography)
   ================================ */

/* Global Colors */
:root {
  --dark-blue: #0c2b4e;
  --mid-blue: #1a3d64;
  --light-blue: #1d546c;
  --off-white: #f4f4f4;
  --accent: #00bfa6; /* Bright green-blue accent */
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--off-white);
  color: #222;
  line-height: 1.6;
}

/* ================================
   Navbar
   ================================ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--dark-blue);
  color: white;
  padding: 10px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-size: clamp(1rem, 1vw + 0.5rem, 1.25rem);
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo {
  height: 75px;
  width: auto;
  margin-right: 10px;
}

.site-name {
  font-size: clamp(1.2rem, 1vw + 0.8rem, 1.5rem);
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: clamp(1rem, 0.8vw + 0.6rem, 1.3rem);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ================================
   Hero Section (All Pages Standardized)
   ================================ */
.hero,
.calculator-hero,
.hero-calculator,
.hero-pathways,
.hero-info,
.hero-about {
  color: white;
  text-align: center;
  padding: 100px 20px;
  background-size: cover;
  background-position: center;
}

.hero h1,
.calculator-hero h1,
.hero-calculator h1,
.hero-pathways h1,
.hero-info h1,
.hero-about h1 {
  font-size: clamp(2.5rem, 4vw + 1rem, 5rem);
  margin-bottom: 15px;
  line-height: 1.2;
}

.tagline,
.calculator-hero .tagline,
.hero-calculator .tagline,
.hero-pathways .tagline,
.hero-info .tagline,
.hero-about .tagline {
  font-size: clamp(1.2rem, 2vw + 0.6rem, 2rem);
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 500;
}

.intro,
.calculator-hero .hero-subtext,
.hero-calculator .intro,
.hero-pathways .intro,
.hero-info .intro,
.hero-about .intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.5rem);
  line-height: 1.7;
  color: #f0f0f0;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* ================================
   Features Section
   ================================ */
.features {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
  padding: 0;
}

.feature {
  border-radius: 0;
  padding: 60px 20px;
  text-align: center;
  width: 100%;
}

.feature:nth-child(1),
.feature:nth-child(3) {
  background-color: #ddeaf6;
}

.feature:nth-child(2) {
  background-color: var(--off-white);
}

.feature h2 {
  color: var(--mid-blue);
  margin-bottom: 15px;
  font-size: clamp(1.8rem, 2.5vw + 1rem, 3rem);
}

.feature p {
  max-width: 700px;
  margin: 0 auto 15px;
  font-size: clamp(1rem, 1vw + 0.5rem, 1.5rem);
}

/* Buttons */
.btn,
.calc-btn,
.method-btn,
.download-btn {
  display: inline-block;
  background-color: var(--light-blue);
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  margin-top: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: clamp(1rem, 0.8vw + 0.6rem, 1.4rem);
}

.btn:hover,
.calc-btn:hover,
.method-btn:hover,
.download-btn:hover {
  background-color: var(--accent);
}

/* ================================
   Footer
   ================================ */
footer {
  background-color: var(--dark-blue);
  color: white;
  text-align: center;
  padding: 15px;
  font-size: clamp(0.9rem, 0.5vw + 0.5rem, 1rem);
}

/* ================================
   Section Headings (Uniform)
   ================================ */
.calculator-section h2,
.pathways-section h2,
.info-section h2,
.about-section h2,
.team-section h2
{
  font-size: clamp(1.8rem, 2.5vw + 1rem, 3rem);
  color: var(--mid-blue);
  margin-bottom: 15px;
}

/* ================================
   Section Paragraphs (Uniform)
   ================================ */
.section-intro,
.info-section p,
.about-section p,

.pathways-section .section-intro {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.4rem);
  line-height: 1.8;
  color: #333;
}

/* ================================
   Charts, Cards & Miscellaneous
   ================================ */
.chart-box h3,
.team-card h3 {
  font-size: clamp(1.2rem, 1vw + 0.6rem, 1.8rem);
}

.team-card p,
.checkbox-group,
.method-results p,
.result-display {
  font-size: clamp(1rem, 0.8vw + 0.5rem, 1.3rem);
}

/* ================================
   Responsive Navbar
   ================================ */
.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1201;
  margin-left: auto;
  line-height: 1;
}

@media (max-width: 1024px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -260px;
    height: 100%;
    width: 250px;
    background-color: var(--dark-blue);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 20px;
    gap: 25px;
    transition: left 0.3s ease;
    z-index: 1200;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links a {
    font-size: clamp(1rem, 0.8vw + 0.5rem, 1.3rem);
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    pointer-events: none;
  }
}
/* =========================================
   Final Responsive Spacing Tweaks
   ========================================= */

/* Slightly tighter padding for smaller screens */
@media (max-width: 1024px) {
  section,
  .features,
  .calculator-section,
  .pathways-section,
  .info-section,
  .about-section,
  .team-section,
  .contact-section {
    padding: 50px 25px;
  }

  .hero,
  .hero-calculator,
  .hero-pathways,
  .hero-info,
  .hero-about {
    padding: 80px 20px;
  }
}

@media (max-width: 767px) {
  section,
  .features,
  .calculator-section,
  .pathways-section,
  .info-section,
  .about-section,
  .team-section,
  .contact-section {
    padding: 40px 15px;
  }

  .hero,
  .hero-calculator,
  .hero-pathways,
  .hero-info,
  .hero-about {
    padding: 60px 15px;
  }

  footer {
    padding: 12px;
  }
}

/* Prevent mouse scroll and arrow spinners changing number inputs */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  appearance: textfield;
  touch-action: manipulation; /* disables scroll changing values on touch devices */
}
