.home_hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(8rem, 15vh, 10rem) clamp(1.25rem, 8vw, 8rem) 5rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(15, 17, 23, 0.28), rgba(15, 17, 23, 0.56)),
    url("../images/hero_background_1.png") center / cover no-repeat;
}

.home_navbar {
  min-height: 5.25rem;
  padding-inline: clamp(1rem, 5vw, 3.5rem);
}

.home_logo_domain,
.home_links_domain {
  height: auto;
  padding: 0.75rem 0;
  border: 0;
}

.home_navbar > a {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.home_logo_domain img {
  display: block;
  width: auto;
  max-width: 10rem;
  height: 2.75rem;
  object-fit: contain;
}

.home_links_domain .nav-links {
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: center;
}

.home_links_domain .nav-active-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.home_links_domain .nav-active-link:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.home_navbar .menu-btn {
  display: none;
}

.home_hero .hero-content {
  width: min(100%, 58rem);
  padding: clamp(1rem, 3vw, 2.5rem);
  background: transparent;
}

.home_hero .hero-badge {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.home_hero .hero-content h1 {
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home_hero .hero-content h1 + h1 {
  margin-top: 0.12em;
  margin-bottom: 0.3em;
}

.home_hero .hero-content p {
  max-width: 42rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.home_hero .hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 4vw, 2rem);
}

.home_hero .hero-buttons a {
  display: inline-flex;
  text-decoration: none;
}

.home_hero .primary-btn,
.home_hero .secondary-btn {
  min-height: 3.25rem;
  margin: 0;
  padding: 0.85rem 1.5rem;
  font: inherit;
  font-weight: 600;
}

.home_stats_hero {
  position: relative;
  width: min(72rem, calc(100% - 2.5rem));
  margin: -3rem auto 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  background:
    linear-gradient(rgba(15, 17, 23, 0.76), rgba(15, 17, 23, 0.88)),
    url("../images/stats.jpg") center / cover;
}

.home_stats {
  position: static;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding: 0;
}

.home_hero-card,
.home_stat-card {
  min-width: 0;
  position: static;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.home_stats-section {
  width: min(72rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.home_stat-card h2,
.home_hero-card h2 {
  margin-bottom: 0.5rem;
  color: silver;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.home_stat-card p,
.home_hero-card p {
  color: #d0d0d0;
  line-height: 1.5;
}

.latest-projects,
.tech-focus,
.timeline,
.vision,
.investor-section {
  width: min(72rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.latest-projects h2,
.tech-focus h2,
.timeline > h2,
.investor-section h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.latest-projects .project-grid,
.tech-grid {
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.tech-focus {
  padding-top: 0;
}

.tech-focus .tech-grid {
  margin-top: 2rem;
}

.tech-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.timeline > h2 {
  grid-column: 1 / -1;
}

.timeline-item {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.timeline-item h3 {
  margin-bottom: 0.75rem;
  color: silver;
  font-size: 1.5rem;
}

.timeline-item p,
.investor-section p {
  color: #d0d0d0;
  line-height: 1.7;
}

.vision {
  gap: clamp(1rem, 3vw, 2rem);
  padding-top: 0;
}

.vision-box {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.investor-section {
  text-align: center;
}

.investor-section p {
  max-width: 42rem;
  margin: 0 auto;
}

.investor-buttons {
  margin-top: 1.5rem;
}

.investor-buttons a {
  display: inline-flex;
  text-decoration: none;
}

.investor-buttons .primary-btn {
  margin: 0;
}

.Subscribers-section {
  padding: clamp(3rem, 7vw, 5rem) 1.25rem;
  border-radius: 2rem 2rem 0 0;
}

.main_footer {
  height: auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.main_footer .upper_row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  width: min(72rem, 100%);
  height: auto;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.main_footer .col_1,
.main_footer .col_2 {
  width: auto;
  height: auto;
}

.main_footer .col_3,
.main_footer .col_4 {
  display: none;
}

.main_footer .col_1_row_1,
.main_footer .col_1_row_2,
.main_footer .col_1_row_3,
.main_footer .col_2_row_1,
.main_footer .col_2_row_2 {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.main_footer .col_1_row_1 {
  padding-bottom: 1rem;
}

.main_footer .col_1_row_1 .logo {
  justify-content: flex-start;
  background: transparent;
  border-radius: 0;
}

.main_footer .col_1_row_2 {
  line-height: 1.7;
}

.main_footer .col_1_row_2-heading {
  margin-bottom: 0.75rem;
}

.main_footer .col_2_row_1 {
  padding-bottom: 1rem;
}

.main_footer .col_2_row_2 {
  margin-top: 1rem;
}

.main_footer .bottom_row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: min(72rem, 100%);
  height: auto;
  margin: 0 auto;
}

.main_footer .bottom_row_text {
  flex-wrap: wrap;
  gap: 0.5rem;
  line-height: 1.5;
}

.main_footer .bottom_row_text p,
.main_footer .bottom_row_text a {
  margin: 0;
}

.main_footer .bottom_row_socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

@media (max-width: 700px) {
  .home_stats,
  .home_stats-section {
    grid-template-columns: 1fr;
  }

  .home_stats_hero {
    margin-top: -2rem;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .vision {
    grid-template-columns: 1fr;
  }

  .main_footer .upper_row {
    grid-template-columns: 1fr;
  }

  .main_footer .bottom_row {
    align-items: flex-start;
    flex-direction: column;
  }

  .main_footer .bottom_row_socials {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .home_navbar {
    padding-inline: 1.25rem;
  }

  .home_navbar .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1.5rem;
  }

  .home_navbar .home_links_domain .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    flex-direction: column;
    gap: 0;
    min-width: 12rem;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    background: #161a24;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
  }

  .home_navbar .home_links_domain .nav-links.active {
    display: flex;
  }

  .home_navbar .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 420px) {
  .home_hero .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .home_hero .hero-buttons a,
  .home_hero .hero-buttons button {
    width: 100%;
    justify-content: center;
  }
}
