@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root{
    --br-sm:0.25rem;
    --br:0.25rem;
    --br-lg:0.75rem;
    --footer:#0a171f;
    --copyright: #22324a;
    --red: #0a171f;
    --black: #191617;
    --green: #106836;
    --swiper-theme-color:#106836;
    --orange: #106836;
    --white: #fff;
    --light: #f7f7f7;
    --gradient: linear-gradient(to right, var(--orange), var(--red));
    --gradient-2: linear-gradient(to right, var(--green), var(--red));
}

html{
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}
body{
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 2;
    overflow-x: hidden;
}
h2{
    font-weight: 600;
}
.btn{
    padding-inline: 1rem !important;
    border-radius: var(--br) !important;
    font-weight: 500 !important;
}
.btn-block{
    width: 100%;
    display: block;
}
.nav-link:not(.btn){
    color: var(--footer) !important;
    font-weight: 600;
}
a{
    text-decoration: none;
}
.btn{
    padding-inline: 1.5rem !important;
}
.btn-red{
    background-color: var(--red) !important;
    color: var(--white) !important;
    border: 1px solid var(--red);
}
.btn-outline-green{
    color: var(--green) !important;
    border: 1px solid var(--green) !important;
}
.btn-green{
    background-color: var(--green) !important;
    color: var(--white) !important;
    border: 1px solid var(--green);
}
.btn-orange{
    background-color: var(--orange) !important;
    color: var(--white) !important;
    border: 1px solid var(--footer);
}
.bg-green{
    background-color: var(--green);
}
.text-footer{
    color: var(--footer) !important;
}
.lc{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lc-1{
    -webkit-line-clamp: 1;
}
.lc-2{
    -webkit-line-clamp: 2;
}
.lc-3{
    -webkit-line-clamp: 3;
}
.lc-4{
    -webkit-line-clamp: 4;
}
.fw-500{
    font-weight: 500;
}
.home-slider{
    background-image: linear-gradient(to right, var(--footer), var(--green)),  url('../img/home.jpg');
    background-position: center;
    background-blend-mode: multiply;
    background-size: cover;
    position: relative;
    color: var(--white);
}
.home-slider *{
    position: relative;
}
.home-slider h1{
    font-size: 2.5rem;
    font-weight: 700;
    background-image: var(--green);
}
.home-slider .slider-desc{
    font-size: 1.25rem;
    margin: 1rem 0 2rem;
}
.step-card{
    padding: 1.5rem;
    position: relative;
    text-align: center;
    height: 100%;
    border-radius: var(--br-lg);
}
.contact-card{
    padding: 2rem;
}
.step-card *{
    position: relative;
    border-radius: var(--br);
    z-index: 10;
}
.step-card p{
    margin-bottom: 0;
}
.step-card h3{
    font-size: 1.35rem;
}
.step-card::before,.step-card::after{
    content: '';
    position: absolute;
}
.step-card::before{
    background-image: var(--gradient);
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: var(--br);
}
.steps-c-number{
    background-image: var(--gradient);
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 50%;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.step-card::after{
    background-color: var(--white);
    height: calc(100% - 4px);
    width: calc(100% - 4px);
    left: 2px;
    top: 2px;
    border-radius: calc(var(--br) - 2px);
}
.event-card{
    padding: 1.5rem;
    border-radius: var(--br-lg);
    background-color: var(--white);
    overflow: hidden;
    border: 2px solid var(--white);
}
.event-card h3{
    font-size: 1.5rem;
    font-weight: 600;
    background-image: var(--gradient-2);
    background-clip: text;
    color: transparent;
}
.text-gradient{
    font-size: 1.5rem;
    font-weight: 600;
    background-image: var(--gradient);
    background-clip: text;
    color: transparent;
    max-width: max-content;
}
.text-green{
    color: var(--green);
}
.event-card-img{
    height: 12.5rem;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
}
.dashboard-event {
    border: 1px solid #8884;
    margin: 0.25rem 0;
}
.dashboard-event .event-card-img{
    height: 8rem;
}
.event-card-img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.site-img-box{
    position: relative;
}
.site-img-box::before,.site-img-box::after{
    content: '';
    height: 8rem;
    width: 8rem;
    position: absolute;
}
.site-img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--br-lg) 0;
}
.site-img-box::before{
    left: -10px;
    bottom: -10px;
    border-bottom: 10px solid var(--red);
    border-left: 10px solid var(--red);
    border-bottom-left-radius: var(--br-lg);
}
.site-img-box::after{
    right: -10px;
    top: -10px;
    border-top: 10px solid var(--green);
    border-right: 10px solid var(--green);
    border-top-right-radius: var(--br-lg);
}
.second-simg.site-img-box::before{
    border-color: var(--red);
}
.second-simg.site-img-box::after{
    border-color: var(--orange);
}
.fancy-ul{
    list-style: none;
    padding-left: 0;
}
.fancy-ul li{
    position: relative;
    line-height: 2.5;
    padding-left: 2rem;
}
.fancy-ul li::before{
    content: '';
    height: 1.25rem;
    width: 1.25rem;
    background-image: url('../img/fancy-ul.png');
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 0;
    top: 0.5rem;
}
.internal-page-top{
    background-image: url('../img/internal-page.jpg');
    background-size: cover;
    color: var(--white);
    background-position: center;
    text-align: center;
    font-size: 1.25rem;
    background-color: #444a;
    background-blend-mode: multiply;
    padding-bottom: 5rem !important;
}
.internal-page-top h1{
    font-weight: 700;
    background-image: var(--gradient);
    margin: 0 auto 1rem;
    width: max-content;
    max-width: 100%;
    color: transparent;
    background-clip: text;
}
.steps-card-icon{
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    background-image: var(--gradient);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 1rem;
}
.move-up-row{
    margin-top: -7rem;
    position: relative;
}



















footer{
    color: var(--light);
    font-size: 0.95rem;
}
footer ul{
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer-main{
    background-color: var(--footer);
}
.copyright{
    background-color: var(--copyright);
}
.footer-socials{
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}
.footer-socials a{
    height: 1.75rem;
    width: 1.75rem;
    background-color: #cabea944;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: 1px solid var(--brown);
    outline-offset: -2px;
    border-radius: var(--br-sm);
    color: var(--white);
    font-size: 0.8rem;
}
.footer-socials a i{
    margin-bottom: -0.125rem;
    display: block;
}
footer a{
    color: var(--white);
}
footer a:hover{
    color: var(--orange);
}
footer h3{
    font-size: 1.25rem;
    color: var(--white);
}


.modal-content{
    border-radius: var(--br-lg) !important;
    overflow: hidden;
    position: relative;
}
.modal-content h2{
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--white);
}
.modal-header{
    background-color: var(--footer);
    border: none;
    padding-top: 0.5rem !important;
    padding-bottom: 0.65rem !important;
    position: relative;
    color: var(--white);
}
.modal-header .btn-close{
    filter:brightness(0) invert(1);
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    outline: none;
    border: none;
    box-shadow: none;
}
.modal-body{
    padding: 1rem 1rem 0.25rem;
}
.footer-logo{
    width: 100px;
    filter: brightness(0) invert(1);
}
.form-control{
    box-shadow: none !important;
}
.form-control:disabled, .form-control[readonly] {
    background-color: var(--white) !important;
}

.home-golf-tourn-list{
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}
.home-golf-tourn-list *{
    position: relative;
}

.hgtl-img{
    position: absolute;
    left: 0;
    top: 0;
    display: block;
}
.hgtl-img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    background-position: center;
}
.hgtl-content{
    padding: 1.75rem;
    border: 1px solid #000;
    border-radius: 0.5rem;
    background-color: #000a;
    color: var(--white);
}
.hgtl-content h3{
    font-size: 1.25rem;
}
.swiper-pagination-bullet{
    background-color: var(--white);
}
.nav-pills.np-line{
    border-bottom: 2px solid #eee !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow: visible;
    max-width: 100%;
}
.nav-pills.np-line .nav-item{
    padding: 0 !important;
}
.nav-pills.np-line .nav-link{
    padding: 0;
    margin-bottom: -2px;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid #eee !important;
    border-radius: 0 !important;
    box-shadow:  none !important;
    z-index: 10;
    position: relative;
    color: #888 !important;
    white-space: nowrap;
}
.nav-pills.np-line .nav-link.active{
    background-color: transparent !important;
    color: var(--green) !important;
    border-color: var(--green) !important;
}
.nav-pills.np-pills{
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
}
.nav-pills.np-pills .nav-link{
    padding: 0.25rem 1.5rem !important;
    border: 1px solid var(--black);
    color: var(--black);
    border-radius: 5rem !important;
    white-space: nowrap;
}
.nav-pills.np-pills .nav-link.active{
    background-color: var(--black) !important;
    color: var(--white) !important;
}
.module-responsive{
    width: 100%;
    overflow: auto;
}
.module-responsive::-webkit-scrollbar,
.nav-pills.np-pills::-webkit-scrollbar,
.nav-pills.np-line::-webkit-scrollbar{
    display: none;
}

.tournament-page-header{
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}
.tph-logo{
    height: 6rem;
    width: 6rem;
    border: 1px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-radius: 50%;
}
.tph-logo img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.tph-info{
    flex:1;
}
.tph-sponsor{
    width: 15rem;
    background-color: var(--red);
    border-radius: 0.5rem;
    padding: 1rem;
    height: 100%;
    text-align: center;
}
.tph-sponsor img{
    width: 50%;
    filter: brightness(0) invert(1);
}
.tph-i-badge{
    display: inline-block;
    background-color: #10683644;
    color: var(--green);
    border: 1px solid #10683666;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.tph-info h3{
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
    padding-bottom: 0;
}
.tournament-winner-card-header{
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    background-color: #10683622;
    border-top: 3px solid var(--green);
    margin-top: 1rem;
}
.winner-profile-pic{
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    overflow: hidden;
}
.winner-profile-pic img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.winner-info{
    flex: 1;
}
.winner-info h3{
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
}
.winer-info-flag{
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    overflow: hidden;
}
.winer-info-flag img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.winner-total-points{
    width: 20%;
    align-self: center;
}
.winner-total-points .winner-stat-number{
    font-size: 2rem !important;
    font-weight: 700;
}
.winner-highlights{
    width: 15%;
}
.winner-highlights a{
    display: block;
    position: relative;
}
.winner-highlights a p{
    position: absolute;
    left: 1rem;
    bottom: 0;
    color: var(--white);
}
.winner-highlights a img{
    width: 100%;
    height: 7rem;
    border-radius: 0.25rem;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--black);
}
.winner-earnings{
    width: 20%;
}
.winner-scores-per-round{
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
}
.winner-stat-number{
    font-size: 1.125rem;
    color: var(--black);
    font-weight: 700;
    line-height: 1.4;
}
.winner-stat-number small{
    text-transform: uppercase;
    color: unset;
    font-weight: 500;
    font-size: 0.75rem !important;
    display: block;
}
.tournament-winner-all-players{
    font-size: 0.875rem !important;
}
.arrows-controls{
    font-weight: 500;
}
.arrows-controls svg{
    height: 0.875rem;
    width: 0.875rem;
    margin-right: -0.25rem !important;
    margin-top: -0.125rem !important;
}
.player-hidden-data-header{
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.phdh-profile{
    height: 4rem;
    width: 4rem;
    position: relative;
}
.sidebar-profile{
    gap: 1rem;
    align-items: center;
}
.sidebar-profile .phdh-profile{
    height: 3rem;
    width: 3rem;
}
.phdh-profile img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.phdh-p-flag{
    position: absolute;
    right: 0.25rem;
    bottom: 0.25rem;
    height: 1rem;
    width: 1rem;
}
.phdh-p-flag img{
    border-radius: 50%;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.phdh-info{
    flex:1;
}
.phdh-info h3{
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
}
.phdh-info p{
    margin-bottom: 0;
}
.phdh-button{
    width: max-content;
}
.prof-flex-lg{
    display: flex;
    gap: 1rem;
    align-items: center;
}
.prof-icon{
    height: 4rem;
    width: 4rem;
    border-radius: 5rem;
    overflow: hidden;
}
.prof-icon img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.rounded-lg{
    border-radius: 0.5rem !important;
}
@media screen and (min-width:768px) {
    .hide-on-mobile{
        display: none;
    }
    nav .nav-item{
        margin: 0 0.5rem !important;
    }
    .home-slider{
        height: 600px;
        display: flex;
        align-items: center;
    }
}

@media screen and (max-width:767px) {
    body{
        font-size: 14px;
    }
    .home-slider-text-box{
        left: unset;
    }
    .navbar-collapse.collapse,.navbar-collapse.collapsing{
        height: 100vh !important;
        padding: 1rem;
        position: fixed !important;
        display: block;
        width: 300px;
        max-width: 100%;
        top: 0;
        background-color: var(--white);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: 0.25s ease left;
        transform-origin: left;
        right: -300px;
        z-index: 15;
        box-shadow: 0 0 10px #0002;
    }

    .navbar-collapse .btn{
        margin-bottom: 0.5rem;
    }
    .navbar-collapse.collapsing{
        left: -150px;
        transition: none;
    }
    .navbar-collapse.show,.navbar-collapse.collapsing{
        left: 0;
    }
    .navbar-toggler{
        border: none;
        box-shadow: none !important;
        outline: none;
        position: relative;
    }
    .close-mobile-menu{
        height: 2.5rem;
        width: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        line-height: 0;
        background-color: transparent;
        box-shadow: none;
        border: none;
        outline: none;
        color: var(--white);
        font-weight: 100 !important;
        position: absolute;
        right: 0.25rem;
        top: 0;
        z-index: 10;
        padding: 0 !important;
    }
    .home-slider{
        padding: 2rem 0;
    }
    .home-slider h1{
        font-size: 2rem;
    }
    .number-input{
        margin: 1rem auto;
    }
    .mobile-score-card{
        border-bottom: 1px solid #0001;
    }
    .number-input button{
        display: block !important;
        height: 2rem !important;
        width: 2rem !important;
        font-size: 0.9rem !important;
        aspect-ratio: 1/1;
        padding: 0 !important;
    }
}

.leaderboard-table {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    overflow: hidden;
    color: var(--white);
}
.leaderboard-table table {
    width: 100%;
    border-collapse: collapse;
}
.leaderboard-table th {
    background-color: #2a2a2a;
    padding: 10px;
    text-align: left;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.leaderboard-table td {
    padding: 10px;
    border-bottom: 1px solid #3a3a3a;
    font-size: 0.9rem;
}
.leaderboard-table tr:hover {
    background-color: #333;
}
.flag {
    width: 20px;
    height: 15px;
    vertical-align: middle;
    margin-right: 5px;
}
.pos, .score {
    font-weight: bold;
}
.view-link {
    background-color: #1a1a1a;
    padding: 10px 20px;
    text-align: center;
    display: block;
    color: #fff;
    text-decoration: none;
}
.view-link:hover {
    background-color: #333;
    text-decoration: none;
}
.leaderboard-prof-img{
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.championship-logo{
    width: 50px;
    height: auto;
}
@media (max-width: 767px) {
    body{
        font-size: 13px !important;
    }
    .leaderboard-table th, .leaderboard-table td {
        font-size: 0.8rem;
        padding: 8px;
    }
    .flag {
        width: 18px;
        height: 13px;
    }
    .leaderboard-prof-img{
        width: 50px;
        height: 50px;
    }
    .custom-tabs-mobile{
        flex-wrap: nowrap;
    }
    .custom-tabs-mobile .nav-item{
        padding: 0 !important;
    }
    .custom-tabs-mobile .nav-item .nav-link{
        padding-block: 0 !important;
        white-space: nowrap;
        text-decoration: none;
        border: none;
    }
    .championship-logo{
        width: 30px;
        height: 30px;
        object-fit: contain;
    }
    .lh-mobile-1{
        line-height: 1.3;
    }

    .tournament-page-header{
        flex-wrap: wrap;
        gap: 1rem;
    }
    .tph-logo{
        height: 4rem;
        width: 4rem;
        padding: 0.75rem;
    }
    .tph-sponsor{
        flex: 1;
        height: 4rem;
    }
    .tph-sponsor img{
        object-fit: contain !important;
        height: 100%;
        width: 100%;
    }
    .winner-profile-pic{
        height: 4rem;
        width: 4rem;
    }
    .tournament-winner-card-header{
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .winner-stat-number{
        font-size: 1rem;
    }
    .winner-scores-per-round{
        gap: 1rem;
    }
    .winner-earnings,
    .winner-highlights{
        width: calc(50% - 0.75rem);
    }
    .leaderboard-container :is(.header-row, .data-row){
        width: 100%;
    }
    .leaderboard-container :is(.header-row, .data-row) .cell{
        min-width: 50px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .leaderboard-container :is(.header-row, .data-row) .player{
        min-width: 150px;
        white-space: nowrap;
    }
    .player-hidden-data-header{
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .phdh-profile{
        width: 3rem;
        height: 3rem;
    }
    /* .phdh-button{
        display: block;
        width: 100%;
    } */
    .btn{
        padding: 0.25rem 0.75rem !important;
        font-size: 0.875rem !important;
    }
    .nav-pills.np-pills .nav-link{
        line-height: 1.25 !important;
        font-size: 0.875rem;
    }
    .card-title{
        font-size: 1rem !important;
    }
}
