html{
    scroll-behavior: smooth;
}

body{
    background-color: black;
    margin: 0;
    cursor: default;
}

.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.logo{
    color: hsl(84, 100%, 40%);
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 20px;
    margin-left: -150px;
}

#quote{
    margin: 0;
}

.hamburger_menu{
    margin-right: -100px;
}

#desktop-nav p{
    font-size: 15px;
    padding-top: 5px;
    font-weight: 200;
}

.image_logo img{
    width: 120px;
    margin-left: -70px;
}

nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 18vh;
}



.nav-links{
    display: flex;
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}

.nav-links a{
    text-decoration: none;
    color: hsl(0, 0%, 90%);

}

.nav-links a:hover{
    text-decoration: underline;
    text-underline-offset: 2rem;
    text-decoration-color: hsl(84, 100%, 40%);
    color: hsl(84, 100%, 40%);
}


#hamburger_nav {
    display: none;
}

.hamburger_menu{
    position: relative;
    z-index: 1000;
}

.hamburger_icon{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger_icon span{
    width: 100%;
    height: 2px;
    background-color: hsl(0, 0%, 90%);
    transition: all 0.3 ease-in-out;
 
}

.menu_links{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: hsl(84, 100%, 40%);
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

.menu_links a{
    display: block;
    padding: 10px 5px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
    padding-right: 35px;
}

.menu_links a:hover{
    color: hsl(0, 0%, 100%);
}

.menu_links li{
    list-style: none;
}

.menu_links.open {
    max-height: 300px;
}

.hamburger_icon.open span:first-child{
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger_icon.open span:nth-child(2){
    opacity: 0;
}

.hamburger_icon.open span:last-child{
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger_icon span:first-child{
    transform: none;
    opacity: 1;
    transform: none;
}

#intro {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#intro video#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ensures video covers entire section */
    z-index: -1;       /* puts video behind content */
}



.main_heading_container {
    position: relative;
    z-index: 1; /* ensures content is above video */
    text-align: center;
    color: rgba(255, 255, 255, 0.358); /* adjust as needed */

}



.headers{
    font-family:"Stack Sans Text", sans-serif;
    font-size: 4rem;
    font-weight: 600;
    color: hsla(0, 0%, 100%, 0.60);
}


#about{
    height: 100vh;
    display: flex;
    align-items: center;
}

.about_container{
    padding: 10px 50px;
    display: flex;
    flex-direction: column;
    align-items: first baseline;
    text-align: justify;
}

h2{
    font-size: 2rem;
    color: hsl(84, 100%, 40%);
    font-family:"Stack Sans Text", sans-serif;
}

p{
    font-size: 1.5rem;
    color: white;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    
}

.buttons{
    display: flex;
    gap: 2rem;
}

#call_us_now{
    margin-top: 30px;
    color: black;
    background-color: hsl(84, 100%, 40%);
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-family: "Montserrat", sans-serif;
    padding: 10px 15px;
}

#call_us_now:hover{
 cursor: pointer;
 background-color: white;

}

#service{
    height: fit-content;
}

.services_container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.services_container img{
    height: 300px;
    border-radius: 10px;
}

#rescue img{
    width: 327px;
    height: 300px;
}

#agri img{
    width: 327px;
    height: 300px;
}

.services{
  border-radius: 10px;
  padding: 30px;
  text-align: center;

}

.services_container p{
    font-size: 20px;
}

.services_container img:hover{
    cursor: pointer;
    box-shadow: 5px 2px 20px hsl(84, 100%, 30%);;

}


.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal h2{
    color: black;
    font-family:"Stack Sans Text", sans-serif;
}

.modal p{
    color: black;
    font-size: 1.2rem;
}

.modal li{
    font-size: 1.2rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
}
.modal-content {
  
  background-color: hsl(84, 100%, 40%);
  margin: auto;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  animation: fadeIn 0.3s ease-in-out;
}

.close {
  color: #333;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ff4444;
}

#service{
    height: fit-content;
}



#gallery{
    padding-top: 130px;
    padding-bottom: 130px;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

#gallery p{
    color: hsl(0, 0%, 40%);
    font-size: 1.1rem;
    font-weight: 300;
}


#gallery h1{
    font-size: 2.5rem;
    font-weight: 600;
    color: black;
}

.gallery-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.gallery-item {
  flex: 0 0 auto;
  width: 400px;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}



#contact{
    padding-top: 150px;
    padding-bottom: 150px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;

}

.contact-info-upper-container {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2rem;
    border:0.1rem solid rgb(0, 0, 0);;
    background: hsl(84, 100%, 40%);
    padding: 0.5rem;
  
}


.contact-info-container {
  display: inline-flex;
  align-items: center; /* Vertically center icon + text */
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 1rem;
  vertical-align: middle; /* Ensure vertical alignment inside parent */
}

.contact-info-container p{
    font-size: larger;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.contact-info-container a {
  font-family: "Montserrat", sans-serif;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: black;
}


footer{
    height: 10vh;
    margin-bottom: 10px;
}

footer p{
    text-align: center;
    font-size: 15px;
}

footer a{
    color:hsl(84, 100%, 40%) ;
}

footer a:hover{
    cursor: pointer;
}


