* {
margin: 0;
padding: 0;
box-sizing: border-box;
caret-color: transparent;
scroll-behavior: smooth;
}

body{
font-family: "Google Sans", sans-serif;
line-height:1.6;
border-left:1px solid black;
}


.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  padding-right: 80px;
  padding-left: 20px;
}

.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%;
}



.contact-container {
    display: flex;
    gap: 40px;
    padding: 60px 10%;
    background: #fff;
}


.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 22px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-info h3 {
    margin-top: 22px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.contact-info ul {
    list-style: none;
}

.contact-info ul li {
    margin-bottom: 8px;
    padding-left: 5px;
}



.contact-form {
    flex: 1;
}

.contact-form h2 {
  font-size: 22px;
    margin-bottom: 20px;
    color:#2c3e50;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s;
    resize: none;
    caret-color: #000;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #27ae60;
    outline: none;
    box-shadow: 0 0 5px rgba(39, 174, 96, 0.3);
}

.btn{
  display: block;
  width: 50%;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
  color: white;
}

.partner-btn{
  background: rgb(13, 8, 57);
}

.partner-btn:hover{
  background: green;
  
}

.volunteer-btn{
  background:rgb(13, 8, 57);
}

.volunteer-btn:hover{
  background: green;
}

.donate-btn{
  background: rgb(13, 8, 57);
}

.donate-btn:hover{
  background: green;
}



.contact-form button {
    width: 100%;
    padding: 14px;
    background: lightgreen;
    color: #000;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
     border-top: 1px solid transparent;
      border-left: 1px solid transparent;
       border-right: 1px solid transparent;
    transition: 1s;
}

.contact-form button:hover {
    border-bottom: 3px solid #000;
     border-top: 1px solid #000;
      border-left: 1px solid #000;
       border-right: 1px solid #000;
}

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;     
}

    .contact-container {
    flex-direction: column;
    padding: 40px 5%;
    gap: 30px;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .contact-info ul{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.contact-info ul li{
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn{
  text-align: center;
}

.contact-info{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-info ul{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.contact-info ul li{
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact-info{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-info h2,
.contact-info h3,
.contact-info p{
  text-align: center;
}

.contact-info ul{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 0;
  width: 100%;
}

.contact-form{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form h2{
  text-align: center;
}

}



@media (min-width: 769px) and (max-width: 1024px) {
  .navbar-menu {
    justify-content: space-around;
    gap: 10px;
    font-size: 14px;
  }

  .brand-name span:first-child {
    font-size: 16px;
  }

  .contact-container {
    padding: 50px 6%;
    gap: 25px;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 22px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .btn {
    width: 70%;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 14px;
    padding: 12px;
  }

  .col h3 {
    font-size: 13px;
  }

  ul li a {
    font-size: 13px;
  }
}