:root {
  --blue: #002b45;
  --blue-dark: #09161e;
  --yellow: #f3a406;
  --red: #b00334;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
}

a {
  color: white;
  text-decoration: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  padding-inline: 1.5rem;
}

.logo {
  width: 180px;
  min-width: 180px;
}

.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.info-button {
  color: black;
  text-align: center;
  border-radius: 5px;
  display: flex;
  align-items: center;
  border-radius: 2rem;
  gap: 0.5rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  height: 52px;
}

.desktop {
  display: none;
}

.bar {
  background-color: var(--yellow);
  height: 5px;
}

.desktop {
  display: none;
}

.lucide-info {
  color: var(--yellow);
}

@media (max-width: 768px) {
  .nav.lg {
    display: none;
  }

  .hamburger {
    display: block;
  }
  .info-button {
    padding-right: 0;
  }

  .info-button span {
    display: none;
  }

  .desktop {
    display: none;
  }
}

.logo-link {
  height: 61px;
}

@media (min-width: 769px) {
  .nav.mobile {
    display: none !important;
  }
  .navbar {
    padding-inline: 3.5rem;
  }

  .lucide-info {
    display: none;
  }

  .info-button {
    padding-inline: 1.75rem;
    background: var(--yellow);
  }

  .desktop {
    display: inline-block;
  }
}

/* carousel */
body {
  margin: 0;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 200px;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  background-color: transparent;
  cursor: pointer;
  z-index: 2;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.carousel-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.carousel-heading {
  width: 60%;
  text-align: center;
  color: white;
  font-size: 40px;
  margin-left: auto;
  margin-right: auto;
  line-height: 3rem;
  font-weight: normal;
  margin-bottom: 0;
}

.carousel-description {
  width: 60%;
  text-align: center;
  font-size: 17px;
  color: white;
  margin-left: auto;
  margin-right: auto;
  font-weight: normal;
  line-height: 24px;
}

@media (min-width: 769px) {
  .carousel-slide {
    height: 450px;
  }
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.5);
  }
  .carousel-button.prev {
    left: 40px;
  }

  .carousel-button.next {
    right: 40px;
  }

  .carousel-text {
    bottom: 6.5rem;
  }
}

.text-mobile {
  display: block;
  padding-inline: 1.5rem;
}

.text-mobile h1,
h2,
h3 {
  font-weight: 500;
}

@media (min-width: 769px) {
  .text-mobile {
    display: none;
  }
}

/* feature cards */
.features-section {
  display: flex;
  justify-content: center;
  padding-inline: 1.5rem;
  padding-top: 3.75rem;
  padding-bottom: 4.75rem;
}

@media (min-width: 769px) {
  .features-section {
    padding-inline: 3.5rem;
  }
}

.features-container {
  max-width: 1140px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.features-title {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 600;
  margin-block: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
  grid-row-gap: 2rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* feature cards */

.feature-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  padding-top: 1rem;
}

.feature-card-content {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  padding-bottom: 0.5rem;
}

.feature-card h3 {
  margin-block: 0;
}

.feature-card-line {
  width: 20%;
  background-color: var(--red);
  opacity: 65%;
  height: 3px;
  border-radius: 5px;
}

.feature-icon {
  font-size: 1.75rem;
  color: #002b45;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.75rem;
}

.feature-description {
  font-size: 1rem;
  color: #444;
  margin-block: 0;
}

.feature-footer {
  display: flex;
  flex-direction: column;
  justify-content: normal;
  padding: 1rem;
  padding-bottom: 1.5rem;
}

.know-more-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.3s ease;
  padding: 0.5rem;
}

.lucide-download-icon {
  min-width: 1.4rem;
  width: 1.4rem;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 10rem;
  overflow: hidden;
  border-radius: 4px;
}

.feature-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

/* footer */
footer {
  background-color: var(--blue-dark);
  font-size: 0.875rem;
  text-align: center;
  color: #9ca3af;
  padding-block: 1.75rem;
  padding-inline: 3.5rem;
}

@media (min-width: 769px) {
  .footer {
    padding-inline: 1.5rem;
  }
}
