/* GENERAL */
body {
  font-family: 'Lora', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.header {
  background-image: url('orange and pink.jpg');
  background-size: cover;
  background-position: center;
  height: 100px;
  padding: 60px;
  text-align: center;
  font-size: 20px;
}

/* TOP NAV */
.topnav {
  background-color: white;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.topnav a {
  color: #000000;
  text-align: center;
  padding: 20px 22px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #fff3f0;
  color: black;
}

.topnav a.active {
  background-color: #fff3f0;
  color: black;
}

/* PAGE HEADER */
.heading h1 {
  font-family: 'Croissant One', cursive;
  font-size: 32px;
  font-weight: normal;
  color: #e76e70;
  text-align: center;
  margin-top: 30px;
}

/* CERTIFICATION ITEMS */
.certifications-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 30px;
}

@media (max-width: 768px) {
  .certifications-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .certifications-container {
    grid-template-columns: 1fr;
  }
}

.certification-item {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}

.certification-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.certification-item img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
}

.certification-item h2 {
  margin: 10px 0;
  color: #4e7c9d;
  font-size: 22px;
  text-align: center;
}

.certification-item p {
  text-align: center;
  font-size: 16px;
  color: #666;
}

.certification-item:hover {
  box-shadow: 0 10px 40px rgba(255, 203, 204, 0.3);
  transform: scale(1.05);
}

/* FOOTER */
.footer {
  background-color: #ffcbcc;
  color: black;
  text-align: center;
  padding: 20px 0;
  position: relative;
  margin-top: auto;
}

/* Social Icons */
.social-icons {
  position: absolute;
  bottom: 10px;
  left: 20px;
  display: flex;
  gap: 20px;
}

.footer-icon {
  width: 30px;
  height: auto;
  transition: transform 0.3s ease-in-out;
}

.footer-icon:hover {
  transform: scale(1.2);
}
  