* {
margin: 0;
padding: 0;
box-sizing: border-box;
caret-color: transparent;
}

body{
font-family: "Google Sans", sans-serif;
line-height:1.6;
border-left:1px solid black;
scroll-behavior: smooth;
}

.logo {
width: 60px;
height: 60px;
border-radius: 100px;
margin-right: 30px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.brand-name{
  display:flex;
  flex-direction:column; 
  line-height:1.1;
}

.brand-name span{
  color:white;
  font-weight:600;
  font-size:16px;
  letter-spacing:2px;
}

.brand-name span:first-child{
  font-weight:700;
  font-size: 18px;
  line-height: 1.6;
}

.navbar {
width: 100%;
height: 100px;
background: rgb(13, 8, 57);
display: flex;
align-items: center;
justify-content: center;
position: sticky;
top: 0;
z-index: 100;
}

.navbar-container {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between; 
}

.bar {
display: block;
width: 20px;
height: 2px;
background: white;
margin: 5px 0;
transition: 0.3s;
}

.navbar-toggle {
display: none;
background: none;
border: none;
cursor: pointer;
}

.navbar-menu {
  display: flex;
  list-style: none;
  flex: 1;        
  justify-content: space-evenly; 
  align-items: center;
}

.navbar-menu li a {
position: relative;
font-size: 16px;
font-weight: bold;
color: white;
text-decoration: none;
transition: color 0.3s ease;
}

.dropdown {
position: relative;
}

.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
background: rgb(13, 8, 57);;
min-width: 150px;
min-height: 50px;
display: none;
flex-direction: column;
z-index: 1000;
}

.dropdown-menu li a {
padding: 10px;
display: block;
white-space: nowrap;
color: white;
font-weight: bold;
}

.dropdown:hover .dropdown-menu {
display: flex;
}

.navbar-menu li a::after {
content: "";
position: absolute;
left: 0;
bottom: -3px;
width: 0%;
height: 1px;
background: lightgreen ;
transition: width 0.3s ease;
}

.navbar-menu li a:hover::after {
width: 100%;
}

.spacer {
    position: sticky;
    top: 80px;          
    height: 130px;       
    background: white;  
    margin-bottom: 10px;  
}

input {
    display: none;
}

.top-bar {
  width: 90%;
  height: 60px;
  background-color: white;
  display: flex;
  justify-content: center;   
  align-items: center;
  gap: 25px;             
  border-radius: 5px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 50px;
}

label {
  color: #000;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin: 0;               
  padding: 6px 12px;       
  border-radius: 4px;
  transition: 1s;
}

label:hover{
  background: white;
  color: white;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;           
  width: 90%;
  max-width: 1200px;    
  margin: auto;
}

.pic img {
  width: 100%;
  height: 320px;         
  object-fit: cover;
}


#visited:checked ~ .gallery .pic:not(.visited) {
    opacity: 0;
    position: absolute;
    transform: scale(0);
}


#foundation:checked ~ .gallery .pic:not(.foundation) {
    opacity: 0;
    position: absolute;
    transform: scale(0);
}


#agriculture:checked ~ .gallery .pic:not(.agriculture) {
    opacity: 0;
    position: absolute;
    transform: scale(0);
}


#nature:checked ~ .gallery .pic:not(.nature) {
    opacity: 0;
    position: absolute;
    transform: scale(0);
}

footer {
background: rgb(13, 8, 57);
padding: 50px 0 30px;
margin-top: 30px;
}

.row {
width: 85%;
margin: auto;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
}

.col {
flex-basis: 50%;
padding: 10px;
}

.col h3 {
font-size: 14px;
margin-bottom: 10px;
color: white;
}

.underline {
margin-top: 10px;
width: 85px;
height: 1px;
background: lightgreen;
}

ul li {
list-style: none;
margin-top: 20px;
}

ul li a {
font-size: 14px;
font-weight: bold;
text-decoration: none;
color: white;
}


footer ul li a {
  position: relative; 
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease; 
}

footer ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px; 
  width: 0%;
  height: 1px;
  background: lightgreen; 
  transition: width 0.3s ease;
}

footer ul li a:hover::after {
  width: 100%;
}

hr {
margin-top: 20px;
width: 100%;
border: 0;
border-bottom: 1px solid lightgreen;
}

.copyright {
font-size: 12px;
font-family: "Google Sans", sans-serif;
text-align: center;
font-weight: 500;
margin-top: 20px;
color: white;
}



@media (max-width: 768px) {

  .navbar-toggle {
    display: block;
    position: relative;
    z-index: 2001;
  }
  
  .navbar-toggle .bar {
    transition: all 0.3s ease;
  }

  .navbar-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    background: rgb(13, 8, 57);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 1s ease;
    z-index: 2000;
    justify-content: flex-start;   
    align-items: flex-start;       
    padding-top: 120px;           
    padding-left: 30px;            
    gap: 20px;
  }

  .navbar-menu.active {
    transform: translateX(0);
  }

  .navbar-menu li {
    margin: 15px 0;
  }
  
.dropdown-menu {
  position: static;     
}

button:hover {
outline: none;
border: none;
}

 .top-bar {
    width: 92%;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    gap: 15px;
  }

  label {
    font-size: 14px;
  }

  .top-bar {
    width: 95%;
    height: auto;
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
    top: 70px;
  }

  label {
    font-size: 11px;
    margin: 5px 10px;
  }

  .spacer {
    height: 100px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    width: 95%;
  }

  .pic img {
    aspect-ratio: 3 / 4;
  }

}



@media (min-width: 769px) and (max-width: 1024px) {

  .top-bar {
    width: 92%;
    flex-wrap: wrap;
    height: auto;
    padding: 10px 15px;
    gap: 10px;
    justify-content: center;
  }

  label {
    font-size: 12px;
    margin: 5px 12px;
  }
  
  .spacer {
    height: 120px;
  }
  
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    width: 92%;
  }

  .pic img {
    aspect-ratio: 4 / 5;
  }
}