.nav-2 {
    border-bottom: 1px solid #ddd;
    margin: 0;
}
.bg-search-box {
    margin-left: 6rem;
    margin-right: 5rem;
}

.search-box {
    flex-grow: 1;
    display: flex;
    height: 42px;
    /* align-items: center; */
    /* margin-left: 50px; */
}

.search-box-input {
    border: 1px solid #007bff;
    border-radius: 8px 8px 8px 8px;
}

.search-box .select2-container--default {
    /* border: 1px solid #007bff; */
}
.search-box select {
    width: auto;
    min-width: 180px;
}
.search-box .select2-container--default .select2-selection--single {
    border-radius: 1px !important;
    height: 41px !important;
    width: 180px;
    border: none;
    border-top: 1px solid #007bff;
    border-bottom: 2px solid #007bff;
}

.search-box
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 40px;
}
.search-box
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 40px;
}

/* search box small */
.search-box-sm {
    height: auto;
}
.search-box-sm .search-box-input {
    border: 2px solid #007bff;
    border-radius: 5px 5px 5px 5px;
}

.search-box-sm .select2-container--default .select2-selection--single {
    width: auto;
}

.search-box input {
    border-radius: 50px 0 0 50px;
    padding: 10px;
    width: 100%;
    outline: none;
}

.search-box select {
    border-radius: 0;
    border: 1px solid #007bff !important;
    outline: none;
}

.search-box button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px 20px;
    /* border-radius: 0 10px 10px 0; */
    width: 140px;
}
.custom-select {
    border: 1px solid #ccc;
    width: 200px;
    cursor: pointer;
    text-align: left;
    width: 30% !important;
}

.btn-search {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 0 !important;
    height: 38px;
    display: flex;
    align-items: center;
}

.profile-icon {
    width: 30px;
    height: 30px;
    background-color: #d3d3d3;
    border-radius: 50%;
    display: inline-block;
}

.join-btn {
    color: white;
    background-color: #007bff;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 1000px) {
    .hide-big-screen {
        display: none;
    }
}
@media (max-width: 555px) {
    /* .search-box {
        flex-grow: 1;
        display: flex;
        align-items: center;
        margin-left: 0px !important;
    } */
}

@media (max-width: 470px) {
    /* .search-box {
        padding: 0px 30px 0 30px !important;
    } */
    .navbar-brand {
        /* padding: 0px 30px 5px 30px !important; */
        margin-bottom: 5px;
    }
    /* #hambeger {
        padding: 0px 30px 0 30px !important;
    } */
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
    font-family: "Poppins", sans-serif;
}
nav {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    /* position: absolute;
    z-index: 99; */
    width: 100%;
    background: #fff;
}
nav .wrapper {
    height: auto;
    line-height: 33px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;

    /* 
    max-width: 1500px;
    padding: 0px 30px; */
}
.wrapper .logo a {
    color: #f2f2f2;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
}
.wrapper .nav-links {
    display: contents;
}
.nav-links li {
    list-style: none;
    margin-left: 3rem;
}
.nav-links li a {
    color: #1c1c1c;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 9px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
}
/* .nav-links li a:hover {
        background: #3a3b3c;
      } */
.nav-links .mobile-item {
    display: none;
}
.nav-links .drop-menu {
    position: absolute;
    background: #5f88b1;
    width: 180px;
    line-height: 45px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
    transition: all 0.3s ease;
    top: 70px;
    opacity: 1;
    visibility: visible;
}
.drop-menu li a {
    width: 100%;
    display: block;
    padding: 0 0 0 15px;
    font-weight: 400;
    border-radius: 0px;
}
.mega-box {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0 30px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
    background-color: #fff;
}
.mega-box .content {
    /* background: #3879bb; */
    padding: 25px 20px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.mega-box .content .row {
    width: calc(25% - 30px);
    line-height: 45px;
}
.content .row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.content .row header {
    font-size: 20px;
    font-weight: 500;
}
.content .row .mega-links {
    margin-left: -40px;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.row .mega-links li {
    padding: 0 20px;
}
.row .mega-links li a {
    padding: 0px;
    padding: 0 20px;
    color: #000;

    font-size: 17px;
    display: block;
}
.row .mega-links li a:hover {
    color: #f2f2f2;
}
.wrapper .btn {
    color: #000;
    font-size: 20px;
    cursor: pointer;
    display: none;
}
.wrapper .btn.close-btn {
    position: absolute;
    right: 30px;
    top: 10px;
}
#hambeger {
    display: none;
    border: 1px solid;
}
/* show hamberger menu*/
@media screen and (max-width: 970px) {
    .wrapper .btn {
        display: block;
    }
    #hambeger {
        display: block;
        /* position: absolute; */
        /* right: 0; */
        top: 2rem;
    }
    .content-section {
        margin-top: 1rem;
    }
    .nav-links li a {
        color: #000;
        padding: 0 20px;
        display: block;
        font-size: 20px;
    }
    .wrapper .nav-links {
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 350px;
        top: 0;
        left: -100%;
        background: #f8f9faf5;

        display: block;
        padding: 50px 10px;
        line-height: 50px;
        overflow-y: auto;
        box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
        transition: all 0.3s ease;
    }
    /* custom scroll bar */
    ::-webkit-scrollbar {
        width: 10px;
    }
    ::-webkit-scrollbar-track {
        background: #242526;
    }
    ::-webkit-scrollbar-thumb {
        background: #3a3b3c;
    }
    #menu-btn:checked ~ .nav-links {
        left: 0%;
    }
    #menu-btn:checked ~ .btn.menu-btn {
        display: none;
    }
    #close-btn:checked ~ .btn.menu-btn {
        display: block;
    }
    .nav-links li {
        margin: 15px 10px;
    }
    .nav-links li a {
        padding: 0 20px;
        display: block;
        font-size: 20px;
    }
    .nav-links .drop-menu {
        position: static;
        opacity: 1;
        top: 65px;
        visibility: visible;
        padding-left: 20px;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
    }
    #showDrop:checked ~ .drop-menu,
    #showMega:checked ~ .mega-box {
        max-height: 100%;
    }
    .nav-links .desktop-item {
        display: none;
    }
    .desktop-item {
        color: #000 !important;
    }
    .nav-links .mobile-item {
        display: block;
        /* color: #f2f2f2; */
        font-size: 20px;
        font-weight: 500;
        padding-left: 20px;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .drop-menu li {
        margin: 0;
    }
    .drop-menu li a {
        border-radius: 5px;
        font-size: 18px;
    }
    .mega-box {
        position: static;
        top: 65px;
        opacity: 1;
        visibility: visible;
        padding: 0 20px;
        max-height: 0px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    .mega-box .content {
        box-shadow: none;
        flex-direction: column;
        padding: 20px 20px 0 20px;
    }
    .mega-box .content .row {
        width: 100%;
        margin-bottom: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .mega-box .content .row:nth-child(1),
    .mega-box .content .row:nth-child(2) {
        border-top: 0px;
    }
    .content .row .mega-links {
        border-left: 0px;
        padding-left: 15px;
    }
    .row .mega-links li {
        margin: 0;
    }
    .content .row header {
        font-size: 19px;
    }
}
nav input {
    display: none;
}

.body-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 0 30px;
}
.body-text div {
    font-size: 45px;
    font-weight: 600;
}
@media (min-width: 971px) {
    .w970px {
        display: none;
    }
}

/* 970px ya us se kam width par element ko show karna */
@media (max-width: 970px) {
    .w970px {
        display: block; /* ya inline-block agar inline chahiye */
    }
}
