/* XL Device :1200px. */
@media (min-width: 1200px) and (max-width: 1449px) {}

/* LG Device :992px. */
@media (min-width: 992px) and (max-width: 1200px) {

    .hero__slider__content {
        max-width: 65%;
    }

    .service__grid {
        gap: 15px;
    }

    .banner__wrapper {
        padding-block: 45px;
    }

    .blog__post__title {
        font-size: 25px;
        line-height: 120%;
    }

    .footer__single__navigation ul li a {
        font-size: 14px;
    }

    .footer__right {
        width: 60.3%;
        gap: 50px;
    }

    .footer__left {
        width: 30.2%;
    }

    .footer__left__wrapper p {
        font-size: 14px;
        margin-block: 20px;
    }

    .teamMember__image {
        width: 220px;
    }

    .single__team__member {
        gap: 20px;
        width: 49%;
    }

    .team__title {
        margin-bottom: 50px;
    }

    .page__navigation {
        padding: 30px;
    }
}


/* MD Device :768px. */
@media (min-width: 768px) and (max-width: 991px) {

    .hero__slider__content {
        max-width: 100%;
    }

    .hero__slider__text h1 {
        font-size: 60px;
        line-height: 105%;
    }

    .hero__slider__dotted {
        bottom: 40px;
    }

    .single__brand:nth-child(1) .brand__wrapper img {
        width: 130.316px;
        padding-bottom: 30px;
    }

    .single__brand:nth-child(2) .brand__wrapper img {
        width: 105.632px;
    }

    .single__brand:nth-child(3) .brand__wrapper img {
        width: 160px;
    }

    .poster__box {
        gap: 110px;
    }

    .poster__top h1 {
        font-size: 35px;
    }

    .poster__bottom p {
        max-width: 80%;
    }

    .service__area {
        padding-block: 60px;
    }

    .service__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .service__text {
        max-width: 100%;
    }

    .banner__wrapper {
        padding-block: 30px;
    }

    .banner__content__wrap {
        padding: 30px 50px;
        max-width: 480px;
    }

    .content__text p {
        margin-block: 15px;
    }

    .blog__post__title {
        font-size: 25px;
    }

    .single__blog {
        width: 47.7%;
    }

    .blog__flex {
        row-gap: 35px;
    }

    .content__text {
        width: 39%;
    }

    .content__text h1 {
        font-size: 40px;
    }

    .footer__left {
        width: 60.2%;
    }

    .footer__right {
        gap: 40px;
        margin-top: 60px;
        width: 100%;
    }

    .single__model {
        width: 31.5%;
        margin-bottom: 37px;
    }

    .custom-select {
        width: 48.78%;
    }

    .single__input__container {
        width: 48%;
    }

    .single__input__container {
        width: 100%;
    }

     .form__flex__group .custom-select {
        margin: 0;
        width: 100%;
    } 

    .form__personal__info .single__input__container {
        width: 48.78%;
    }

    .form__dropdown__container {
        gap: 0;
        justify-content: space-between;
    }

    .form__flex__group {
        flex-wrap: wrap;
        column-gap: 1;
    }

    .about__image {
        width: 70%;
        margin: auto;
    }

    .about__text {
        width: 100%;
        order: 2;
        margin-top: 50px;
    }

    .single__team__member {
        width: 100%;
    }

    .team__title {
        margin-bottom: 50px;
    }

    .team__area {
        padding-block: 80px;
    }

    .page__navigation {
        padding: 30px;
        width: 33%;
    }

    .mega__brand__navigation {
        padding: 30px 30px 0px 30px;
        width: 67%;
    }

    .single__brand__navigation {
        width: 50%;

    }

    .single__brand__navigation:nth-child(3) {
/*         margin-top: 40px;
 */    }

    .brand__contact {
        padding-block: 20px;
        margin-top: 24px;
    }

    .brand__contact__button a {
        font-size: 14px;
        padding: 6px 15px;
    }

    .megaMenu {
        border: 1px solid #000;
    }
}


/* SM Small Device :320px. */
@media only screen and (min-width: 320px) and (max-width: 767px) {

    .header__brand {
        display: none !important;
    }

    .header__logo img {
        width: 139px;
    }

    .hero__slider__logo svg {
        width: 105px;
    }

    .hero__slider__text h1 {
        font-size: 44px;
        margin-top: 20px;
    }

    .hero__slider__content {
        max-width: 100%;
    }

    .hero__single__slider {
        padding-block: 60px 100px;
        height: calc(100vh - 62px);
    }

    .hero__slider__nav {
        bottom: 30px;
    }

    .hero__slider__dotted {
        bottom: 50px;
        left: 20px;
        transform: unset;
    }

    .hero__slider__button {
        gap: 12px;
        flex-direction: column;
        align-items: start;
    }

    .brand__title h1 {
        font-size: 36px;
    }

    .brand__area {
        padding-block: 60px 20px;
    }

    .single__brand {
        width: 100%;
    }

    .brand__flex {
        row-gap: 12px;
    }

    .poster__area {
        padding-block: 40px;
    }

    .single__poster {
        width: 100%;
    }

    .poster__box {
        gap: 117px;
        padding: 30px;
    }

    .poster__bottom p {
        max-width: 80%;
    }

    .poster__top h1 {
        font-size: 36px;
    }

    .service__area {
        padding-block: 60px;
    }

    .service__title h1 {
        font-size: 40px;
    }

    .service__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .single__service {
        padding: 20px 16px;
    }

    .service__icon img {
        width: 80px;
    }

    .service__text p {
        font-size: 16px;
        line-height: 130%;
    }

    .service__bg {
        padding: 50px 30px;
    }

    .service__text h1 {
        font-size: 28px;
    }

    .banner__content__wrap {
        padding: 0 20px;
    }

    .banner__wrapper {
        padding-block: 209px 40px;
        border-radius: 45px;
        align-items: start !important;
    }

    .banner__text h1 {
        font-size: 36px;
        padding-block: 20px 6px;
    }

    .banner__text .car__price {
        font-size: 32px;
        margin-block: 6px;
    }

    .banner__button .offer__btn {
        margin-top: 30px;
    }

    .banner__area {
        padding-block: 10px 30px;
    }

    .poster__flex {
        gap: 10px;
    }

    .content__wrapper {
        width: 100%;
    }

    .content__text {
        width: 100%;
        order: 2;
    }

    .content__flex {
        gap: 20px;
    }

    .content__text h1 {
        font-size: 36px;
    }

    .content__text p {
        margin-block: 16px;
    }

    .blog__area {
        padding-block: 60px;
    }

    .blog__title p {
        margin-bottom: 20px;
    }

    .blog__title h1 {
        font-size: 36px;
    }

    .blog__title {
        margin-bottom: 39px;
    }

    .single__blog {
        width: 100%;
    }

    .footer__area {
        padding-block: 60px 20px;
    }

    .footer__left {
        width: 100%;
        margin-bottom: 60px;
    }

    .footer__right {
        width: 100%;
    }

    .footer__nav__flex {
        gap: 60px;
        flex-direction: column;
    }

    .content__container .content__flex {
        padding-block: 40px;
    }

    .single__model {
        width: 49%;
    }

    .model__info h1 {
        font-size: 21px;
        text-align: center;
    }

    .view__btn {
        width: 100%;
        justify-content: center;
    }

    .model__info {
        margin-top: 0;
        padding: 12px;
    }

    .model__area {
        padding-block: 40px;
    }

    .model__tab__button #pills-tab {
        width: 655px;
    }

    .model__tab__button {
        overflow-x: scroll;
    }

    .contact__area {
        padding-block: 20px;
    }

    .contact__wrapper {
        padding: 40px 20px 20px 20px;
    }

    .custom-select {
        width: 100%;
    }

    .form__dropdown__container {
        flex-wrap: wrap;
    }

    .single__input__container {
        width: 100%;
    }

    .form__flex__group {
        flex-wrap: wrap;
    }

    .form__personal__info .single__input__container {
        width: 100%;
    }

    .form__submit__button button {
        width: 100%;
    }

    .page__title__text h1 {
        font-size: 40px;
    }

    .page__title__content {
        padding-top: 128px;
    }

    .article__area {
        padding-block: 40px;
    }

    .single__article h1.heading1__article {
        font-size: 40px;
    }

    .heading2__article {
        font-size: 36px;
    }

    .heading3__article {
        font-size: 28px;
    }

    .serviceSlider__title__text h1 {
        font-size: 40px;
    }

    .serviceSlider__navigation {
        display: none !important;
    }

    .page__starter {
        padding-block: 40px;
    }

    .page__starter__text p {
        font-size: 18px;
    }

    .page__starter__image img {
        border-radius: 20px;
    }

    .single__achievement {
        width: 100%;
        flex-direction: column;
        align-items: start !important;
        gap: 10px;
    }

    .achievement__flex {
        gap: 40px;
        flex-wrap: wrap;
    }

    .achieve__number span {
        font-size: 40px;
    }

    .about__text {
        width: 100%;
        order: 2;
        margin-top: 40px;
    }

    .about__image {
        width: 100%;
    }

    .about__area {
        padding-block: 60px;
    }

    .about__text h1 {
        font-size: 40px;
    }

    .about__counter {
        margin-top: 40px;
    }

    .single__counter span {
        font-size: 36px;
    }

    .about__content {
        gap: 120px;
    }

    .location__area {
        padding-block: 60px;
    }

    .locaiton__title__left h1 {
        font-size: 40px;
    }

    .location__right {
        display: none;
    }

    .location__place a {
        font-size: 18px;
    }

    .location__place svg {
        flex-shrink: 0;
    }

    .locaiton__info {
        width: 100%;
        gap: 30px;
    }

    .location__image {
        width: 100%;
        margin-top: 40px;
    }

    .direction__button__mobile {
        margin-top: 40px;
    }

    .team__area {
        padding-block: 60px;
    }

    .team__title h1 {
        font-size: 40px;
    }

    .team__title {
        margin-bottom: 40px;
    }

    .teamMember__image {
        width: 100%;
        margin: auto;
    }

    .teamMember__info h1 {
        font-size: 28px;
    }

    .single__team__member {
        gap: 16px;
        width: 100%;
        flex-direction: column;
        align-items: start !important;
    }

    .teamMember__info h5 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .team__flex {
        row-gap: 40px;
    }

    .blog__post__title {
        font-size: 28px;
    }

    .modal__button {
        padding: 0;
    }

    .container2.megaMenu__container {
        padding: 0;
    }

    .page__navigation {
        width: 100%;
    }

    .mega__brand__navigation {
        width: 100%;
        order: 2;
    }

    .megaMenu {
        top: 62px;
        border-radius: 0 0 40px 40px;
        max-width: 100%;
        transform: scaleY(0);
        transform-origin: top;
        border-bottom: 1px solid #000;
    }

    .megaMenu__content ul {
    }

    .brand__contact {
        flex-direction: column;
        align-items: start;
        padding: 20px 0;
        padding-bottom: 40px;
    }

    .brand__contact__button {
        flex-direction: column;
    }

    .brand__contact__button a {
        text-align: center;
        font-size: 17.016px;
        font-weight: 500;
        line-height: 20px;
        padding: 12px 24px;
    }
}


/* SM Small Device :550px. */
@media only screen and (min-width: 576px) and (max-width: 767px) {

    .teamMember__image {
        width: 60%;
        margin: auto;
    }

    .teamMember__info {
        width: 60%;
        margin: auto;
    }
}

@media (max-width: 1200px) {
    .videos .article__content .single__article{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 890px) {
    .videos .article__content .single__article{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
  .single__brand__navigation {
    flex: 1 1 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
  }

    .videos .article__content .single__article{
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 446px) {
  .single__brand__navigation {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
