@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #111317;
  --primary-color-light: #1f2125;
  --primary-color-extra-light: #35373b;
  --secondary-color: #ffc107;
  --secondary-color-dark: #ffa000;
  --text-light: #d1d5db;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
  color: var(--text-light);
  line-height: 1.6;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
  text-align: center;
  color: var(--white);
}

.btn {
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn a {
  color: black;
  text-decoration: none;
}

.btn:hover, .btn a:hover {
  background-color: var(--secondary-color-dark);
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--text-light);
  transition: 0.3s;
}

a:hover {
  color: var(--secondary-color);
}

.bg__blur {
  position: absolute;
  box-shadow: 0 0 1000px 50px var(--secondary-color);
  z-index: -1;
}

nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1000;
}

.nav__logo {
  max-width: 250px;
}

.nav__toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.link {
  position: relative;
}

.link a {
  position: relative;
  padding-bottom: 0.75rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.link a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  left: 0;
  bottom: 0;
  background-color: var(--secondary-color);
  transition: 0.3s;
}

.link a:hover::after {
  width: 50%;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  list-style: none;
  position: absolute;
  background-color: var(--primary-color-light);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
  top: 100%;
  left: 0;
}

.dropdown-content li {
  padding: 12px 16px;
}

.dropdown-content a {
  color: var(--text-light);
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--primary-color-extra-light);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.header__container {
  position: relative;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

.header__blur {
  bottom: 5rem;
  right: 0;
}

.header__content h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.header__content h1 {
  margin-bottom: 1rem;
  font-size: 5rem;
  font-weight: 700;
  line-height: 6rem;
  color: var(--white);
}

.header__content h1 span {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.header__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}



.footer__container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__blur {
  bottom: 0;
  right: 0;
}

.footer__logo {
  max-width: 150px;
  margin-bottom: 2rem;
}

.footer__col p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  padding: 5px 10px;
  font-size: 1.25rem;
  color: var(--secondary-color);
  background-color: var(--primary-color-extra-light);
  border-radius: 100%;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--primary-color);
  background-color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.footer__col > a {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-light);
  transition: 0.3s;
}

.footer__col > a:hover {
  color: var(--secondary-color);
}

.footer__bar {
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}

@media (max-width: 1024px) {
  .header__content h1 {
    font-size: 4rem;
    line-height: 5rem;
  }
  .explore__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    position: static;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    display: none;
    z-index: 1000;
  }

  .nav__links.show {
    display: flex;
  }

  .dropdown-content {
    position: static;
    background-color: transparent;
    box-shadow: none;
    display: none;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .nav__links.show .dropdown-content {
    display: block;
  }

  .header__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header__image {
    grid-area: 1/1/2/2;
  }

  .header__content h1 {
    font-size: 3rem;
    line-height: 4rem;
  }

  .philosophy__content {
    flex-direction: column;
  }

  .history__timeline::after {
    left: 31px;
  }

  .timeline__item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline__item::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline__item::after {
    left: 21px;
  }

  .timeline__item:nth-child(even) {
    left: 0%;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__socials {
    justify-content: center;
  }

  .footer__col {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .header__content h1 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .explore__grid {
    grid-template-columns: 1fr;
  }
}
