/* range */
@media screen and (min-width: 768px) and (max-width: 1157px) {
    .search-and-icons {
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* max */
@media screen and (max-width: 1447px) {
    .header-search {
        width: 400px;
    }
}

@media screen and (max-width: 1400px) {
    .create-event-content {
        padding-inline: 5%;
        padding-block: 5%;
    }
}

@media screen and (max-width: 1340px) {
    .header-search {
        width: 300px;
    }

    .event-detail-card .event-text-title {
        font-size: 32px;
        line-height: 32px;
    }

    .green-btn-2 {
        font-size: 22px;
    }

    .green-btn-2 img {
        width: 45px;
    }
    .category-card .ticket-price {
        font-size: 16px;
        line-height: 16px;
    }
    .event-image img {
        height: 194px;
    }
}

@media screen and (max-width: 1240px) {
    .header-search {
        width: 100%;
    }

    .navbar .navbar-collapse {
        /* display: flex; */
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        margin-left: 5px;
    }

    .btn-digital-wallet {
        margin-right: 10px;
    }

    .btn-notification {
        margin-right: 10px;
    }

    .search-container {
        margin-right: 5px;
    }

    .profile-dropdown {
        margin-left: 10px;
    }

    .blue-btn {
        padding: 8px 10px;
        height: 40px;
    }

    .green-btn {
        padding: 8px 10px;
        height: 40px;
    }

    .green-btn-2 {
        padding: 8px 10px;
        height: 40px;
    }

    .navbar .navbar-brand img {
        width: auto;
        height: 40px;
    }

    .header-search {
        height: 40px !important;
    }

    .header-dropdown {
        height: 40px;
    }

    .profile-initials {
        width: 40px;
        height: 40px;
    }

    .header-dropdown .nav-link.dropdown-toggle {
        gap: 5px;
    }

    .banner-info {
        padding-block: 25px;
    }

    .banner-info a {
        padding: 8px;
        font-size: 17px;
        max-width: 160px;
    }

    .banner-info .title {
        font-size: 62px;
        line-height: 62px;
    }

    .create-event-content .title {
        font-size: 54px;
        line-height: 54px;
    }

    .banner-info .sub-title {
        font-size: 21px;
        line-height: 21px;
        margin-block: 15px;
    }

    .testimonials .section-heading {
        font-size: 62px;
        line-height: 62px;
    }
}

@media screen and (max-width: 1200px) {
    .form-card {
        padding: 20px;
    }

    .banner-info {
        padding-block: 23px;
    }

    .banner-info a {
        padding: 7px;
        font-size: 15px;
        max-width: 140px;
    }

    .banner-info .title {
        font-size: 52px;
        line-height: 52px;
    }

    .create-event-content .title {
        font-size: 44px;
        line-height: 44px;
    }

    .banner-info .sub-title {
        font-size: 19px;
        line-height: 19px;
        margin-block: 12px;
    }

    .create-event-section .info-card {
        font-size: 12px;
        padding: 4px 20px 4px 5px;
    }

    .create-event-section .info-card img {
        width: 28px;
        height: 28px;
    }

    .create-event-content {
        padding-inline: 10%;
        padding-block: 5%;
    }

    .event-type-card img {
        width: 180px;
        height: 180px;
    }

    .event-type-cards {
        max-width: 750px;
    }

    .testimonials .section-heading {
        font-size: 52px;
        line-height: 52px;
        max-width: 780px;
    }

    .testimonial-card {
        padding: 15px;
        max-width: 285px;
        margin-inline: 12px;
        margin-bottom: 24px;
    }

    .testimonial-card img {
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }

    .testimonial-card .title {
        font-size: 16px;
        font-weight: 600;
        line-height: 18px;
    }

    .testimonial-card .sub-title {
        font-size: 14px;
        line-height: 18px;
    }

    .testimonial-card p {
        margin-top: 12px;
        font-size: 14px;
    }

    .list-your-event .sub-title {
        max-width: 460px;
    }
}

@media screen and (max-width: 1100px) {
    /* .category-card {
        padding: 24px;
    } */

    .white-card {
        padding: 24px;
    }

    .event-faqs {
        padding: 24px;
    }

    .create-event-content .title {
        font-size: 44px;
        line-height: 44px;
    }

    .create-event-content {
        padding-inline: 5%;
        padding-block: 5%;
    }

    .testimonials .section-heading {
        font-size: 44px;
        line-height: 44px;
    }

    .list-your-event {
        margin-top: 10px;
        margin-bottom: 65px;
        padding-inline: 3%;
        padding-block: 1%;
    }
    .event-detail-card .event-text-title {
        font-size: 30px;
        line-height: 30px;
    }

    .green-btn-2 {
        font-size: 18px;
    }

    .green-btn-2 img {
        width: 35px;
    }
    .event-detail-card .event-tag {
        margin-block: 15px;
    }

    .event-tag span {
        font-size: 10px;
    }
    .event-image img {
        height: 161px;
    }
}

@media screen and (max-width: 992px) {
    .event-details-div {
        /* margin-top: 0px; */
    }

    .search-and-icons {
        display: flex !important;
        justify-content: end !important;
        gap: 10px;
    }

    .banner-info .title {
        font-size: 45px;
        line-height: 45px;
    }

    .create-event-content .title {
        font-size: 37px;
        line-height: 37px;
    }

    .banner-info .sub-title {
        font-size: 18px;
        line-height: 18px;
        margin-block: 12px;
    }

    .head-section-2 {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: end;
    }

    .testimonials .section-heading {
        font-size: 45px;
        line-height: 45px;
    }

    .list-your-event {
        justify-content: center;
    }

    .list-your-event .create-event-btn {
        margin-bottom: 20px;
    }

    footer .footer-mobile {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .footer-logo {
        width: 180px;
        height: auto;
        border-radius: 5px;
    }

    footer .footer-links {
        flex-wrap: wrap;
    }
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .event-detail-card .event-text {
        border: none;
        padding: 38px 0px 0px 0px;
    }
    .organiser-left {
        corner-bottom-right-shape: scoop;
        corner-bottom-left-shape: scoop;
        corner-top-right-shape: unset;
    }
    .organiser-right {
        flex: 1 1 65%;
        border-radius: 25px;
        corner-bottom-left-shape: unset;
        corner-top-right-shape: scoop;
        corner-top-left-shape: scoop;
    }
    .go-back {
        margin-block: 22px;
    }
    #event-bib-info table {
        font-size: 12px;
    }
    #event-bib-info table td:first-child {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }
    #event-bib-info table td {
        padding: 0 10px;
    }
    .event-faqs {
        padding: 0px;
    }
    #event-bib-info .event-location {
        margin-left: 10px;
    }
    .order-summary-header {
        display: block;
        justify-items: right;
    }
    .order-summary-header .summary-toggle {
        margin-bottom: 20px;
    }
    .event-image img {
        height: 183px;
    }
}

@media screen and (max-width: 989px) {
    /* desktop only */
    .city-buttons .city-btn img {
        width: 50px;
        height: 50px;
    }

    .city-buttons .city-info .city-name {
        font-size: 18px;
    }

    .city-buttons .city-info .city-count {
        font-size: 13px;
    }

    .city-buttons .city-btn {
        padding: 5px 25px 5px 5px;
        gap: 14px;
        flex-shrink: 0;
    }

    .city-buttons {
        gap: 10px;
        width: max-content;
        overflow: hidden;
        white-space: nowrap;
        animation: scroll-left 20s linear infinite;
    }

    .create-event-content-2 .title {
        font-size: 24px;
        line-height: 24px;
    }
}

@media screen and (max-width: 767.98px) {
    .custom-search {
        margin-bottom: 10px;
        /* margin-top: 20px; */
    }

    .custom-search ul {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        margin-bottom: 10px;
        height: 100%;
        padding-inline: 10px;
    }

    .header-dropdown .nav-link.dropdown-toggle {
        padding-block: 5px;
    }

    .header-search {
        width: 100%;
        min-width: 300px;
    }

    #scroller-head.fixed {
        top: 70px;
    }

    .navbar-collapse {
        position: fixed;
        top: 70px;
        /* keep logo visible */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        /* full screen height minus navbar */
        background: #fff;
        padding: 1.5rem;
        overflow-y: auto;
        z-index: 1040;
        /* lower than modal (modal uses 1055+) */
    }

    .modal {
        z-index: 2000 !important;
        /* ensure modal always above */
    }

    .navbar-collapse.show {
        display: block;
    }

    .navbar-toggler {
        z-index: 1100;
        /* keep toggle above menu */
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1100;
    }

    .login-btn {
        margin-left: 0px;
    }

    body {
        padding-top: 72px;
        /* match navbar height */
    }

    .search-and-icons {
        flex-direction: row;
        /* desktop row */
        gap: 0;
    }

    .head-section-1 {
        flex-wrap: wrap;
        gap: 16px;
        order: 1;
    }

    .head-section-2 {
        order: 2;
        display: flex;
        justify-content: end;
        flex-flow: column-reverse;
        margin-bottom: 16px;
        margin-right: auto;
    }

    .profile-dropdown {
        margin-left: 0px;
    }

    .navbar .navbar-collapse {
        margin-left: 0px;
    }

    .blue-btn,
    .btn-notification,
    .btn-digital-wallet {
        width: fit-content;
    }

    .navbar .navbar-brand img {
        width: auto;
        height: 45px;
    }

    .banner-info .title {
        font-size: 42px;
        line-height: 42px;
    }

    .create-event-content .title {
        font-size: 34px;
        line-height: 34px;
    }

    .banner-info .sub-title {
        font-size: 16px;
        line-height: 16px;
        margin-block: 10px;
    }

    .banner-info a {
        padding: 6px;
        font-size: 14px;
        max-width: 123px;
    }

    .create-event-content {
        padding-inline: 0%;
        padding-block: 5%;
    }

    .testimonials .section-heading {
        font-size: 42px;
        line-height: 42px;
    }

    .mobile-gap {
        margin-top: 25px;
        background: var(--body-background-color);
        padding: 20px;
        border-radius: 10px;
    }

    .category-card {
        padding-bottom: 24px;
    }
    .summary-subtotal-div {
        flex-wrap: wrap;
        justify-content: end;
    }

    .participant-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .participant-details {
        padding: 10px 15px;
    }

    .payment-section .nav .nav-item {
        width: 50%;
    }
    .event-image img {
        height: 134px;
    }
}

@media screen and (max-width: 700px) {
    .hosting-section {
        padding: 22px 24px;
    }

    .banner-info .title {
        font-size: 30px;
        line-height: 30px;
    }

    .create-event-content .title {
        font-size: 28px;
        line-height: 28px;
        margin-block: 30px;
    }

    .banner-info .sub-title {
        font-size: 14px;
        line-height: 14px;
        margin-block: 8px;
    }

    #filterModal .modal-header {
        margin-inline: 0px;
    }

    #filterModal .modal-body {
        margin-inline: 0px;
    }

    .create-event-section .create-event-btn {
        padding: 8px 25px;
    }

    .create-event-content-2 .create-event-btn {
        padding: 8px 25px;
    }

    .event-type-card img {
        width: 150px;
        height: 150px;
    }

    .event-type-card .type-name {
        font-size: 18px;
    }

    .create-event-content-2 .create-event-btn {
        margin-bottom: 15px;
    }

    .create-event-content-2 .title {
        font-size: 18px;
        line-height: 18px;
    }

    .create-event-content-2 .sub-title {
        font-size: 12px;
    }

    .testimonials .section-heading {
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 30px;
    }
    .home-banner-carousel .nav-btn {
        font-size: 27px;
        padding: 1px;
    }
    .home-banner-carousel .owl-nav {
        bottom: 10%;
    }
}

@media screen and (max-width: 600px) {
    .create-event-content {
        padding-inline: 5%;
        padding-block: 5%;
    }

    .create-event-section .info-card img {
        width: 20px;
        height: 20px;
        padding: 3px;
    }

    .create-event-section .info-card {
        font-size: 10px;
    }

    .create-event-content .title {
        font-size: 24px;
        line-height: 24px;
        margin-block: 20px;
    }

    .create-event-section .create-event-btn {
        padding: 7px 20px;
    }

    .create-event-content-2 .create-event-btn {
        padding: 7px 20px;
    }

    .testimonials .section-heading {
        font-size: 32px;
        line-height: 32px;
        margin-bottom: 20px;
        padding-inline: 10px;
    }

    .create-event-content-2 {
        margin-bottom: 0px;
    }

    .footer-links div {
        width: 100%;
    }

    .footer-logo {
        width: 100%;
        max-width: 200px;
    }

    footer .footer-mobile {
        justify-content: center;
    }

    footer .footer-links {
        flex-wrap: wrap;
        text-align: center;
    }

    .list-your-event .text {
        flex-wrap: wrap;
    }

    .list-your-event img {
        width: 85px;
        padding: 0px;
        margin-right: 0px;
    }

    .list-your-event .create-event-btn {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .list-your-event {
        justify-content: left;
    }

    .sub-div-summary {
        flex-wrap: wrap;
        justify-content: end;
    }
    .form-card {
        padding: 20px 5px;
    }
}

@media screen and (max-width: 500px) {
    .carousel-container .next-slide {
        background: none;
    }
    .upi-section .form-section {
        padding: 20px 10px 60px 10px;
    }
    #upi {
        padding: 0px;
    }
    .event-image img {
        height: 200px;
    }
}

/* min */
@media screen and (min-width: 1200px) {
    .custom-container {
        max-width: 1140px;
    }
}

@media screen and (min-width: 1024px) {
    .navbar {
        letter-spacing: 0.1em;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0.5em 0.5em;
    }

    .search-and-icons {
        width: 100%;
    }

    .search-and-icons form {
        flex: 1;
    }
}

@media screen and (min-width: 992px) {
    .custom-container {
        max-width: 960px;
    }
}

@media screen and (min-width: 768px) {
    .navbar {
        padding-block: 18px;
    }

    .navbar .navbar-brand img {
        /* max-width: 7em; */
    }

    .navbar .navbar-collapse {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .search-and-icons {
        display: flex;
        justify-content: space-between;
    }

    /* desktop only */
    .sticky-content {
        position: sticky;
        top: 25px;
        /* adjust to match your navbar/scroller height */
        height: fit-content;
        /* so it doesn't stretch */
        z-index: 9;
        /* stay above content */
    }
    .page-hero h1, .page-hero-2 h1 {
        font-size: 32px;
    }
}
