@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&family=Nunito:ital,wght@0,300;1,300&family=Roboto+Slab:wght@100..900&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #F3F3F3;
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.navbar {
    background-color: transparent;
    transition: background-color 0.3s ease;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: black !important;
    opacity: 0.95;
}

.navbar-toggler {
    background-color: #AE9775;
    border: 2px solid #AE9775 !important;
}

.navbar-toggler:hover {
    background-color: #AE9775;
    border: 2px solid #AE9775 !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'><path stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

.navbar-brand {
    font-size: 1.4rem;
    font-family: Helvetica, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

.navbar-nav .nav-link:not(:last-child) {
    margin-right: 2rem !important;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    font-family: Helvetica, sans-serif;
}

.nav-link:hover {
    color: #AE9775 !important;
}

.nav-link.active {
    color: #AE9775 !important;
}

.navbar-nav a {
    color: white;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
}

#home-section {
    position: relative;
}
.hero-inner .carousel-item {
    height: 100vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    background-size: cover;
    /* Ensure the entire image fits within the carousel */
    position: relative;
    
}
.hero-inner .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Overlay color */
    z-index: 1;
}

.hero-inner .carousel-item .carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 5.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom:9.25rem;
    color: #fff;
    text-align: center;
    z-index: 2;
    font-family: Helvetica, sans-serif;

}

.hero-slider .carousel-caption h1 span:first-child {
    color: #AE9775;
}

.hero-slider .carousel-caption h1 span:nth-child(2) {
    color: #FFFFFF;
}

.hero-slider .carousel-caption .more-info {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 0.25rem;
    overflow: hidden;
    width: 12rem;
    transition: color 0.4s;
    z-index: 2;
    margin-top:3rem;
}

.more-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #AE9775;
    transition: left 0.4s;
    z-index: -1;
}

.more-info:hover::before {
    left: 0;
}

.more-info:hover {
    color: white;
    border-color: #AE9775;
}

.hero-slider .carousel-caption h1 {
    font-size: 4rem;
    font-weight: bold;
}
#about-us-section {
    background-color: #F3F3F3;
}
#services-section {
    background-color: #F3F3F3;
}
.heading-top {
    display: inline-block;
    position: relative;
    font-weight: bold;
    text-align: center;
    margin-bottom:2rem;
    font-family:Helvetica, sans-serif;
}
.heading-top span {
    display: inline-block;
    font-size:3rem;
    line-height: 1.2;
}

.heading-top span:nth-child(1) {
    color: #AE9775;
}

.heading-top span:nth-child(2) {
    color: #000000;
    /* Color for the second word */
}

.heading-top .underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #AE9775;
}

.about-heading {
    font-size: 3rem;
}

.image-container {
    flex: 1;
    max-width: 30%;
    overflow: hidden;
}

.image-container img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0.8;
}

.image-container img:hover {
    transform: scale(1.1);
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.image-container img {
    animation: fadeIn 0.6s ease-out;
}

/* Card CSS Start */
.custom-card {
    width: 100%;
    height: auto;
    background: #F3F3F3;
    padding: 20px;
    max-height: 300px;
    margin-bottom: 20px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-card .card-title {
    font-size: 3rem;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 300px;
    perspective: 1000px;
    margin-bottom: 30px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.flip-card-front img,
.flip-card-back img {
    max-width: 100%;
    max-height: 45%;
    margin-bottom: 10px;
    object-fit: cover;
}

.flip-card-front {
    background-color: white;
    color: black;
}

.flip-card-back {
    background-color: #03446A;
    color: white;
    transform: rotateY(180deg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.6);
    background-blend-mode: overlay;
}

.flip-card-back h5,
.flip-card-back p {
    color: white;
}
/* dealrship section*/
.dealership-main-image-container {
    position: relative;
    text-align: center;
    width: 100%;
    margin-bottom: 100px;
  }
  
  .dealership-main-image {
    border-radius: 15px;
    width: 100%;
    max-width: 80%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
  }
  
  .dealership-card-container {
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
  }
  
  .dealership-card {
    background: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .dealership-card-title {
    margin-top: 40px;
    margin-bottom: 10px;
    color: #AE9775;
  }
  
  .dealership-icon {
    width: 100px;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
  }
  
  .dealership-ul {
    padding-left: 30px;
    margin: 0;
    text-align: left;
    width: 100%;
  }
  
  .dealership-ul li {
    width: 100%;
  }
  
/* deal section*/
.deal-container-unique {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("/Assets/img/deal-bg.jpg");
    /* Existing background image */
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 100px;
    /* Adjust to create space for the heading */
}

.heading-unique {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.heading-unique h1 {
    font-size: 2.5rem;
    margin: 0;
    padding: 20px;
}

.carousel-item-unique {
    color: white;
    text-align: center;
    padding: 60px 20px;
    height: 400px;
}

.carousel-caption-unique {
    position: absolute;
    top: 0;
    transform: none;
    color: black;
}

.carousel-caption-unique h5 {
    font-size: 1.5rem;
}

.carousel-caption-unique img.icon-unique {
    width: 200px;
    margin: 20px 0;
    border-radius: 20px;
}



/*gallery section css*/
.gallery {
    margin-bottom: 30px;
    position: relative;
}

.gallery figure {
    margin: 0;
    position: relative;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery figcaption {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 5px 0;
    font-size: 1rem;
}

.see-more {
    display: block;
    margin-top: 10px;
    border: 1px solid #AE9775;
    text-align: center;
    cursor: pointer;
    color: #AE9775;
    text-decoration: none;
    padding: 5px;
}

.contact-section {
    background-image: url('/Assets/img/hero-section/hero-3.jpg');
    /* Replace with your background image URL */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
    color: #fff;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Full overlay */
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-form h2,
.contact-description h2 {
    font-size: 2.5rem;
    color: #AE9775;
}

.contact-form input,
.contact-form textarea {
    border-radius: 0;
    border: 1px solid #AE9775;
    background: transparent;
    color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ddd;
}

.contact-form button{
    background-color: #AE9775;
    text-decoration: none;
    border: none;
    padding: 10px 20px;
    color: #fff;
    border-radius: 0;
}
.contact-description p {
    font-size: 1.1rem;
}

.contact-info {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.contact-info svg {
    font-size: 1.5rem;
    color: #AE9775;
    margin-right: 15px;
    min-width: 25px;
    text-align: center;
}

.contact-info p {
    margin: 0;
    font-size: 1.1rem;
    color: #ffffff;
}

/* footer css start*/
.footer {
    background-image: url('/Assets/img/footer-bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-logo p {
    margin: 0;
    color: #fff;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h5 {
    color: #AE9775;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-info {
    display: flex;
    align-items: center;
    color: #fff;
    margin-bottom: 10px;
}

.footer-info i {
    color: #AE9775;
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-icons a {
    color: #AE9775;
    margin-right: 10px;
    font-size: 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    color: #fff;
    width: 100%;
    height: 80px;
    background-color: #000;
    padding-block: 20px;
}
@media (max-width:1024px) {
    .hero-inner .carousel-item .carousel-caption {
        padding-bottom:5.25rem;
    }
   
        .dealership-main-image {
          max-width: 100%;
        }
}

@media (max-width: 768px) {
    .hero-inner .carousel-item .carousel-caption {
        padding-bottom:15rem;
    }
    .heading-top span {
        font-size: 3rem;
    }

    .heading-top .underline {
        bottom: -8px;
        height: 3px;
    }
    .dealership-main-image-container {
        margin-bottom: 50px;
      }
    
      .dealership-main-image {
        min-height: 350px;
        object-fit: cover;
      }
    
      .dealership-card-container {
        position: static;
        flex-direction: column;
        align-items: center;
        margin-top: -20px;
        transform: none;
      }
    
      .dealership-card {
        margin-top: 10px;
        width: 520px;
      }
    
      .dealership-card-container .dealership-card:nth-child(1),
      .dealership-card-container .dealership-card:nth-child(2) {
        margin-bottom: 10%;
      }
    
      .dealership-card-container .dealership-card:last-child {
        margin-bottom: 0;
      }
}

@media (max-width: 576px) {
    .navbar {
        background-color: black !important;
        opacity: 0.95;
    }
    .navbar-brand {
        font-size:1.3rem;
        font-weight:600;
      }
      .hero-inner .carousel-item {
        height: 50vh;
        min-height: 250px;
    }

    .hero-slider .carousel-caption h1 {
        font-size:1.7rem;
    }
    .hero-inner .carousel-item .carousel-caption {
        padding-bottom:0.5rem;
    }

    .hero-slider .carousel-caption .more-info {
        margin-top:1rem;
    }
    .custom-card {
        width: 70%;
        /* Adjust width as needed */
    }

    #about-us-section {
        text-align: center;
    }

    .heading-top span {
        font-size: 2.5rem;
    }

    .heading-top .underline {
        bottom: -6px;
        height: 2px;
    }

    .custom-card .card-title {
        font-size: 3rem;
        text-align: center;
    }

    .h-container {
        width: 100%;
    }
    .card {
        width: calc(100% - 20px);
        height: 250px;
    }
    .dealership-card-container {
        position: static;
        flex-direction: column;
        align-items: center;
        margin-top: -20px;
        transform: none;
      }
    
      .dealership-card {
        margin-top: 10px;
        width: 320px;
      }

}