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

body {
  font-family: "Poppins", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./images/featuresbg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: brightness(0.5);
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.main-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  color: white;
  position: relative;
  z-index: 10;
}
/* Navbar Styles */
.title {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: white;
  font-size: 32px;
  font-weight: 500;
}

.title svg {
  fill: #ffcc00;
  width: 60px;
  height: auto;
  margin-right: 10px;
}

.last-name {
  color: #ffcc00;
}

.right-container {
  display: flex;
  gap: 30px;
}

a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffcc00;
}

.heading {
  color: white;
  text-align: center;
  margin-top: 30px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px;
}

.card {
  position: relative;
  flex: 0 0 calc(30% - 30px);
  height: 250px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid #ffcc00;
  border-radius: 12px;
  padding: 0px;
  color: white;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
}

.right {
  background-color: #ffcc00;
  border: 2px solid black;
  color: #002244;
}

.left {
  background-color: #002244;
  border: 2px solid white;
  color: white;
}

.card svg {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
}

.card h3 {
  margin-top: 130px; /* adjust based on your SVG height */
  font-size: 20px;
}

.get-started {
  color: white;
  background-color: #ffcc00;
  font-size: large;
  font-weight: bold;
  width: 150px;
  height: 50px;
  border-radius: 5px;
  border: 2px solid white;
  outline: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.get-started:hover {
  color: #002244;
  border-color: black;
}

a.active {
  color: #ffcc00;
  font-size: 16px;
  font-weight: bold;
}

/* Media Queries */
@media screen and (max-width: 900px) {
  .card {
     flex: 0 0 calc(50% - 30px);
  }
}

@media screen and (max-width: 768px) {
  .main-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .left-container {
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
  }

  .card {
    flex: 0 0 100%;
    height: auto;
    min-height: 250px;
    padding-bottom: 20px;
  }
  
  .card h3 {
      margin-top: 140px;
  }

  .heading {
    margin-top: 20px;
    padding: 0 15px;
  }

  body::before {
    background-attachment: scroll;
    background-position: center;
  }
}

@media screen and (max-width: 480px) {
  .left-container {
    gap: 15px;
    font-size: 14px;
  }
}

.footer {
  text-align: center;
  width: 100%;
  color: white;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px 0;
  margin-top: 20px;
}
