@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
nav{
 position: fixed;
 left: 0;
 top: 0;
 width: 100%;
 height: 80px;
 background: #ffffff;
 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
 z-index: 1000;
}
nav .navbar{
 display: flex;
 align-items: center;
 justify-content: space-between;
 height: 100%;
 max-width: 90%;
 background: #ffffff;
 margin: auto;
}

nav .navbar .menu{
  display: flex;
}
.navbar .menu li{
  list-style: none;
  margin: 0 15px;
}
.navbar .menu li a{
  color: #005700;
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
}
.navbar .menu li a:hover{
  color: #003000;
}
.navbar ul li a.active{
  font-weight: bold;
  text-decoration: underline;
}
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #005700;
}
/* Hide the hamburger icon by default */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #005700;
}
@media (max-width: 768px) {
  /* Navbar adjustments */
  .navbar {
    flex-direction: column; /* Stack the logo and menu vertically */
    align-items: center;
    position: relative; /* Required for proper menu positioning */
  }
  /* Menu: Hidden by default */
  .menu {
    position: absolute;
    top: -300px; /* Move it above the visible area initially */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s ease-in-out; /* Smooth transition */
    z-index: 1000; /* Ensure it appears above content */
  }
  /* Menu: Visible state */
  .menu.active {
    top: 80px; /* Slide down below the navbar */
    opacity: 1; /* Make it fully visible */
  }
  /* Menu items styling */
  .menu li {
    margin: 15px 0;
    text-align: center;
  }
  /* Hamburger adjustments */
  .hamburger {
    display: block;
    font-size: 24px;
    position: absolute;
    top: 25px;
    right: 20px;
    cursor: pointer;
  }
  .navbar img {
  text-align: center;
  margin-top: 10px;
  }
}

.kontainer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  color:#ffffff;
  background-color: #2e4d2e;
  padding: 80px 0 0 0 ;
	/* background: linear-gradient(-45deg, #00b600, #003516, #005700); */
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
}
.kontainer h1{
  margin-top: 200px;
  text-align: center;
  font-size: 22px;
  color: #ffffff;
}

.kontainer2 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  color:#ffffff;
  background-color: #2e4d2e;
  padding: 250px 120px 120px 120px;
	/* background: linear-gradient(-45deg, #00b600, #003516, #005700); */
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
}
.kontainer2 h1.title{
  font-size: 70px;
}
.kontainer2 h2.title{
  font-size: 18px;
  font-weight: 300;
}

.kontainer2 p.context{
  text-align: justify;
  font-size: medium;
}
.kontainer2 hr {
  width: 100%; 
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 30px 0;
  clear:both;
}
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@media (max-width: 1024px) {
  .kontainer, .kontainer2{
    padding: 50px;
    margin-top: 220px;
    text-align: justify;
  }
  .title {
    text-align: center;
    font-size: 30px;
  }
}
@media (max-width: 768px) {
  .kontainer, .kontainer2{
    margin-top: 230px;
    padding: 120px;
    font-size: 10px;
  }
  .title {
    text-align: center;
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .kontainer, .kontainer2{
    padding: 50px;
    margin-top: 250px;
  }
  .title {
    text-align: center;
    font-size: 5px;
  }
}

.kontainer h1.title{
  font-size: 70px;
  padding: 500px;
}
.kontainer p.context{
  text-align: justify;
}
.container p.context{
  font-size: medium;
}
.container-f{
  background-color: #ffffff;
  height: auto;
}
.button a{
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #008000;
  background: #ffffff;
  padding: 7px 12px;;
  font-size: 18px;
  border-radius: 6px;
  /* box-shadow: rgba(0, 0, 0, 0.15); */
}
.copyright {
  text-align: center;
  color: black;
  background-color: white;
}
.footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 15px;
  padding: 10px;
}
.footer-column {
  flex: 1;
  margin: 10px;
  min-width: 250px;
}
.footer-column textarea {
  resize: none;
}
.footer-column h3 {
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.footer-column p {
  margin: 10px 0;
  line-height: 1.6;
}
.social-icons {
  display: flex;
  gap: 10px;
}
.social-icons a {
  color: #ccc;
  text-decoration: none;
  padding: 5px 10px;
  background-color: #444;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}
.social-icons a:hover {
  background-color: #555;
  color: #fff;
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
form input,
form textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
}
form input:focus,
form textarea:focus {
  outline: 2px solid #555;
}
form button {
  padding: 10px;
  background-color: #008000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
form button:hover {
  background-color: #388a38;
}
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9em;
}
hr{
  margin-left: 20px;
  margin-right: 20px;
  /* color:#009b00; */
}
.social-buttons {
  border-radius: 5px;
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
  /* margin-top: -10px; */
}
.social-buttons__button {
  margin: 5px;
}
.social-button {
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
.social-icons {
  width: 100%;
}
.social-button__inner {
  font-size: 2.3rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: 100%;
  background: #fff;
  text-align: center;
}
.social-button i,
.social-button svg {
  position: relative;
  z-index: 1;
  transition: 0.3s;
}
.social-button i {
  font-size: 28px;
}
.social-button svg {
  height: 40%;
  width: 40%;
}
.social-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 0;
  height: 0;
  border-radius: 100%;
  transition: 0.3s;
}
.social-button:focus,
.social-button:hover {
  color: #fff;
  text-decoration: none;
}
.social-button:focus::after,
.social-button:hover::after {
  width: 100%;
  height: 100%;
  margin-left: -50%;
}
.social-button--facebook {
  color: #3b5999;
}
.social-button--facebook::after {
  background: #3b5999;
}
.social-button--youtube {
  color: #ff0000;
}
.social-button--youtube::after {
  background: #ff0000;
}
.social-button--instagram {
  color: #e4405f;
}
.social-button--instagram::after {
  background: #e4405f;
}
a:hover, a:visited, a:link, a:active
{
    text-decoration: none;
}

.official {
  width: auto;
  height: auto;
  /* background-color: rgb(40, 65, 0); */
  /* box-shadow: inset 0 0 20px rgba(240, 255, 34, 0.5); */
  color: #fff;
  text-align: center;
  padding: 10px;
}

.official p.readmore {
  text-align: right;
  color: #ffffff;
  font-size: .8rem;
  font-weight: 300;
  font-style: italic;
  padding-right: 45px;
}
.space{
  letter-spacing: 8px;
}
.official p{
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: normal;
}

.official a{
  color: #ffffff;
  text-decoration: none;
}

.gradient-background {
  background: linear-gradient(24deg,#757e00,#284100,#977331);
  background-size: 180% 180%;
  animation: gradient-animation 9s ease infinite;
  /* margin: 15px; */
  /* border-radius: 15px; */
  border: solid 2px #006e09;
  box-shadow: 5px 5px 5px  rgba(240, 255, 34, 0.5);
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.read-more {
  background: #333;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s;
  float: right;
}

.read-more:hover {
  background: #108a00;
}

.carousel-container {
  /* margin-top: 5px; */
  width: 100%;
  padding: 20px;  /* Add some padding around the carousel */
  display: flex;
  justify-content: center;
  background-color: #2e4d2e;  /* Light gray background */
}

.carousel {
  position: relative;
  width: 1000px;  /* Set a max-width appropriate for letter size documents */
  max-width: 100%;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);  /* Optional: adds subtle shadow */
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  object-fit: contain;
  background-color: white;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 1rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;  /* Optional: rounds the corners */
}

.prev {
  left: 20px;  /* Changed from -50px to 20px */
}

.next {
  right: 20px;  /* Changed from -50px to 20px */
}

/* Optional: add hover effect */
.carousel-button:hover {
  background: rgba(0, 0, 0, 0.8);
}
.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer; 
}

.dot.active {
  background: white;
}
.sub-navbar {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background-color: #f5f5f5;
  padding: 10px 5%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-top: 2px solid #003000;
}

.sub-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  flex: 1;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  position: relative; /* Added for absolute positioning of images */
  height: 150px; /* Set a fixed height or adjust as needed */
}

.icon-container {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 1;
}

.sub-nav-icon {
  width: 20%;
  height: auto;
  object-fit: contain; 
  opacity: 0.6; 
  transition: opacity 0.3s ease;
}

.sub-nav-item:hover .sub-nav-icon {
  opacity: 1; 
}

.sub-nav-item span {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  margin-top: 8px;  
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sub-navbar {
      flex-wrap: wrap;
      padding: 5px 2%;
  }

  .sub-nav-item {
      flex: 1 1 33.33%;
      min-width: 100px;
      margin: 5px 0;
      height: 120px; /* Smaller height for tablets */
  }
}

@media (max-width: 480px) {
  .sub-nav-item {
      flex: 1 1 50%;
      min-width: 120px;
      padding: 10px;
      height: 100px; /* Even smaller height for mobile */
  }

  .icon-container {
      gap: 5px;
  }

  .sub-nav-item span {
      font-size: 12px;
  }
}

/* Tabs */

.tab-container {
  /* max-width: 1200px; */
  margin: 50px auto;
  padding: 20px;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 15px 25px;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  border-radius: 5px;
  flex: 1; /* Makes buttons take equal width */
}

.tab-btn:hover {
  background: #e0e0e0;
}

.tab-btn.active {
  background: #005700;
  color: white;
}

.tab-content {
  display: none;
  padding: 20px;
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  color: #005700;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  color: #005700;
  margin-bottom: 20px;
  font-size: 24px;
}

.content-wrapper {
  line-height: 1.6;
}

.content-wrapper p {
  margin-bottom: 15px;
  font-size: 16px;
}

/* Large Screens */
@media (max-width: 1200px) {
  .tab-container {
      max-width: 95%;
      margin: 15px auto;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .tab-buttons {
      flex-direction: column;
      gap: 8px;
  }

  .tab-btn {
      width: 100%;
      text-align: left;
      padding: 12px 15px;
      font-size: 14px;
  }

  .tab-content {
      padding: 15px;
  }

  .tab-content h2 {
      font-size: 20px;
  }

  .content-wrapper p {
      font-size: 14px;
  }
}

/* Mobile Phones */
@media (max-width: 480px) {
  .tab-container {
      padding: 10px;
      margin: 10px auto;
  }

  .tab-buttons {
      gap: 5px;
  }

  .tab-btn {
      padding: 10px;
      font-size: 13px;
  }

  .tab-content {
      padding: 10px;
  }

  .tab-content h2 {
      font-size: 18px;
      margin-bottom: 15px;
  }

  .content-wrapper p {
      font-size: 13px;
      line-height: 1.5;
      margin-bottom: 12px;
  }
}

@media (max-width: 320px) {
  .tab-container {
      padding: 5px;
  }

  .tab-btn {
      font-size: 12px;
      padding: 8px;
  }

  .tab-content h2 {
      font-size: 16px;
  }

  .content-wrapper p {
      font-size: 12px;
  }
}

/* contact-us */
.contact-section {
  padding: 40px 20px;
  background-color: white;
}

.contact-section h2 {
  text-align: left;
  font-size: 16px;
  color: #000000;
}

.contact-message {
  text-align: center;
  margin: 20px 0;
}

.contact-message p {
  color: #000000;
  font-size: 22px;
  line-height: 1.5;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background-color: white;
}

.contact-box {
  background-color: white;
  padding: 20px;
  text-align: center;
  border: 2px solid #005700;
  width: 300px;
  min-height: 150px;
}

.contact-box .icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  
}

.contact-box .icon-svg {
  color: #005700;
  width: 100%;
  height: 100%;
}

.contact-box h3 {
  color: black;
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}

.contact-box p {
  color: #000000;
  margin: 5px 0;
  font-size: 16px;
}

.contact-box a {
  color: #000000;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
      flex-direction: column;
      align-items: center;
  }

  .contact-box {
      width: 80%;
      max-width: 300px;
  }

  .contact-message p {
      font-size: 16px;
      padding: 0 20px;
  }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
  padding: 10px;
}

.news-card {
  display: flex;
  flex-direction: column; 
  justify-content: space-between; 
  height: 100%; 
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.read-more-container {
  display: flex;
  justify-content:flex-end; /* Center the button horizontally */
  margin-top: 10px; 
}

.news-card:hover {
  transform: translateY(-5px);
  opacity: .8;
}

.news-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Add responsive design */
@media (max-width: 1024px) {
  .news-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-grid {
      grid-template-columns: 1fr;
  }
}

/* Other News */

.other-news {
  max-width: 1200px;
  margin: 20px auto ;
  padding: 1rem;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-height: 300px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.news-list-item {
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.news-list-item:last-child {
  border-bottom: none;
}

/* .other-news {
  min-width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 50px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px; 
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0; 
}

.news-list-item {
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.news-list-item:last-child {
  border-bottom: none;
} */

.news-list-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  text-decoration: none;
  color: #333;
}

.news-list-item:hover {
  background-color: #f5f5f5;
}

.news-list-item .news-date {
  font-size: 14px;
  color: #666;
  min-width: 120px;
}

.news-list-item .news-headline {
  flex: 1;
  margin-left: 20px;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .other-news {
      padding: 1rem;
      grid-template-columns: 1fr; /* Single column on smaller screens */
  }
 
  .news-list-item a {
      flex-direction: column;
      align-items: flex-start;
  }

  .news-list-item .news-date {
      margin-bottom: 5px;
      font-size: 12px;
  }

  .news-list-item .news-headline {
      margin-left: 0;
      font-size: 14px;
  }
}

@media (max-width: 480px) {
  .other-news {
      margin: 1rem auto;
  }

  .news-list-item a {
      padding: 10px;
  }
}


/* Outer container */
.tcontainer {
  width: 100%;
  overflow: hidden; /* Hide scroll bar */
  color: white;
}

/* Middle container */
.ticker-wrap {
  width: 100%;
  padding-left: 100%; /* Push contents to right side of screen */
  background-color: #005300;
  font-size: 18px;
  text-decoration: none;
}

/* Inner container */
@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-350%, 0, 0); /* Simulate looping */
  }
}

.ticker-move {
  display: inline-block;
  white-space: nowrap;
  padding-right: 100%;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-name: ticker;
  animation-duration: 20s;
}

.ticker-move:hover {
  animation-play-state: paused;
}

/* Items */
.ticker-item {
  display: inline-block; 
  padding: 0;
}

.ticker-item a {
  color: #fff; 
  text-decoration: none; 
}

@media only screen and (max-width: 768px) {
  .ticker-move {
    animation-duration: 30s;
  }

  /* Inner container */
  @keyframes ticker {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(-150%, 0, 0); 
    }
  }
}
#content {
  display: grid;
  place-items: center;
}