html {
    scroll-behavior: smooth;
}
body{
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #3a4039;

}
/* landing pagge */
nav{
display: flex;
align-items: center;
border-bottom: 2px solid #3a4445;
text-decoration: none;
padding: 6px 12px;
transition: 0.2s;
list-style: none;
background-color: #799675;

}
nav ul{
display: flex;
gap: 24px;
list-style: none;
margin-left: auto;
font-size: 20px;
}
nav a {
text-decoration: none;
padding: 6px 12px;
border-radius: 6px;
transition: 0.2s;
color: white;
}
.nav-name a {
font-size: 28px;
}
nav a:hover {
opacity: 0.4;
}

.cover {
    display: flex;
    height: 83vh;
    position: relative;
    border-bottom: 2px solid #3a4445;
    background-color: #4c6149;
}
h1 {
    font-size: 15vw;
    margin: 0;
}
.text {
    font-size: 3vw;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* move to top */
    padding-top: 150px;
    padding-left: 40px;
    padding-right: 40px;
    color: white;
}

.image {
    position: absolute;
    right: 70px;
    top: 60px;
    height: 500px; /* gives a little gap from bottom/nav */
    width: 300px;
    background-image: url("tree.png");
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: 1;
}





/* about */
.about {
    border-bottom: 2px solid #3a4445;
    padding: 60px 0px;
}

/* Flex container for image + text */
.about-container {
    display: flex;
    align-items: center; /* vertically centers text with image */
    gap: 40px;           /* space between image and text */
    flex-wrap: wrap;      /* allows stacking on small screens */
}

/* Image styling */
.about-image img {
    max-width: 300px;  /* controls image size */
    width: 100%;
    height: auto;      /* keeps proportions */
    padding-left: 60px;
}

/* Text styling */
.about-text {
    flex: 1; /* takes remaining space */
    padding-right: 60px;
}





/* Courses section */
.relatedcourses {
    padding-top: 60px;
    text-align: center;
    background-color: #dedbd1;
}

/* Grid of course boxes */
.course-grid {
    display: flex;
    flex-wrap: wrap;       /* allows wrapping on smaller screens */
    justify-content: center;
    gap: 30px;             /* space between boxes */
    margin-top: 40px;
    padding-bottom: 60px;
}

/* Each course box */
.course-box {
    background-color: #faf9f7;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #ebe8e1;
    width: 250px;          /* fixed width for uniform boxes */
    text-align: left;
}


/* projects section */
.projects {
    padding: 60px 60px;
    text-align: center;
    border-top: 2px solid #3a4445;
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

/* Card */
.project-box {
    border: 1px solid #ebe8e1;
    border-radius: 12px;
    overflow: hidden; /* keeps image corners clean */
    background-color: #faf9f7;
    width: 300px;
}


/* Image on top */
.project-image img {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-top: 10px;
}

/* Text below */
.project-text {
    padding: 15px 20px;
}

.project-text h3 {
    margin-bottom: 10px;
}

.project-text p {
    color: #555;
}

.slideshow-container {
    background-color: #4c6149; /* or whatever color you want */
    padding: 60px 0;
    width: 100%;
    border-top: 2px solid #3a4445;
}
.slideshow-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    border-radius: 10px;
}

/* Caption text */
.slide-text {
    text-align: center;
    margin-top: 10px;
    color: white;
}

/* footer */

.container {
    padding: 60px;
    border-top: 2px solid #3a4445;
    background-color: #799675;
    color: white;
}
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
  }
  .footer-links {
    display: flex;
    gap: 24px;
  }
  .footer-links a {
    text-decoration: none;
    transition: opacity 0.2s;
    color: white;
  }
  .footer-links a:hover {
    opacity: 0.4;
  }