/* xs */

@media (min-width: 350px) {
  .nav-logo {
    max-width: 100%;
    padding-bottom: 10px;
  }

  .main-category-links a {
    padding: 5px 10px;
    font-size: 10px;
  }
  .motor-card-content_home h3 {
    color: #fff;
  }
  #business-insurances {
    background-size: 0px;
  }
  #home-sec .content-holder {
    padding-top: 10%;
  }
}

@media (min-width: 576px) {
  .custom-container {
    max-width: 576px;
  }

  .main-category-links a {
    padding: 5px 15px;
    font-size: 12px;
  }
}

/* sm */
@media screen and (min-width: 640px) {
  .custom-container {
    max-width: 640px;
  }
}

/* md */
@media (min-width: 768px) {
  .custom-container {
    max-width: 768px;
  }
  .main-head-2 h1 {
    width: 70%;
    margin: 0 auto;
  }
  #awards-holder .owl-carousel .owl-item img {
    width: 60%;
  }
  #awards-holder {
    display: block;
    width: 70%;
  }
  .benifit-card-content.card-style-1 h3 {
    width: 50%;
  }
  #home-sec .content-holder {
    padding-top: 50%;
  }
}

@media (min-width: 992px) {
  .stats-holder .col-md-1,
  .stats-holder .col-sm-1,
  .stats-holder .col-lg-1 {
    width: 14.285714285714285714285714285714%;
    *width: 14.285714285714285714285714285714%;
  }
  .nav-icon {
    display: block;
  }
}

/* lg */
@media (min-width: 1024px) {
  .custom-container {
    max-width: 1024px;
  }
  #middle-menu {
    border-bottom: 1px solid #fff;
    padding: 40px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .hide {
    display: block;
  }
  ul.primary-menu {
    text-align: unset;
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin-bottom: 0;
  }

  .offer-box-wrapper {
    width: 80%;
  }
  .general-insurances-cat-holder {
    justify-content: center;
  }
  .main-head-2 h1 {
    width: 50%;
    margin: 0 auto;
  }
  .menu-wraper h4 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: left;
  }
  li.links {
    text-align: left;
    display: block;
    margin-bottom: 0;
  }
  #top-menu li.links a,
  #middle-menu li.links a,
  #bottom-menu li.links a {
    font-size: 13px;
    gap: 5px;
  }
  .footer-address p {
    font-size: 13px;
    line-height: 25px;
    text-align: left;
  }
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    justify-content: flex-end;
    flex-direction: column-reverse;
    align-items: flex-end;
  }
  .navbar-collapse {
    padding-top: 0;
  }
  #general-insurances {
    background-image: url(../images/general-insurances-desktop-bg.jpg);
  }
  #business-insurances {
    background-image: url(../images/business-insurances-desktop-bg.jpg);
    background-size: cover;
    background-position: center;
    background-position-y: -20%;
  }
  .social-links {
    justify-content: flex-start;
  }
  footer #top-menu .logo img {
    margin: 0;
  }
  ul.third-menu {
    display: flex;
    gap: 40px;
    margin-bottom: 0;
  }
  .copyright p {
    font-size: 15px;
    line-height: normal;
    text-align: right;
  }
  .benifit-card-content.card-style-1 h3 {
    width: 70%;
  }
  #exclusive-benefits-mobile {
    display: none;
  }
  #exclusive-benefits-desktop {
    display: flex;
  }
  .top-menu .nav-btn a {
    display: block;
    background-color: #f84242;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 20px;
  }
  .navbar-collapse {
    padding-top: 10px;
  }
  .navbar-expand-lg {
    padding: 0;
  }
  .top-menu {
    margin-bottom: 20px;
    display: flex;
  }
  #collapsibleNavId {
    display: flex;
    flex-direction: column-reverse;
    align-content: flex-end;
    align-items: flex-end;
    padding-top: 0;
  }
  .navbar-expand-lg .navbar-nav {
    gap: 50px;
    padding-bottom: 0;
  }
  .language-option {
    display: flex;
  }
  li.nav-item {
    display: flex;
    margin-bottom: 0;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .navbar-collapse {
    padding: 0;
  }
  #home-sec {
    margin-top: 120px;
  }
  #home-sec .content-holder {
    padding-top: 0;
  }
  .dropdown-item {
    padding: 10px 20px;
  }
  .dropdown-menu.show {
    background-color: #f1f5f5;
    border-radius: 0;
  }
  .offer-box-wrapper {
    margin-bottom: 0;
  }

  .top-menu .nav-btn a:hover {
    background-color: #00adbb;
    transition: all 0.5s;
  }
  /* NAV BAR 2  */

  .top-menu .nav-btn {
    display: block;
  }
  .dropdown-menu[data-bs-popper] {
    margin-top: 2px;
  }
  .nav-logo {
    max-width: 25%;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    font-weight: 500;
    font-size: 11px;
    transition: all 0.5s;
  }
  .navbar-expand-lg .navbar-nav .nav-link:hover {
    color: #f84242;
    transition: all 0.5s;
  }
}

/* xl */
@media (min-width: 1280px) {
  .custom-container {
    max-width: 1280px;
  }

  .offer-box-wrapper {
    width: 70%;
  }

  #awards-holder {
    width: 60%;
  }
  #awards-holder .owl-carousel .owl-item img {
    width: 50%;
  }
  #motor-insurances-mobile {
    display: none;
  }
  #motor-insurances-desktop {
    display: flex;
  }
  #motor-insurances-desktop h1 {
    font-size: 50px;
    line-height: 50px;
    text-align: left;
    width: 40%;
    margin-bottom: 0;
  }
  .motor-card-content h3 {
    line-height: 30px;
    margin-bottom: 15px;
    font-size: 30px;
  }
  .motor-card-content p {
    width: 80%;
    font-size: 18px;
  }
  .motor-card {
    padding: 30px;
    width: 80%;
  }
  .motor-card-content h3 {
    line-height: 30px;
    margin-bottom: 20px;
    font-size: 30px;
  }
  .side-image {
    width: 45%;
  }
  .main-head-3 h1 {
    width: 35%;
    font-size: 50px;
    margin-bottom: 50px;
  }
  .main-head-2 h1 {
    width: 35%;
    margin: 0 auto;
    font-size: 40px;
  }
  .main-head h1 {
    width: 35%;
    font-size: 50px;
  }
  #testimonial-slider .item p {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 20px;
    text-align: left;
  }
  #testimonial-slider .item .user-name {
    font-size: 20px;
    text-align: left;
    display: block;
  }
  #testimonial-slider .item .rating {
    margin-bottom: 20px;
    text-align: left;
  }

  .benifit-card {
    padding: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  .benifit-card-content.card-style-1 h3,
  .benifit-card-content.card-style-2 h3,
  .benifit-card-content.card-style-3 h3 {
    font-size: 40px;
    font-weight: 600;
    line-height: 40px;
  }

  .benifit-card-content.card-style-2 a i {
    margin-bottom: 20px;
  }

  .benifit-card-content.card-style-1,
  .benifit-card-content.card-style-3 {
    width: 85%;
  }

  .benifit-card-wrapper {
    background-repeat: no-repeat;
    background-size: cover;
  }

  .benifit-card i {
    color: var(--white);
    border-radius: 50%;
    border: 2px solid var(--white);
    height: 50px;
    width: 50px;
    display: flex;
    line-height: 48px;
    font-size: 25px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  .benifit-card p {
    margin-bottom: 0;
    margin-top: 20px;
  }
  #home-sec h1 {
    font-size: 45px;
    line-height: 50px;
  }
  #home-sec h1:last-child {
    color: var(--dark-green);
    font-size: 60px;
  }
  footer ul li:last-child {
    margin-bottom: 0;
  }
  #general-insurances {
    background-position-y: 50%;
  }
  .navbar-expand-lg .navbar-nav {
    gap: 40px;
    padding-bottom: 10px;
  }
  .top-menu {
    margin-bottom: 20px;
    display: flex;
  }
  .navbar-nav .nav-item a {
    color: var(--dark-green);
    font-size: 13px;
  }
  #home-sec {
    margin-top: 110px;
  }
  #awards-holder {
    margin: 50px auto 50px auto;
  }
  li.links {
    margin-bottom: 0;
  }
  .dropdown-menu.show {
    margin-top: 12px;
  }

  .offer-content p {
    font-size: 20px;
  }
  #about-sec .content-holder h4 {
    width: 80%;
  }
  .cat-card {
    width: 180px;
    padding: 20px;
  }
  .general-insurances-cat-holder {
    margin-top: 60px;
    margin-bottom: 10%;
  }

  .main-head h1 {
    font-size: 40px;
    width: 40%;
  }
  .card-content h4 {
    font-size: 15px;
  }
  .insure-online-wrapper .caption p {
    font-size: 20px;
  }
  .cursor {
    display: block;
  }
}

/* 2xl */
@media (min-width: 1536px) {
  .custom-container {
    max-width: 1536px;
  }
  .offer-box-wrapper {
    width: 60%;
  }
  .motor-card-content h3 {
    line-height: 40px;
    margin-bottom: 20px;
    font-size: 40px;
  }
}
