* {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Times New Roman", Times, serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

html {
  scroll-behavior: smooth;
}

p {
  color: white;
}

/* TRANSITION */

#main-header {
  background-color: #30a736; /* Header background color */
  color: white; /* Text color for header */
  padding: 0.25rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

a,
.btn {
  transition: all 300ms ease;
}

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  text-decoration-color: black;
}

a:hover {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: #000000;
}

.logo {
  font-size: 3.5rem;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

.logo:hover {
  cursor: default;
}

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: rgb(255, 255, 255);
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #30a736;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: rgb(255, 255, 255);
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, -5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(19px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* SECTIONS */

#hero {
  position: relative;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.3)
    ),
    url("assets/10-best-science-kits-for-kids-to-learn-stem-skills.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: white;
  padding-left: 2rem;
  margin: 0;
}

.hero-text {
  padding-top: 35px;
  text-align: left;
  margin-top: 230px;
  z-index: 1; /* Ensures the text stays on top of the gradient and wave */
  font-weight: bolder;
  font-family: Georgia, "Times New Roman", Times, serif;
}

#hero h1 {
  font-size: 6rem;
  margin: 0;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

#hero h2 {
  font-size: 4rem;
  margin: 0;
}

/* Optional: Adding extra fade using ::after */
#hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  z-index: 0; /* Ensure the overlay is beneath the text */
  opacity: 0.8; /* Control the fade strength */
}

/* Styling for the custom shape divider (wave effect) */
.custom-shape-divider-bottom-hero {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  overflow: hidden;
  line-height: 0;
  z-index: 1; /* Ensure the wave is above the background but below the text */
}

.custom-shape-divider-bottom-hero svg {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
}

.custom-shape-divider-bottom-hero .shape-fill {
  fill: #24720c; /* Adjust to match your page's background color */
}

#secondary-header {
  background-color: #24720c;
  color: white;
  padding: 2rem;
  margin: 0;
  position: relative;
  z-index: 2;
}

#video-section {
  display: inline-flex;
  padding: 2rem; /* Add padding to the sides, reduce text spacing */
  justify-content: space-between;
}

.video-content {
  width: 100%;
}

.video-content h1 {
  font-size: 2.7rem;
  margin-bottom: 1rem;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

.video-content p {
  font-size: 1.6rem;
  line-height: 2.1;
  margin-bottom: 0.8rem;
}

.video-embed {
  width: 100%;
  display: inline-flex;
  justify-content: flex-end;
}

.video-embed iframe {
  width: 100%;
  max-width: 560px;
  height: 315px;
  margin-bottom: 0;
}

#wavy-section {
  margin-bottom: 0; /* Fix spacing between the wavy section and header */
}

#about .title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 50px;
}

.ribbon-container {
  text-align: center;
  margin-bottom: 40px;
  font-size: 3rem;
}

/* Ribbon */

.ribbon strong p {
  font-size: 2.5rem;
}

.confidence {
  color: #256725;
}

.creativity {
  color: #256725;
}

.competency {
  color: #256725;
}

.c3-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto;
  max-width: 1200px;
  gap: 20px;
  flex-direction: column;
}

.c3-text {
  flex: 1; /* Take up 1 part of the flexbox */
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}

.c3-text h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
}

.c3-text p {
  margin-bottom: 15px;
  color: black;
}

.c3-terms {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: left;
  margin-bottom: 20px;
}

.c3-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.c3-right-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.c3-heading {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 0.1rem;
  color: rgb(0, 0, 0);
  text-align: center;
}

.c3-video {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.c3-video iframe {
  width: 100%;
  max-width: 560px;
  height: 315px;
  margin-bottom: 100;
}

.c3-image img {
  max-width: 100%;
  height: 400px;
  border-radius: 8px;
}

.container {
  border: 1px solid #ccc;
  padding: 15px;
  width: 45%;
  gap: 10px;
  margin: 25px;
  font-family: Arial, sans-serif;
  border-radius: 10px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  left: 4;
  margin: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c3-image-heading-video {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Title for the section */
.program-title {
  text-align: center;
  font-size: 2.5rem;
  width: 100%;
  margin-bottom: 20px;
  padding-top: 50px;
  font-family: inherit;
}

#programs {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px;
  color: #000;
}

.container h2 {
  text-align: center;
  font-size: 24px;
}

.container p {
  color: #000;
  margin-top: 10px;
  line-height: 1.7;
  width: 60%;
}
.cta-button {
  background-color: green;
  color: white;
  padding: 10px;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.school-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5px;
}

.school-image img {
  max-width: 75%;
  height: 300px;
  width: 470px;
}

/*Blog*/

.blog-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  background-color: #131daa;
  display: block; /* Ensures the background only covers the text */
  text-align: center;
  padding: 30px 20px;
  border-radius: 0px; /* Optional: Adds rounded corners */
  margin-top: 70px;
  margin-bottom: 40px;
}

.blog {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
  align-items: stretch;
}

.article {
  max-width: 680px;
  text-align: left;
}

.article img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 40px 0;
}

.article p {
  font-size: 1.15rem;
  color: black;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin-top: 30px;
  color: green;
  text-decoration: underline;
  font-weight: bold;
  font-size: larger;
}

.read-more:hover {
  text-decoration: underline;
}

/* Paragraph styling */
#contact {
  background-color: #f9f9f9;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 70px;
}

.contact-title {
  font-size: 32px;
  font-weight: bold;
}

.contact-info {
  font-size: 18px;
  line-height: 1.5;
  color: #333;
  text-align: left;
  margin-bottom: 40px;
  max-width: 90%;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

form label {
  font-size: 1.1em;
  margin-bottom: 8px;
  color: #333;
}

form input,
form select,
form textarea {
  width: 100%;
  max-width: 500px;
  padding: 12px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  padding-left: 15px;
}

form button {
  background-color: green;
  color: white;
  padding: 10px;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

form button:hover {
  background-color: #808080;
}

/* Success message */
#successMessage {
  text-align: center;
  font-size: 1.2em;
  color: green;
}

/* Footer Styling */
footer {
  background-color: #131daa;
  color: #ffffff;
  padding: 20px 0;
  font-family: Arial, sans-serif;
  margin-top: 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

footer h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: black;
}

.footer-branding {
  flex: 2;
  margin: 0 10px;
}

.footer-branding h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-branding p {
  font-size: 14px;
  line-height: 1.8;
  color: #d1d1ff;
}

footer h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #ffffff;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 5px;
}

footer ul li a {
  color: #d1d1ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #ffffff;
}

.quick-links,
.social-media,
.legal-notices,
.payment-methods {
  flex: 1;
  margin: 0 10px;
}

/* Social Media Icons */
.social-media ul {
  display: flex;
  flex-direction: column;
}

.social-media ul li {
  margin-right: 10px;
}

/* Legal Notices */
.legal-notices {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #d1d1ff;
}

.legal-notices p {
  color: #ffffff;
}
