html {
  font-size: 12px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }

    .custon-card-margin {
        margin-left: 25%;
        width: 50%;
        border-bottom: 2px solid #198754 !important;
        border-right: 2px solid #198754 !important;
        border-top: 0 !important;
        border-left: 0 !important;
    }
}

@media (min-width: 1390px) /*and (max-width: 1500px)*/{
    .formImg p{
       font-size: 27px !important;
    }
    .formImg h2 {
        font-size: 40px !important;
    }
    .formImg p:last-child {
        font-size: 35px !important;
    }

    .custom-navbar {
        height: 100px !important;
    }
    .nav-link{
        font-size:23px !important;
    }
    .carImgHeight{
        height:290px !important;
    }

    .customCardHeight .card-body div h4{
        font-size:25px !important;
    }
    .customCardHeight .card-body div {
        font-size: 21px !important;
    }
    .card-animate {
        width: 250px !important;
    }
}


@media (min-width: 1650px) {
    .formImg p {
        font-size: 32px !important;
    }

    .formImg h2 {
        font-size: 47px !important;
    }

    .formImg p:last-child {
        font-size: 42px !important;
    }

    .card-animate {
        width: 350px !important;
    }

    .card-container{
        gap:32px !important;
    }

    .carImgHeight {
        height: 320px !important;
    }

    .customCardHeight{
        height:400px !important;
    }

    .customCardHeight .card-body div h4 {
        font-size: 32px !important;
    }

    .customCardHeight .card-body div {
        font-size: 25px !important;
    }

}

/*review it*/

@media (max-width: 1126px) {
    html {
        font-size: 14px;
    }

    .card-animate {
        width: 190px !important;
    }

    .customCardHeight{
        height:300px !important;
        font-size:110% !important;
    }

    .carImgHeight{
        height:250px !important;
    }

    .carCardBodyHeight {
        height: 150px !important;
    }

    .getQuoteMainSize {
        font-size: 35px !important;
    }

    .getQuoteMediumSize {
        font-size: 35px !important;
    }


}

/*Revieew it*/
@media (min-width: 769px) and (max-width: 992px) 
{
    .getQuoteMainSize {
        font-size: 30px !important;
    }

    .getQuoteMediumSize {
        font-size: 30px !important;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 12px;
    }

  .minNavImg {
     width: 150px !important;
     height: auto !important;
  }

    .custom-navbar {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
   
    .custom-container {
        background-size: 30%;
    }

    .mainContainer {
        background: linear-gradient(to right, rgba(245,191,191,1) 0%,rgba(248,187,182,1) 100%);
        padding-left:0% !important;
        padding-right:0% !important;
    }

    .bgImage {
        width: 60% !important;
        height: auto;
        margin-block-start: 0 !important;
    }

    .img-container-second {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .img2{
        width:40% !important;
    }

    .card-animate {
        width: 140px !important;
    }

    .carImgHeight{
        height:145px !important;
    }

    .customCardHeight {
        height: auto !important;
        margin-bottom: 12px !important;
        font-size: 115% !important;
    }
    .custon-card-margin {
        margin-left: 0% !important;
        width: auto !important;
        border-top: 2px solid #198754 !important;
        border-left: 2px solid #198754 !important;
        border-bottom: 0 !important;
        border-right: 0 !important;
    }
    .custom-card-height{
        height:210px !important;
    }
    .img-size-third {
        width: 31%;
    }
    .titleSmallSize {
        font-size: 12px !important;
    }
    .formS {
        width: 70% !important;
        margin-top:10px !important;
    }

    .formImg {
        margin-left: 0 !important;
        width: 70% !important;
    }

    .requestButton {
        width: 50% !important;
        font-size: 9px !important;
    }
    .QuoteCol1 {
        text-align: left !important;
    }

}

@media (max-width: 576px) {
    .custom-navbar{
        height:70px !important;
    }
    .requestButton {
        width: auto !important;
        font-size: 9px !important;
    }

    .titleSmallSize {
        font-size: 10px !important;
    }

    .img-container{
        display:block !important;
        text-align:center !important;
    }

    .sticky-size{
        font-size:12px !important;
    }

    .img2 {
        display: none !important;
    }

    .bgImage {
        width: 100% !important;
    }

    .formS {
        width: 85% !important;
    }

    @keyframes blink-border-blur {

        1% {
            box-shadow: 0 0 5px 10px #ffd342 !important;
        }

        100% {
            box-shadow: 0 0 5px 5px red !important;
        }
    }

        .form-label {
            font-size: 10px !important;
        }

        .formImg {
            margin-left: 0 !important;
            display: block;
            margin: 0 auto;
        }

        .carImgHeight {
            height: 130px !important;
        }

        .formImg {
            width: 100% !important;
            margin-bottom: 14px !important;
        }

        .card-animate {
            width: 140px !important;
        }

        .card-container{
            gap:12px !important;
        }

        .card-animate p {
            font-size: 14px !important;
        }

    .sticky-element{
        display:none !important;
    }

    .custom-border {
        border-top-width: 2px !important;
        border-left-width: 2px !important;
        border-right-width: 0 !important;
        border-bottom-width: 0 !important;
    }

        .carCardBodyHeight {
            height: 110px !important;
        }

        .bgBlueImage {
            width: 95% !important;
        }

        .getQuoteRoundedBorder {
            border-radius: 1rem !important;
        }

        .getQuoteMainSize {
            font-size: 33px !important;
        }

        .size14px {
            font-size: 0.9rem !important;
        }

        .collapse.show + .contact-info {
            text-align: center; /* Center align the text */
            margin: 0 auto; /* Center horizontally */
            width: 80%; /* Ensure full width for centering */
        }

        .pNum {
            font-size: 10px !important;
        }
    }

    @media (max-width: 373px) {
        html {
            font-size: 10px !important;
        }

        .minNavImg {
            width: 132px !important;
            height: auto !important;
            margin-top:5px !important;
            margin-bottom:5px !important;
        }

        .pNum {
            display: none !important;
        }

        .img2 {
            width: 100%;
        }

        .img-size-third {
            width: 75px;
        }

        .card-animate {
            width: 140px !important;
        }

        .getquoteImg {
            width: 15% !important;
        }

        .custom-heading {
            font-size: 22px;
        }

        .custom-sub-heading {
            font-size: 18px !important;
        }

        .customCardHeight {
            height: auto !important;
        }

        .bgBlueImage {
            width: 100% !important;
        }


        .custom-card-height {
            height: 170px !important;
        }

        .titleSmallSize {
            font-size: 9px !important;
        }

        .formS {
            width: 95% !important
        }


        .form-label {
            font-size: 9px !important
        }

        .carImgHeight {
            height: 100px !important;
        }

        .carCardBodyHeight {
            height: 113px !important;
        }

        .size14px {
            font-size: 0.87rem !important;
        }

        .getQuoteMainSize {
            font-size: 30px !important;
        }
    }



    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

    html {
        position: relative;
        min-height: 100%;
    }

    body {
        margin-bottom: 60px;
    }


    .custom-navbar {
        
        padding-right: 9%;
        padding-left: 9%;
        padding-top: 0;
        padding-bottom: 1px;
    }

    .nav-link {
        position: relative;
    }

        .nav-link:after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background: #f80000;
            width: 0;
            transition: width 0.5s;
            z-index: -1;
        }

        .nav-link:hover:after {
            width: 100%;
        }

.sticky-element {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050; /* Ensure the element stays on top */
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center; /* Center content horizontally */
    justify-content: center;
    
}


.badgePosition {
    position: absolute;
    top: -15px; /* Move the badge outside of the sticky element */
    left: 50%;
    transform: translateX(-50%);
}


.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 16px;
    font-weight: bold;
    background-color: #f80000;
}

    .mainContainer {
        background: #ffeb7d;
    }

    .img-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .bgImage {
        width: 59%;
        height: auto;
    }

.bgImg3 {
    display: none !important;
}

    .img2 {
        width: 38%;
    }

    .car-bg {
        background-image: url('../img/cars-bg.jpg');
        background-size: 100%;
        background-repeat: inherit;
        background-origin: content-box;
    }

    .formBgColor {
        background: linear-gradient(to top, rgb(223 213 206) 0%,rgba(255, 255, 255,0.8) 100%);
    }

    .blinking-border {
        padding: 20px; /* Optional for content spacing */
        border: none; /* Remove the solid border */
        animation: blink-border-blur 1.2s infinite; /* Apply the blinking animation */
        position: relative;
    }

    @keyframes blink-border-blur {
        0% {
            box-shadow: 0 0 10px 5px red;
        }

        1% {
            box-shadow: 0 0 20px 10px #ffd342;
        }

        100% {
            box-shadow: 0 0 20px 5px red;
        }
    }

    .formS {
        width: 88%;
        border-radius: 10px;
    }

    .card-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 18px;
    }
    /* Custom hover effect and subtle animation */
    .card-animate {
        background-color: cornsilk;
        width: 230px;
    }

        .card-animate:hover {
            transform: translateY(-10px);
            box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
        }

        .card-animate i {
            font-size: 3rem;
            color: #f39c12;
            margin-bottom: 15px;
        }

    input {
        background-color: #f5e6a9 !important;
        border: 1px solid black !important;
        color: black !important;
    }

        input::placeholder {
            color: black !important;
        }

    select {
        background-color: #f5e6a9 !important;
        color: black !important;
        border: 1px solid black !important;
    }

    textarea {
        background-color: #f5e6a9 !important;
        color: black !important;
        border: 1px solid black !important;
     }

    .submitButton {
        background: linear-gradient(to top, rgba(248, 0, 0,1) 0%,rgba(161, 5, 5,1) 100%);
        border: none;
    }

        .submitButton:hover {
            background: linear-gradient(to top, rgba(255, 227, 227,1) 0%,rgba(237, 187, 187,1) 100%);
            color: black;
        }

    .img-container-second {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .dropdown-arrow {
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' stroke='currentColor' stroke-width='1' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E") no-repeat right 12px center;
        background-size: 12px;
        color: #6e6e6e;
        padding-right: 28px;
        cursor: pointer;
    }

    .gradientWhyCarNext {
        background: linear-gradient(to right, #7096A0 5%, #aedce6 95%);
    }

    .bgBlueImage {
        width: 80%;
    }

    .span-red {
        color: #f80000 !important;
    }

    .red-bg {
        background-color: #f80000;
    }

    .carBorderColor {
        border-color: #f5f5f5 !important;
    }

    .custom-border-color {
        border-color: #f80000 !important;
    }

    .custom-border {
        border-style: solid;
        border-top-width: 0;
        border-left-width: 0;
        border-right-width: 2px;
        border-bottom-width: 2px;
    }

    .customCardHeight {
        height: 350px;
        font-size: 110%;
    }

    .carImgHeight {
        height: 290px;
    }

    .bg-light-gray {
        background-color: rgb(244,244,244);
    }

    .carCardBodyHeight {
        height: 167px;
    }

    .span-green {
        color: #36a353;
    }

    .accordion-button.bg-blue {
        background-color: #bddbe3;
        color: black;
    }

        .accordion-button.bg-blue .fa {
            color: black;
        }

    .accordion-item:has(.accordion-collapse.show) .accordion-button {
        background-color: #4f7575;
        color: white;
    }

        .accordion-item:has(.accordion-collapse.show) .accordion-button .fa {
            color: white;
        }

    .formImg {
        margin-left: 6%;
        width: 100%;
    }

    .getQuoteRoundedBorder {
        border-radius: 50rem;
    }

    .page-item.active .page-link {
        background-color: #f80000 !important;
        border-color: #f80000 !important;
    }

    .page-link:hover {
        color: black !important;
    }

    .redButtonHover:hover {
        background-color: #d40000 !important;
    }

    .textCapitalize {
        text-transform: capitalize;
    }

    .text-justify {
        text-align: justify;
    }

    .size14px {
        font-size: 0.8rem;
    }

    #layer_carbox {
        margin-top: 65px !important;
    }

    .getQuoteMainSize {
        font-size: 45px;
    }

    .getQuoteMediumSize {
        font-size: 42px;
    }

.contact-header {
    background: linear-gradient(90deg, rgba(248, 0, 0), rgba(207, 2, 9));
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

.contact-form {
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    border-color: #6610f2;
    box-shadow: 0 0 0 0.2rem rgba(102, 16, 242, 0.25);
}

.info-box {
    background: #f8f9fa;
    color: black;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

    .info-box p {
        margin-bottom: 1rem;
    }
.sub-cont:hover {
    background: #cf0209;
}
/*    .info-box:hover {
        background: #6610f2;
    }*/
