@import url('https://fonts.cdnfonts.com/css/abnormal');

:root {
    --btn-primary-disabled-opacity: 0.65;
    --btn-info-disabled-opacity: 0.65;
    --text-color: rgb(var(--text));
    --bs-white: var(--text-color);
    --text-color-dark: rgb(var(--text-dark));

    --bs-info-rgb: var(--text-info);
    --bs-body-color: rgb(var(--text)) !important;
    --bs-body-bg: rgb(var(--main-bg));
    --bs-tertiary-bg: rgb(var(--bg));

    --k4main-bg: rgb(var(--main-bg));
    --k4main-color: rgb(var(--text));
    --k4second-bg: rgb(var(--bg));;
    --main-color: rgb(175 6 57);

    --main-bg: #121313;
    --bg: #0f0f0f;
}

body {
    background: #0f0f0f;
    color: #fff;
    font-family: "Poppins", serif;
    color-scheme: dark;
    background-size: contain;
}

.d-flex.justify-content-center img {
    width: 100%;
}


a {
    text-decoration: none;
}


.header {
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .2s ease;
    height: 60px;
    z-index: 1200;
    box-shadow: none;
}

.profile img {
    width: 35px;
    border-radius: 50%;
}

.dropdown-content {
    right: 1em;
    top: 4em;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(var(--main-bg));
    z-index: 1;
    width: 250px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgb(var(--main-bg));
}

.profile {
    cursor: pointer;
}

.mprofile img, .account img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.account {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgb(var(--bg));
    color: #fff;
    width: 100%;
    opacity: .8;
    transition: .35s;
}

.account:hover {
    color: #fff;
    opacity: 1;
}

.account-details {
    display: flex;
    flex-direction: column;
}

.account-details b {
    font-size: 16px;
}

.account-details span {
    font-size: 10px;
    opacity: 0.8;
}

.p-links a {
    font-size: 18px;
    padding: 8px 15px;
    display: block;
    color: #fff;
}

.p-links a i {
    margin-right: 20px;
}

.p-links a:hover {
    background: rgb(var(--bg));
}

.p-links {
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

.sep {
    width: auto;
    height: 2px;
    background: rgb(var(--bg));
    margin: 5px 10px;
}

.h-right {
    float: right;
}

.profile {
    cursor: pointer;
}

a.nav-link {
    color: rgb(var(--text));
    align-items: center;
    border-radius: 7px;
    display: flex;
    padding: 0 15px;
    height: 45px;
    transition: .1s ease-in-out;
    gap: 5px;
}

a.nav-link {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav .nav-link.active, .navbar-nav .show > .nav-link {
    color: #fff;
    background: rgb(var(--main-bg));
}

.nav-link:focus, .nav-link:hover {
    color: #fff;
    background: rgb(var(--main-bg));
}

.main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.content {
    flex: 1 0 80%;
}

.menu .navbar-nav {
    width: 176px;
}

a.nav-link i {
    font-size: 19px;
}

.socials i:hover {
    opacity: 1;
    color: #fff;
    transition: .35s;
}

.socials i {
    color: rgb(var(--text));
    font-size: 16px;
    opacity: .8;
    transition: .35s;
}

.logo img {
    width: var(--top-logo-width);
}

.socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu .navbar-brand {
    display: none !important;
}

.navbar {
    padding-top: 0;
}

.f-logo img {
    max-width: var(--footer-logo-width) !important;
    filter: brightness(0.5);
    transition: .25s;
}

.f-logo img:hover {
    filter: unset;
    transition: .25s;
}

.footer {
    background: rgb(var(--main-bg));
    display: flex;
    border-radius: 8px;
}

.f-right ul a {
    text-transform: uppercase;
    color: rgb(var(--text));
}

.f-right ul {
    list-style: none;
    gap: 10px;
    margin-bottom: 0;
    padding-inline-start: 0;
}

.f-sep {
    width: 2px;
    height: 35px;
    background: rgb(var(--bg));
    margin: 5px 10px;
}


.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255 255 255)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

button {
    outline: none !important;
    box-shadow: unset !important;
}


button.steam {
    padding: 0 10px;
    height: 33px;
    background: rgba(var(--main-color));
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    text-transform: uppercase;
    color: #fff;
    float: right;
    border: unset;
    outline: none;
}


.modules #ajax-data_filter .form-control-sm {
    width: 130px;
}

.modules #ajax-data_length .form-select-sm {
    width: 130px;
    text-align: center;
}

.modules #ajax-data tbody td {
    max-width: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rating_place span {
    font-weight: 800;
    font-size: 16px;
    position: absolute;
    top: 0;
    z-index: 1;
    color: rgb(var(--text));
}

.rating_place svg {
    position: absolute;
    width: 40px;
    height: auto;
    fill: var(--top-color);
    opacity: .2;
}

svg.one {
    fill: var(--top-one-color);
    opacity: .5;
}

svg.two {
    fill: var(--top-two-color);
    opacity: .5;
}

svg.three {

    fill: var(--top-three-color) !important;
    opacity: .5;
}

.leaderboards .top-player {
    background: linear-gradient(45deg, rgba(var(--main-color), 0.13), rgb(var(--main-bg)));
}

.leaderboards .first-place {
    background: linear-gradient(45deg, rgb(255 219 92 / 13%), rgb(17 17 17));
}

.leaderboards .second-place {
    background: linear-gradient(45deg, rgb(191 224 255 / 13%), rgb(17 17 17));
}

.leaderboards .third-place {
    background: linear-gradient(45deg, rgb(248 167 133 / 13%), rgb(17 17 17));
}

#leaderboards .stats-block {
    background-color: transparent !important;
}

#leaderboards-server-data .top-players-cs2 .top-stats {
    display: grid;
    grid-template-columns: 45px 60px 200px 150px; /* Fixed width for the second box */
    gap: 10px; /* Optional: Add some gap between the boxes */
}
.menu-Top #leaderboards-server-data .top-players-cs2 .top-stats{
    grid-template-columns: 45px 60px auto auto;
}

#leaderboards-server-data .top-players-cs16 .top-stats {
    grid-template-columns: 100px auto auto auto;
}

#leaderboards-server-data .top-players-gungamecs16 .top-stats {
    grid-template-columns: 100px auto auto auto;
}

.sidebar-modules #leaderboards-server-data .top-players-cs16 .top-stats {
    grid-template-columns: 55px auto auto auto;
}

.sidebar-modules #leaderboards-server-data .top-players-gungamecs16 .top-stats {
    grid-template-columns: 55px auto auto auto;
}


.container-normal .sidebar-modules #leaderboards-server-data .top-players-cs2 .top-stats {
    grid-template-columns: 35px 40px auto 100px;
}

.container-wide .sidebar-modules #leaderboards-server-data .top-players-cs2 .top-stats {
    grid-template-columns: 50px 50px auto 100px;
}

.container-extra-wide .sidebar-modules #leaderboards-server-data .top-players-cs2 .top-stats {
    grid-template-columns: 50px 50px auto 100px;
}


#leaderboards-server-data .minecraft-votes .top-stats {
    display: grid;
    grid-template-columns: 45px auto 150px;
    gap: 10px; /* Optional: Add some gap between the boxes */
}

.sidebar-modules .rating_place svg {
    width: 30px;
}

.sidebar-modules .rating_place span {
    font-size: 13px;
    top: 5px;
}

.sidebar-in-footer .card, .sidebar-in-footer .card-header {
    border: 0;
}

.sidebar .card-header {
    letter-spacing: 1px;
}

.donation-goal .progress {
    height: 50px;
}

.donation-goal-text {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

.nav-icon {
    text-align: left;
}

.menu .nav-icon {
    width: 50px;
    text-align: left;
}

.dropdown-menu {
    border: 0;
    font-size: 14px;
}


@media (max-width: 425px) {
    .header.login-header- {
        align-items: stretch;
        justify-content: space-between;
        height: auto;
        flex-direction: column;
    }

    .header .login- {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .server-col {
        padding: 0;
    }

    .dropdown-menu {
        background: rgb(var(--bg));
    }

    .menu .navbar .container-fluid {
        flex-direction: unset;
    }

    .sidebar-modules .rating_place svg {
        width: 40px;
    }

    .rating_place svg {
        position: relative;
        height: 40px;
        width: 40px;
    }

    .rating_place span {
        font-size: 13px;
        top: 35px !important;
        left: 31px;
    }

}

@media (max-width: 1024px) {
    .sidebar-modules #leaderboards-server-data .top-players-cs2 .top-stats {
        grid-template-columns: auto auto auto !important;
    }
    #leaderboards-server-data .top-players-cs2 .top-stats {
        display: grid;
        grid-template-columns: 45px auto auto;
        gap: 10px; /* Optional: Add some gap between the boxes */
    }

}


@media (max-width: 991px) {
    .dropdown-content {
        right: 0;
        top: 4em;
        display: none;
        position: absolute;
        background-color: rgb(var(--main-bg));
        z-index: 99999;
        width: 100%;
        overflow: hidden;
        border-radius: 0;
        border: 1px solid rgb(var(--main-bg));
        transition: .35s;
        padding: 15px;
        transition: height 0.5s ease-in-out;
        height: auto;
    }

    a.account img {
        width: 50px;
        height: 50px;
    }

    a.account {
        border-radius: 8px;
    }

    .account {
        margin-bottom: 10px;
    }

    .sep {
        display: none;
    }

    .p-links a {
        font-size: 16px;
        background: rgb(var(--bg));
        margin-bottom: 10px;
        padding: 15px;
        border-radius: 8px;
        font-weight: 600;
    }

    .main {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        flex-direction: column;
    }

    .content {
        width: 100%;
    }

    .menu-top, .menu {
        background: rgb(var(--main-bg));
    }

    .menu {
        border-radius: 8px;
        display: block;
    }

    .navbar {
        padding-top: 0.5rem;
    }

    .menu .navbar-nav {
        width: 100%;
    }

    .navbar .container-fluid {
        flex-direction: unset;
    }

    .menu button.navbar-toggler {
        margin-left: auto;
    }

}

@media (min-width: 992px) and (max-width: 1400px) {
    .content {
        flex: 1 0 60%;
    }
}

@media (min-width: 1068px) {
    .rating_place {
        width: 35px;
        height: 35px;
        display: flex;
        position: relative;
        align-items: center;
        justify-content: center;
        margin: 0 5px;
    }

    .menu-top:not(.dropdown-menu) li {
        margin-right: 20px;
    }

    .menu-top .dropdown-menu li {
        margin-right: 0; /* Remove the margin for li elements inside dropdown-menu */
    }
}

@media (max-width: 1067px) {
}

.modal {
    z-index: 1400;
}


.image-slider .swiper-pagination {
    bottom: 10px !important;
    right: 10px !important;
    border-radius: 25px !important;
    width: 100% !important;
    height: 9px;
    line-height: 4px;
}

.image-slider .swiper-slide {
    height: 100%;
}
.image-slider img{
    border-radius: 20px;
}

.image-slider .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    line-height: 20px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 7px;
    transition: width 0.15s linear;
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
    transform: scale(1);
    width: 18px;
}

.swiper-pagination-bullet-active {
    width: 20px !important;
    transition: width 0.15s linear;
}

.image-slider .swiper-pagination-fraction {
    font-size: 20px;
    color: #fff;
}

.image-slider .swiper-pagination-progressbar-fill {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-radius: 25px !important;
}

.image-slider .btn-primary {
    border-radius: 5px;
    font-size: 14px;
}

.image-slider .btn-primary svg {
    margin-right: 5px;
}

.swiper-button-next, .swiper-button-prev {
    width: 20px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
    border: none;
}

.swiper-buttons {
    width: 80px;
    position: absolute;
    right: 20px;
    bottom: 18px;
    background: rgba(var(--bg), 0.8);
    backdrop-filter: blur(20px);
    height: 45px;
    z-index: 1;
    border-radius: 50px;
}

.image-slider .swiper-button-next::after,
.image-slider .swiper-button-prev::after {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: rgb(255, 255, 255);
}

.autoplay-progress {
    background-color: rgba(var(--main-bg), 0.8);
    color: rgb(var(--main-color));
    backdrop-filter: blur(40px);
    border-radius: 50%;
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: left;
    height: 100%;
}

.text-content{
    position: absolute;
    bottom: 60px;
    padding: 10px;
}

.container-wide .menu-Side .text-content,
.container-extra-wide .menu-Side .text-content,
.menu-Top .text-content{
    padding: 0 25px 0 25px;
}
.swiper-slide h3 {
    bottom: 100px;
    left: 20px;
    font-family: "Unbounded";
    font-size: 28px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.37);
    -webkit-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.37);
}

.swiper-slide p {
    bottom: 60px;
    left: 20px;
    font-size: 14px;
    width: 100%;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    -webkit-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.swiper-slide .action-button a{
    display: flex;
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    height: 41px;
    line-height: unset;
    background: rgb(var(--main-bg)) !important;
    padding: 20px;
    border-radius: 8px;
    color: rgb(var(--text));
    font-size: 14px;
    font-weight: 600;
    gap: 10px;
    cursor: pointer;
    overflow: hidden;
    align-items: center;
    border: 1px solid rgb(var(--main-bg)) !important;
}

.swiper-slide .action-button a:hover{
    background: rgba(var(--main-bg),80%) !important;
}

.swiper-slide .action-button svg {
    left: 20px;
    height: 8px;
    width: 8px;
    fill: white;
    transition: 0.3s ease-in-out;
}
.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 3px;
    stroke: rgb(var(--main-color));
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

.swiper-slide .action-button a:hover i {
    transform: unset;
    transition: .35s;
}


.swiper-slide .action-button a i {
    transform: rotate(-45deg);
    transition: .35s;
}
.action-button-icon{
    background-color:rgb(var(--bg));
    border-radius: 20px;
}


.swiper {
    width: 1070px;
    height: 300px;
}
.menu-Top .swiper{
    width: 100% !important;
}
.container-extra-wide .swiper {
    width: 1255px;
}
.container-wide .swiper{
    width: 1165px;
}
@media (width: 1024px) {
    .swiper {
        width: 712px !important;
    }
}

@media (max-width: 924px) {
    .swiper {
        width: 100% !important;
    }
    .swiper-slide p {
        font-size: 14px !important;
    }
    .swiper-slide h3 {
        font-size: 27px !important;
    }
    .autoplay-progress{
        display: none !important;
    }
}
@media (max-width: 320px) {
    .swiper-slide p {
        font-size: 13px !important;
    }
    .swiper-slide h3 {
        font-size: 25px !important;
    }
}

.menu-Side .stats-container {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        --bs-modal-width: 700px;
    }
}

.squares.square1 {
    -webkit-animation: move-left-right 4s infinite;
    animation: move-left-right 4s infinite;
    height: 150px;
    width: 150px;
    opacity: .5;
    left: 3%;
    top: -9%
}

.squares.square2 {
    -webkit-animation: move-left-right 6s infinite;
    animation: move-left-right 6s infinite;
    height: 200px;
    width: 200px;
    opacity: .4;
    right: 2%;
    top: 15%
}

.squares.square3 {
    -webkit-animation: move-left-right 5s infinite;
    animation: move-left-right 5s infinite;
    height: 100px;
    width: 100px;
    opacity: .1;
    left: -5%;
    bottom: 0
}

.squares.square4 {
    -webkit-animation: move-left-right 10s infinite;
    animation: move-left-right 10s infinite;
    height: 75px;
    width: 75px;
    opacity: .9;
    right: 27%;
    top: 70%
}

.squares.square5 {
    -webkit-animation: move-left-right 6s infinite;
    animation: move-left-right 6s infinite;
    height: 100px;
    width: 100px;
    opacity: .1;
    left: 32%;
    bottom: 29%
}

.squares.square6 {
    -webkit-animation: move-left-right 9s infinite;
    animation: move-left-right 9s infinite;
    left: 10%;
    top: 35%;
    height: 50px;
    width: 50px;
    opacity: .8
}

@keyframes move-left-right {
    0% {
        transform: translateX(-10px)
    }

    50% {
        transform: translateX(10px)
    }

    100% {
        transform: translateX(-10px)
    }
}

.menu ul.navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.menu {
    position: relative;
    transition: all .2s ease;
    z-index: 1199;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1 0 10%;
}

.mbar {
    display: flex;
    align-items: center;
}

.logo img {
    width: 225px;
}

.mheader .container {
    position: relative;
    z-index: 99999;
}

.mtitle::after {
    content: "DZN";
    color: var(--main-color);
}

.mtitle {
    font-size: 5em;
    font-family: 'Abnormal-Bold', sans-serif;
    color: #fff;
}

.mdesc b {
    color: var(--main-color);
    font-weight: 600;
}

.mdesc {
    max-width: 70%;
    font-size: 18px;
    line-height: 35px;
}

.mprevious img {
    width: 500px;
    border-radius: 15px;
    border: 3px solid var(--main-color);
}

.mpart {
    display: flex;
    align-items: center;
    padding: 2em 0px;
}

.mprevious h1 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.mmhead {
    height: 500px;
    z-index: 0;
    position: absolute;
    width: 100%;
}

.mmhead .squares {
    position: absolute;
    transition: .5s ease-out;
    overflow: hidden;
    border-radius: 20%
}

.mheader {
    height: 500px;
    position: relative;
    width: 100%;
    background: linear-gradient(183deg, #6f0423, #2b010e);
    z-index: 1;
}

.mheader::before {
    background: linear-gradient(transparent 0, #3a39394f 0%, #0f0f0f 96%);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
}

.store.category .card-footer .price {
    font-size: 16px;
    color: var(--main-color)!important;
}

.store.category .card-footer .currency {
    color: var(--main-color)!important;
}

.modal-content {
    background-color: var(--main-bg) !important;
    background-clip: padding-box;
    border-color: var(--main-bg);
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 900px;
        margin-right: auto;
        margin-left: auto;
    }
}

.modal-body {
    height: 500px;
    overflow: auto;
}

::-webkit-scrollbar {
    width: 10px;
    height: 20px;
}

::-webkit-scrollbar-thumb {
    background: var(--main-color)!important;
    border-radius: 25px;
}

::-webkit-scrollbar-track {
    background-color: var(--main-bg);
}

::-webkit-scrollbar-corner {
    background-color: var(--main-color);
}

.modal-header, .modal-footer {
    background: var(--bg);
}

.modal-header, .modal-footer {
    border: 1px solid var(--bg);
}

.store.category .product .card, .featured-product .card {
    transition: .5s;
    border: 1px solid var(--main-bg);
    border-radius: 12px;
}

.store.category .card .image {
    border-radius: 12px 12px 0 0;
}

.store .products-image img, .sidebar.recommended-product img {
    padding: 10px;
    border-radius: 5%;
    height: 220px;
    width: 90%!important;
    border-radius: 12px;
}

.basket.float-md-end.text-center.mb-sm-3 .btn {
    padding: 15px;
    background: var(--main-color);
    font-family: monospace;
    border-color: var(--main-color);
}

.store-modal .basket-item .product {
    width: 70% !important;
}

.store-modal .basket-item {
    background: var(--bg) !important;
    color: var(--bs-white);
}

.store-modal .basket-item .quantity input {
    width: 65px;
    background: var(--main-bg) !important;
    border-color: var(--main-bg) !important;
    text-align: center;
}

.store-modal .basket-item .product .price {
    color: var(--main-color)!important;
    font-size: 18px!important;
}

.store-modal .basket-item .product .name {
    color: #fff!important;
    font-size: 20px!important;
}

.card {
    background: var(--main-bg)!important;
    border-color: var(--main-bg)!important;
    border-radius: 0;
}

.card.mt-2.mb-3.product.checkout input {
    background: var(--bg) !important;
    border-color: var(--bg) !important;
}

.form-control {
    background-color: var(--bg)!important;
    border-color: var(--bg) !important;
    background-clip: padding-box;
    color: rgba(var(--text));
}

button.btn.btn-primary.ajax-handler {
    background: var(--main-color) !important;
    border-color: var(--main-color) !important;
    padding: 15px;
}

.modal-dialog.modal-dialog-centered.lmodal {
    max-width: 550px;
}

.modal-dialog.modal-dialog-centered.lmodal .form-control {
    margin: 10px 0;
    padding: 10px;
    background: var(--bg) !important;
}

a {
    color: var(--main-color);
}

.resource-image {
    width: 90%;
    height: 190px;
}

.rbtns {
    display: flex;
    justify-content: center;
    gap: 1em;
}

.rbtns .btn-add a {
    width: 200px;
    padding: 10px;
    font-weight: 600;
    border-radius: 8px;
    background: var(--main-color);
    border-color: var(--main-color);
}

.btninfo a {
    padding: 10px;
    width: 40px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--main-color);
}

.btninfo a:hover {
    background: var(--main-color);
}

.price-text-color.float-left.badge.btn-primary {
    font-size: 16px;
}

.btn-primary.badge.ftotal {
    background: var(--main-color);
    padding: 5px 15px;
    font-family: monospace;
    font-size: 15px;
}

.row.resources .name {
    color: #fff;
    font-size: 18px;
}

.resources .card-footer {
    background: var(--bg);
}

.resources .card {
    border-radius: 12px !important;
    border: 1px solid var(--main-bg) !important;
}

a.btn.btn-sm.btn-primary.btnbuy {
    width: 200px;
    padding: 10px;
    font-weight: 600;
    border-radius: 8px;
    background: var(--main-color);
    border-color: var(--main-color);
}

nav.page-navbar {
    background: var(--main-bg) !important;
    border-radius: 12px;
}

.navbar-nav .nav-link.active, .navbar-nav .show > .nav-link {
    color: var(--main-color);
}

.resources .card-footer {
    border-radius: 0 0 12px 12px;
}

.checkout .row {
    align-items: center;
}

@media (max-width: 991px) {
    .mpart {
    display: flex;
    align-items: center;
    padding: 2em 0px;
    flex-direction: column;
}

.mtitle {
    font-size: 3em;
    font-family: 'Abnormal-Bold', sans-serif;
    color: #fff;
}

.mdesc {
    max-width: 100%;
    font-size: 16px;
    line-height: 25px;
}

.mprevious img {
    width: -webkit-fill-available;
    border-radius: 15px;
    border: 3px solid var(--main-color);
}

.mprevious h1 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.mprevious {
    margin-top: 1em;
}

.mheader {
    margin-bottom: 10em;
}

.mbar {
    display: block;
}

.menu ul.navbar-nav {
    display: block;
}

.menu.mt-3 {
    width: 100%;
    display: block;
}
.mprevious {
    width: 100%;
}

.mprevious {
    width: 100%;
}

body .card img:not([class]) {
    width: 100%;
    height: auto;
}

.ppview {
    flex-direction: column-reverse;
    gap: 1em;
}
}

.btitle h5 {
    text-transform: uppercase;
    color: var(--main-color);
}

.btitle {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btitle h1 {
    font-weight: 800;
}

.service-section .icon-box {
	margin-bottom: 20px;
	padding: 30px;
	border-radius: 6px;
	background-color: var(--main-bg);
}

.service-section .icon-box .service-icon {
    float: left;
    color: var(--main-color);
    font-size: 40px;
}
.service-section .icon-box .service-title {
    margin-left: 55px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.2;
}
.service-section .icon-box .service-title a {
	color: #556270;
	transition: 0.3s;
	text-decoration: none;
}
.service-section .icon-box .service-para {
    margin-left: 55px;
    line-height: 24px;
    font-size: 12px;
}
.service-section .service-main-heading {
	color: #556270;
	padding: 0;
	margin-bottom: 20px;
	line-height: 1;
	font-size: 60px;
	font-weight: 600;
}

    .slick-carousel {
      margin: 0 auto;
    width: 100%; 
    max-width: 1000px;
      }
      
      .slick-slide {
        width: auto;
      }
      
      .slick-next::before,
      .slick-prev::before {
        color: var(--main-color);
      }
      
      .carousel .carousel-control-prev-icon {
        background-image: url('data:image/svg+xml,<svg class="bi bi-camera" width="1em" height="1em" viewBox="0 0 20 20" fill="%23fff " xmlns="http://www.w3.org/2000/svg"><path d="M11 7c-1.657 0-4 1.343-4 3a4 4 0 014-4v1z"/><path fill-rule="evenodd" d="M16.333 5h-2.015A5.97 5.97 0 0011 4a5.972 5.972 0 00-3.318 1H3.667C2.747 5 2 5.746 2 6.667v6.666C2 14.253 2.746 15 3.667 15h4.015c.95.632 2.091 1 3.318 1a5.973 5.973 0 003.318-1h2.015c.92 0 1.667-.746 1.667-1.667V6.667C18 5.747 17.254 5 16.333 5zM3.5 7a.5.5 0 100-1 .5.5 0 000 1zm7.5 8a5 5 0 100-10 5 5 0 000 10z" clip-rule="evenodd"/><path d="M4 5a1 1 0 011-1h1a1 1 0 010 2H5a1 1 0 01-1-1z"/></svg>');
      }
      
      .carousel .carousel-control-next-icon {
        background-image: url('data:image/svg+xml,<svg class="bi bi-bootstrap-fill" viewBox="0 0 20 20" fill="%23fff" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M6.002 2a4 4 0 00-4 4v8a4 4 0 004 4h8a4 4 0 004-4V6a4 4 0 00-4-4h-8zm1.06 12h3.475c1.804 0 2.888-.908 2.888-2.396 0-1.102-.761-1.916-1.904-2.034v-.1c.832-.14 1.482-.93 1.482-1.816 0-1.3-.955-2.11-2.543-2.11H7.063V14zm1.313-4.875V6.658h1.78c.974 0 1.542.457 1.542 1.237 0 .802-.604 1.23-1.764 1.23H8.375zm0 3.762h1.898c1.184 0 1.81-.48 1.81-1.377 0-.885-.65-1.348-1.886-1.348H8.375v2.725z" clip-rule="evenodd"/></svg>');
      }

      .slick-dots li button {
        font-size: 0;
        line-height: 0;
        display: block;
        width: 20px;
        height: 20px;
        padding: 5px;
        cursor: pointer;
        color: transparent;
        border: 0;
        outline: 0;
        background: transparent;
    }

    .slick-dots {
        position: absolute;
        bottom: -45px;
        display: block;
        width: 100%;
        padding: 0;
        list-style: none;
        text-align: center;
    }

    .slick-dots li {
        position: relative;
        display: inline-block;
        width: 20px;
        height: 20px;
        margin: 0 5px;
        padding: 0;
        cursor: pointer;
    }

    .slick-initialized .slick-slide {
        display: block;
        height: auto;
    }

    .slick-slide img {
    display: block;
    width: 100px;
}

.slick-initialized .slick-slide {
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
}

ul.slick-dots {
    display: none!important;
}

.service-section .icon-box:hover {
    transform: scale(1.05);
    transition: .35s;
}

.service-section .icon-box {
    transition: .35s;
}

     .portfolio-section {
            padding: 30px 0;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }           
        .project-card {
    background: var(--main-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    height: 0;
    padding-bottom: 50%;
    overflow: hidden;
}
        .project-image img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        .project-card:hover .project-image img {
            transform: scale(1.05);
        }
        .project-info {
            padding: 20px;
        }
        .project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
}
.project-tag {
    background: var(--main-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 16px;
    margin: 0 auto;
}

.project-tags {
    display: flex;
}

.view-all-btn {
    display: block;
    width: 200px;
    margin: 60px auto 0;
    padding: 12px 24px;
    background: var(--main-color);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background: var(--main-color);
    opacity: .9;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
 }
}

@media (max-width: 991px) {
    .btitle h5 {
    font-size: 12px;
    text-align: center;
}

.service-section .icon-box {
    margin-bottom: 15px;
    padding: 15px;
}
}

.slick-slide img {
    width: 100px!important;
}

.project-tags a {
    border: 2px solid var(--main-color);
    padding: 10px 30px;
    background: hsl(341.89deg 93.37% 35.49% / 50%);
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .75px;
    transition: .35s;
}

.project-tags a:hover {
    background: var(--main-color);
    transition: .35s;
}

@media (max-width: 991px) {
    .btitle h5 {
    font-size: 12px;
}

.btitle {
    text-align: center;
}

.slick-slide img {
    width: 50px !important;
}

.logo img {
    width: 125px;
}
}

.footer {
    background: transparent;
    text-align: center;
    margin-top: 5em;
    padding-bottom: 2em;
}

.nav-link:focus, .nav-link:hover {
    color: var(--main-color);
    background: transparent;
}