.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* width: 60%; */
  }


  input[type='checkbox'] {
    display: none;
}



  @keyframes slides {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }

  .logos {
    overflow: hidden;
    padding: 30px 0px;
    white-space: nowrap;
    position: relative;
  }

  .logos:before, .logos:after {
    position: absolute;
    top: 0;
    content: '';
    width: 250px;
    height: 100%;
    z-index: 2;
  }

  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255,255,255,0), rgb(255, 255, 255));
  }

  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255,255,255,0), rgb(255, 255, 255));
  }

  .logo_items {
    display: inline-block;
    animation: 35s slides infinite linear;
  }

  .logos:hover .logo_items {
    animation-play-state: paused;
  }

  .logo_items img{
    height: 100px;
  }



/* charbel code */







.cards {
    margin: 10px 10px;
}

/* Flip Cards CSS */
.cards-container {
    display: grid;
    perspective: 700px;
}

.cards-flip {
    display: grid;
    grid-template: 1fr / 1fr;
    grid-template-areas: "frontAndBack";
    transform-style: preserve-3d;
    transition: all 0.7s ease;
}

.cards-flip div {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.front1 {
    grid-area: frontAndBack;
}

.back1 {
    grid-area: frontAndBack;
    transform: rotateY(-180deg);
}

.card-image {
    border-radius: 1px;
    width: 240px;
    height: 423px; /* Maintain aspect ratio */
    border-radius: 2%;
}

/* Media Queries for different devices */

        /* Small devices (phones, 600px and down) */
        @media screen and (max-width: 600px) {
            .card-image {
                width: 100%; /* Make it take the full width of the container */
                height: auto; /* Allow the height to adjust automatically */
                border-radius: 0;
            }
        }

        /* Medium devices (tablets, 600px to 768px) */
        @media screen and (min-width: 601px) and (max-width: 768px) {
            .card-image {
                width: 90%; /* Adjust width for tablets */
                height: auto;
                border-radius: 0;
            }
        }


        

        /* Large devices (iPads, 769px to 1024px) */
        @media screen and (min-width: 769px) and (max-width: 1024px) {
            .card-image {
                width: 620%; /* Adjust width for iPads */
                height: auto;
                border-radius: 0;
            }
        }

        @media screen and (min-width: 769px) and (max-width: 1028px) {
            .card-image {
                width: 620%; /* Adjust width for iPads */
                height: auto;
                border-radius: 0;
            }
        }

        @media screen and (min-width: 768px) and (max-width: 1024px) {
            .card-image {
                width: 620%; /* Adjust width for iPads */
                height: auto;
                border-radius: 0;
            }
        }

        @media screen and (min-width: 1024px) and (max-width: 768px) {
            .card-image {
                width: 620%; /* Adjust width for iPads */
                height: auto;
                border-radius: 0;
            }
        }


        /* Extra large devices (desktops, 1025px and up) */
        @media screen and (min-width: 1025px) {
            .card-image {
                width: 240px; /* Original width for desktops */
                height: 423px; /* Maintain aspect ratio */
                border-radius: 2%;
            }
        }

.cards-flip.is-flipped {
    transform: rotateY(180deg);
}








.ftco-section1{
    background-color: black;

}

.ftco-counter1{
    color: white;
}



.img-2 {
    position: relative;
  }

  @media (max-width: 767.98px) {
    .img-2 {
        height: 459px;
        margin-top: 116px;
    }
  }


.img-2 {
    position: relative;
}






/* web development */
.web-designs{
    min-height: 100vh;
    font-family: 'Fira Sans', sans-serif;
    display: flex;
  }
  .blog-inner{
    background-color: #fff;
    position: relative;
    max-width: 800px;
    padding:20px;
  margin:auto;
   text-align:center
  }
  .blog-slider {
    width: 95%;
    background: #fff;
    padding: 25px;
    border-radius: 25px;
    transition: all 0.3s;

  }
  @media screen and (max-width: 992px) {
    .blog-slider {
      max-width: 680px;
      height: 400px;
    }
  }
  @media screen and (max-width: 768px) {
    .blog-slider {
      min-height: 500px;
      height: auto;
      margin: 180px auto;
    }
  }
  @media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider {
      height: 350px;
    }
  }
  .blog-slider__item {
    display: flex;
    align-items: center;

  }
  @media screen and (max-width: 768px) {
    .blog-slider__item {
      flex-direction: column;
    }
  }

  .blog-slider__img {
    width: 300px;
    flex-shrink: 0;
    height: 300px;
    border-radius: 20px;
    transform: translateX(-80px);
    overflow: hidden;
  }
  .blog-slider__img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    opacity: 0.8;
    height:400px
  }
  .blog-slider__img img {
    height:50%;
    width:100%;

    display: inline-block;
      float: left;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
  }
  @media screen and (max-width: 768px) {
    .blog-slider__img {
      transform: translateY(-50%);

    }
  }

  @media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider__img {
      height: 270px;
    }
  }
  .blog-slider__content {
    padding-right: 25px;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__content {
      margin-top: -80px;
      text-align: center;
      padding: 0 30px;
    }
  }
  @media screen and (max-width: 576px) {
    .blog-slider__content {
      padding: 0;
    }
  }

  .blog-slider__code {
    color: #7b7992;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
  }
  .blog-slider__title {
    font-size: 24px;
    font-weight: 700;
    color: #0d0925;
    margin-bottom: 20px;
  }
  .blog-slider__text {
    color: #4e4a67;
    margin-bottom: 30px;
    line-height: 1.5em;
  }
  .blog-slider__button {
    display: inline-flex;
    background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
    padding: 15px 35px;
    border-radius: 50px;
    color: #fff;
    box-shadow: 0px 14px 80px rgba(252, 56, 56, 0.4);
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    letter-spacing: 1px;
  }
  @media screen and (max-width: 576px) {
    .blog-slider__button {
      width: 100%;
    }
  }
  .blog-slider .swiper-container-horizontal > .swiper-pagination-bullets, .blog-slider .swiper-pagination-custom, .blog-slider .swiper-pagination-fraction {
    bottom: 10px;
    left: 0;
    width: 100%;
  }


/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

/* Style for pagination item */
.pagination li {
    margin: 0 5px;
    display: inline-block;
}

/* Style for pagination link */
.pagination li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #333;
    background-color: #fff;
    border-radius: 4px;
}

/* Style for active page link */
.pagination .active a {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}

/* Style for disabled page link */
.pagination .disabled {
    pointer-events: none;
    color: #aaa;
    border: 1px solid #ddd;
    background-color: #fff;
}





.thumbnail {
    position: relative;
    padding: 0px;
    margin-bottom: 20px;
}
.thumbnail img {
    width: 80%;
}
.thumbnail .caption{
    margin: 7px;
}
.main-section{
    background-color: #F8F8F8;
}
.dropdown-cart{
    float:left;
    padding-right: 30px;
}
.btn{
    border:0px;
    margin:10px 0px;
    box-shadow:none !important;
}
.dropdown-cart .dropdown-menu {
    padding: 19px;
    top: 50px !important;
    width: 350px !important;
    left: 900px;
    box-shadow: 0px 5px 30px black;
}
.total-header-section{
    border-bottom:1px solid #d2d2d2;
}
.total-section p{
    margin-bottom:20px;
}
.cart-detail{
    padding:15px 0px;
}
.cart-detail-img img{
    width:100%;
    height:100%;
    padding-left:15px;
}
.cart-detail-product p{
    margin:0px;
    color:#000;
    font-weight:500;
}
.cart-detail .price{
    font-size:12px;
    margin-right:10px;
    font-weight:500;
}
.cart-detail .count{
    color:#C2C2DC;
}
.checkout{
    border-top:1px solid #d2d2d2;
    padding-top: 15px;
}
.checkout .btn-primary{
    border-radius:50px;
    height:50px;
}
.dropdown-menu:before{
    content: " ";
    position:absolute;
    top:-20px;
    right:50px;
    border:10px solid transparent;
    border-bottom-color:#fff;
}




@media only screen and (max-width: 600px) {
    .thumbnail {
        position: relative;
        padding: 0px;
        margin-bottom: 20px;
    }
    .thumbnail img {
        width: 80%;
    }
    .thumbnail .caption{
        margin: 7px;
    }
    .main-section{
        background-color: #F8F8F8;
    }
    .dropdown-cart{
        float:left;
        padding-right: 30px;
    }
    .btn{
        border:0px;
        margin:10px 0px;
        box-shadow:none !important;
    }
    .dropdown-cart .dropdown-menu {
        padding: 19px;
        top: 50px !important;
        width: 350px !important;
        left: 812px !important;
        box-shadow: 0px 5px 30px black;
    }
    .total-header-section{
        border-bottom:1px solid #d2d2d2;
    }
    .total-section p{
        margin-bottom:20px;
    }
    .cart-detail{
        padding:15px 0px;
    }
    .cart-detail-img img{
        width:100%;
        height:100%;
        padding-left:15px;
    }
    .cart-detail-product p{
        margin:0px;
        color:#000;
        font-weight:500;
    }
    .cart-detail .price{
        font-size:12px;
        margin-right:10px;
        font-weight:500;
    }
    .cart-detail .count{
        color:#C2C2DC;
    }
    .checkout{
        border-top:1px solid #d2d2d2;
        padding-top: 15px;
    }
    .checkout .btn-primary{
        border-radius:50px;
        height:50px;
    }
    .dropdown-menu:before{
        content: " ";
        position:absolute;
        top:-20px;
        right:50px;
        border:10px solid transparent;
        border-bottom-color:#fff;
    }
  }





/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    #home-section .slider-item h1 {
        font-size: 24px;
    }
    #home-section .slider-item h2 {
        font-size: 18px;
    }
    #home-section .slider-item p a {
        font-size: 14px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #home-section .slider-item h1 {
        font-size: 28px;
    }
    #home-section .slider-item h2 {
        font-size: 20px;
    }
    #home-section .slider-item p a {
        font-size: 16px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #home-section .slider-item h1 {
        font-size: 32px;
    }
    #home-section .slider-item h2 {
        font-size: 24px;
    }
    #home-section .slider-item p a {
        font-size: 18px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    #home-section .slider-item h1 {
        font-size: 36px;
    }
    #home-section .slider-item h2 {
        font-size: 28px;
    }
    #home-section .slider-item p a {
        font-size: 20px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    #home-section .slider-item h1 {
        font-size: 40px;
    }
    #home-section .slider-item h2 {
        font-size: 32px;
    }
    #home-section .slider-item p a {
        font-size: 22px;
    }
}




@media only screen and (min-device-width: 168px) and (max-device-width: 1024px) and (orientation: portrait),
       only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {

    .product-carousel {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .product-carousel .col-md-6.col-lg-3 {
        flex: 0 0 45%;
        max-width: 45%;
        margin-bottom: 20px;
    }

    .product .text {
        padding: 10px;
    }

    .product .pricing p.price {
        font-size: 18px;
    }

    .product .bottom-area {
        margin-top: 10px;
    }
}

/* Media query for iPad */
@media screen and (max-width: 768px) {
    /* Styles for iPad */
    .card img {
        width: 193px; /* Adjust as needed */
    }
}


.card img {
    width: 193px; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
}


.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
    background-color: lightgrey;
}




.modal-header {
    background-color: red;
    color: white;
}
.modal-footer {
    background-color: #f8f9fa;
}
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 118, 244, 0.25);

}
.modal-content {
    border-radius: 0.5rem;
}
.form-group label {
    font-weight: bold;
}
.form-control {
    border-radius: 0.25rem;
}




.checkout .btn-primary {
    border-radius: 50px;
    /* height: 50px; */
    width: 80px;
}




/* General card styles */


/* Media queries */
/* Media queries */
@media (min-width: 2400px) {
    .col-lg-3 {
        width: 500%;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .col-lg-3 {
        width: 500%;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .col-md-6 {
        width:500%;
    }
}

@media (max-width: 767px) {
    .col-md-6 {
        width: 500%;
    }
}
