@media screen and (max-width: 1200px) {
  section {
    margin: 0 5rem;
  }
  #desktop-nav{
    display: none;
  }
  #hamburger_nav{
    display: flex;
  }
}



/* Animation */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}



/* ===========================
   📱 MOBILE VIEW (max-width: 768px)
   =========================== */
@media (max-width: 768px) {

  /* === NAVIGATION === */
  #desktop-nav {
    display: none;
  }

  #hamburger_nav {
    display: flex;
    height: fit-content;
    padding-right: 120px;
    margin-bottom: 10px;
    gap: 20px;
  }

  .image_logo img {
    width: 90px;
    margin: 0;
  }

  .logo {
    font-size: 1rem;
    margin: 0;
  }

  #quote {
    font-size: 10px;
  }

  .hamburger_icon {
    margin-top: 1px;
  }

  /* === HERO / INTRO SECTION === */
  #intro {
    margin-left: 0;
    height: 60vh;
    width: 106vw;
  }

#intro video#bg-video{
  width: 100%;
  }

  .headers {
    font-size: 2rem;
  }

  #bg-video {
    object-position: center;
  }

  /* === ABOUT SECTION === */

  section{
    margin: 0;
    padding: 0;
  }

  .about_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: fit-content;

 
  }

  .about_container {
    padding: 10px 25px;
    text-align: justify;
  }

  .about_container h2 {
    font-size: 1.5rem;
  }

  .about_container p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  #call_us_now {
    width: fit-content;
    padding: 10px 12px;
  }

  /* === SERVICES SECTION === */



  #service{
    height: fit-content;
  }

  .services_container {
    grid-template-columns: repeat(2, 1fr);
    padding: 10px;
    gap: 30px;
  }

  .services_container img {
    width: 100%;
    height: auto;
  }

  .services_container p {
    font-size: 1.1rem;
  }

  .modal-content {
    width: 90%;
    padding: 20px;
  }

  /* === GALLERY SECTION === */
  #gallery {
    height: fit-content;
    margin-top: 137px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gallery-item {
    width: 250px;
    height: 180px;
  }

  .gallery-track {
    gap: 20px;
  }

  .headings {
    font-size: 1.5rem;
    text-align: center;
  }

  /* === CONTACT SECTION === */
  #contact {
    height: fit-content;
    margin-top: 110px;
    margin-bottom: 30px;
    padding: 50px 20px;
  }

  .contact-info-upper-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    width: 90%;
  }

  .contact-info-container {
    margin: 0.5rem 0;
  }

  .contact-info-container a {
    font-size: 1rem;
  }

  /* === FOOTER === */
  footer {
    height: fit-content;
    text-align: center;
    margin-top: -50px;

  }

  footer p {
    font-size: 10px;
    line-height: 1.2;
  }
}

/* ===========================
   📱 SMALL PHONES (max-width: 480px)
   =========================== */
@media (max-width: 480px) {


  .headers {
    font-size: 2rem;
  }

  #bg-video {
    object-position: center;
  }

  .headers {
    font-size: 1.8rem;
  }

  .about_container h2,
  .headings {
    font-size: 1.3rem;
  }

  .about_container p,
  .services_container p {
    font-size: 1.2rem;
    text-align: justify;
    padding-right: 20px;
  }


  #call_us_now {
    font-size: 0.9rem;
  }

  .services_container {
    grid-template-columns: repeat(2, 1fr);
    margin-left: -10px;
    padding-right: 10px;
    gap: 0;
  }

   .services_container img{
    width: 100%;
    height: auto;
  }

  #agri img, #rescue img {
    width: 147px;
    height: 134px;
  }


  .gallery-item {
    width: 200px;
    height: 150px;
  }



  .heading_container h2{
    font-size: 1.5rem;
  }

  
}



@media (max-width: 391px) {

  .logo{
    font-size: 12px;
  }

  #quote{
    font-size: 8px;
  }

  .services_container img{
    width: 80%;
  }

  .services_container{
    width: fit-content;
    gap: 0;

  }

  .services_container p{
    font-size: 0.6rem;
    text-align: center;
    padding-left: 20px;
  }

  #agri img, #rescue img {
    width: 117px;
    height: 108px;
  }
}



