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

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f7fa; /* Light gray background */
  color: #333;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 16px; /* Base font size for desktops */
}

header {
  background-color: #006f98;
  color: white;
}

.header-container {
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.logo {
  width: 200px;
  height: auto;
}

.header-text h1 {
  font-size: 1.2rem;
  margin: 0;
}

.header-text p {
  font-size: 0.6rem;
  margin: 5px 0 0;
}

.hero {
  padding: 50px 0;
  text-align: center;
  background-color: #ffffff;
}

.hero h2 {
  font-size: 2.2rem;
  color: #333;
  padding: 10px;
}

.hero-image {
  padding-top: 10px;
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.sections {
  display: flex;
  justify-content: space-around;
  margin: 50px 0;
  gap: 10px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.section {
  flex: 1;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

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

.section h3 {
  color: #006f98;
  font-size: 1.8rem;
}

.section p {
  font-size: 1rem;
  color: #666;
}

.btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 5px;
}

.btn {
  background-color: #ff8502;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn i {
  font-size: 13px;
  margin-bottom: 2px;
}

.btn:hover {
  background-color: #007c91;
}

.npm-link,
.github-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 1rem;
  color: white;
  background-color: #ff8502;
  text-decoration: none;
  border-radius: 5px;
  margin-left: 10px;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.npm-link i,
.github-link i {
  width: 15px;
}

.npm-link:hover {
  background-color: #007c91;
}

.github-link:hover {
  background-color: #333;
  opacity: 0.8;
}

footer {
  background-color: #333;
  color: white;
  padding: 22px;
  text-align: center;
}

/* Responsive Font Sizes */
@media (max-width: 820px) {
  body {
    font-size: 15px; /* Slightly smaller base font size for tablets */
  }

  header .header-text h1 {
    font-size: 1rem; /* Adjust header title */
  }

  header .header-text p {
    font-size: 0.55rem; /* Adjust header subtitle */
  }

  .hero h2 {
    font-size: 1.8rem; /* Smaller headline for hero section */
  }

  .hero p {
    font-size: 1rem; /* Adjust body text in hero section */
  }

  .section h3 {
    font-size: 1.6rem; /* Section titles */
  }

  .section p {
    font-size: 0.9rem; /* Section descriptions */
  }

  .btn {
    font-size: 0.9rem; /* Button text */
  }

  footer {
    font-size: 0.85rem; /* Footer text */
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px; /* Smaller base font size for mobile phones */
  }

  header .header-text h1 {
    font-size: 0.9rem; /* Compact header title */
  }

  header .header-text p {
    font-size: 0.5rem; /* Compact header subtitle */
  }

  .hero h2 {
    font-size: 1.5rem; /* Hero section headline */
  }

  .hero p {
    font-size: 0.85rem; /* Hero section body text */
  }

  .section h3 {
    font-size: 1.4rem; /* Smaller section titles */
  }

  .section p {
    font-size: 0.8rem; /* Smaller section descriptions */
  }

  .btn {
    font-size: 0.8rem; /* Smaller button text */
  }

  footer {
    font-size: 0.8rem; /* Footer text */
  }
}
