*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
  }
  .container{
    max-width:1140px;
    margin: 0 auto;
    padding:0 15px
}
.all-head{
    position: fixed;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15) !important;
    top: 0;
    width: 100%;
    z-index: 1;
}

.main{
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    align-content: center;
    align-items: center;
    min-height: 80px;
    flex-wrap: wrap;
    
}
.nav-sec{
    display: flex;
    list-style: none;

}

.nav-sec li{
    padding: 1.85rem 2.185rem;
}
.nav-sec a{
    text-decoration: none;
    color: black;

}
.nav-sec :hover{
    background: #ee5057;
    color: white;

}
.logos {
    display: flex;
    align-items: center;
    
    
}
.logos h1{
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 5px;
    text-transform: capitalize;
}
#menu-toggle{
    display: none;
}
.menu-toggle.open::before{
    content: "✖";
    display: none;
    
}

  .hero-container{
    background-image: url(https://www.tooplate.com/templates/2095_level/img/img-03.jpg);
    background-size: cover;
    background-position: center;
    /* height: 100vh; */
    /* position: relative; */
    /* position: sticky; */
    /* overflow: auto; */
    margin-top: 80px;
    clip-path: polygon(0 0,100% 0, 100% 98%, 50% 100%,0 98%);
  }
  .overlay{
    background-color: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content: space-between;
    align-items:center;
    padding:80px 50px;
    min-height: 515px;
    /* height: 100%; */
    gap: 2rem;
   

  }
  .left-text{
    flex: 1;
    color: #333;
    padding: 0 20px;
  }
  .left-text h1 {
    font-size: 3rem;
    margin: 0;
    
  }
  .left-text h2{
    font-size: 1.8rem;
    color: #e74c3c;
    margin-top: 0.5rem;
  }
.blog-cards{
  /* flex: 2; */
  display: flex;
  flex-direction: column;
  padding: 20px;
   /* border-radius: 8px; */
   /* height: 100%; */
     box-shadow: 0 4px 10px rgba(0, 0,0, 0.1);
}
.card{
  display: flex;
  flex-direction:row;
  /* align-items: center; */
  text-align: start;
  gap: 1rem;
  padding: 20px;
  /* background-color: white; */
  /* border-radius: 8px; */
  overflow: hidden;
  /* box-shadow: 0 4px 10px rgba(0, 0,0, 0.1); */
  margin-bottom: 10px;



}
.card img{
  /* width: 100%; */
  /* object-fit: cover; */

}
.card-content{
  padding: 1rem;

}
.card-content p{
  font-size: 13px;
  line-height: 24.7px;
  font-weight: 400;
  margin-bottom: 16px;
}
.card-content h3 {
  margin: 0 0 0.5rem 0;
  color: #e74c3c;
}
.card-content a {
  color: #e74c3c;
  text-decoration: none;
  font-weight: bold;
}
/* .reverse-diagonal{
  width: 100%;
  height: 150px;
  background-color: white;
  clip-path: polygon(0 100px , 100% 0, 100% 100%, 0 100%);
  margin-top: -50px;
  z-index: 1;
} */
.contact-section{
  display: flex;
  flex-wrap: wrap;
  /* min-height: 500px; */
  /* background: #f5f5f5; */
  padding: 0;
  
}
.map-container{
  flex: 1;
  min-height: 500px; 
}

.form-container{
  flex: 1;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}
 form{
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
 }
 form input ,form textarea{
  padding: 1rem;
  border: 1px solid #ccc;
  font-size: 1rem;
 }
 form button{
  background-color: #e74c3c;
  color: white;
  padding: 1rem;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s;

 }
 form button:hover {
  background-color: #c0392b;
 }
 .footer{
  background-color: #333;
  text-align: center;
  padding: 30PX;
  color: white;
 }

 span{
  color: #eb4230;
  font-weight: 600;
 }


 @media (max-width: 1024px) {

   #menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        color:#ee5057;
        margin: 10px;
        cursor: pointer;
        position: absolute;
        right: 10px;
        top: 0;
        border: 1px solid #ee5057;
        padding: 4px 12px;
    }

    .main{
        height: 80px;
    }
    .nav-sec{
        display: none;
    }
    .nav-sec.active{
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;  
        background-color: rgb(255, 255, 255);
        width: 180px;
        height: 172.792px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15) 
    }
    .nav-sec li{
        padding:  0.75rem 0.9375rem ;
    }
    .nav-sec a{
        width: 149.333px;
        height: 19.128px;
    }
  .overlay {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }

  .left-text, .blog-cards {
    width: 100%;
  }

  .card {
    flex-direction: column;
  }

  .card img {
    width: 100%;
    height: auto;
  }

  .form-container {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .left-text h1 {
    font-size: 2.5rem;
  }

  .left-text h2 {
    font-size: 1.5rem;
  }

  .contact-section {
    flex-direction: column;
  }


  .form-container {
    width: 100%;
    flex: unset;
    min-height: 300px;
  }

  .reverse-diagonal {
    clip-path: polygon(0 80px, 100% 0, 100% 100%, 0% 100%);
    height: 100px;
    margin-top: -30px;
  }

  form {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .overlay {
    padding: 1rem;
  }

  .left-text h1 {
    font-size: 2rem;
  }

  .left-text h2 {
    font-size: 1.2rem;
  }
  iframe{
  position: absolute;
  /* left: 0; */
  width: 100%;
  /* height: 100%; */
}

  form input,
  form textarea,
  form button {
    font-size: 0.95rem;
    padding: 0.75rem;
  }

  .reverse-diagonal {
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0% 100%);
    height: 80px;
    margin-top: -20px;
  }
}
