:root {
    /* --primary-color :#419444; */
    --primary-color :#2651a0;
    --thirdary-color : #45c4fa;;
    --secondary-color : #2e336e;
    --forth-color : #f9f9f9;
}



/* Page Transition */
/* body {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body.fade-in {
    opacity: 1;
} */



ul{
    list-style: none;
} 

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

a{
    text-decoration: none;
    color: #000000;
}

.bold-p{
    font-weight: bold;
}

/* header styling */


.back-option{
    display: none;
}
.back-option {
    cursor: pointer;
    font-weight: bold;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    background-color: #f0f0f0;
}

.back-option:hover {
    background-color: #e0e0e0;
}

/* header styling */
header {
    height: 4.125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2.3rem;
    background-color: #ffffff;
    border-bottom: 2px solid var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

#mobile-contact {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    cursor: default;
}

.logo img {
    height: 4rem;
    width: 4rem;
    /* padding: 2px; */

    margin-right: 5px;
}

.logo p {
    font-size: 1rem;
    color: #000000;
    margin-top: 5px;
}

/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    position: relative;
    padding: 10px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color:  #2e336e;
}

/* Dropdown Menu */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 200px; /* Ensures the menu is not too wide */
    padding: 0;
    border-radius: 5px;
  }
  
  /* Ensure dropdown items are stacked vertically */
  .dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* Forces a vertical layout */
  }
  
  /* Last item should not have a border */
  .dropdown li:last-child {
    border-bottom: none;
  }
  
  /* Show Dropdown on Hover */
  nav ul li:hover .dropdown {
    display: block;
    /* overflow-y: auto;
    max-height: 60vh; */
  }
  
  .dropdown li {
      padding: 10px;
      text-align: left;
      list-style: none;
      border-bottom: 1px solid #eee;
      transition: background-color 0.3s ease;
  }
  
  .dropdown li:last-child {
      border-bottom: none;
  }
  
  .dropdown li a {
      color: black;
      text-decoration: none;
      display: block;
      transition: all 0.3s ease;
  }
  
  .dropdown li:hover {
      background-color: #85ceff;
  }
  header #menu li a:hover{
      color:  #000000;
      /* color: #419344; */
  }
  li:hover .dropdown {
      animation: fadeIn 0.3s ease-in-out forwards;
      visibility: visible;
  }
  
  @keyframes fadeIn {
      0% { opacity: 0; transform: translateY(-10px); }
      100% { opacity: 1; transform: translateY(0); }
  }
  
  

/* Contact Button */
.contact {
    display: block;
    margin-right: 1rem;
}

.contact p {
    background-color: var(--primary-color);
    padding: 10px 20px;
    text-decoration: none;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.contact p:hover {
    background-color:var(--primary-color);
    cursor: pointer;
    transform: scale(1.01);
}

.contact a {
    color: white;
    text-decoration: none;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}
.back-option{
  display: none;
}
.back-option {
  cursor: pointer;
  font-weight: 500;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  background-color: #f0f0f0;
}

.back-option:hover {
  background-color: #e0e0e0;
}

/* Mobile Styles */

@media (max-width: 840px) {
  
  .logo p i{
    font-size: 0.9rem;
  }
    .back-option{
    display: block;
  }
  header{
    padding: 0.8rem 1.3rem;
  }
  nav, .contact {
        display: none;
    }

    .hamburger {
        display: block;
       
    }

    #nav-menu.mobile-active {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #f8f8f8;
        z-index: 1000;
        animation: fadeIn 0.3s ease-in-out forwards;
    }

    #nav-menu.mobile-active ul {
        flex-direction: column;
        gap: 0;

    }

    #nav-menu.mobile-active ul li {
        padding: 10px 20px;
        border-bottom: 1px solid #ddd;
    }

    #nav-menu.mobile-active .dropdown {
        position: static;
        display: none;
        background-color: #eee;
        width: 100%;
        animation: fadeIn 0.3s ease-in-out forwards;
    }

    #nav-menu.mobile-active .dropdown.active {
        display: block;
    }

    #mobile-contact {
        display: block;
        width: 100%;
        padding: 15px 20px;
        text-align: center;
        background-color: #e7e7e7;
        font-size: 18px;
        font-weight: bold;
        text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
        border-radius: 5px;
    }

    #mobile-contact a {
        color: white;
        text-decoration: none;
        display: block;
    }

    #mobile-contact a:hover {
        color :#2d3160;
    }
}




/* Contact Button */
.contact {
    display: block;
    margin-right: 1rem;
}

.contact p {
    background-color: var(--primary-color);
    padding: 10px 20px;
    text-decoration: none;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.contact p:hover {
    background-color: var(--secondary-color);
    cursor: pointer;
    transform: scale(1.01);
}

.contact a {
    color: white;
    text-decoration: none;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Mobile Styles */
@media (max-width: 840px) {
  nav, .contact {
      display: none;
  }

  .hamburger {
      display: block;
  }

  #nav-menu.mobile-active {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      background-color: #f8f8f8;
      z-index: 1000;
      animation: fadeIn 0.3s ease-in-out forwards;
      margin-top: 65px; /* Remove any gap */
     border-top: 2px solid var(--primary-color);
  }

  #nav-menu.mobile-active ul {
      flex-direction: column;
      gap: 0;
      margin-top: 0; /* Remove gap */
      padding-top: 0;
      
  }

  #nav-menu.mobile-active ul li {
      padding: 10px 20px;
      border-bottom: 1px solid #ddd;
  }

  #nav-menu.mobile-active .dropdown {
      position: fixed; 
      top: 70px;
      left: 0;
      width: 100%;
      background-color: #eee;
      overflow-y: auto;
      max-height: 60vh;
      animation: fadeIn 0.3s ease-in-out forwards;
  }

  #nav-menu.mobile-active .dropdown.active {
      display: block;
  }

  body.mobile-active {
      overflow: hidden; /* Prevent body from scrolling */
  }

  #mobile-contact {
      display: block;
      width: 100%;
      padding: 15px 20px;
      text-align: center;
      background-color: #e7e7e7;
      font-size: 18px;
      font-weight: bold;
      text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
      border-radius: 5px;
  }

  #mobile-contact a {
      color: white;
      text-decoration: none;
      display: block;
  }

  #mobile-contact a:hover {
      color: #333;
  }
}

/* HEADER END */


 /* Scroll to Top Button */
 
 #scrollToTopBtn {
    width: 50px;
    height: 50px;
    background: linear-gradient( #1d6dc8, #133c95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    color: white;
    font-size: 18px;
    position: fixed;
    bottom: 20px; /* Bottom-right position */
    right: 20px;
    z-index: 99;
    opacity: 0;  /* Initially hidden */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    margin-bottom: 10px;
}

/* Show button when scrolling */
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}

/* Hover effects */
#scrollToTopBtn:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

/* Arrow icon */
.arrow path {
    fill: white;
}

/* Animated text */
#scrollToTopBtn .text {
    font-size: 0.7em;
    font-weight: 600;
    width: 100px;
    position: absolute;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: -18px;
    opacity: 0;
    transition-duration: .7s;
    
}

#scrollToTopBtn:hover .text {
    opacity: 1;
}

#scrollToTopBtn:hover .arrow {
    animation: slide-in-bottom .7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes slide-in-bottom {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* dial button */
.dial-button {
    position: fixed; /* Fix the button to the viewport */
    bottom: 25px; /* Distance from the bottom */
    left: 20px; /* Distance from the left */
    background-color: var(--primary-color);
    color: #ffffff; /* White text color */
    padding: 1rem; /* Padding for the button */
    border-radius: 50px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    font-size: 1.2rem; /* Font size */
    font-weight: bold; /* Bold text */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Add a shadow */
    z-index: 1000; /* Ensure the button stays on top of other elements */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth hover effect */
}

.dial-button img {
    width: 24px; /* Icon size */
    height: 24px; /* Icon size */
    margin-right: 10px; /* Space between icon and text */
}

.dial-button:hover {
    background-color: #2e336e; /* Darker green on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* hero styling */


.hero {
    margin-top:4.122rem;
    position: relative;
    height:550px; /* Adjust height as needed */
    background-image: url(../Images/pages-img/ant.png); /* Replace with your image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-bottom: 2px solid var(--primary-color);
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
  }

  
  .hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .cta-button {
    background-color: var(--primary-color);
    width: 300px;
    margin: auto; 
    padding: 15px 20px;
    font-size: 18px;
    border-radius: 25px;
    box-shadow: 0px 0.4rem  rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    a{color: white;
    transition: all 0.3s ease;}
  }
  
  .cta-button:hover {
    transform: scale(1.05);
    cursor: pointer;
    background-color:#2e336e;
    a{
        color: rgb(255, 255, 255);
    }
  }

  

.hero-story {
    background-color: var(--forth-color);
    border-top: 1px solid #000000;
    padding: 40px 4.9rem;
    text-align: center;
    background-color:var(--forth-color);
    /* border-bottom: 1px solid #3a3a3a; */
}

.hero-story h2 {
    /* font-size: 1.8rem;
    margin-bottom: 25px;
    font-family: serif;    */
    font-family: "Bangers", serif; /* Keep the handwritten feel */
    font-size: 2.5rem;
    font-weight: 400;
    font-style: normal;
    font-weight: normal;
    letter-spacing: 0.5px;
    color: white;
     border-radius: 10px;
    text-shadow: 3px 3px 0px rgba(9, 9, 9, 0.3);
    background: linear-gradient(to right, #4187bc, #082460); 
    /* background: linear-gradient(to right, #208de1, #3a23d0);  */
    padding: 12px 20px;
    display: inline-block;
    margin: 2.6rem auto;
    /* transform: skew(-3deg);  */
    position: relative;
    /* border: 2px solid #000000; */
}

.hero-story p {
    cursor: default;
    text-align: justify;
    font-size: 1.25rem;
    color: #1c1c1c;
    word-spacing: 0.1px;
    line-height: 1.2;
    margin-bottom: 20px;
 
 }

 .hero-story-highlights {
    border: 1px solid #001daf;
    /* box-shadow:  4px 4px 10px #3b6aea46; */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

    /* border-radius: 10px; */
    background-color: white;
    padding: 25px;
    padding-bottom: 0px;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: default;
 }

 /* .hero-story-highlights .highlight-itemm {
    flex-wrap: wrap; 
    max-width: 100%;
 } */

 #ant img{
    flex:1;
    width: 23rem;
    height: 16rem;
    margin-right: 30px;
    border: 1px solid rgb(15, 15, 15);
    border-radius: 5px;
    margin-bottom: 20px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */

        /* box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.3); */
        
}


#ant-story {
    /* margin-left: 1.9rem; */
    /* min-width: 50%; */
    flex: 2 1 30rem;
    margin-left: 1rem;
    max-height: fit-content;
}
@media (max-width: 1102px) {
    .hero-story-highlights{
        padding-top: 30px;
        flex-direction: column;
         justify-content: center;
         align-items: center;
    }
    #ant img{
        margin-right: 0;
        width: 25rem;
    }
    #ant-story{
        margin-left: 0px;
        margin-bottom: 10px;
    }

}
@media (max-width: 677px) {
    .hero-story{
        padding-right: 2rem;
        padding-left: 2rem;
    }
}
@media (max-width: 700px) {
    #ant img{
        width:22rem;
        height: 14rem;
    }
    .hero-story p {
        text-align: justify;
        font-size: 1.05rem;
    }
    .hero-story-highlights{
        padding-right:30px ;
        padding-left: 30px;
    }
}
@media (max-width: 611px) {
    #ant img{
        width:20rem;
    }
    .hero-story p {
        text-align: justify;
        font-size: 1.1rem;
    }
    .hero-story-highlights{
        padding-right:20px ;
        padding-left: 20px;
    }

}

@media (max-width: 510px) {
    #ant img{
        width:17rem;
        height: 12rem;
    }
    .hero-story p {
        text-align: justify;
        font-size: 1rem;
    }
    .hero-story-highlights{
        padding-right:20px ;
        padding-left: 20px;
    }
}

@media (max-width: 375px) {
    #ant img{
        width:13.5rem;
        height: 9.5rem;
    }
    
}


/* why choose us styling */
    
 .why-choose-us {   
        padding: 40px;
        background-color:var(--forth-color)
  }

 .why-choose-us-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
   
  }
  
  .why-choose-us-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
  }
  
  .why-choose-us-content h2 {
      /* font-size: 1.8rem;
    margin-bottom: 25px;
    font-family: serif;    */
    font-family: "Bangers", serif; /* Keep the handwritten feel */
    font-size: 2.5rem;
    font-weight: 400;
    font-style: normal;
    font-weight: normal;
    letter-spacing: 0.5px;
    color: white;
    text-shadow: 3px 3px 0px rgba(9, 9, 9, 0.3);
    /* background: linear-gradient(to right, #434874, #1e2a38); */
    background: linear-gradient(to right, #4187bc, #082460); 
    padding: 12px 20px;
    display: inline-block;
    margin: 2.6rem auto;
    /* transform: skew(-3deg);  */
    border-radius: 10px;
    position: relative;
    /* border: 2px solid #000000; */
  }
  
  .why-choose-us-highlights {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }
  
  .highlight-item {
    flex: 1;
    padding: 20px;
    flex-wrap: wrap;
    min-width: 15rem;
  }
  
  .highlight-item i {
    font-size: 2rem;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 50%;
    background-color: #f9f9f9;
    color: var(--primary-color);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.highlight-item i:hover{
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: #f9f9f9;
    
}
  .highlight-item p {
    font-size: 18px;
    color: #333;
    text-align: center;

}
  
  .description {
    font-size:1rem;
    color: #666;
    line-height: 1.6;
    cursor: default;

  }
  .highlight-item .h-description{
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
    text-align: center;
    cursor: default;
    
  }

  /* types of ants */


/* Section Styling */
.ant-section {
    text-align: center;
    background-color:var(--forth-color);
    /* border-top: 1px solid #3a3a3a; */
    /* border-bottom: 1px solid #3a3a3a; */
    padding: 50px 10px;
}
.ant-section h2 {
    /* font-size: 1.8rem;
    margin-bottom: 25px;
    font-family: serif;    */
    font-family: "Bangers", serif; /* Keep the handwritten feel */
    font-size: 2.5rem;
    font-weight: 400;
    font-style: normal;
    font-weight: normal;
    letter-spacing: 0.5px;
    border-radius: 10px;

    color: white;
    text-shadow: 3px 3px 0px rgba(9, 9, 9, 0.3);
    background: linear-gradient(to right, #4187bc, #082460); 
    /* background: linear-gradient(to right, #208de1, #3a23d0);  */
    padding: 12px 20px;
    display: inline-block;
    margin: 2.6rem auto;
    /* transform: skew(-3deg);  */
    position: relative;
  
}

@media (max-width:570px){
    .hero-story h2 ,
    .ant-section h2, 
    .why-choose-us-content h2 {
        font-size: 1.9rem;
         padding: 12px 10px;        
    }
}
@media (max-width:390px){
    .ant-section h2,.hero-story h2 ,
    .why-choose-us-content h2 {
        font-size: 1.6rem;
         padding: 12px 10px;        
    }
}


.ant-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Ant Cards */
.ant-card {
    border: 1px solid var(--primary-color);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px 20px;
    width: 280px;
    cursor: default;
    text-align: center;
    position: relative;
}


/* Hover Effect */
.ant-card:hover {
    /* box-shadow: 0px 5px 10px var(--secondary-color);
    border-color: var(--secondary-color); */
    /* transform: translateY(-8px);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);  */
    transform: translateY(-8px);
    box-shadow: 0px 5px 10px var(--secondary-color);
    border-color: var(--secondary-color);

}

/* Ant Name */
.ant-name {
    color: #000000;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-family: "Roboto";
}

/* Ant Description */
.ant-info {
    color: #555;
    font-size: 16px;
}

/* footer styling */
/* footer {
    background-color: #353333;
    padding: 50px 0px;
    color: #ffffff;
    text-align: center;
    cursor: default;
    padding-bottom: 0px;
}

footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
 
    margin-top: 40px;
    cursor: default;
}

footer .footer-content .footer-logo img {
    width: 11rem;
    height: 11rem;
    margin-bottom: 10px;
    cursor: default;
}

footer .footer-content .footer-logo p {
    font-size: 1rem;
    font-weight: bold;
    cursor: default;
}

footer .footer-content .footer-links h2 {   
    margin-bottom: 20px;
    cursor: default;    
}

footer .footer-content .footer-links ul {
    list-style: none;
}

footer .footer-content .footer-links ul li {
    margin: 10px 0;
    cursor: default;
    text-align: center;
    transition: all 0.3s ease;
}

footer .footer-content .footer-links ul li a {
    text-decoration: none;
    color: #ffffff; 
    transition: all 0.3s ease;
}
footer .footer-content .footer-links ul li:hover {
    transform: scale(1.1);
    a{color: var(thirdary-color);}
}


footer .footer-content .footer-contact h2 { 
    margin-bottom: 20px;
    cursor: default;
}

footer .footer-content .footer-contact p {
    margin: 10px 0;
    font-size: 1.1rem;
    cursor: default;
    text-align: center;
    transition: all 0.3s ease;
}

footer .footer-content .footer-contact p a {
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;


}

footer .footer-content .footer-contact p:hover {
    transform: scale(1.1);
    a{color: var(--thirdary-color);}
}

footer .footer-bottom {
    margin-top: 1.5rem;
    padding: 1.5rem 0;
    cursor: default;
    text-align: center;
    background-color:#1c1c1c;
    font-size: 1.1rem;
}

footer #footer-title{
 margin-right: 50px;
}

@media (max-width: 700px) {
    footer #footer-title{
        margin-right: 0px;
       }
       .ant-title{
        font-size: 1.5rem;
        padding:  10px;
       }
}
 */

 /* footer {
    background: #222;
    color: white;
    padding: 2rem 4rem;
    text-align: center;
  } */
  .footer-content {
    padding: 2rem 2rem;
    background-color:#023073;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2rem;
    color: white;
  
  }
   .footer-logo2 {
    display: flex;
    justify-content: center;
    align-items: center;
   }
   .foote-logo2 span{
    text-align: justify;
   }
  .footer-logo2 img{
    width: 8rem;
    height: auto;
  }
  .footer-logo2 span p {
    font-size: 1.2rem;
    text-align: left;
  }
  .footer-logo2 span p i{
    font-size: 1.1rem;
    text-align: left;
    word-spacing: -1px;
  }

  .footer-logo1 img {
    width: 10rem;
    height: auto;
    /* display: block; */
    margin: 0 auto;
  }

  .footer-logo1 { grid-column: 1; grid-row: 1; text-align: center; }
  .footer-logo2 { grid-column: 2; grid-row: 1; text-align: center; }
  .footer-contact { grid-column: 3; grid-row: 1; text-align: center; }
   .footer-contact p,
   .footer-contact p a {
    text-decoration: none;
    /* text-align:left; */
    color: #ffffff;
    transition: all 0.3s ease;
   } 
  .footer-contact p:hover
  {    
    transform: scale(1.05);
    a{color:#D9FBFD}
  }
  .footer-contact h2{
    color: #D9FBFD;
    padding: 2px 15px;
    font-size: 1.6rem;
    width:fit-content;
    border-bottom: 1px solid  #D9FBFD;
    margin: 17px auto;
  }
  .footer-contact p{
    margin: 0.2rem 0;

    font-size: 1rem;
    text-align: center;
  }
  
  .footer-links {
    display: grid;
    grid-column: 1 / span 3;
    grid-row: 2;
  }
  .footer-links ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align:left;
    list-style: none;
    margin: auto;
    padding: 0;
    /* background-color: #1d6dc8; */
  
  }
  .footer-links ul li{
    margin-bottom: 10px;
    margin-left: 15px;
  }
  .footer-links ul li, .footer-links ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
  }
  .footer-links ul li:hover {
    transform: scale(1.05);
    a{color:#D9FBFD}
}

  .footer-links h2{
    color: #D9FBFD;
    padding: 2px 15px;
    font-size: 1.7rem;
    width: fit-content;
    text-align: center;
    margin: 25px auto;
    margin-top: 10px;
    border-bottom: 1px solid  #D9FBFD;
  }
  .footer-links ul li a{
    color: white;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 10px;
    background-color: rgb(48, 48, 48);
    padding: 1.3rem 0;
    color: rgb(255, 255, 255);
    font-size: 1.1rem;
  }

  @media (max-width: 1240px) {
    .footer-links ul {
      grid-template-columns: repeat(4, 1fr);
    }
    .footer-links ul li{
        margin-left: 10px;
    }
  }
 
  
  
  @media (max-width: 1050px) {
    .footer-logo2 span p {
        font-size:1rem;
    }
    .footer-logo2 span p i{
        font-size: 0.9rem;
        text-align: left;
        word-spacing: -1px;
    }
    
    .footer-links ul {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  @media (max-width: 850px) {
    .footer-contact p{
        margin-top: 10px;
    }
    .footer-contact h2{
        margin-bottom: 10px;
    }

  }

  /* Responsive Design */
  @media (max-width: 830px) {
    .footer-logo2{
        margin-bottom: 15px;
    }
    .footer-content {
      padding-top: 3rem;
      display: flex;
      flex-direction: column;
      text-align: center;
    }
    .footer-logo2 { order: 1; }
    .footer-logo1 { order: 2; }
    .footer-links { order: 2; }
    .footer-contact { 
        order: 3; 
        text-align: center;}
    .footer-logo1, .footer-logo2, .footer-contact, .footer-links {
      text-align: center;
    }
    .footer-links ul {
      display: block;
      text-align: center;
    }
    .footer-contact h2{
        margin-top: 0px;
        text-align: center;
        padding-right: 3rem;
        padding-left:3rem ;
    }
    .footer-links h2{
       
        text-align: center;
        padding-right: 3rem;
        padding-left:3rem ;
    }
  }


  /* @media (min-width: 830px) {
    .footer-logo2 {
      position: relative;
      left: 50%;
      transform: translateX(-50%);
    }
    .footer-links {
      text-align: center;
      margin-top: -30px; 
    }
    
  } */
  @media (max-width: 997px) {   
    .footer-links ul li{
        margin-bottom: 10px;
      }
      .footer-content{
        padding: 2rem 0.7rem;
      }
      .footer-links{
        margin: auto;
      }
  } 