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

main {
  flex: 1;
}

/* 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;
}

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

.title {
  text-align: center;
  padding-bottom: 20px;
}

/* HOME PAGE IMAGE & CONTENT */
.container {
  background-color: white;
  padding: 10px;
  display: flex;
  align-items: center;
  max-width: 800px;
  margin: auto;
  border-radius: 20px;
  box-shadow: 0px 0px 20px #ffcbcc;
  transition: box-shadow 0.3s ease-in-out;
}

.container:hover {
  box-shadow: 0px 0px 40px #ffcbcc;
}

.container img {
  background-color: white;
  width: 40%;
  height: auto;
  border-radius: 10px;
}

.container .text {
  background-color: white;
  width: 100%;
  padding-left: 20px;
  padding-bottom: 20px;
}

/* CARD WRAPPER */
.card-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

/* CARD */
.card {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  width: 300px;
  margin: 10px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
}

/* Card Image */
.card img {
  width: 50%;
  max-width: 150px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  padding-top: 10px;
  transition: transform 0.3s ease;
}

.card img:hover {
  transform: scale(1.1);
}

/* Card Container */
.card-container {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card-container h4 {
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.card-container h4:hover {
  color: #ff989a;
}

.card-container p {
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.card-container p:hover {
  color: #444;
}

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

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

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

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