.navbar{
  width: 100%;
    z-index: 100;
    position: relative;
    min-height: 100px;
    padding-top: 0;
}
/* .navbar .container{
  border-bottom: dashed 2px #ffffff4f;
} */
.navbar .navbar-brand{
  margin-right: 30px;
    margin-inline-end: 30px;
    margin-inline-start: 0px;
}
.navbar .active{
  color: #D7B65D !important;
}

/* Transparent Navbar */
        .navbar {
            position: absolute;
            width: 100%;
             background-color: rgba(0, 0, 0, 0.3) !important;
            transition: background 0.3s ease-in-out;
            z-index: 1000;
        }

        /* Fullscreen Carousel */
         .carousel-item {
            height: 100vh;
            min-height: 600px;
            background-position: center;
            background-size: cover;
            position: relative;
            overflow: hidden;
        }

        /* Zoom Effect */
        .carousel-item img {
            width: 100%;
            height: 150vh;
            object-fit: cover;
            transform: scale(1);
            transition: transform 8s ease-in-out;
        }

        .carousel-item.active img {
            transform: scale(1.2);
        }
        /* Overlay Effect */
      .carousel-item::before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(0, 0, 0, 0.3); 
          z-index: 1;
      }
        /* Overlay for Text */
        .carousel-caption {
            position: absolute;
            top: 40%;
            transform: translateY(-50%);
            text-align: left;
            color: #fff;
            width: 100%;
            opacity: 0;
            left: 100px;
            transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
            line-height: 4.7em;
            background: transparent !important;
            z-index: 2;
        }
        .carousel-caption h1, 
        .carousel-caption p {
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
        }

        .carousel-item.active .carousel-caption {
            opacity: 1;
            transform: translateY(0);

        }
        .carousel-item.active img {
            animation: zoomEffect 8s ease-in-out forwards;
        }
        @keyframes zoomEffect {
          from {
                transform: scale(1);
            }
            to {
                transform: scale(1.2);
            }
        }

        .carousel-caption h1{
          font-size: 100px;
          font-weight: 500;
          color:white;
          line-height: 1em;
          font-family: 'Taviraj', serif;
        }

        .carousel-caption span{
          display: block;
        }
        .carousel-caption p{
          font-size: 45px;
          color:#ffff;
        }
        /* Button Styling */
        
      .btn-custom {
    position: relative;
    background-color: #D7B65D;
    padding: 10px 20px;
    border: none;
    overflow: hidden;
    transition: color 0.3s ease-in-out;
    color: black; /* Ensure text is visible initially */
    z-index: 1; /* Ensure the button stays above */
    margin-top:-0.3rem;
}

.btn-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: black;
    transition: left 0.4s ease-in-out;
    z-index: -1; /* Keeps the background below the text */
}

.btn-custom:hover::before {
    left: 0;
}

.btn-custom:hover {
    color: #D7B65D; /* Ensures text turns gold on hover */
}

.btn-custom span {
    position: relative;
    z-index: 2; /* Keeps text above the background */
}


        .text-brown{
          color:#D7B65D;
        }
i.fa-brands.fa-whatsapp{
  font-size: 45px;
  color:#D7B65D ;
}
.text-none{
  text-decoration: none;
}
.dropdown-item:focus, .dropdown-item:hover,.dropdown-item.active, .dropdown-item:active {
    color: #1e2125;
    background-color: #D7B65D;
}
.about-map-bg{
    background:url('../img/about-map.png');
    background-repeat:no-repeat;
}
p#homeheroheading {
    font-size: 3.2rem !important;
}
.carnamecontent{
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stars i{
    color:#D7B65D;
}

.incredible-section{
    background: url('../img/about-sky.png');
    padding: 120px 0;
    padding-bottom: 0;
    text-align: center;
}
.text-yellow{
    color:#D7B65D;
}
.incredible-section h5{
    font-size: 24px;
    width:414px;
    margin:auto;
    font-style: italic;
    font-weight: 300;
}
.incredible-section h2{
    font-size: 120px;
    font-family: 'Taviraj', serif;
    line-height: .9em;
    margin-top:40px;
}
.black-block{
    width: 100%;
    height: 200px;
    background: #192026;
    margin-top:-120px;
}

@keyframes driveInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.car-image {
    vertical-align: middle;
    display: inline-block;
    animation: driveInFromRight 1.5s ease-out forwards;
}

.city-bg{
    background-image: url('../img/homebannerbe.jpg');
    height:150vh;
    background-repeat:no-repeat;
    background-size:cover;
    background-position: center;
    background-attachment: fixed;
    margin-top:-120px;
}
.banner-faq{
    height: 400px;
    background: url('../img/car-banner-1.png');
    background-size: cover;
    background-repeat: no-repeat;
}

/*collection page*/
  .top-search {
        display: flex;
        justify-content: space-between;
        align-items: center;

    }

    .top-search p {
        font-size: large;
        /* font-weight:  */

    }

    .down-search {
        display: flex;
        justify-content: end;
        align-items: center;
    }

    .select-input {
        border-radius: 5px;
    }

    .filtersbtn {
        height: 51px;
        width: 49px;

        padding: 15px;
        margin: 0 10px;
        border: 1px solid #ccc;
        border-radius: 10px;
        display: inline-block;
        vertical-align: middle;
        background-image: url('https://moryacars.in/images/filters-icon-black.png');
        background-repeat: no-repeat;
        background-size: auto;
        background-position: center center;
    }
    @media (max-width: 480px){
        .down-search{
            flex-direction: column-reverse;
        }
    }

    .pagination {
        display: flex;
        list-style: none;
        padding: 0;
        justify-content: center;
    }

    .pagination li {
        margin: 0 5px;
    }

    .pagination li a, .pagination li span {
        display: block;
        padding: 8px 12px;
        border: 1px solid #D7B65D;
        color: #D7B65D;
        text-decoration: none;
        border-radius: 5px;
    }

    .pagination li a:hover {
        background-color: #D7B65D;
        color: #fff;
    }

    .pagination li.active span {
        background-color: #D7B65D;
        color: #fff;
        border-radius: 5px;
    }

    .pagination li.disabled span {
        color: #ccc;
        border: 1px solid #ccc;
    }


    /*car details*/

     


@media (max-width: 768px) { /* Adjust breakpoint as needed */
    .flexdirection{
        flex-wrap: wrap;
        flex-direction: column;
    }
    .hide-on-mobile {
        display: none !important;
    }
    .carousel-caption{
      left: 10px;
      top:30%;
      line-height: 2em;
    }
    .carousel-caption h1{
      font-size: 45px;
    }
    .carousel-caption p{
      font-size: 20px;
    }
    .carousel-item img{
      height: 250vh;
    }
    div#navbarNav {
      background:#000000b3;
      padding-left: 10px;
  }
  .incredible-section h5{
    width: 100%;

  }
  .incredible-section h2{
    font-size: 65px;
  }
 
}


/* Start Sell-Used Car Page */
.sell-form{
    background-color: #f7f7f7;
}
.bg-yellow{
    background-color: #D7B65D;
}
/* End Sell-used Car page */
/* EMI Calculator Start */
.ecww-widget{
    position:relative;
    padding-top:0;
    padding-bottom:280px;
    height:0;
    overflow:hidden;
}
/* EMI Calculator End */

/* Start Terms And Condition Page */
.pagecontainer{
    font-family: sans-serif;
}
.fs-7{
    font-size: 20px;
}
.privacy-list a:hover {
    color:goldenrod ;
}
.pagecontainer p, li
{
  color:#585858; ; 
}
/* END Terms And Condition Page */


/***************************************************/
/******* Home Page Testimonial Section Start ******/
/*************************************************/
 /* .slider-wrapper {
  padding: 80px 0;
  background-color: #f8f9fa;
  overflow: hidden;
}

.swiper {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: auto;
}

.swiper-slide {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px;
    box-sizing: border-box;

}

.testimonial-slide {
  display: flex !important;

  border: 1px solid #020d1914;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  padding: 20px;
  gap: 30px;
}
.testimonial-image{
    margin: 0 4rem;
}
.testimonial-image img {
  width: 220px;

  aspect-ratio: 1/1.678;
  object-fit: cover;
  border-radius: 15px;
  pointer-events: none;
}

.testimonial-content {
  flex: 1;
  padding: 10px 0;
}

.testimonial-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.testimonial-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}



@media (max-width:991px) {
  .slider-wrapper{
    padding: 50px 20px ;
    
  }
  .testimonial-slide{
    max-width: 600px;
  }
  .testimonial-image{
    margin: 0 1rem;
  }
}
@media (max-width: 768px) {

  .swiper-slide, .testimonial-slide {
    flex-direction: column;
    text-align: center;
    padding: 10px 6px ;
    gap: 0;
  }


  .testimonial-image img {
    width: 180px;
    height: 260px;
  }
}  */


 .slider-wrapper {
            padding: 80px 0;
            background-color: darkgray;
            overflow: hidden;
        }

        .swiper {
            width: 100%;
            max-width: 500px; /* Smaller for cards effect */
            height: 650px; /* Fixed height needed for cards */
            margin: auto;
            padding: 20px 0;
            perspective: 1200px; /* Add perspective for 3D effect */
        }

        .swiper-slide {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 20px;
            overflow: hidden;
        }

        .testimonial-slide {
            display: flex;
            border: 1px solid rgba(2, 13, 25, 0.08);
            flex-direction: column; /* Changed to column for cards */
            align-items: center;
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            padding: 30px;
            gap: 20px;
            width: 100%;
            height: 100%;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
            transition: all 0.3s ease;
            text-align: center; /* Center text for cards */
        }

        .testimonial-image {
            flex-shrink: 0;
        }

        .testimonial-image img {
            width: 350px; /* Smaller for cards layout */
            aspect-ratio: 1/1;
            object-fit: cover;
            border-radius: 5%;  /*Circular images work better for cards */
            pointer-events: none;
            border: 3px solid #f0f0f0;
        }

        .testimonial-content {
            flex: 1;
            padding: 10px 0;
        }

        .testimonial-content h1 {
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 1.5rem;
            color: #333;
        }

        .testimonial-content p {
            font-size: 1rem;
            color: #555;
            line-height: 1.6;
            margin: 0;
        }

        /* Swiper Pagination */
        .swiper-pagination {
            position: static;
            margin-top: 30px;
        }

        .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background: #ddd;
            opacity: 1;
            margin: 0 8px;
        }

        .swiper-pagination-bullet-active {
            background: #007bff;
        }

        /* Navigation Buttons */
        .swiper-button-next,
        .swiper-button-prev {
            color: #007bff;
            background: rgba(255, 255, 255, 0.9);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .swiper-button-next:after,
        .swiper-button-prev:after {
            font-size: 18px;
            font-weight: bold;
        }

        /* Responsive Design */
        @media (max-width: 991px) {
            .slider-wrapper {
                padding: 50px 20px;
            }
            
            .swiper {
                max-width: 450px;
                height: 550px;
            }
            
            .testimonial-slide {
                padding: 25px;
                gap: 15px;
            }
            
            .testimonial-image img {
                width: 220px;
            }
            
            .testimonial-content h1 {
                font-size: 1.5rem;
            }
            
            .testimonial-content p {
                font-size: 1rem;
            }
        }

        @media (max-width: 768px) {
            .slider-wrapper {
                padding: 40px 15px;
            }
            
            .swiper {
                max-width: 350px;
                height: 500px;
            }
            
            .testimonial-slide {
                padding: 20px;
                gap: 15px;
            }
            
            /* .testimonial-image img {
                width: 80px;
            } */
            
            .testimonial-content h1 {
                font-size: 1.3rem;
                margin-bottom: 1rem;
            }
            
            .testimonial-content p {
                font-size: 0.95rem;
            }
        }

        @media (max-width: 480px) {
            .swiper {
                max-width: 300px;
                height: 450px;
            }
            
            .testimonial-slide {
                padding: 15px;
            }
            
            /* .testimonial-image img {
                width: 70px;
            } */
            
            .testimonial-content h1 {
                font-size: 1.2rem;
            }
            
            .testimonial-content p {
                font-size: 0.9rem;
            }
        }
/*************************************************/
/******* Home Page Testimonial Section End ******/
/***********************************************/