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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: background-color 0.3s, color 0.3s;
}

:root {
  --bg: #f4f6f8;             /* softer off-white */
  --text: #1e1e1e;           /* softer black */
  --tile-bg: #ffffff;        /* clean white cards */
  --accent: #388e3c;         /* softened green */
  --btn-bg: #388e3c;
  --btn-text: #ffffff;
  --shadow-light: rgba(0, 0, 0, 0.02);
  --shadow-dark: rgba(0, 0, 0, 0.06);
  --hero-bg: rgba(255, 255, 255, 0.85);
    --card: #ffffff;
  --table-bg: #ffffff;
  --table-head: #eeeeee;
  --summary-bg: #f9f9f9;
  --summary-border: #cccccc;
  --chart-text: #1e1e1e;
  --chart-grid: rgba(0, 0, 0, 0.1);
  --chart-tooltip-bg: #fff;
}

body.dark {
  --bg: #1a1a1d;             /* softer black */
  --text: #e0e0e0;           /* soft light gray */
  --tile-bg: #242426;        /* elevated card surface */
  --accent: #81c784;         /* muted green for better contrast */
  --btn-bg: #66bb6a;         /* gentler green */
  --btn-text: #ffffff;
  --shadow-light: rgba(255, 255, 255, 0.03);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --hero-bg: rgba(36, 36, 38, 0.8);
    --card: #1e1e1e;
  --table-bg: #2a2a2a;
  --table-head: #333333;
  --summary-bg: #222222;
  --summary-border: #555555;
  --chart-text: #e0e0e0;
  --chart-grid: rgba(255, 255, 255, 0.15);
  --chart-tooltip-bg: #333;
}


html {
  scroll-behavior: smooth;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(224, 229, 236, 0.85); /* Semi-transparent */
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  display: flex;
  justify-content: space-between; /* Separate nav and toggle */
  align-items: center;
  padding: 1rem 2rem;
}

body.dark .navbar {
  background: rgba(18, 18, 18, 0.85);
}
.navbar .nav-list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.navbar a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Space Grotesk', sans-serif;
}

.navbar a.active {
  color: var(--accent);
}

/* Hero Section */

.hero h1 {
  font-size: clamp(5rem, 10vw, 6rem);
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.cta {
align-self: flex-start;
  transform: translateY(20px); /* Moves it slightly down */
  margin-bottom: 0.5rem; /* Spacing from the h1 */
  padding: 0.35rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: 'Space Grotesk', sans-serif;
  border: none;
  cursor: pointer;
  box-shadow:
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
  transition: all 0.3s ease;
}

.cta:hover {
  box-shadow:
    inset 4px 4px 6px var(--shadow-dark),
    inset -4px -4px 6px var(--shadow-light);
  transform: scale(1.02);
}

.subtext {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: gray;
}

/* Grid Section */
.icons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.icon-tile {
  background: var(--tile-bg);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  box-shadow:
    8px 8px 15px var(--shadow-dark),
    -8px -8px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.icon-tile:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light);
}

.icon-tile img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.icon-tile span {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
}

/* Floating Toggle */
  #toggleTheme {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

#toggleTheme img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(1px 1px 3px var(--shadow-dark));
  transition: filter 0.3s ease, transform 0.3s ease;
}

#floatingToggle:hover {
  box-shadow:
    inset 2px 2px 5px var(--shadow-dark),
    inset -2px -2px 5px var(--shadow-light);
}

@media (max-width: 768px) {
  .navbar .nav-list {
    background: var(--bg);
  padding: 1rem 2rem;
  box-shadow:
    4px 4px 10px var(--shadow-dark),
    -4px -4px 10px var(--shadow-light);
  border-radius: 12px;
  margin: 1rem auto;
  width: fit-content;
    flex-wrap: wrap;
    justify-content: center;
  }

  .icons-grid {
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }
}

/* Scroll Sections */
.scroll-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  text-align: left;
  color: var(--text); /* Instead of #fff */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.scroll-section2 {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background: linear-gradient(135deg, #f0f4f8, #dbe4ea);
  text-align: left;
  color: var(--text); /* Instead of #fff */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.section-columns {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: right;
  align-items: flex-start;
  flex-direction: column;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
}

.scroll-section:not(:last-child) {
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

body, html {
  overflow-x: hidden;
}

.scroll-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  color: inherit;
}

.scroll-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: inherit;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: none;
  background: var(--tile-bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  box-shadow:
    inset 4px 4px 6px var(--shadow-dark),
    inset -4px -4px 6px var(--shadow-light);
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow:
    6px 6px 10px var(--shadow-dark),
    -6px -6px 10px var(--shadow-light);
  transition: all 0.3s ease;
}

.contact-form button:hover {
  box-shadow:
    inset 4px 4px 6px var(--shadow-dark),
    inset -4px -4px 6px var(--shadow-light);
  transform: scale(1.02);
}

/* Login Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.login-form input {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: none;
  background: var(--tile-bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  box-shadow:
    inset 4px 4px 6px var(--shadow-dark),
    inset -4px -4px 6px var(--shadow-light);
}

.login-form button {
  padding: 0.75rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow:
    6px 6px 10px var(--shadow-dark),
    -6px -6px 10px var(--shadow-light);
  transition: all 0.3s ease;
}

.login-form button:hover {
  box-shadow:
    inset 4px 4px 6px var(--shadow-dark),
    inset -4px -4px 6px var(--shadow-light);
  transform: scale(1.02);
}

/* Footer */
.footer {
  background: var(--bg);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: var(--text);
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: 3rem;
}

.footer p {
  margin-bottom: 0.5rem;
}

#backToTop {
  position: fixed;
  bottom: 15%;
  right: 50%;
  background: var(--tile-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
  cursor: pointer;
  display: none;
  box-shadow:
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
  transition: all 0.3s;
}

#backToTop:hover {
  box-shadow:
    inset 2px 2px 5px var(--shadow-dark),
    inset -2px -2px 5px var(--shadow-light);
}

.full-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
}

#about,
#documentation,
#contact,
#login {
  background: var(--bg);
  position: relative;
}



.hero {
min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: Left;
  justify-content: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding-top: 60px;
  padding-right: 35px;
  height:100vh;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
}

.cta,
.contact-form button,
.login-form button {
  transition: all 0.2s ease-in-out;
}

.cta:hover,
.contact-form button:hover,
.login-form button:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

 .hero-columns {
  width: 100%;
  max-width: 700px;

  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  justify-content: right;
  align-items: left;
  gap: 2rem;
  border-radius: 24px;
  background: var(--hero-bg);
backdrop-filter: blur(15px);
  opacity: 0.8;
  flex-direction: column;
  align-items: left; /* Pushes content to the right */
  justify-content: left;
  text-align: left;
  padding: 2rem;
  z-index: 1;
  margin-right: 0;
}






.spline-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  /* pointer-events: none; — remove this line */
}

.spline-bg iframe {
  height: 100%;
  width: 100%;
  border: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align all content left */
  justify-content: center;
  text-align: left;
  color: var(--text);
  max-width: 400px; /* Optional control */
  margin-top:30%;
}

.spline-column,
.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  color: var(--text);
  max-width: 400px; /* optional, for better layout control */
}

.spline-column iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.hero-content {
  flex-direction: column;
  text-align: center;
  z-index: 1;
}

.documentation-section {
  background: linear-gradient(135deg, #fceabb, #f8b500);
  padding: 4rem 2rem;
}

.doc-category {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.doc-category img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;

}

.doc-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.doc-text p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

/* Animation on scroll */
.doc-category.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .doc-category {
    flex-direction: column;
    text-align: center;
  }
}

.doc-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.contact-section, 
.about-section {
  background: linear-gradient(135deg, #e1bee7, #ce93d8);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
}

.contact-container, .about-container {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-info, .about-info{
  flex: 1;
  text-align: left;
  color: var(--text);
}

.contact-info img,
.login-info img, 
.about-info img {
  width: 80px;
  height: 90px;
  margin-bottom: 1rem;
}

.contact-info h2,
.login-info h2
.about-info h2 {
  font-size: 2rem;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 1rem;
}

.contact-info p,
.about-info p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: var(--tile-bg);
  padding: 1rem;
  border: none;
  border-radius: 16px;
  box-shadow:
    inset 4px 4px 6px var(--shadow-dark),
    inset -4px -4px 6px var(--shadow-light);
  font-size: 1rem;
  color: var(--text);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow:
    6px 6px 10px var(--shadow-dark),
    -6px -6px 10px var(--shadow-light);
  transition: all 0.3s ease;
}

.contact-form button:hover {
  transform: scale(1.02);
  box-shadow:
    inset 4px 4px 6px var(--shadow-dark),
    inset -4px -4px 6px var(--shadow-light);
}

@media (max-width: 768px) {
  .contact-container
  .about-container {
    flex-direction: column;
  }

  .contact-info,
  .about-info {
    text-align: center;
  }
}

.login-section {
  background: linear-gradient(135deg, #c5cae9, #9fa8da);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
}

.login-section2 {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
}



.login-container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  min-height: 400px;
}

.login-info {
  flex: 1;
  text-align: left;
  color: var(--text);
}



.login-info p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.login-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form input {
  background: var(--tile-bg);
  padding: 1rem;
  border: none;
  border-radius: 16px;
  box-shadow:
    inset 4px 4px 6px var(--shadow-dark),
    inset -4px -4px 6px var(--shadow-light);
  font-size: 1rem;
  color: var(--text);
}

.login-form button {
  padding: 0.75rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  box-shadow:
    6px 6px 10px var(--shadow-dark),
    -6px -6px 10px var(--shadow-light);
  transition: all 0.3s ease;
}

.login-form button:hover {
  transform: scale(1.02);
  box-shadow:
    inset 4px 4px 6px var(--shadow-dark),
    inset -4px -4px 6px var(--shadow-light);
}

.form-links {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.form-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
  }

  .login-info {
    text-align: center;
  }
}



.doc-card {
background: rgba(255, 255, 255, 0.2); /* Match contact-container */
  backdrop-filter: blur(15px); /* Match contact-container */
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem; /* Match padding */
  max-width: 800px; /* Match contact-container */
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  color: var(--text);
}

.doc-card > img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-top: 1rem;
}

.doc-content h3 {
  font-size: 2rem;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 0.5rem;
}

.doc-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
}









.tag {
  background: var(--tile-bg);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow:
    3px 3px 6px var(--shadow-dark),
    -3px -3px 6px var(--shadow-light);
  color: var(--text);
}

.heading-wrapper {
  position: relative;
  display: inline-block;
}

.cta-go {
  position: absolute;
  top: -2.5rem;   /* Moves button above the heading */
  left: -0.5rem;        /* Aligns with the "B" */
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: 'Space Grotesk', sans-serif;
  border: none;
  cursor: pointer;
  box-shadow:
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
  transition: all 0.3s ease;
}

.cta-go:hover {
  box-shadow:
    inset 3px 3px 6px var(--shadow-dark),
    inset -3px -3px 6px var(--shadow-light);
  transform: scale(1.05);
}

.heading-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* spacing between GO and BREEAM */
}

.cta-go-inline {
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: 'Space Grotesk', sans-serif;
  border: none;
  cursor: pointer;
  box-shadow:
    4px 4px 8px var(--shadow-dark),
    -4px -4px 8px var(--shadow-light);
  transition: all 0.3s ease;
}

.cta-go-inline:hover {
  box-shadow:
    inset 3px 3px 6px var(--shadow-dark),
    inset -3px -3px 6px var(--shadow-light);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .section-columns {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

.section-heading-left {
  position: absolute;
  margin-bottom: 3rem;
  top: 2rem; /* Was 4rem — now ~20% higher */
  left: 2rem;
  z-index: 5;
}

.section-heading-left h1 {
  padding-top: 140px;
  font-size: 6rem; /* Was 6rem — now larger */
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text); /* Full black */
  opacity: 1;     /* No transparency */
  margin: 0;
  line-height: 1;
}
.doc-section-wrapper {
  position: relative;
  margin-bottom: 4rem;
}

.doc-heading-left {
  flex: 0 0 200px;
  position: static;
  text-align: left;
  padding-right: 1rem;
}



.doc-row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.doc-heading-left {
  flex: 0 0 200px;
  padding-left: 2rem;
  text-align: left;
}

.doc-heading-left h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: grey;
  text-transform: uppercase;
  line-height: 1;
}

.section-columns {
  flex: 1;
  max-width: 800px;
  background: var(--tile-bg);
  padding: 2rem;
  border-radius: 20px;
  box-shadow:
    4px 4px 10px var(--shadow-dark),
    -4px -4px 10px var(--shadow-light);
}

.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--tile-bg);
  padding: 1rem;
  border-radius: 16px;
  box-shadow:
    4px 4px 10px var(--shadow-dark),
    -4px -4px 10px var(--shadow-light);
}

.doc-item img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.doc-item p {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.5;
}

.about-section {
  background: linear-gradient(135deg, #e1bee7, #ce93d8);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
}

.about-container {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column; /* <— CHANGE from row to column */
  gap: 2rem;
  align-items: center;     /* <— center the single column */
  text-align: justify;
}

.about-info {
  flex: 1;
  text-align: left;
  color: var(--text);
}

.about-info img {
  width: 80px;
  height: 90px;
  margin-bottom: 1rem;
}

.about-info h2 {
  font-size: 2rem;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 1rem;
}

.about-info p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
  text-align: justify;
}

.about-tags {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

.about-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }
  .about-info {
    text-align: center;
  }
  .about-tags {
    justify-content: center;
  }
}

.navbar-minimal {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.nav-left .logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-right a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
}

#toggleTheme {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

#toggleTheme img {
  width: 24px;
  height: 24px;
}

.scrollBtn {
  width: 40px;
  height: 60px;
  border-radius: 20px;
  border: #fff solid 2px;
  position: fixed;
  bottom: 50%;
  right: 2rem;
  z-index: 999;
  transition: all 0.3s ease;
  cursor: pointer;
}

.scrollBtn::before,
.scrollBtn::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #fff;
  top: 50%;
  transition: 0.3s all ease;
}

.scrollBtn::before {
  left: 3px;
  transform: translateY(-50%) rotate(45deg);
}

.scrollBtn::after {
  right: 3px;
  transform: translateY(-50%) rotate(-45deg);
}

.scrollBtn:hover::before {
  transform: translateY(-50%) rotate(-45deg);
}

.scrollBtn:hover::after {
  transform: translateY(-50%) rotate(45deg);
}

.go-arrow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem; /* more spacing between label and arrow */
  padding: 0.75rem 2rem; /* increased padding */
  font-size: 1.25rem; /* larger font */
  font-weight: 700;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: 'Space Grotesk', sans-serif;
  text-decoration: none;
  box-shadow:
    6px 6px 12px var(--shadow-dark),
    -6px -6px 12px var(--shadow-light);
  transition: all 0.3s ease;
}

.go-arrow-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 4px 4px 6px var(--shadow-dark),
    inset -4px -4px 6px var(--shadow-light);
}

.go-arrow-btn .arrow {
  width: 16px;
  height: 16px;
  border-top: 3px solid var(--btn-text);
  border-right: 3px solid var(--btn-text);
  transform: rotate(45deg);
}

.go-arrow-btn:hover .arrow {
  transform: rotate(45deg) translate(2px, -2px);
}

.form-section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .form-section.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 1;
  }

.form-flip-container {
  perspective: 1000px;
  width: 100%;
  flex: 1;
  min-height: 320px; /* ✅ Make sure there's room for the forms */
  position: relative;
}

.form-flip {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.form-front,
.form-back {
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  width: 100%;
  height: 100%;
}

.form-front {
  z-index: 2;
  transform: rotateY(0deg);
}

.form-back {
  transform: rotateY(180deg);
}

.form-flip.flipped {
  transform: rotateY(180deg);
}

.dashboard-section {
  background: linear-gradient(135deg, #c5cae9, #9fa8da);
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.dashboard-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  max-width: 1100px;
  width: 100%;
}

.project-button {
  width: 100%;
  text-align: left;
  background: var(--tile-bg);
  color: var(--text);
  padding: 1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 4px 4px 10px var(--shadow-dark), -4px -4px 10px var(--shadow-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-button:hover {
  transform: translateY(-2px);
  box-shadow: inset 2px 2px 6px var(--shadow-dark), inset -2px -2px 6px var(--shadow-light);
}

.project-button strong {
  font-size: 1.2rem;
  color: var(--accent);
}

.project-button span {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.8;
}

.category-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
}
.category-progress-bar {
  height: 8px;
  background: #e0e0e0;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.5rem 0;
}
.category-progress-bar .fill {
  background: #388e3c;
  height: 100%;
}
.hidden {
  display: none;
}

/* Enhanced Dashboard Visuals */
.dashboard-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.1));
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 32px;
  box-shadow:
    8px 8px 24px rgba(0, 0, 0, 0.2),
    -8px -8px 24px rgba(255, 255, 255, 0.05);
  max-width: 1100px;
  width: 100%;
  animation: fadeInUp 1s ease-out;
}

.project-item {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--tile-bg);
  color: var(--text);
  border-radius: 20px;
  box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.1), -8px -8px 20px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-item:hover {
  transform: perspective(1000px) translateY(-4px) rotateX(2deg);
  box-shadow:
    inset 4px 4px 10px rgba(0, 0, 0, 0.05),
    inset -4px -4px 10px rgba(255, 255, 255, 0.1);
}

.project-item strong {
  font-size: 1.3rem;
  color: var(--accent);
}

.project-item span {
  font-size: 1rem;
  color: var(--text);
  opacity: 0.7;
}

.project-actions {
  margin-top: 0.75rem;
}

.flip-btn {
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  transition: all 0.2s ease-in-out;
}

.flip-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.delete-btn {
  background: #c62828;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* The rest of the styles remain as-is */
.project-clickable {
  cursor: pointer;
  position: relative;
}

.project-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 1rem;
}


.delete-form {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
}

.delete-icon {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #888;
  transition: transform 0.2s ease, color 0.2s ease;
}

.delete-icon:hover {
  transform: scale(1.2);
  color: #c62828;
}

body.dark .scroll-section2 {
  background: linear-gradient(135deg, #2a2a2e, #1e1e22);
}

body.dark .login-section2 {
  background: linear-gradient(135deg, #2a2a2e, #1e1e22);
}

.question-box {
  background: var(--tile-bg);
  color: var(--text);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  max-width: 800px;        /* don’t stretch too wide on large screens */
  width: 100%;
  margin: 2rem auto;       /* center it and give breathing room */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.question-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Optional: enlarge the question text */
.question-box p strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.option-btn {
  display: block;                /* full width */
  width: 100%;
  padding: 0.75rem 1.25rem;
  margin: 0.75rem 0;
  background: var(--primary);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;              /* text flush left */
  border: none;
  border-radius: 999px;          /* pill shape */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.option-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.option-btn:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.progress-text {
  color: var(--text); /* Ensure progress text adapts to dark mode */
  margin-top: 0.5rem;
  font-weight: 600;
  text-align: center;
}


  .tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .tab {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background: var(--tile-bg);
    text-decoration: none;
    color: var(--text);
  }

  .tab.active {
    background: var(--btn-bg);
    color: var(--btn-text);
  }


  .option-btn {
    display: block;
    margin: 0.5rem 0;
    padding: 0.75rem;
    background: var(--tile-bg);
    color: var(--text);
    border: 1px solid var(--accent);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .option-btn:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .progress-bar {
    height: 20px;
    background: var(--shadow-dark);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 1rem;
  }

  .progress-bar-fill {
    height: 100%;
    background: var(--btn-bg);
    transition: width 0.3s;
  }

  .progress-text {
    color: var(--text);
    font-weight: 600;
    margin-top: 0.5rem;
    text-align: center;
  }

  input[type="text"] {
    padding: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
    background: var(--tile-bg);
    color: var(--text);
    border: 1px solid var(--accent);
    border-radius: 4px;
  }

.option-btn {
  /* existing rules… */
  font-weight: normal !important;
}

/* If you happen to have <strong> tags inside, override them too: */
.option-btn strong {
  font-weight: normal !important;
  font-style: normal !important;
}

.rating-box {
  background: var(--card);
  color: var(--text);
  padding: 1.5rem;
  border-left: 6px solid var(--accent);
  border-radius: 8px;
  margin: 1rem 0;
  text-align: center;
}

.doc-card {
  background: var(--tile-bg);
  border-radius: 16px;
  padding: 2rem;
  box-shadow:
    8px 8px 15px var(--shadow-dark),
    -8px -8px 15px var(--shadow-light);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}

.tag {
  background: var(--tile-bg);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow:
    3px 3px 6px var(--shadow-dark),
    -3px -3px 6px var(--shadow-light);
  color: var(--text);
}

details summary {
  cursor: pointer;
  font-weight: bold;
  background: var(--summary-bg);
  color: var(--text);
  padding: 0.5rem 1rem;
  border: 1px solid var(--summary-border);
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

@media (max-width: 768px) {
  .rating-box, .doc-card, table {
    width: 100%;
    padding: 1rem;
    font-size: 0.95rem;
  }
  table th, table td {
    padding: 0.5rem;
  }
}

.floating-report-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  z-index: 999;
  background-color: var(--tile-bg);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-report-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.floating-report-btn img {
  width: 100%;
  height: auto;
  display: block;
}