/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

/* Variables */
:root {
  --first-color: #0396A6;
  --dark-color: #1a1a1a;
  --white-color: #fff;
  --body-font: 'Open Sans', sans-serif;
  --biggest-font-size: 3rem;
  --h2-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --z-back: -10;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Reset & Base */
*, ::before, ::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  background: var(--dark-color);
  color: var(--white-color);
}
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Layout */
.bd-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: transparent;
  z-index: var(--z-modal);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Navbar */
.nav {
  height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}
.nav__logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav__logo img {
  height: 128px;
  width: auto;
}
.nav__menu {
  display: flex;
}
.nav__list {
  display: flex;
  align-items: center;
}
.nav__item {
  margin-left: 2rem;
}
.nav__link {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.nav__link:hover,
.nav__link.active {
  color: var(--first-color);
  background: rgba(3,150,166,0.08);
}
.nav__toggle {
  display: none;
  font-size: 2rem;
  color: var(--white-color);
  cursor: pointer;
}
/* Title and Subtitle just below the menu */
.home__title, .home__subtitle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  z-index: 10;
  text-shadow: 0 4px 16px rgba(0,0,0,0.7), 0 1px 0 #222;
  width: 100%;
  text-align: center;
}

.home__title {
  top: 4.5rem;
  font-size: var(--biggest-font-size);
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0;
  /* Remove margin-bottom, not needed for absolutely positioned elements */
}

.home__subtitle {
  /* Increase top value for more space below the title */
  top: 8.5rem;
  font-size: var(--h2-font-size);
  font-weight: 600;
  margin: 0;
}

.home__scroll {
  position: absolute;
  bottom: 2.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 2rem;
  z-index: 10;
}
.home__scroll .bx-mouse {
  color: var(--white-color);
  background: var(--first-color);
  border-radius: 50%;
  padding: 0.5rem;
}

/* Section Layout */
.l-section {
  background: var(--dark-color);
  padding: 4rem 0 2rem 0;
}
.section {
  max-width: 950px;
  margin: 0 auto;
  padding: 2rem 1rem;
  color: var(--white-color);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.section__data {
  flex: 1 1 0;
}
.section__title {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-bottom: 1rem;
}
.section__text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--white-color);
}
.section__img {
  width: 320px;
  border-radius: .5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
/* Responsive Styles */
@media screen and (max-width: 900px) {
  .section {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .section__img {
    width: 90vw;
    max-width: 320px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    left: 0;
    top: -100%;
    width: 100%;
    background: rgba(26,26,26,0.98);
    padding: 2rem 0;
    text-align: center;
    z-index: var(--z-fixed);
    transition: top 0.3s;
    flex-direction: column;
    align-items: center;
    display: block;
  }
  .nav__menu.show {
    top: 4rem;
  }
  .nav__list {
    flex-direction: column;
    align-items: center;
  }
  .nav__item {
    margin: 1rem 0;
  }
  .nav__toggle {
    display: block;
  }
  .nav__menu {
    display: none;
  }
  .nav__menu.show {
    display: block;
  }
  .nav__logo img {
    height: 36px;
  }
  .home__title {
    font-size: 2rem;
    top: 4.5rem;
  }
  .home__subtitle {
    font-size: 1rem;
    top: 7rem;
  }
  .section__img {
    width: 90vw;
    max-width: 220px;
  }
}
@media screen and (max-width: 480px) {
  .home__title {
    font-size: 1.2rem;
    top: 4.5rem;
  }
  .home__subtitle {
    font-size: 0.9rem;
    top: 6.5rem;
  }
  .section__img {
    max-width: 140px;
  }
