  *{
    padding: 0;
    margin: 0;
  }
  body {
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
  }
  header{
    max-width: 100%;
    position: absolute;
    height: 90px;
    top: 0; 
    left: 0; 
    right: 0;
    background:#273b70;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    padding: 10px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
  }
     .mainlogo {
      display: flex;
      align-items: center;
    }
    
    .mainlogo img {
      height: 85px;
      width: auto;
      margin-right: 10px;
    }
    
    .mainlogo .logo {
      font-size: 1.8rem;
      font-weight: bold;
      color: #fff;
      text-decoration: none;
    }
    input[type="checkbox"] {
      display: none;
    }
    
    label[for="menu-bar"] {
      display: none;
      color: #fff;
      font-size: 1.5rem;
      cursor: pointer;
    }
    
    /* Show menu icon on smaller screens */
    label[for="menu-bar"] i {
      font-size: 1.8rem;
      cursor: pointer;
    }
 
  header .navbar ul {
    list-style: none; 
  }

  header .navbar ul li{
    position: relative;
    float: left;
  }

  header .navbar ul li a{
    color: #fff;
    display: block;
    padding:18px;
    font-size: 18px; 
    text-decoration: none;
 }

 header .navbar ul li a:hover{
    background: white;
    color: black;
 }
 header .navbar ul li ul{
  position: absolute;
  left:0;
  width:200px;
  background: #273b70;
  display: none;
 }
 header .navbar ul li ul li{
  width: 100%;
  /*border-top: 1px solid black;*/
 }
 header .navbar ul li ul li ul{
  left: 200px;
  top:0;
 }
 header .navbar ul li:focus-within > ul,
 header .navbar ul li:hover > ul{
  display:initial;
 }


.mySlides{
  display: none;
  margin-top: 100px;
}
img{
  vertical-align:center;
}
.slideshow-container{
  width:100%;
}
.prev, .then{
  cursor: pointer;
  position: absolute;
  top: 65%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.then{
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover ,.then:hover{
  background-color: rgba(229, 239, 239, 0.8);
}
.dot{
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: rgb(19, 18, 18);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot:hover{
  background-color: #717171;
}
/*.fade{
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}
@-webkit-keyframes fade{
  from{opacity: .4;}
  to{opacity: 1;}
}
@keyframes fade{
  from{opacity: .4;}
  to{opacity: 1;}
}*/


  #quote{
    font-size: 28px;
    max-width:90rem;
    line-height: 45px;
    margin-top: 120px;
    justify-content: center;
    margin: 80px;
  }
  .b1{    
    margin-top: 70px;
    font-size: 17px ;
    padding: 15px 50px 15px  50px;
    color:white;
    background-color: black;
  }
  .b1:hover{
    /*background-color:rgb(36, 183, 228);*/
    cursor: pointer;
    transform: scale(1.1);
  }

 
.main{
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    max-width: 100%;
    margin: 80px;
    margin-top: 200px;
    justify-content: left;
}

#who{
  font-size: 60px;
  font-weight: 500;
  line-height: 90px;
}
  #content{
    width:500px;
    margin-top:10px;
    font-size: 19px; 
    line-height: 30px;
  }
  #tech{
    border-radius: 20px;  
    margin-top: 100px;
    max-width:450px;
    height: 270px;  
    justify-content: center;
  }
  #tech:hover{
    box-shadow: 0px 5px 19px rgba(29, 59, 99, 0.619);
  }
  #b2{
    color: white;
    background-color:black;
    margin-top: 0px;
    font-size: 17px ;
    padding: 10px 18px 10px 18px;
    margin-left: 80px;
  }
  #b2:hover{
   /* background-color:rgb(36, 183, 228);*/
    cursor: pointer;
    transform: scale(1.1);
  }
  
.our h1{
  text-align: center;
  font-size: 42px;
  text-transform: capitalize;
}
.client{
  max-width: 100%;
  display: flex;
  justify-content:space-between;
  align-items: center;
  margin: 75px auto;
  text-align: center;
}
.card_old{
  width:100%;
  height: 365px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  margin: 0px 10px;
  padding: 20px 20px;
  border: 2px black solid;
  border-radius: 10px;
  cursor: pointer;
}
.client :hover {
  cursor: pointer;
  background-color:rgb(8, 10, 11);
  color:rgb(36, 183, 228);
}

.card_old .icon{
  font-size: 35px;
  margin-bottom: 20px;
}
.card_old .h2{
  font-size: 28px;
  margin-bottom: 30px;
}
#growthp{
  margin-bottom: 120px;
}
.card_old p{
  font-size: 17px;
  margin-bottom: 100px;
  margin-top: 10px;
  line-height: 1.2;
}
.section{
  margin-top: 300px;
}

.brand h1{
  font-size: 50px;
  margin-top: 250px;
  text-align: center;
  text-transform: capitalize;
  letter-spacing: .3px;
}
 /* .gallery-wrap{
    height:300px;
    max-width: 100%;
    margin-top: 70px;
    margin-left: 10px ;
    margin-right: 10px;
    padding-top: 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-image: url(./image/world.jpg);
    background-repeat: no-repeat;
    border-radius: 10px;
  }
  
  .gallery{
    width:100%;
    display: flex;
    overflow-x: scroll;
    border-radius: 20px;
  }
  .gallery div{
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    grid-gap:25px;
    padding:1rem;
    flex: none;
  }
  .gallery::-webkit-scrollbar{
    display: none;
  }
  .gallery div img{
    width: 45vh;
    height: 150px;
    transition: transform 0.5s;
    border-radius: 15px;
    border: 1px black solid;
  }
  .gallery div img:hover{
    cursor: pointer;
    transform: scale(1.2);
    
  }
  #backbt,#nextbt{
    width: 50px;
    margin: 60px;
    cursor: pointer;
    background-color: white;
    border-radius: 50px;
  }*/


  


  .wrapper {
    max-width: 100%;
    position: relative;
    display: flex;  
    padding: 0 90px;
    align-items: center;
    justify-content: center;
    border: 1px solid black;
    background: #202e52;
    margin-top: 30px;
}
  .wrapper i {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
  }
  .wrapper i:active{
    transform: translateY(-50%) scale(0.85);
  }
  .wrapper i:first-child{
    left: 20px;
  }
  .wrapper i:last-child{
    right: 20px;
  }
  .wrapper .carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 5) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 30px 0 30px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  .carousel::-webkit-scrollbar {
    display: none;
  }
  .carousel.no-transition {
    scroll-behavior: auto;
  }
  .carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }
  .carousel.dragging .card {
    cursor: grab;
    user-select: none;
  }
  .carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .carousel .card {
    scroll-snap-align: start;
    height: 300px;
    list-style: none;
    background: #fff;
    cursor: pointer;
    padding-bottom: 15px;
    flex-direction: column;
    border-radius: 8px;
  }
  .carousel .card .img {
    height: 148px;
    width: 148px;
    border-radius: 50%;
  }
  .card{
    border: none;
  }
  .card .img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .carousel .card span {
    color: #6A6D78;
    font-size: 1.31rem;
  }
  @media screen and (max-width: 1024px) {
    .wrapper .carousel {
      grid-auto-columns: calc((100% / 5) - 5px);
    }
    .carousel .card .img {
      height: 40px;
      width: 40px;
      border-radius: 10%;
    }
    .card .img img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
  }
  @media screen and (max-width: 900px) {
    .wrapper .carousel {
      grid-auto-columns: calc((100% / 4) - 9px);
    }
    .carousel .card .img {
      height: 35px;
      width: 35px;
      border-radius: 20%;
    }
    .card .img img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
  }
  @media screen and (max-width: 600px) {
    .wrapper .carousel {
      grid-auto-columns: calc((100% / 1) - 5px);
    }
    .carousel .card .img {
      height: 100px;
      width: 100px;
      border-radius: 10%;
    }
    .card .img img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
  }
 
 
  footer{
    position: relative;
    margin-top:200px;
    max-width: 100%;
    height: auto;
    padding: 50px 100px;
    background-color: #273b70;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  footer .container{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
  }
  footer .container .sec{
    margin-right: 30px;
  }
  footer .container .sec.aboutus{
    width: 30%;
  }
  footer .container h2 {
    position: relative;
    color: #fff;
    font-weight: 500;
    margin-bottom: 25px;
  }
  .sec.aboutus h3{
    color:white ;
    font-size: 30px;
    margin-top:30px ;
  }
  footer .container  h2:before{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: rgb(36, 183, 228) ;
  }
  footer p{
    color: #999;
  }
  .sci{
    margin-top: 30px;
    display: flex;
  }
  .sci li{
    list-style: none;
  }
  .sci li a{
    display: inline-block;
    width: 40px;
    height: 40px;
    color: rgb(14, 10, 10);
    background:#faf9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right:10px;
    text-decoration: none;
    border-radius: 20px;
  }
  .sci li a:hover{
    color: #123aa6;
    filter:grayscale(0);
    cursor: pointer;
    transform: scale(1.3);
  }
  .sci li a .fa{
    color: #fff;
    font-size: 20px;
  }
  .quicklinks{
    position: relative;
    width: 25%;
  }
  .quicklinks ul li{
    list-style: none;
    
  }
  .quicklinks ul li a{
    color:#999;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
  }
  .quicklinks ul li a:hover{
    color:white ;
    filter:grayscale(0);
    cursor: pointer;
    transform: scale(1.3);
  }
  .contact{
    width: calc(35% - 60px);
    margin-right: 0 !important;
  }
  .contact .info{
    position: relative;
  }
  .contact .info li{
    display: flex;
    margin-bottom: 20px;
  }
  .contact .info li span:nth-child(1){
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
  }
  .contact .info li span{
    color: #999;
  }
  .contact .info li a{
    color: #999;
    text-decoration: none;
  }
  .contact .info li a:hover{
    color: white;
  }
  .copyrighttext{
    max-width:100%;
    height:30px;
    background:#202e52;
  }
  .copyrighttext p{ 
    text-align: center;
    padding-top: 5px;
    color: #999;
    
  }
  @media (max-width:991px){
    footer{
      padding: 40px;
    }
    footer .container{
      flex-direction: column;
    }
    footer .container .sec {
      margin-right: 0;
      margin-bottom: 40px;
    }
    footer .container .sec.aboutus,.quicklinks,.contact{
      width: 100%;
    }
    .copyrighttext {
       padding:8px 40px;
     }

    

     #tech{
      max-width: 330px;
      margin-top: 10px;
      justify-content: center;
     }


    .client{     /* our client succes */
      display: flex;
      flex-direction: column;
    }
  
    .card_old{
      width: 85%;
      display: flex;
      margin: 20px 0px;
    }
    .prev , .then , .cap{ /*  main image slider */
      font-size: 15px;
    }
    .dot{
      height: 10px;
      width: 10px;
    }
    
    header{
      padding: 20px;
      height: 70px;
    }
    label[for="menu-bar"] {
        display: block;
    }    
    .mainlogo .logo{
      font-size: 25px;
    }
    header .navbar{
      position: absolute;
      top: 100%; left: 0; right: 0;
      background:#273b70;
      border-top:1px black solid ;
      display: none;
    }
    header .navbar ul li a{
      font-size: 15px;
    }
    header .navbar ul li{
      width: 100%;
    }
    header .navbar ul li ul{
      position: relative;
      width: 100%;
    }
    header .navbar ul li ul li{
      background: gray;
    }
    header .navbar ul li ul li ul{
      width: 100%;
    }
    #menu-bar:checked ~ .navbar{
      display: initial;
    }
    header .navbar ul li a{
      padding: 8px;
    }
    .prev, .then{
      top: 40%;
    }
  }


  @media (max-width:1156px){
   
    .prev, .then{
      top: 40%;
    }
  }

  @media (max-width:401px){
    
    .prev, .then{
      top: 30%;
    }
    #tech{
      max-width:320px;
      height: 150px;
    }
  }
  
  
  .our-works {
    margin-top: 150px;
    background-color: #e0e0e0;
    padding: 20px;
    text-align: center;
}

.our-works h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

.works-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Minimum size of 250px per column */
    gap: 20px;
    margin-top: 20px;
}

.work-item {
    background-color: black;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image animation */
.work-item img {
    width: 100%;
    height: auto;      
    border-radius: 8px;
    object-fit: cover; 
    transition: transform 0.4s ease, opacity 0.4s ease; /* Smooth zoom and fade transition */
}

/* Hover effects: zoom and shadow */
.work-item:hover {
    transform: translateY(-10px); /* Slight upward movement */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Larger shadow on hover */
}

/* Hover effects for image: zoom and opacity change */
.work-item:hover img {
    transform: scale(1.1); /* Zoom in the image */
    opacity: 0.9; /* Reduce opacity slightly */
}

/* Text fading in */
.work-item p {
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
    text-align: center;
    animation: fadeInText 1.5s ease-in-out;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .works-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Minimum size of 150px per column */
    }

    .our-works h2 {
        font-size: 1.5rem;
    }
}

/* Additional styling for extra small screens */
@media (max-width: 480px) {
    .work-item img {
        max-width: 100%;  
    }

    .our-works h2 {
        font-size: 1.25rem;
    }
}

/* Keyframes for animations */

/* Fade-in for text and heading */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Background color animation */
@keyframes backgroundAnimation {
    0% {
        background-color: #f5f5f5;
    }
    100% {
        background-color: #e0e0e0;
    }
}

