@charset "utf-8";
/* =========================================================
   GLOBAL STYLES
========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arimo', sans-serif;
  background-color: #060E00;
  color:#333;
  line-height: 1.6;
}

/* =========================================================
   HEADER
========================================================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2E6619;
  padding: 15px 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.header img {
  width: 80px;
  height: 80px;
border-radius: 0%;
  object-fit: cover;
}

.header h1 {
  color: white;
  font-family: 'Merriweather', serif;
  font-size: 1.6em;
  text-align: center;
  flex: 1;
}

/* =========================================================
   NAVIGATION
========================================================= */

.list {
  display: flex;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
	justify-content: center;
}

.list a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.list a:hover {
  color: #D9E34F;
}

/* =========================================================
   HEADER ICONS
========================================================= */
#ico {
  display: flex;
  gap: 15px;
  align-items: center;
 justify-content: flex-end;
}

#ico img {
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#ico img:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* =========================================================
   SEARCH BAR
========================================================= */
#search-container {
  text-align: center;
  margin: 20px 0;
}

.search-wrapper {
  position: relative;
  width: 90%;
  max-width: 330px;
  margin: auto;
}

.search-input {
  width: 100%;
  padding: 10px 80px 10px 10px;
  border-radius: 10px;
	border: 1px solid #ccc;
	position: relative;
	top:30px;
}

.search-btn-text {
  position: absolute;
  right: 5px;
  top: 48.5px;
  transform: translateY(-50%);
  padding: 8px 14px;
  background: #2E6619;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.search-btn-text:hover {
  background: #D9E34F;
  color: #060E00;
}

/* =========================================================
   ARTICLES SECTION
========================================================= */
.articles-section {
  padding: 80px 20px;
  background: #060E00;
  text-align: center;
}

.articles-section h2 {
  font-size: 2em;
  color: #80CC29;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.articles-grid {
  display:grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.article-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card h3 {
  color: #80CC29;
  margin: 15px 0 10px;
}

.article-card p {
  padding: 0 15px 20px;
  color: #dcdcdc;
}

.read-more {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 20px;
  background: #2E6619;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.read-more:hover {
  background: #80CC29;
  color: #060E00;
}

/* =========================================================
   FOOTER
========================================================= */
footer.socialmedia {
  background: #2E6619;
  color: white;
	position:relative;
	top:40px;
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.part1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.part1 img {
  width: 80px;
  height: 80px;
  border-radius: 0%;
  object-fit: cover;
}

.part1 a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.part1 a:hover {
  color: #D9E34F;
}

#icon img {
  width: 35px;
  margin: 0 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#icon img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.subscribe-btn {
	display:inline-block;
  background: #2E8B57;
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
	cursor:pointer;
}

.subscribe-btn:hover {
  background: #246b45;
}

/* =========================================================
   HAMBURGER MENU
========================================================= */
.hamburger {
  width: 35px;
  height: 28px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #fff;
  border-radius: 4px;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* =========================================================
   RESPONSIVE STYLES
========================================================= */

/* ---------- TABLET & MOBILE ---------- */
@media (max-width: 768px) {

  .header {
    flex-direction:column;
    justify-content: space-between;
	  text-align: center;
  }
	 #search-container {
    flex-direction: column;
    gap: 10px;
  }

  .hamburger {
    display: flex;
  }

  nav {
    display: none;
    width: 100%;
    background: #2E6619;
    padding: 15px 0;
  }

  nav.open {
    display: block;
  }

  .list {
    flex-direction: column;
    text-align: center;
    gap: 10px;
	  padding:15px 0; 
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  footer.socialmedia {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- SMALL MOBILE ---------- */
@media (max-width: 480px) {

  .header img {
    width: 60px;
    height: 60px;
  }

  .header h1 {
    font-size: 1.4em;
  }

  .articles-section h2 {
    font-size: 1.5em;
  }

  .article-card p {
    font-size: 0.9em;
  }

  footer img {
    width: 45px;
  }
}







