/* ===================================================================
   NETH - Networked Ecological Telemetry Hub
   Design System Inspired by BeeZee & Modern Clean UI
   =================================================================== */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap");

/* Variables */
:root {
  --header-height: 4rem;

  /* Primary Brand Colors (Ecological Theme) */
  --first-color: #10b981;
  --first-color-alt: #059669;
  --first-color-light: #34d399;
  --first-color-lighten: #d1fae5;
  --first-color-dark: #065f46;
  --first-gradient: linear-gradient(135deg, #10b981 0%, #0284c7 100%);

  /* Neutral Colors (Light Theme) */
  --title-color: #0f172a;
  --text-color: #475569;
  --text-color-light: #94a3b8;
  --body-color: #f8fafc;
  --container-color: #ffffff;
  --card-border: #e2e8f0;
  --card-hover-border: #10b981;
  --table-stripe: #f1f5f9;
  --code-bg: #f1f5f9;
  --code-text: #0f172a;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 35px rgba(0, 0, 0, 0.12);

  /* Fonts & Typography */
  --body-font: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono-font: "JetBrains Mono", Consolas, monospace;
  --big-font-size: 2.25rem;
  --h1-font-size: 1.75rem;
  --h2-font-size: 1.35rem;
  --h3-font-size: 1.15rem;
  --normal-font-size: 0.95rem;
  --small-font-size: 0.85rem;
  --smaller-font-size: 0.75rem;

  /* Weights */
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* Spacing */
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /* Z-Index */
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive Desktop Typography */
@media screen and (min-width: 992px) {
  :root {
    --big-font-size: 3.25rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.65rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/* Dark Theme Variables */
body.dark-theme {
  --first-color: #10b981;
  --first-color-alt: #34d399;
  --first-color-light: #059669;
  --first-color-lighten: rgba(16, 185, 129, 0.15);
  --first-color-dark: #047857;
  --title-color: #f8fafc;
  --text-color: #94a3b8;
  --text-color-light: #64748b;
  --body-color: #0b1120;
  --container-color: #131d33;
  --card-border: #1e293b;
  --card-hover-border: #10b981;
  --table-stripe: #0f172a;
  --code-bg: #1e293b;
  --code-text: #f8fafc;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 35px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.7;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  line-height: 1.3;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--body-font);
}

/* Layout Utilities */
.container {
  max-width: 1140px;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

@media screen and (min-width: 1200px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.section {
  padding: 5.5rem 0 2rem;
}

.section__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-0-5);
  position: relative;
}

.section__title-center {
  text-align: center;
  margin-bottom: var(--mb-2);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--first-color);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--mb-0-5);
}

.section__description {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--mb-3);
  color: var(--text-color);
}

/* Modern Frosted Glassmorphism Header */
.header {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(16px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glass Header at top of page (over hero cover photo) */
.header:not(.scroll-header) .nav__logo {
  color: #ffffff;
}

.header:not(.scroll-header) .nav__link {
  color: rgba(255, 255, 255, 0.85);
}

.header:not(.scroll-header) .nav__link:hover,
.header:not(.scroll-header) .nav__link.active-link {
  color: #34d399;
}

.header:not(.scroll-header) .change-theme,
.header:not(.scroll-header) .nav__toggle {
  color: #ffffff;
}

/* Frosted Glass on Scroll */
.scroll-header {
  background-color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Dark Theme Glass Navbar */
body.dark-theme .header {
  background-color: rgba(11, 17, 32, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.dark-theme .scroll-header {
  background-color: rgba(11, 17, 32, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.65rem;
  color: var(--title-color);
  font-weight: var(--font-bold);
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  transition: 0.3s;
}

.nav__logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
}

.nav__logo-badge {
  font-size: 0.65rem;
  background-color: var(--first-color-lighten);
  color: var(--first-color-alt);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav__list {
  display: flex;
  align-items: center;
  column-gap: 1.25rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  font-size: 0.9rem;
  transition: 0.3s;
  padding: 6px 4px;
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--first-color);
}

.nav__link.active-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--first-color);
  border-radius: 2px;
}

.nav__btns {
  display: inline-flex;
  align-items: center;
  column-gap: 1rem;
}

/* Button Dark/Light */
.change-theme {
  color: var(--title-color);
  font-size: 1.15rem;
  cursor: pointer;
  transition: 0.3s;
}

.change-theme:hover {
  color: var(--first-color);
}

.nav__toggle {
  display: none;
  font-size: 1.35rem;
  color: var(--title-color);
  cursor: pointer;
}

.nav__close {
  display: none;
}

/* Home Section with Full Cover Page Background */
.home {
  position: relative;
  padding: 8.5rem 0 4.5rem;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.76) 0%, rgba(11, 17, 32, 0.90) 100%),
    url('../../data/cover_page.jpg') center/cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.home__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home__data {
  max-width: 840px;
  margin: 0 auto;
}

.home__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1.1rem;
  background-color: rgba(16, 185, 129, 0.22);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-radius: 30px;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-1);
}

.home__title {
  color: #ffffff;
  font-size: var(--big-font-size);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: var(--mb-1);
  letter-spacing: -1px;
}

.gradient-text {
  background: var(--first-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home__description {
  margin: 0 auto var(--mb-2);
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 720px;
  line-height: 1.7;
}

.home__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: var(--mb-2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
  background-color: var(--first-color);
  color: #fff;
  padding: 0.85rem 1.65rem;
  border-radius: 10px;
  font-weight: var(--font-semi-bold);
  font-size: var(--normal-font-size);
  transition: 0.3s;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.button:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.button--secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: var(--first-color);
  color: #ffffff;
}

.home__manuals {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.manual {
  display: inline-flex;
  align-items: center;
  column-gap: 0.4rem;
  font-size: var(--small-font-size);
  color: #34d399;
  font-weight: var(--font-medium);
  transition: 0.3s;
}

.manual:hover {
  color: #6ee7b7;
  text-decoration: underline;
}

/* Home Quick Highlights Grid */
.home__highlights {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.highlight__card {
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: 0.3s;
}

.highlight__card:hover {
  transform: translateY(-3px);
  border-color: var(--first-color);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
}

.highlight__icon {
  font-size: 1.75rem;
  color: #34d399;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight__title {
  font-size: 0.95rem;
  font-weight: var(--font-bold);
  color: #ffffff;
}

.highlight__subtitle {
  font-size: var(--smaller-font-size);
  color: #94a3b8;
}

/* About Section */
.about__container {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.about__logo-badge {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 9px;
  vertical-align: middle;
  filter: drop-shadow(0 2px 6px rgba(16, 185, 129, 0.35));
}

.about__img-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
  background-color: #0b1120;
}

.about__img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about__img-wrapper:hover .about__img {
  transform: scale(1.02);
}

.about__title {
  margin-bottom: var(--mb-1);
}

.about__description {
  margin-bottom: var(--mb-1-5);
  color: var(--text-color);
}

.about__points {
  display: grid;
  gap: 0.75rem;
  margin-bottom: var(--mb-2);
}

.about__point {
  display: flex;
  align-items: flex-start;
  column-gap: 0.65rem;
  font-size: var(--small-font-size);
}

.about__point i {
  color: var(--first-color);
  font-size: 1.15rem;
  margin-top: 2px;
}

/* Cards & Generic Card Style */
.card {
  background-color: var(--container-color);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--card-hover-border);
  box-shadow: var(--shadow-md);
}

.card__icon {
  font-size: 1.85rem;
  color: var(--first-color);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--first-color-lighten);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--mb-1);
}

.card__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.card__description {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.6;
}

/* Solution Architecture Workflow Diagram */
.workflow__diagram-card {
  background-color: var(--container-color);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}

.workflow__diagram-card:hover {
  border-color: var(--first-color);
  box-shadow: var(--shadow-md);
}

.workflow__img {
  width: 100%;
  max-width: 1050px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  margin: 0 auto;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.workflow__img:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-md);
}

/* Hardware and Software Design Tabs */
.tabs__header {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: var(--mb-2);
}

.tab__button {
  background-color: var(--container-color);
  border: 1px solid var(--card-border);
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--text-color);
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tab__button.active,
.tab__button:hover {
  background-color: var(--first-color);
  color: #fff;
  border-color: var(--first-color);
}

.tab__content {
  display: none;
}

.tab__content.active {
  display: block;
}

/* Responsive Table */
.table__responsive {
  width: 100%;
  overflow-x: auto;
  background-color: var(--container-color);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--small-font-size);
}

th {
  background-color: var(--first-color-lighten);
  color: var(--title-color);
  padding: 1rem 1.25rem;
  font-weight: var(--font-bold);
  border-bottom: 1px solid var(--card-border);
}

body.dark-theme th {
  background-color: #1e293b;
}

td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-color);
}

tr:nth-child(even) td {
  background-color: var(--table-stripe);
}

tr:last-child td {
  border-bottom: none;
}

/* Code Snippet */
.code__box {
  background-color: var(--code-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.25rem;
  font-family: var(--mono-font);
  font-size: 0.825rem;
  color: var(--code-text);
  overflow-x: auto;
  line-height: 1.6;
}

/* Testing Section Roadmap */
.roadmap__container {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--mb-2);
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--mb-0-5);
}

.status-badge--success {
  background-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.status-badge--warning {
  background-color: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.status-badge--info {
  background-color: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

/* Blog Cards */
.blog__container {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--mb-0-75);
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.blog__tag {
  background-color: var(--first-color-lighten);
  color: var(--first-color-alt);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: var(--font-semi-bold);
}

/* How to Use Section */
.steps__container {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: var(--mb-2-5);
}

.step__card {
  text-align: center;
  padding: 2rem 1.25rem;
}

.step__number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--first-color-lighten);
  color: var(--first-color);
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
}

/* Team Section */
.team__container {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team__card {
  text-align: center;
  padding: 2rem 1.25rem;
  background-color: var(--container-color);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  transition: 0.3s;
}

.team__card:hover {
  transform: translateY(-4px);
  border-color: var(--first-color);
  box-shadow: var(--shadow-md);
}

.team__img-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto var(--mb-1);
  overflow: hidden;
  border: 3px solid var(--first-color);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--first-color-lighten);
}

.team__card:hover .team__img-wrapper {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.4);
}

.team__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team__avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--first-gradient);
  color: #fff;
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.team__name {
  font-size: 1.05rem;
  font-weight: var(--font-bold);
  margin-bottom: 0.2rem;
}

.team__enum {
  font-size: var(--small-font-size);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.4rem;
}

.team__role {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  margin-bottom: 1rem;
}

.team__socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.team__social-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--body-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: 0.3s;
  border: 1px solid var(--card-border);
}

.team__social-link:hover {
  background-color: var(--first-color);
  color: #fff;
  border-color: var(--first-color);
  transform: translateY(-2px);
}

.supervisor__card {
  text-align: center;
  max-width: 600px;
  margin: 2.5rem auto 0;
  padding: 1.5rem;
  background-color: var(--container-color);
  border: 1px solid var(--card-border);
  border-radius: 14px;
}

/* Budget Section */
.budget__stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: var(--mb-2);
}

.budget__stat-card {
  background-color: var(--container-color);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
}

.budget__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--first-color);
}

.budget__stat-label {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.budget__sheet-card {
  background-color: var(--container-color);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: var(--mb-2);
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}

.budget__sheet-card:hover {
  border-color: var(--first-color);
  box-shadow: var(--shadow-md);
}

.budget__sheet-img {
  width: 100%;
  max-width: 950px;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.budget__sheet-img:hover {
  transform: scale(1.015);
  box-shadow: var(--shadow-md);
}

/* Scroll Up Button */
.scrollup {
  position: fixed;
  right: 1.5rem;
  bottom: -20%;
  background-color: var(--first-color);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  transition: 0.4s;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.scrollup:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-3px);
}

.show-scroll {
  bottom: 2rem;
}

/* Footer */
.footer {
  background-color: var(--container-color);
  border-top: 1px solid var(--card-border);
  padding: 4.5rem 0 2rem;
}

.footer__container {
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__link {
  font-size: var(--small-font-size);
  color: var(--text-color);
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer__link:hover {
  color: var(--first-color);
  transform: translateX(4px);
}

.footer__copy {
  border-top: 1px solid var(--card-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive Media Queries */
@media screen and (max-width: 991px) {

  .home__container,
  .about__container,
  .architecture__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .home__img-wrapper,
  .about__img-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .home__highlights,
  .steps__container,
  .team__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap__container,
  .blog__container {
    grid-template-columns: 1fr;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 3rem 1.5rem 2.5rem;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 1.5rem 1.5rem;
    transition: 0.4s;
    z-index: var(--z-fixed);
  }

  body.dark-theme .nav__menu {
    background-color: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header:not(.scroll-header) .nav__menu .nav__link {
    color: var(--text-color);
  }

  body.dark-theme .header:not(.scroll-header) .nav__menu .nav__link {
    color: var(--text-color);
  }

  .header:not(.scroll-header) .nav__menu .nav__link:hover,
  .header:not(.scroll-header) .nav__menu .nav__link.active-link {
    color: var(--first-color);
  }

  .header:not(.scroll-header) .nav__menu .nav__close {
    color: var(--title-color);
  }

  .show-menu {
    top: 0;
  }

  .nav__list {
    flex-direction: column;
    row-gap: 1.25rem;
  }

  .nav__close {
    display: block;
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
  }

  .nav__toggle {
    display: block;
  }

  .home__title {
    font-size: 2.2rem;
  }

  .home__highlights,
  .steps__container,
  .team__container,
  .budget__stats {
    grid-template-columns: 1fr;
  }
}