

body {
  font-family: 'Poppins', Arial, sans-serif;
}

.footer {
  position: relative;
  z-index: 10; 

  background: linear-gradient(90deg, #0b1b3e, #121212);
  color: #fff;
  padding-top: 6vw ;
  max-height: 900px;
  height: 37.361vw;
  
  position: relative;
                                 
  overflow: hidden;
 
 
}






.footer-blogs h4{
  font-size: 2vw;
  font-family: 'Poppins', Arial, sans-serif;
  margin-left: 0.2vw;
  margin-bottom: 1vw;
}
.footer-links h4 {
  font-size: 1.389vw;
  font-weight: 600;
}

.newsletter-section h4 {
  font-size: 2vw;
  margin-bottom: 2vw;
}




.blog-thumbnail {
  max-width: 100%;
  height: auto;
  
 
}


.blogs-divider {
  margin: 1vw 0;
  width: 70%;
  border: 0;
  border-top: 0.2vw solid #4c4c4c;
}



.link-title{
  font-size:1.389vw;
  margin-bottom: 20px;
  
}

.social-icons-footer a {
  background-color: #4440DB;
  color: #fff;
    height: 3.3vw;
  width: 3.3vw;
  font-size: bold;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  border: none; 
  }

.social-icons-footer a:hover {
  background-color: #FFFFFF;
  color: #090808;
  cursor: pointer;
  outline: none; 
}

.social-icons-footer a {
  display: inline-block;
    border-radius: 50%;
  width: 3vw;
  height: 3vw;
  background-color: #4440DB;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  
}

.social-icons-footer a:hover {
  background-color: #FFFFFF;
 
  cursor: pointer;
  outline: none;
}


.social-icons-footer img {
  filter: invert(1); 
  object-fit: contain;
  transition: filter 0.3s ease; 
 
  
  
}
.social-icons-footer a:hover img {
  filter: invert(0); 
}
.social-icons-footer a:nth-child(3) img {
  filter: invert(0); 
}

.social-icons-footer a:nth-child(3):hover img {
  filter: invert(1); 
}


.footer-links {
  display: flex;
 
  justify-content: space-between;
  z-index: 20;

}

.footer-links div {
  font-family: 'Poppins', Arial, sans-serif;
  flex: 1;
  margin: 0 30px;
      width: auto;
  height: fit-content;
  }

.footer-links a {
    display: block;
  color: #fff;
  margin: 8px 20px;
  margin-left: 0px;
  font-size: 1vw;
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}

.footer-links a:hover {
  color: #f5f5f9;
  text-decoration: underline;

}

.blogs-item h4 {
    font-size: 1.25vw;
  font-weight: 700;
  margin-bottom: 2vw;
   
}


.newsletter-section h2 {
    font-weight: 600;
  font-size: 1.389vw;
  margin-bottom: 20px;
 
}

.newsletter-section p {
    font-weight: 500;
  font-size: 1vw;
  margin-bottom: 15px;
}

.newsletter-section form {
  position: relative;
}

.input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  padding: 0.347vw;
  height: 7.5vw;
  width: 22.986vw;
  max-width: 400px;
  margin: 4vw auto;
  }


.icon-button {
  background-color: transparent;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease; }

.icon-button img {
  width: 1.3vw;    height: 1.3vw;
  border-radius: 10%;
  transition: all 0.3s ease; }

.icon-button:hover {
  background-color: white;
  border: 2px solid black;
}

.icon-button:hover img {
 
  filter: brightness(0) invert(0); }


.input-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  padding: 20px 0;
  font-size: 16px;
  color: #333;
  }

.input-wrapper input:focus {
  outline: none;
  }
.input-btn-wrap{
  margin: auto;
  display: flex;
  width: 87%;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1b1b1c;

}


.input-wrapper button {
  background-color: #4440DB;
  border-radius: 70px;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1vw;
  margin-right: 0.694vw;
  }

.input-wrapper button:hover {
  background-color: #fcfcff;
}

.input-wrapper input::placeholder {
  color: #aaa;
}


.footer-bottom-links a {
  z-index: 5;
  color: #acaeba;
  margin-left: 0.8vw;
 
  text-decoration: none;
  position: relative;
  }

.footer-bottom-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.4vw; 
  width: 0;
  height: 0.1vw; 
  background-color: #f9f9f9;
  transition: width 0.3s ease; 
}

.footer-bottom-links a:hover {
  color: #ffffff; 
}

input[type="email"] {
  -webkit-user-select: text;
  user-select: text;
  -webkit-tap-highlight-color: transparent;
}



.footer-bottom-links a:hover::after {
  width: 100%; }


  @media screen and (max-width: 786px){
    .footer{
      height: 400px;
      max-height: fit-content;
     
    }
    .footer-top{
      height: 250px   ;
    }
    .input-wrap{
      max-width: 150px;
    }
    .input-wrap input{
      width: 70%;
    }
    .input-wrap button img{
      height: 25px;
    } 
    .footer-top h4{
      font-size: 1.389vw;
    }
    .newsletter-section h2{
      font-size: 1.389vw;
    }


    .newsletter-section form input{
      font-size: 1vw;
          }
  }

  @media screen and (max-width: 1024px){
    .footer{ 
      padding: 50px 0;
      height: 400px;
          }
    .footer-top{
      height: 300px;
          }
  }
  @media screen and (min-width:1025px) and (max-width: 1439px){
    .footer{
      height: 520px;
    }
  }
   
    
  @media screen and (min-width: 1800px){

  .footer{
    height: 725px;
    max-height: 725px;
    }
    .footer-top{
      height: 530px;
    }
    
  }
  
  @media screen and  (min-width: 2560px){
    .footer{
      height: 850px;
      max-height: 850px;
    }
    .footer-links h4{
      font-size: 1vw;
    }
   
    
    
    .input-wrap{
      max-height: 5.333vw;
    }
    .input-wrap div{
      width: 90%;
      height: 2.5vw;
    }
    .input-wrap input{
      width: 10vw;
    }
    .input-wrap button>img{
     height: 2vw;
    }
    .footer-top{
      height: 550px;
      padding: 0;
      justify-content: space-between;
          }
    
    .footer-blogs h4{
      font-size: 1vw;
    }
    .social-icons-footer{
      gap: 0.5vw !important;
    }
    .social-icons-footer a{
      height: 2.3vw;
      width: 2.3vw;
          }
    .footer-links{
            width: 480px;
    }
    .footer-links div{
      margin: 0;
          }
    .footer-links a{
      font-size: 0.6vw;
          }
    .blogs-address{
      font-size: 0.5vw !important;
    }
    .newsletter-section{
      max-width: 400px !important;
          }
   
    .newsletter-section h2{
      font-size: 1vw;
    }
    .newsletter-section p{
      font-size: 0.6vw;
      line-height: 1vw;
    }
    .link-title{
      font-size: 1vw;
    }
    
    .blogs-item>img{
      width: 180px;
    }
    .blogs-title{
      font-size: 0.4vw !important;
    }
    
  
  }

  @media screen and (max-width: 600px) {
    .footer {
      height:auto;
      max-height: none;
      /* padding: 40px 20px 20px; */
    }
  
    .footer-container {
      width: 90% !important;
    }
  
    .footer-top {
      flex-direction: column;
      height: auto;
      gap: 40px;
    }
  
    .footer-blogs,
    .footer-links,
    .newsletter-section {
      width: 100% !important;
      max-width: 100% !important;
    }
  
    .footer-blogs h4,
    .link-title,
    .newsletter-section h2 {
      font-size: 14px !important;
      margin-bottom: 15px;
    }
  
    .blogs-item {
      height: auto !important;
      margin-bottom: 20px !important;
    }
  
    .blog-thumbnail {
            height: auto;
    }
  
    .blogs-title {
      font-size: 8px !important;
      margin-top: 10px;
    }
  
    .blogs-divider {
      margin: 15px 0;
      width: 50%;
      border-top-width: 1px;
    }
  
    .blogs-address {
      font-size: 8px !important;
      line-height: 1.5;
    }
  
    .social-icons-footer {
      margin: 20px 0 !important;
      gap: 4px !important;
      height: 18px !important;
      width: 100px !important;
    }
  
    .social-icons-footer a {
      width: 18px !important;
      height: 18px !important;
    }
  
    .social-icons-footer img {
      width: 8px !important;
      height: 8px !important;
    }
  
    .footer-links {
      flex-direction: column;
      gap: 30px;
    }
  
    .footer-links div {
      margin: 0;
    }
  
    .footer-links a {
      font-size: 9px !important;
      font-weight: 400;
      white-space: normal;
    }
  
    .newsletter-section p {
      font-size: 8px !important;
      line-height: 1.5;
    }
  
    .input-wrap {
      width: 100% !important;
      height: 50px !important;
      margin: 20px 0 !important;
      padding: 0 10px !important;
    }
    .newsletter-section form input{
      font-size: 10px;
      font-weight: 400;
    }
    .input-wrap div {
      width: 100% !important;
      height: 30px !important;
    }
  
    .input-wrap input {
      width: 80% !important;
      font-size: 14px;
    }
  
    .input-wrap button img {
      height: 20px !important;
    }
  
    .footer-bottom {
     
      text-align: center !important;
      
    }
  
    .footer-bottom-links {
      display: flex;
      gap: 5px;
     
    }
  
    .footer-bottom-links a {
      margin: 0;
      
    }
  
    .decorative-line {
      display: none;
    }
  }

@media screen and (max-width: 767px) {
  .footer-links div{
    margin: 0 !important;
  }
  .footer{
    height: auto !important;
  }
  .footer-top {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    height: auto !important;
  }

  /* First row - Quick Links and Our Services */
  .footer-links:first-of-type {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  
  .footer-links:last-of-type {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  /* Second row - Latest Blog and Newsletter */
  .footer-blogs {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .newsletter-section {
    grid-column: 2 !important;
    grid-row: 2 !important;
    max-width: 100% !important;
  }

  /* Mobile adjustments */
  .blogs-item {
    height: auto !important;
    margin-bottom: 0 !important;
  }
  
  .input-wrap {
    width: 100% !important;
    height: auto !important;
    padding: 10px !important;
  }
  .footer-bottom{
    margin-top: 30px !important;
  }
}

