@font-face {
  font-family: seasons;
  src: url("Fonts/The\ Seasons.ttf") format("truetype");
}
@font-face {
  font-family: seasons-light;
  src: url("Fonts/Fontspring-DEMO-theseasons-lt.otf") format("truetype");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* General Reset */
body,
ul,
li,
a {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

/* Header Styles */
/* General Reset */
body,
h1,
h2,
p,
a,
div {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f5f5dc; /* Neutral Beige */
  color: #2f4f4f; /* Charcoal Gray */
  line-height: 1.6;
  background-image: url("Assets/leafleft.png"), url("Assets/Leafright.png"),
    url("Assets/wavy.png");
  background-position: -10% 8%, 110% 2%, -520px 770px;
  background-size: 25%, 25%, 130%;
  background-repeat: no-repeat;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f5f5dc; /* Neutral Beige */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease; /* Smooth hide/show effect */
  z-index: 1000;
  filter: opacity(0.75);
}
.header a {
  color: #2f4f4f;
}

.header.hidden {
  transform: translateY(-100%); /* Slides header upwards */
}
.nav {
  display: flex;
  align-items: center;
  letter-spacing: 2px;
}
.nav ul {
  display: flex;
}
.nav ul li {
  font-family: "Arima", serif;
  margin: 0 15px; /* Add spacing between items */
}
.nav a {
  margin-right: 20px;
  color: #2f4f4f;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #a7c7e7; /* Soft Pastel Blue */
}

.logo {
  font-size: 28px;
  font-family: "seasons-light";
  letter-spacing: 1.3px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.logo a {
  color: #2f4f4f;
}
.logo a:visited {
  color: inherit; /* Ensures the color remains the same for visited links */
}

.Heading {
  font-family: "seasons-light";
  margin: 5% 5% 10% 5%;
}
.Heading h1 {
  font-family: "seasons";
  font-weight: 600;
  font-size: 50px;
  text-align: center;
}
.Heading h3 {
  text-align: center;
  margin-top: 20px;
  font-size: 23px;
  letter-spacing: 0.8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(10, 1fr);
  gap: 40px;
  margin: 0% 8% 10% 8%;
  font-family: "seasons";
}
.card-block {
  grid-row: span 14 / span 10;
  background-color: #f9e79f;
  border-radius: 25px;
}
.content {
  padding: 10px 15px 10px 15px;
}
.bg {
  display: flex;
  max-width: 100%;
  max-height: 50%;
  height: 50%;
  background-color: #2f4f4f;
  border-radius: 25px 25px 0px 0px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.bg img {
  height: 100px;
}
.card-block h2 {
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 1%;
}
.card-block h3 {
  font-family: "Arima", serif;
  color:#2f4f4f;
  font-size: 18px;
}
.card-block p {
  font-size: 17px;
  margin-top: 8px;
  font-family: "Arima",serif;
}
.footer {
  background-color: #2f4f4f;
  color: #f5f5dc; /* Neutral beige */
  padding: 40px 20px;
  border-radius: 50px 50px 0px 0px;
}

.footer-content {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Ensures wrapping for smaller screens */
  gap: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.col1 h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  margin-left: 50px;
  font-family: "seasons-light";
}
.col2 {
  grid-row: span 2 / span 2;
}

.col1 ul {
  list-style: none;
  padding: 0;
}

.col1 ul li {
  margin-bottom: 10px;
  font-size: 1.2rem;
  margin-left: 70px;
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
}
.footer a {
  color: #f5f5dc;
}
.col1 ul li a:visited {
  color: inherit;
}
.col3 {
  justify-content: center;

  grid-row: span 2 / span 2;
}
.col3 h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-family: "seasons";
}

.col1 {
  grid-row: span 2 / span 2;
}
.social-icons {
  display: flex;
  gap: 20px;
}

.icon {
  width: 50px; /* Adjust the width */
  height: 50px; /* Adjust the height */
  background-size: contain; /* Ensures the logo fits within the box */
  background-repeat: no-repeat; /* Prevents tiling of the logo */
  background-position: center; /* Centers the logo */
}

.copyright {
  text-align: center;
  font-family: "Poppins", serif;
  font-weight: 300;
  font-style: normal;
}
@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .header {
    padding: 10px 10px;
  }
  .nav ul li {
    font-family: "Arima", serif;
    margin: 0 3px; /* Add spacing between items */
  }
  .nav a {
    margin-right: 20px;
    color: #2f4f4f;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
  }
  .footer-left h2 {
    margin-left: 0;
  }
  .footer-left ul li {
    margin-left: 0;
  }
  .footer-right {
    margin-right: 0;
  }
  .footer-right h3 {
    margin-bottom: 10px;
  }
  .footer {
    padding: 20px 10px;
  }
  .social-icons {
    justify-content: center;
  }
}
