*{
    margin: 0;
    padding: 0;
    font-family:'Times New Roman', Times, serif;
    font-size: 18px;
    box-sizing: border-box;
}
.logo img{
   height: 55px;
   width: 300px;
   margin: 10px 20px;
}
header{
    height: 70px;
    width: 100%;
    background-color: rgb(247, 243, 243);
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  margin-right: 20px;
  cursor: pointer;
}
ul li a{
    text-decoration: none;
    display: flex;
    color: black;
    margin: 10px 40px;
    text-align:center;
}
.Items{
    margin-right: 30%;
    
}
nav ul{
    display: flex;
    list-style-type:none;
    justify-content: space-evenly;
}
nav ul li a.active {
  color:rgb(88, 96, 206);
}
.sec-4{
    height: auto;
    width: 100%;
    background-color:  rgb(9, 9, 46);
     
}
.sec-4 h1{
    font-size: 2rem;
    text-align: center;
    color: white;
    padding-top: 30px;
    margin-right: 50px;
    width: 75%;
}
.sec-4 h2{
    font-size: 1.3rem;
    text-align: center;
    color: white;
    padding-top: 30px;
    width: 75%;
}
.contact{
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin-top: 20px; */
    margin-bottom: 50px;
}
.contactForm{
    height:auto;
    width: 55%;
    background-color: white;
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.address{
    height: auto;
    width: 30%;
    background-color:rgb(9, 9, 46) ;
}
.contactForm input{ 
    width: 45%;
    padding: 10px 0px;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 18px;
    outline: none;
    margin: 20px 0px 0px 0px;
}
.contactForm input{
    border-bottom: 2px solid #333;
}
.contactForm textarea{
   width: 45%;
    /* padding: 10px; */
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 18px;
    outline: none;
   margin-top: 20px;

}
textarea::placeholder{
    padding-top:30px;
}
.contactForm textarea{
    border-bottom: 2px solid #333;
}
.address h3{
    text-align: center;
    color: white;
    margin-top: 30px;
    
}
.icons{
    display: flex;
    margin-top: 30px;
}
.icons i{
    color: white;
    font-size: 1.5rem;
    margin: 20px 0px 0px 20px ;
}
.icons p{
    color: white;
    font-size: 18px;
    margin: 20px 10px 0px 20px;
}
.address i{
    color: white;
    font-size: 1.5rem;
    text-align: center;
}
.socail{
    text-align: center;
    margin-top: 30px;
}
.socail i{
    margin-left: 10px;
}
.check-box {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; 
  margin-top: 20px;
}

.box {
  display: inline-flex;       
  align-items: center;
  gap: 8px;                  
  white-space: nowrap;         
  text-align: left;
}
.box label{
    margin-top: 20px;
}

.box input[type="checkbox"] {
  accent-color: #0a0930;   
}
.contactForm h5{
    margin: 20px;
    text-align: start;
}
.contactForm button{
    color: white;
    background-color:rgb(9, 9, 46) ;
    padding: 10px 40px;
    border: none;
    margin-top: 30px;
} 
/* .pop-sec{
    height: 600px;
    width: 100%;
    background-color: rgb(9, 9, 46);
} */
.popup{
    height: 700px;
    width: 100%;
    background-color:rgb(9, 9, 46);
    top:0;
    position: absolute;
    left:50%; 
     transform: translate(-50%,-50%) scale(0.1); 
    visibility:hidden;
    transition:transform .4s,top 0.4s;
    display: flex;
    justify-content: center;
    align-items:center;
}
.pop-sec{
    height: 400px;
    width: 400px;
    background-color:white ;
    text-align: center;
    position: absolute;
}
.pop-sec i{
    font-size: 4rem;
    text-align: center;
    color: green;
    margin-top: 100px;
}
.pop-sec h2{
    padding: 30px;
    font-size: 25px;
}
.pop-sec button{
    padding: 5px 20px;
    background-color: green;
    color: white;
    border: none;
}
.pop-sec p{
    padding: 20px;
}
.open-popup{
    visibility: visible;
    top: 50%;
    transform: translate(-50%,-50%) scale(1); 

}
footer{
    height:auto;
    width: 100%;
    background-color:  rgb(247, 243, 243);
}
.footer-sec{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-sec img{
  width: 280px;
  height: auto;
  margin-bottom: 100px;
  margin-left: 30px;
}
.footer-sec li{
    list-style: none;
    margin: 12px;
}
.footer-sec h3{
    margin: 20px;
    color:black;
    text-align: center;
}
.footer-sec li a{
   text-decoration: none;
   margin-left:30px ;
   color:black;
   font-size: 18px;
}
.addresses h3{
  padding-top: 10px;
}
.addresses p{
    margin-top:10px;
    text-align: center;
    display: inline;
    color:black;
    font-size: 18px;
}
.addresses{
    /* margin-top: 20px; */
    height: auto;
    width: 300px;
}
.addresses i{
    color:black;
    margin-top: 15px;
}
.footer-project{
    display: flex;
    flex-direction: column;
}
.footer-project a{
    text-decoration: none;
    color:black;
    margin-left:25px ;
    /* margin-top: 10px; */
    font-size: 18px;
    line-height: 28px;
}
.copyright{
    text-align: center;
    font-size:1rem ;
    color:black;
}
.copyright p{
  background-color: rgb(9,9,46);
  color: white;
}
@media (max-width: 480px) {
  .menu-toggle {
    display: block;
  }

  .Items {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }

  .Items ul {
    flex-direction: column;
    gap: 15px;
    padding: 0;
    margin: 0;
  }

  .Items ul li {
    margin: 0;
  }

  .Items.active {
    display: flex; /* Show menu when active */
  }

  .logo img {
    width: 150px;
    height: auto;
  }

  /* Heading sizes */
  .sec-4 h1 {
    font-size: 1.5rem;
    margin-left: 30px;
  }
  .sec-4 h2 {
    font-size: 1rem;
    margin-left: 30px;
  }
  .contact{
    flex-direction: column;
  }
  .contactForm{
    width: 100%;
  }
  /* Inputs & textarea full width */
  .contactForm input,
  .contactForm textarea {
    width: 100%;
    margin: 15px 0;
    font-size: 16px;
  }

  /* Checkbox grid → 2 per row */
  .check-box {
    grid-template-columns: 1fr 1fr;
    justify-items: start;
    align-items: center;
  }
  .box label{
    margin: 0;
    padding: 0;
  }
  .address{
    width: 100%;
  }
  .address p{
    font-size: 16px;
  }
  /* Popup scale */
  .pop-sec {
    width: 90%;
    max-width: 300px;
  }

  /* Footer fully stacked */
  .footer-sec {
    flex-direction: column;
    gap: 15px;
  }
  .footer-sec img{
    margin: 0;
  }

  .footer-sec h3 {
    margin: 10px 0;
  }
}
@media (min-width: 481px) and (max-width: 1024px) {
  /* Navbar */
   .menu-toggle {
    display: block;
  }
 .menu-toggle i{
    color: black;
    margin-right: 20px;
     
   }
  .Items {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  img{
    height: 300px;
    width: 320px;
    margin: 0;
    padding: 0;
  }

  .Items ul {
    flex-direction: column;
    gap: 15px;
    padding: 0;
    margin: 0;
  }

  .Items ul li {
    margin: 0;
  }

  .Items.active {
    display: flex; /* Show menu when active */
  }
  /* Headings */
  .sec-4 h1 {
    font-size: 1.8rem;
    margin: 0 auto;
    width: 90%;
  }
  .sec-4 h2 {
    font-size: 1.2rem;
    margin: 10px auto;
    width: 90%;
  }

  /* Contact section */
  .contact {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }
  .contactForm {
    width: 80%;
    padding: 20px;
  }
  .contactForm input,
  .contactForm textarea {
    width: 100%;
    margin: 15px 0;
    font-size: 16px;
  }
 
  .check-box {
    grid-template-columns: 1fr 1fr 1fr; /* 2 columns */
    gap: 15px;
    justify-content: center;
  }
  .box {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }
  .box label {
    font-size: 16px;
  }
 

  .box input{
    margin: 0;
    padding: 0;
    margin-top: 20px;
  }
  .address {
    width: 100%;
    padding: 20px;
  }
  .address p {
    font-size: 16px;
  }

  /* Popup */
  .pop-sec {
    width: 80%;
    max-width: 350px;
  }

  /* Footer */
  .footer-sec {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }
  .footer-sec img {
    width: 200px;
    margin: 0 auto;
  }
  .footer-list ul,
  .footer-project {
    margin: 10px 0;
  }
  .addresses {
    width: 100%;
  }
}
