/* ===== RESET & GLOBAL STYLES ===== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #0a0d13;
  color: #e5e8ec;
  line-height: 1.6;
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-weight: 600;
  color: #ffffff;
}

p {
  margin: 0 0 1em;
  color: #b8cad5;
}

/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  width: 120px;
}

nav a {
  color: #75cbe7;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #5fb1cc;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background: url('assets/first-aid-training.jpg') center/cover no-repeat;
  text-align: center;
  padding: 8rem 2rem;
  color: #e5e8ec;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65); /* darkness level for background image */
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.hero p {
  font-size: 1.2rem;
  color: #b8cad5;
  margin-bottom: 1.8rem;
}

/* ===== HERO BUTTONS ===== */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75em 1.5em;
  border: 1px solid #75cbe7;
  border-radius: 4px;
  color: #75cbe7;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn:hover {
  background: #75cbe7;
  color: #0a0d13;
}

.btn.primary {
  background: #75cbe7;
  color: #0a0d13;
}

.btn.primary:hover {
  background: #5fb1cc;
}

/* ===== HIGHLIGHT ICONS SECTION ===== */
.highlight-icons {
  background: #10141c;
  padding: 3rem 2rem;
  text-align: center;
}

.icon-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.icon-box {
  background: #0f131a;
  border: 1px solid rgba(117, 203, 231, 0.25);
  padding: 2rem 1rem;
  border-radius: 8px;
  flex: 1 1 280px;
  transition: all 0.3s ease;
}

.icon-box:hover {
  background: #16202d;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(117, 203, 231, 0.15);
}

.icon-box i {
  font-size: 2.5rem;
  color: #75cbe7;
  margin-bottom: 1rem;
}

.icon-box h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.icon-box p {
  color: #b8cad5;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ===== SECTIONS (About, Training, Products, Contact) ===== */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

/* Training List */
#training ul {
  list-style: none;
  padding: 0;
}

#training li {
  background: #10141c;
  margin: 0.5rem auto;
  padding: 0.75rem 1rem;
  max-width: 600px;
  border-radius: 6px;
  color: #e5e8ec;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.product-grid img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.product-grid img:hover {
  transform: scale(1.05);
}

/* ===== CONTACT FORM ===== */
form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 1em auto;
}

form input,
form textarea {
  margin: 0.5rem 0;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  background: #10141c;
  color: #e5e8ec;
}

form input::placeholder,
form textarea::placeholder {
  color: #a1b7c2;
}

form button {
  background: #75cbe7;
  color: #0a0d13;
  padding: 0.7rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

form button:hover {
  background: #5fb1cc;
}

/* ===== FOOTER ===== */
footer {
  background: #050709;
  text-align: center;
  padding: 1rem;
  color: #ccc;
  font-size: 0.9rem;
}

/* ===== SIMPLE FADE-IN ANIMATION ON LOAD ===== */
.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .icon-row {
    flex-direction: column;
  }

  .icon-box {
    max-width: 90%;
    margin: 0 auto;
  }
}