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

body {
  font-family: sans-serif;
}

header {
  width: 100%;
  background-color: #010407;
}

/* Navbar Layout */
.nav-elements {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 5rem;
}

/* Logo */
.nav-logo {
  background-image: url("nav-logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 5rem;
  width: 150px;
}

/* Navigation Links */
.navside-bar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navside-bar ul li a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: 0.3s ease;
}

.navside-bar ul li a:hover {
  color: #00bcd4;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .nav-elements {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 1rem;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
  }

  .navside-bar {
    width: 100%;
    display: none;
  }

  .navside-bar.active {
    display: block;
  }

  .navside-bar ul {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .navside-bar ul li a {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    display: block;
    width: 100%;
  }
}

/* Hero Section */
#bg-img {
  background-image: url("bg-img.jpg");
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.bg-front {
  background-color: rgba(0, 0, 0, 0.8);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-text {
  position: absolute;
  z-index: 10;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bg-text h1 {
  animation: typewritter 2s ease-in 0.5s infinite reverse;
}

@keyframes typewritter {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Cards Section */
#card-elements {
  width: 100%;
  background-color: #ced4da;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 2rem 0;
}

.card {
  width: 23%;
  min-height: 460px;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.1);
  margin: 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1rem;
}

.topic {
  text-align: center;
  margin-bottom: 1rem;
}

.card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.card-text p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.card-text p a {
  text-decoration: none;
  color: black;
}

/* Responsive Cards */
@media (max-width: 1024px) {
  .card {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .card {
    width: 90%;
  }
}


.content-reach {
  height: 100%;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.context {
  width:35% ;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;

  border-radius: 20px;
}

.footer {
  height: 7rem;
  width: 100%;
  background-color: #212529;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;


}

.foot-content {
  width: auto;
  text-align: center;
  color: white;
}
