/* Set up a mobile-first approach with a default font size and font family */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    font-family: Arial, sans-serif;
  }

  @media only screen and (max-width: 600px) {
    /* styles for screens smaller than 600px */
    body, nav {
      font-size: 16px;
    }
    .container {
      width: 100%;
      margin: 0;
    }
  }

  /* base styles for all screens */
body {
  font-size: 18px;
}

/* styles for screens larger than 600px */
@media only screen and (min-width: 600px) {
  .container {
    width: 80%;
    margin: 0 auto;
  }
}
  
  /* Add media queries to adjust styles for larger screens */
  @media (min-width: 768px) {
    /* Increase the font size for larger screens */
    html {
      font-size: 18px;
    }
  }
  
  /* Add media queries to adjust styles for even larger screens */
  @media (min-width: 1024px) {
    /* Increase the font size for even larger screens */
    html {
      font-size: 20px;
    }
  }
  
  /* Set up a default box-sizing value and remove margins and padding from all elements */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    background-color: white;
  }
  
  /* Add styles for the navigation section */

  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    background-color: white;
  }
  
  nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  nav ul li:last-child {
    margin-right: 0;
  }
  
  nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    line-height: 60px;
  }

  nav a:hover {
    color: #ed1c24;
    transition: 0.2s ease-in;
  }
  
  nav a.logo {
    display: inline-block;
    line-height: 80px;
  }
  
  nav a.logo img {
    height: 50px;
    margin-top: 30px;
  }
  
  /* Add styles for the hero section */
  .hero {
    text-align: center;
    height: auto;
    margin-top: 5000px;
    background-color: #a3090e;
  }
  
  .hero img {
    width: 100%;
    max-width: 1200px;
    height: auto;
  }
  
  /* Add styles for the page links section */
  .page-links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding: 20px;
    background-color:#f5f5f5;
    font-family: 'Montserrat', sans-serif;
  }
  
  .page-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    text-decoration: none;
  }

  .page-links img:hover {
    opacity: 1;
    transition: opacity 0.3s ease-in;
  }
  
  .circle {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
  }
  
  .circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
  }
  
  .circle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: black;
    text-align: center;
    font-weight: bold;
    
  }

  /* Add styles for the contact section */
  .contact {
    margin-top: 50px;
  }
  
  .contact h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
  }
  
  .contact form {
    display: flex;
    flex-direction: column;
  }
  
  .contact label {
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .contact input,
  .contact textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5;
  }


  .testimonials {
    padding: 50px 0;
    background-color: #f5f5f5;
  }
  
  .testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .testimonials-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    text-align: center;
  }
  
  .testimonial {
    max-width: 400px;
    margin: 0 20px 50px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
;
  }
  
  .testimonial p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  
  .testimonial h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .testimonial .job-title {
    font-style: italic;
    font-size: 14px;
    color: #999999;
    margin-bottom: 0;
  }



  /* Make nav responsive */

  @media screen and (max-width: 768px) {
    nav {
      height: auto;
    }
  
    nav ul {
      flex-direction: row;
      align-items: center;
    }
  
    nav li {
      margin: 10px 0;
    }
  
    nav a {
      font-size: 16px;
    }
  }

  /* Make hero responsive */
.hero {
    text-align: center;
    margin-top: -5px;
  }
  
  .hero img {
    width: 100%;
    max-width: 1200px;
    max-height: 600px;
    height: auto;
  }
  
  @media screen and (max-width: 768px) {
    .hero img {
      max-height: 300px;
    }
  }

  /* Make page links responsive */

.page-links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding: 20px;
    background-color: #ffffff;
  }
  
  .page-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    text-decoration: none;
  }
  
  .circle {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
  }
  
  .circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
  }
  
  .circle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    text-align: center;
    font-weight: bold;
  }
  
  @media screen and (max-width: 768px) {
    .page-links {
      flex-direction: column;
      padding: 10px;
    }
  
    .page-links a {
      margin: 10px;
    }
  
    .circle {
      width: 150px;
    }
  }

  footer {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  footer div {
    text-align: center;
  }

  footer p {
    color: rgb(0, 0, 0);
  }

  .back-to-top {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #999;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: absolute;
    right: 0;
  }
  
  .back-to-top:hover {
    background-color: #f5f5f5;
    color: #333;
  }

  




  /* About section */



.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  padding: 20px;
  background-color: #ffffff;
}

.about-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  width: 100%;
}

.about-section p {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 40px;
}

.about-section img {
  display: block;
  margin: 0 auto;
  width: 100%;
}


/* Courses section */
.courses-section {
  padding: 80px 0;
  background-color: #fff;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.courses-section p{
  font-size: 18px;
}

.courses-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.courses-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.course-container, p {
  font-size: 16px;
  text-align: center;  
}

.course-card {
  width: 300px;
  margin: 20px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 20px;
}

.course-card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 20px 20px;
}

.course-card a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4caf50;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  margin: 20px;
  border-radius: 5px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.about-section,
.courses-section {
  width: 80%;
  margin: 0 auto;
}









/* Centering container */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* About section */
.about {
  background-color: #f2f2f2;
  padding: 50px;
  margin-top: 0;
  margin-bottom: 0;
}

.about h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about p {
  font-size: 18px;
  line-height: 1.5;
}

/* Courses section */
#courses {
  display: flex;
}
.courses {
  background-color: #ffffff;
  padding: 50px;
  margin-top: 0;
}

.courses h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.courses ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.courses li {
  font-size: 18px;
  margin-bottom: 10px;
}

.circle-image {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.circle-image img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
}

/** HAMBURGER MENU FOR NAV **/

/* Styles for hamburger menu */
.hamburger {
  display: none;
  cursor: pointer;
  position: absolute;
}

.line {
  width: 30px;
  height: 3px;
  background-color: #000000;
  margin: 5px;
}

/* Styles for navigation links */
.nav-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin-right: 30px;
}

.nav-links li {
  margin: 0 10px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

/* Media query for smaller screens */
@media only screen and (max-width: 600px) {
  .nav-links {
    position: fixed;
    height: 2vh;
    width: 100%;
    flex-direction: row;
    top: 1px;
    left: -100%;
    background-color: #fff;
    transition: all 0.5s ease-in;
  }

  .nav-links li {
    margin: 20px 0;
    
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    z-index: 9999;
  }

  .nav-links.active {
    left: 0;
  }
}




