@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}
html::-webkit-scrollbar{
  display: none;
}
header{
    z-index: 2;
    position: fixed;
    width: 100%;
    padding: 20px 30px;
    background: green;
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.logo img{
  position: absolute;
  top: 0;
  left: 0;
  width: 78px;
  margin: 3px 0 0 3px;
  object-fit: cover;
}
.logo a {
  margin-left: 3.5rem;
  text-decoration: none;
  left: 1rem;
  color: rgb(255, 255, 255);
}
/* Navigation and Links Styling */
nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links .t::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: yellow;
  transition: width 0.5s ease;
}
.nav-links .t:hover::before{
    width: 100%;
 }
 .nav-links a {
  position: relative; 
  font-size: 15px;
  color: white;
  text-decoration: none;
  font-weight: 300;
  font-family: Calibri;
  text-transform: uppercase;
}
nav,.t:hover{
  color: rgb(226, 226, 104); 
}
.btn a{
  font-size: 15px;
  font-family: calibri;
}
button {
  background-color: rgb(255, 255, 255);
  margin-left: 8px;
  border-radius: 5px;
  padding: 10px;
  width: 90px;
  border: none;
  transition: transform 0.3s ease, background-color 0.3s ease; 
}

button:hover {
  transform: scale(1.1); 
  background-color: rgb(226, 226, 104); 
  
}
button a {
  color: rgb(44, 44, 44);
  font-size: 15px;
  font-family: Anton, sans-serif;
  text-align: center;
  margin-left: 15px; 
}
 /* Hamburger Menu Styling */
.hamburger {
  font-size: 30px;
  cursor: pointer;
  color: white;
  display: none; /* none muna para sa 750p*/
}
/* ////////////header end//////////////////////////// */
section{
    
  min-height: 100vh;
  width: 100%;
}
.vidbg {
  background-color: #e7feff;
  position: relative;
  height: 100vh;
  overflow: hidden;
}

@keyframes try {
  0%   {background-image: url(assets/images/logo.png); background-size: 5in; opacity: 0; filter: blur(5px); top: 0;}
  100% {left:0px; top:0px;}
}
/* #bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 50%;
  min-width: 100%;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  z-index: -1;
} */
.bg-vid{
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url(assets/images/logo.png);
  background-position: center;
  background-size: 6in;
  transform:translateY(-7%);
  background-repeat: no-repeat;
  animation-name: try;
  animation-duration: 2s;
}
.w_home{
    position: absolute;
    z-index: 1;
    text-align: center;
    left: 50%;
    top: 80%;
    transform: translate(-50%, -50%);
    color: black;
    overflow: hidden;
    animation-name: tx;
    animation-duration: 2s;
}
@keyframes tx {
  0%   {opacity: 0;}
  25%  {}
  50%  {top: 85%; opacity: 0;}
  75%  {}
  100% {opacity: 100%;}
}
.w_home h2{
    font-size: 60px;
    margin: 5px 0;
    font-family: "Times New Roman", Times, serif;
    font-weight: normal;
}
.w_home h3 {
    font-size: 40px;
    margin: -5;
    font-weight: normal;
    font-family: "Times New Roman", Times, serif;
}
.w_home h1 {
    font-size: 100px;
    margin: -5;
    font-family: "Times New Roman", Times, serif;
}
 
/* ////////////home section end//////////////////////////// */

#service {
  background-color: #e7feff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.serve img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 1rem;
  margin-top: 4rem;
}

.mayor {
  flex: 1;
  max-width: 600px;
  margin: 1rem;
  text-align: justify;
}
.mayor h3{
  font-size: 30px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
.mayor h4{
  font-size: 17px;
  font-family: 'Times New Roman', Times, serif;
  margin-bottom: 20px;
}
.mayor p{
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
}



#purpose{
  background-color: #e7feff;
  display: flex;
  align-items: center;
}
#about{
  background-color: #e7feff; 
padding: 50px;
background-color: white;
}
/**.card{
  margin-left: 50px;
  margin-right: 40px;
  width: 100px;
  height: 100px;
  text-align: justify;
  font-size: 30px;
  border: 3px solid;

}*/
.card-container{
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100vh;
  height: 340px;
  box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.05),
              inset -5px -5px 5px rgba(255, 255, 255, 0.5),
              5px 5px 5px rgba(0, 0, 0, 0.05),
              -5px -5px 5px rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  margin: 20px;
}
.card{
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  bottom: 20px;
  background: #ebf5fc;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}
.card:hover{
  transform: translateY(-50px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  background: linear-gradient(45deg, rgba(0, 128, 0, 0.3), rgba(104, 104, 18, 0.3));
}
.content{
  padding: 20px;
  text-align: center;
}
.content h2{
  position: absolute;
  top: 10px;
  font-size: 3em;
  color: rgba(29, 117, 44, 0.5);
  transition: 0.5s;
}
.content p{
  font-size: 1em;
  font-weight: 300;
  z-index: 1;
  transition: 0.5s;
}

 
/* ////////////purpose end//////////////////////////// */
#maps{
    background-color: #e7feff;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
.map-cont .map-u{
  width: 800px;
  height: 600px;
  border-radius: 5px;
}

.maps-h{
  margin-bottom: 30px;
  color: black;
  font-size: 80px;
}
 
/* ////////////maps end//////////////////////////// */
footer{
    background: rgb(3, 97, 3);
}
.footer-contents{
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    color: white;
}
.footer-h{
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    padding-left: 30px;
    color: white;
  }
.footer-content .footer-p{
  width: 100px;
  margin: auto;
  padding: 7px;
  
}
.footer-list .footer-li{
  width: 400px;
  text-align: center;
  list-style-type: none;
  padding: 3px;
  position: relative;
  text-decoration: none;
}

.footer-list .footer-li a{
    text-decoration: none;
    color: white;
}
.footer-list .footer-li::before{
  content: '';
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 100%;
  width: 0;
  height: 2px;
  background: yellow;
  transition: .5s;
}
.footer-list .footer-li:hover::before{
    width: 70px;
 }
.socmed{
    text-decoration: none;   
}
.socmed:hover{
    color: yellow;
}
.socmed{
    text-decoration: none;
}

.socmed:hover{
    color: yellow;
}
.bottom-bar{
    background: yellow;
    text-align: center;
    padding: 10px 0;
    margin-top: 10px;
  }
 






.ask{
  font-size: 40px;
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  color: black;
  z-index: 10;
}
.asked.active .kekeke{
    display: flex; 
}
.asked.active .dark{
    display: flex; 
}
.asked{
  z-index: 3;
  width: 65%;
  height: 85%;
  top: 6rem;
  left: 17.5%;
  position: fixed;
}
.dark{
  display: none;
  width: 100%;
  height: 100%; 
  z-index: 3;
  position: fixed;
  left: 0;
  top: 0;
  background: black;
  opacity: 50%;
  animation: askeddark .5s;
}
.kekeke{
  z-index: 4;
  padding: 1rem;
  background-color: #fff;
  object-fit: contain;
  display: none;
  position:  relative;
  width: 100%;
  height: 100%;
  animation: askedd .5s;
  border-radius: 20px;
}


@keyframes askedd{
  from{top: -6rem; opacity: .5;}
  to{top: 0; opacity: 1;}
}
@keyframes askeddark{
  from{opacity: 10%;}
  to{opacity: 50%;}
}













/* ////////////media with vid off//////////////////////////// */
@media only screen and (max-width: 1000px) {
  .w_home{
  }
  .w_home h2{
    font-size: 40px;
  }
  .w_home h3{
    font-size: 20px;
  }
  .w_home h1{
    font-size: 60px;
  }
}
@media only screen and (max-width: 850px) {
  #bg-video {
    display: none;
  }
  
  /* .vidbg {
    background: url('Assets/images/phone_bg.png') no-repeat center center/cover;
    margin: 0px;
    padding: 0px;
  } */
  #service {
    flex-direction: column; /* Stack image and text on smaller screens */
  }
  .serve img{
    margin-top: 4rem;
  }
  .mayor h3, h4{
    text-align: center;
  }

  .mayor p {
    font-size: 18px; /* Adjust font size for smaller screens */
  }
  #purpose{
    flex-direction: column;
  }
  .card-container{
    width: 90%;
   
  }
  .map-cont .map-u{
    width: 550px;
    height: 600px;
    border-radius: 5px;
  }
  .maps-h{
    font-size: 70px;
  }
}

@media only screen and (max-width: 750px) {
  .logo img{
    width: 78px;
    margin: 3px 0 0 3px;
  }
  .nav-links {
    display: none; /*para mawala muna ung nav pag 750 size */
    flex-direction: column;
    position: absolute;
    top: 85px;
    right: 0; /*para nasa right side sya mapunta*/
    width: 50%;
    background-color: rgba(37, 72, 37, 0.8);
    text-align: center;
    z-index: 1;
  }

  .nav-links a, .nav-links button {
    margin-top: 5%;
    margin-bottom: 5%;
  }

  .hamburger {
    display: block; /* para sa hamburger icon */
  }

  .topnav.active .nav-links {
    display: flex; /* para mapakita ung mga nav-links pag click sa humburger icon */
  }
  .content h2{
    font-size: 2em;
  }
  .content p{
    font-size: .8em;
  }
  .serve img{
    margin-top: 4rem;
  }
  .map-cont .map-u{
        width: 500px;
        height: 600px;
        border-radius: 5px;
    }
    .footer-list .footer-li{
        width: 200px;
    }
    .footer-h{
        font-size: 18px;
    }
    .footer-content .footer-p{
        font-size: 12px;
    }
    .maps-h{
        font-size: 50px;
  }



  .ask{
  font-size: 30px;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  color: black;
}
.asked.active .kekeke{
    display: flex; 
}

.asked{
  position: fixed;
  z-index: 3;
  width: 96%;
  height: auto;
  top: 30%;
  left: 2%;
}
.kekeke{
  object-fit: contain;
  display: none;
  position:  relative;
  height: 100%;
  width: 100%;
}




}
@media only screen and (max-width: 550px) {
  .w_home{
    top: 80%;
  }
  .w_home h1 h2 h3{
    font-size: 50%;
  }
  /* .w_home h1{
    font-size: 40px;
  }
  .w_home h3{
    font-size: 80%;
  } */
  /* @keyframes try {
    0%   {background-image: url(assets/images/logo.png); background-size: 4in; opacity: 0; top: 0;}
    25%  {}
    50%  {}
    75%  {left:0px; top:200px; opacity: 100%; filter: blur(0);}
    100% {}
  } */
  .bg-vid{
    animation-duration: 0s;
    opacity: 60%;
    filter: blur(5px);
    transform:translateY(10%);
  }
/*   
  @keyframes tx {
    0%   {opacity: 0; font-size: 70%;}
    25%  {top: 100%; opacity: 0;}
    50%  {top: 7%; opacity: 20%;}
    75%  {opacity: 100%;font-size: 80%;}
    100% {top: 85;}
  } */
   .w_home{
    top: 60%;
    animation-duration: 0s;
   }
  .serve img{
    margin-top: 4rem;
  }  
  .map-cont .map-u{
        width: 350px;
        height: 500px;
        border-radius: 5px;
        padding: 20px;
    }
    .maps-h{
        font-size: 30px;
    }
    .footer-h{
        font-size: 20px;
    }
    .footer-content .footer-p{
        font-size: 12px;
    }
    .footer-contents {
    flex-direction: column; /* Stack the columns vertically on smaller screens */
    align-items: baseline;
    text-align: center;
  }

  .footer-content {
    margin-bottom: 20px; /* Add spacing between sections */
  }
  .footer-content:nth-child(2) {
    align-self: flex-end; /* Move Quick Links to the right */
    text-align: right; /* Keep the links aligned right */
  }

}





