
 /* Vendor prefixes and enhancements for better cross-browser compatibility */
nav {
    position: relative;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    right: 0;
    left: 0;
   
    height: 6em;
    z-index: 10;
    width: 100%;
    background-color:#fff;
    padding:  0 2em 2em;
}
@media (min-width: 1000px) {
    header{
        padding: 5em;
    }
    nav {
        padding:  0 2em 2em;
    }
}
nav ul {
    position: relative;
    top: 1.5em;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    
}
nav ul  .logo img{
    position: relative;
    left: -3em;
 width:5em;
}
@media (min-width: 1000px) {
nav ul  .logo img{
    position: relative;
    left: 3em;
 width:5em;
}
}

@media (min-width: 810px) {
    nav ul  .logo img{
        position: relative;
        left: 1em;
     width:5em;
    }
    }
nav a {
    position: relative;
    height: 100%;
    padding: 0 2em;
    display: flex;
    align-items: center;
    color: black;
   
}

nav li:first-child {
    margin-right: auto;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: var( --secondary-color);
    opacity: 0.8;
    backdrop-filter: blur(.8em);
    box-shadow: -.8em 0 .8em rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar a svg {
    position: relative;
}

.sidebar li {
    position: relative;
    top: 2em;
    width: 100%;
}

.sidebar a {
    width: 100%;
    padding:2em;
    color: #fff;
}

.menu-btn {
    display: none;
}

.top-nav {
    padding: 1em 2em;
}

.top-nav .fa {
    color: var(--primary-color);
}

@media (max-width: 1000px) {
    .hideOnMobile {
        display: none;
    }

    .menu-btn {
        position: relative;
        left: 3em;
        display: block;
    }
}
@media (max-width: 700px) {
    .hideOnMobile {
        display: none;
    }

    .menu-btn {
        position: relative;
        left: 3em;
        display: block;
    }
}
@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}


/* Hero Section */
 
  
 
  @media(min-width:800px){
    .slider{
        top: -16em;
    }
  }
  
  
  .slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    height: 100svh; /* Adjust height according to your image size */
  }
  
  .slides {
    position: relative;
    height: 100%;
  }
  
  .slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .caption {
    color: white;
    text-align: center;
  }
  @media(min-width:1000px){
    .caption {
       position: relative;
       top: 4em;
      }
    .caption p{
    font-size: 1.5em;
     padding:0 5em;
  }
}
  h1 {
    font-size: 24px;
  }
  
  .prev, .next {
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
    z-index: 5;
  }
  
  .prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .prev {
    left: 0;
  }
  
  .next {
    right: 0;
  }
  
  /* For mobile responsiveness */
  @media screen and (max-width: 768px) {
    h1 {
      font-size: 18px;
    }
  
    .prev, .next {
      font-size: 16px;
    }
  }
  
  
/* About Section */

.about-us{
    position: relative;
    top: 5em;
}
.about-us img{
    height:40em;
}
.about-us-content .about-us-image img{
 border-radius: 1em;
}
@media(min-width:800px){
    .about-us {
        top:-10em
    }
}
  .about-us-content img{
    width: 100%;
  }



/*===============================| Why Choose us |======================*/
.why-choose-us .why-choose-us-content {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(20em,1fr));
}
.why-choose-us {
    position: relative;
    top: 5em;
    bottom: 5em;
}
.why-choose-us .why-choose-us-content{
    position: relative;
    top: 5em;
}
@media(min-width:800px){
    .why-choose-us {
        position: relative;
        top: 0em;
    }
    .why-choose-us .why-choose-us-content{
        position: relative;
        top: 5em;
    }
}
.why-choose-us .why-choose-us-content .why-choose-us-content-image img{
    width: 100%;
    height: 100%;
}
.why-choose-us .section-title span{
    color: var(--primary-color);
}
.why-choose-us-content-info{
    background-color: white;
    padding: 2em;
}
.why-choose-us-content ul{
    
    float: left;
    text-align: left;
}
.why-choose-us-content ul li a img{
    position: relative;
    top:1.5em;
    left: -2em;
    width: 2em;
}
.why-choose-us-content ul{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(15em,1fr));
    gap: 1em;
}





  /* solution section */
  .solution{
    position: relative;
    top: 5em;
}
@media(min-width:800px){
    .solution{
        position: relative;
        top: -5em;
    }
}
  .solution-card{
    background-color: var(--gray-color);
    padding: 2em;
  }
  .solution-card h3{
    color: var(--primary-color);
  }
  .solution-card .icon img{
    width: 5em;
  
  }


 
 



/* Curious Minds */
.faq{
    position: relative;
    top: 5em;
    
    background-color: #d72654;
    padding:4em 0 8em ;

}
.faq .faq-content .faq-card{
 background-color: #fff;
 padding: 2em;
 font-size: 2rem;
} 
.faq .faq-content .faq-card .icon:hover{
cursor: pointer;
}
.faq-card-answer {
    display: none; /* Hide by default */
}

.faq-card.active .faq-card-answer {
    display: block; /* Show when active */
}
.faq .faq-content .faq-card .faq-card-answer a{
    position: relative;
    top: 1em;
    color: #fff !important;
   
}
.faq .faq-content .faq-card .faq-card-answer a:hover{
    color: #fff !important;
    background-color: var( --secondary-color) !important;
}


/* Scroller */
.tag-list {
    display: flex;
    align-items: center;
    overflow: hidden;
    gap: 2em;
    flex-shrink: 0;
    animation: scroll 60s linear infinite;
}

.tag-list .section-title {
    font-size: 5rem;
    white-space: nowrap; /* Prevents the text from wrapping */
}

.scroller__inner {
    display: flex;
    width: max-content; /* Allows the content to stretch */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* Image Scroller */
.image-list {
    display: flex;
    align-items: center;
    overflow: hidden;
   gap: 5em;
    flex-shrink: 0;
    animation: imageScroll 60s linear infinite;
}

 
.image-list img {
    width: 100%; /* Make the image take the full width of its container */
    max-width: 300px; /* Set a max width for larger screens */
    height: auto; /* Maintain the aspect ratio */
    object-fit: cover; /* Crop the image to fill the container */
    border-radius: 8px; /* Optional: Rounded corners */
     
}

@media (max-width: 768px) {
    .image-list img {
        max-width: 150px; /* Make the images smaller on tablets */
    }
}

@media (max-width: 480px) {
    .image-list img {
        max-width: 100px; /* Make the images even smaller on mobile */
    }
}

.scroller__inner {
    display: flex;
    width: max-content; /* Allows the content to stretch */
}

@keyframes imageScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}







.transform{
    position: relative;
    top: 0em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100svh;
    padding: 1em;
}
.transform-card{
    position: 2em;
    background-color: #dbdbdb;
    opacity: 0.8;
    padding:0.5em;
    text-align: center;
    height: 80svh;
    
}
.transform-card p{
   position: relative;
   top: 2em; 
   font-size: 2em;
    
}
.transform-card .btn{
    position: relative;
    top: 10em;
    color: #fff;
}
.transform-card .section-title{
  
}
@media(min-width:800px){
    .transform{
        
        padding: 5em;
    }
    .transform-card{ 
        padding: 2em;  
    }
    .transform-card .section-title{
        font-size: 4em;
    }
}







/* Contact us */
.contact-us{
    text-align: center;
position: relative;
top: 5em;
}
/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from { opacity: .4; }
    to { opacity: 1; }
}

@keyframes fade {
    from { opacity: .4; }
    to { opacity: 1; }
}

@-webkit-keyframes zoomIn {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (min-width: 800px) {
    nav {
        position: relative;
    }

    .logo {
        position: relative;
        top: -1em;
        left: -4em;
    }

}
  




/* Footer */
.footer{
    position: relative;
    top:15em;
    background-color:black;
    color:#fff;
    padding:2em;
}
.footer a{
    color:#fff;
}
.ftco-footer-social li {
    list-style: none;
    margin: 0 10px 0 0;
    display: inline-block;
}

.ftco-footer-social li a {
    height: 40px;
    width: 40px;
    display: block;
    float: left;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    position: relative;
}

.ftco-footer-social li a span {
    position: relative;
    top: 1em;
    left: 0.3em;
}

.ftco-footer-social li a .fa {
    position: relative;
    top: .8em;
    left: 1em;
}

.ftco-footer-social li a:hover span {
    color: #ffffff;
}
