* {



  header {
    display: flex;
    justify-content: space-between;  
    align-items: center;             
    padding: 0.5em;                    
    background-color: #ffffff;       
    box-sizing: border-box;         
    border-bottom: 15px solid #08A83D;      
  }
  main {
    padding-bottom: 10px; 
  }

h3 {
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;

}
.hover-image {
  position: relative;
  width: 300px; 
  height: 300px;
  overflow: hidden;
}

.hover-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.hover-img {
  opacity: 0;
}

.hover-image:hover .hover-img {
  opacity: 1;
}

.hover-image:hover .default-img {
  opacity: 0;
}

.contact-container{
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;

}
.contact-left{
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  margin: 0;

}
.contact-left-title h2{
  font-weight: 600;
  color: #000;
  font-size: 40px;
  margin-bottom: 5px;
}
.contact-left-title hr{
border: none;
width: 120px;
height: 5px;
background-color: #000;
border-radius: 10px;
margin-bottom: 20px;
}
.contact-input{
  width: 400px;
  height: 50px;
  border: none;
  outline: none;
  padding-left: 25px;
  font-weight: 500;
  color: #666;
  border: 2px solid #01C0F3;
  border-radius: 50px;

}

.contact-left textarea{
  height: 140px;
  padding-top: 15px;
  border-radius: 20px;
}
.contact-input:focus{
  border: 2px solid #08A83D
}

.contact-input::placeholder{
  color: #a9a9a9
}

.contact-left button{
  display: flex;
  align-items: center;
  padding: 15px 30px;
  font-size: 16px;
  color: #fff;
  gap: 10px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(270deg, #08A83D, #01C0F3);
  cursor: pointer;

}
h3{
  text-align: center;
  text-decoration: underline, 1px, #08A83D;

}
    .image-container {
        text-align: center;
        position: relative;
        top: 1px;
        
    }
    .image-container img {
      width: 115;
      height: 122;
    }
    h1 {
		font-size: 64;
		font-weight: 1;
		line-height: 1.3;
		margin: 0 0 1em 0;
		letter-spacing: -0.035em;
        text-align: center;
        color: #000000;
        font-family: sans-Abhaya Libre ExtraBold;
	}
    
    font-family: Libre Bodoni;
    padding: 5px;

    .blue-word {
        color: #01C0F3;
        text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
    }
  }
  
  .image-container2{
    text-align: right, 100%;
    
  }

  .image-container2 img{
    width: 65;
    height: 93;
  }
  
  .menu-container {
    position: relative;
    
  }
  
  .menu-btn {
    background-color: #036423;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 6px;
    
  }
  
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    left: 0;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    padding: 10px 0;
    z-index: 1000;
  }
  
  .menu a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
  }
  
  .menu a:hover {
    background-color: #f0f0f0;
  }
  
  .menu.active {
    display: flex;
  }
  #advice-text h1{
    background-color: beige;
  }

  h2 {
    font-size: 29;
		font-weight: 1;
		line-height: 1.3;
		margin: 0 0 1em 0;
        text-align: center;
        color: #000;
        font-family: limelight;
        
  }
 
  p{
    font-size: 20;
    line-height-step: 1em;
    text-align: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }
.main{
  flex: 1;

}
  .wrapper{
    display: flex;
  flex-direction: column;
  min-height: 100vh;
  }
  
  .image-row {
    display: flex;        
    
    gap: 10px;             
    
  }
  
  .image-row img {
    width: 100px;        
    
    height: 100px;
    display: block;        
    
  }
 
  #navigation {
    background-color: darkseagreen;
  }
  .rectangle {
    width: 120px;          
    
    border-bottom: 3px solid #08A83D  
    
  }
  .rectangle2 {
    width: 100%;          
    
    border-bottom: 3px solid #08A83D  
    
  }

  .rectangle3 {
    width: 100%;          
    
    border-bottom: 3px solid #08A83D  
    
  }
  .rectangle4 {
    width: 100%;       
    
    border-bottom: 3px solid #08A83D  
    
  }
  #primarycontent{
    
    width: 25%;
    float:left;




    }

  #news-text h1{
    background-color:beige;
    
  }
 #grid h2{
  text-align: center;
 }
#grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  
  gap: 20px;
  padding: 10px;
}

.grid-item {

  position: relative;
  background-color: rgb(248, 248, 231);
  opacity: 30;
  width: 300px;
  height: 300px;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
  transition: background 0.3s;
}

.grid-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ;
  z-index: 0;
}

.grid-item:hover img {
  opacity: 1;
  z-index: 1;
}

.grid-item p {
  position: relative;
  z-index: 2;
  color: black;
}

.grid-item:hover p {
  opacity: 0;
  transition: opacity 0.3s;
}
.grid-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
  transform: scale(1.05); 
  
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); 
  
}
 
#secondarycontent{
   
    width: 60%;
   
    float:right;
    
    left: 10%;
  
   }  

 .image-container-5 img{
  width: 100%;
  height: 400px;
 } 

 .image-container-6 img{
  width: 100%;
  height: 400px;
 }  
.green-words{
  color:#08A83D;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 15px;
    text-align: left;
  }
.news-card img {
    width: 100%;
    border-radius: 8px;
  }
.news-card h3 {
    margin-top: 0.5em;
  }
  
  .video-container {
    position: relative;
    padding-bottom: 56.25%; 
    
    height: 0;
    overflow: hidden;
  }
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .news-card {
    background: #fff;
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: left;
  }
  .news-card img {
    width: 100%;
    border-radius: 8px;
  }
  .news-card h3 {
    margin-top: 0.5em;
    font-size: 1.2em;
  }
  .news-card p {
    font-size: 0.95em;
  }
  .news-card a {
    display: inline-block;
    margin-top: 0.5em;
    color: #08A83D;
    text-decoration: none;
  }

  .swiper-button-next,
.swiper-button-prev {
  color: #08A83D;
  width: 40px;
  height: 40px;
}

   li {
    display:list-item;
    list-style-type: none;
    }
li {
    display: list-item;
    list-style-type: none;
    }
    a:link, a:visited, a:active {
      font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        color:rgb(4, 0, 0); text-decoration: none;
        }
        a:hover {
        color:rgb(4, 0, 0); text-decoration: underline; font-weight: bold;
        }
        .current {
        text-decoration: underline; font-weight: bold;
        }
        .lfan-footer {
          background-color: #ffffff;
          color: white;
        border-top: solid 10px #08A83D;
          padding: 0em 0em;
          font-family: sans-serif;
        }
        
        .footer-container {
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          gap: 0em;
          max-width: 1200px;
          margin: auto;
        }
        
        .footer-container > div {
          flex: 1 1 200px;
        }
        
        .footer-links ul {
          list-style: none;
          padding: 0;
        }
        
        .footer-links a,
        .footer-contact a,
        .footer-social a {
          color: #000;
          text-decoration: none;
        }
        
        .footer-links a:hover,
        .footer-social a:hover {
          text-decoration: underline;
        }
        .footer-image-row {
          display: flex;
          justify-content: center;
          align-items: center;
          flex-wrap: wrap; 
          gap: 10px;
          padding: 20px 0;
         
        }
        
        .footer-image-row img {
          height: 50px; 
          object-fit: contain;
        }
        
        .footer-bottom {
          text-align: center;
          margin-top: 0em;
          font-size: 0.9em;
          color: #000;
        }

        @media screen and (max-width: 640px) {
  .wrapper {
    width: 100%;
    padding: 10px;
  }

  .grid-item {
    width: 100%;
    height: auto;
  }

  .contact-input {
    width: 100%;
  }

  .image-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-image-row img {
    height: 40px;
  }
}
@media screen and (max-width: 640px) {
  .wrapper {
    width: 100%;
    padding: 0px;
    flex-direction: column;
    
  }
  #primarycontent {
    order: 1;
    width: 100%;
  }

  #secondarycontent {
    order: 2;
    width: 100%;
  }
  .grid-item {
    width: 100%;
    height: auto;
  }

  .contact-input {
    width: 100%;
  }

  .image-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-image-row img {
    height: 40px;
  }
}

        