﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #454545;
    background-color: #fff;
}

a, a:hover, a:focus {
    text-decoration: none !important;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-style: none;
}

h1, .h1 {
    font-weight: 600;
    font-size: 46px;
    line-height: 64px;
}

h2, .h2 {
    font-weight: 600;
    font-size: 34px;
    line-height: 100%;
    color: #000
}

h3, .h3 {
    font-weight: 500;
    font-size: 24px;
    line-height: 100%;
}

h4, .h4 {
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
}

h5, .h5 {
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
}

h6, .h6 {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
}

p, .p {
    font-size: 16px;
    line-height: 26px;
    font-weight: 300
}

.section-padding {
    padding: 60px 0;
}

.padding-top {
    padding-top: 60px;
}

.padding-bottom {
    padding-bottom: 60px;
}

@media (max-width: 1200px) {
    h1, .h1 {
        font-size: 48px;
        line-height: 66px;
    }

    h2, .h2 {
        font-size: 30px;
    }

    h3, .h3 {
        font-size: 22px;
    }

    p, .p {
        font-size: 16px;
        line-height: 30px;
    }
}

@media (max-width: 992px) {
    h1, .h1 {
        font-size: 42px;
        line-height: 60px;
    }

    h2, .h2 {
        font-size: 28px;
    }

    h3, .h3 {
        font-size: 20px;
    }

    .section-padding, .padding-top, .padding-bottom {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    h1, .h1 {
        font-size: 22px;
        line-height: 52px;
    }

    h2, .h2 {
        font-size: 26px;
    }

    h3, .h3 {
        font-size: 18px;
    }

    h4, .h4 {
        font-size: 18px;
    }

    p, .p {
        font-size: 15px;
        line-height: 28px;
    }

    .section-padding, .padding-top, .padding-bottom {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    h1, .h1 {
        font-size: 30px;
        line-height: 44px;
    }

    h2, .h2 {
        font-size: 22px;
    }

    h3, .h3 {
        font-size: 16px;
    }

    h4, .h4 {
        font-size: 16px;
    }

    h5, .h5 {
        font-size: 14px;
    }

    h6, .h6 {
        font-size: 14px;
    }

    p, .p {
        font-size: 14px;
        line-height: 24px;
    }

    .section-padding, .padding-top, .padding-bottom {
        padding: 40px 0;
    }
}

.text-orange {
    color: #E1513F;
}

.bg-blue {
    background-color: #000940;
}

.text-blue {
    color: #000940;
}
/* a { text-decoration: none; transition: all 0.3s ease; }

 a:hover { color: #E1513F !important; transform: scale(1.05);  }*/
.btn_theme {
    display: inline-block;
    padding: 7px 10px;
    background-color: #E1513F;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #E1513F;
    border-radius: 4px;
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

    .btn_theme::before {
        content: '';
        position: absolute;
        top: 0;
        left: -105%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.15);
        transform: skewX(-25deg);
        transition: all 0.5s ease;
    }

    .btn_theme:hover::before {
        left: 105%;
    }

    .btn_theme:hover {
        background-color: #000940;
        color: #fff;
        box-shadow: 0 8px 20px rgba(0, 9, 64, 0.3);
        border: 2px solid #000940;
    }

.btn_theme_blue {
    background-color: #000940;
    border: 2px solid #000940;
}

    .btn_theme_blue:hover {
        background-color: #E1513F;
        border: 2px solid #E1513F;
    }

@media(max-width: 768px) {
    .btn_theme {
        padding: 8px 18px;
    }
}


#hero-section .btn_theme:hover {
    background-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 9, 64, 0.3);
    border: 2px solid #E1513F;
}

#footer {
    background-color: #000940;
    color: #fff;
    background-image: url('../images/badminton-shuttlecock-mba.png'); /* Fallback */
    background-image: image-set( url('../images/badminton-shuttlecock-mba.webp') type('image/webp'), url('../images/badminton-shuttlecock-mba.png') type('image/png') );
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 25% auto;
}

    #footer a {
        color: #fff;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        display: inline-block;
    }

        #footer a::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0%;
            height: 2px;
            background-color: #E1513F;
            transition: width 0.3s ease;
        }

        #footer a:hover {
            color: #E1513F !important;
            transform: scale(1.05);
            font-weight: 600;
        }

            #footer a:hover::after {
                width: 100%;
            }

        #footer a.active {
            color: #E1513F !important;
            font-weight: 600;
        }

            #footer a.active::after {
                width: 100%;
            }

/* Download hover (image links) */
.download_hover a {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .download_hover a::after {
        content: unset !important;
    }

    .download_hover a img {
        display: block;
        max-width: 100%;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .download_hover a:hover img {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

/* Paragraph section hover movement */
.ps_h a:hover {
    margin-left: 6px;
}

#copyright p {
    font-size: 14px;
}
/* Responsive Typography */
@media (max-width: 1200px) {
    #footer .h5 {
        font-size: 17px;
        line-height: 26px;
    }

    #footer p {
        font-size: 14px;
        line-height: 25px;
    }
}


#partners {
    background-color: #000940;
    color: #fff;
}

    #partners img {
        max-width: 120px;
        height: 100px;
    }

.asia_badminton {
    max-width: 160px !important;
    height: 100px;
}

.hover-animate {
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .hover-animate:hover {
        transform: scale(1.03);
    }

.anchor_read {
    font-weight: 600;
}

.hover-animate:hover h5,
.hover-animate:hover .anchor_read {
    color: #ff6600;
    transition: color 0.3s ease;
}

.hover-animate:hover span {
    padding-left: 6px;
}

.hover-animate:hover p {
    color: #fff
}

.hover-animate:hover .anchor_read i {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

#sponsers {
    background: #E1513F;
}

    #sponsers img {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 120px;
        object-fit: contain;
    }

        #sponsers img:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            filter: contrast(1.2);
        }

#hero-section, marquee {
    background-color: #000940;
}

.logo_head {
    max-width: 180px;
}

.top_nav .dropdown-select {
    max-width: 260px;
    border: unset;
    border-bottom: 1px solid;
    border-radius: unset;
}

.form-select:focus {
    box-shadow: unset !important;
}

marquee {
    color: #fff;
}

#header {
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}
.menu_ranking.scrolled_true {
    height: 60vh; /* Adjust based on header/footer height */
    overflow-y: scroll;
}

.menu_ranking_female.scrolled_true {
    height: 70vh; /* Slightly taller content area */
    overflow-y: scroll;
}
.menu_ranking {
    height: 50vh; /* Adjust based on header/footer height */
    overflow-y: scroll;
}

.menu_ranking_female {
    height: 50vh; /* Slightly taller content area */
    overflow-y: scroll;
}

#header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff; /* or any solid color */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* optional */
}

    #header .dropdown-item {
        border-bottom: 1px solid #8686868C;
        font-size: 15px;
        padding-top: 8px;
        padding-bottom: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.btn_head {
    line-height: 30px;
}

#header .dropdown-menu {
    padding: 0px;
    border-radius: 4px;
    min-width: 200px;
}

@media (max-width: 992px) {
    #header .dropdown-menu {
        margin: 10px;
    }

    #header .dropdown-item {
        white-space: pre-line;
    }

    #header .nav-link {
        font-size: 16px;
        border-bottom: 1px solid #352e5c;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }
}

#header .dropdown-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #000; /* base text color */
    transition: color 0.2s ease;
}

    #header .dropdown-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: #000940;
        z-index: -1;
        transition: left 0.3s ease;
    }

    #header .dropdown-item:hover,
    #header .dropdown-item:focus {
        color: #fff;
    }

        #header .dropdown-item:hover::before,
        #header .dropdown-item:focus::before {
            left: 0;
        }

#header.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: box-shadow 0.3s ease-in-out;
}

#news .box_new_list {
    position: relative;
    transition: all 0.8s ease;
    border-left: 3px solid #fff;
    overflow: hidden;
    z-index: 1;
}

    #news .box_new_list::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background-color: rgba(225, 81, 63, 0.1); /* Light shade of #E1513F */
        transition: width 0.3s ease;
        z-index: -1;
    }

    #news .box_new_list:hover::before {
        width: 100%;
    }

    #news .box_new_list:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-left: 3px solid #E1513F;
        text-decoration: none;
    }

.news_main {
    display: block;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 0 15px 15px;
}

    .news_main img {
        transition: transform 0.4s ease;
    }

    .news_main:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-bottom: 3px solid #E1513F;
        text-decoration: none;
        background-color: rgba(225, 81, 63, 0.1); /* Light shade of #E1513F */
    }

        .news_main:hover img {
            transform: scale(1.05); /* Scale-up effect */
        }

#tournament {
    color: #000;
    background-image: url('../images/Tournaments-Results-MBA.png'); /* Fallback */
    background-image: image-set( url('../images/Tournaments-Results-MBA.webp') type('image/webp'), url('../images/Tournaments-Results-MBA.png') type('image/png') );
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.quote_color_left {
    color: #d1d1d1;
    position: absolute;
    top: -6px;
    left: -24px;
}

.quote_color_right {
    color: #d1d1d1;
    position: relative;
    top: -5px;
}

.about_images .img_1 {
    padding-right: 80px;
}

.about_images .img_2 {
    position: absolute;
    width: 220px;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    border: 3px solid #fff;
}

.about_images:hover .img_2 {
    filter: contrast(1.2);
    box-shadow: 0 0 16px rgba(225, 81, 63, 0.4);
    transition: all 0.3s ease;
}

.about_images:hover .img_1 {
    transform: scale(1.02);
    transition: all 0.3s ease;
}

#about .about_content {
    border-left: 4px solid #E1513F;
    padding-left: 33px;
}

@media (max-width: 992px) {
    .about_images .img_1 {
        padding-right: 40px;
    }

    .about_images .img_2 {
        position: absolute;
        width: 160px;
        right: 4px;
    }
}

#committees {
    background: #E1513F;
}

    #committees .box_comm:hover {
        filter: contrast(1.2);
        transition: all 0.3s ease;
        transform: scale(1.02);
    }

#calender {
    margin-top: -220px;
}

    #calender.cal_tour {
        margin-top: 0px;
    }

@media (max-width: 768px) {

    .calender_img {
        height: 240px;
        object-fit: cover;
        object-position: center right;
    }
}

.table_box {
    background: #D9D9D9 !important;
    border-radius: 4px;
}

.btn_table {
    background: #C1C1C1;
    color: #fff;
    padding: 5px 10px;
    transform: skewX(-30deg); /* Increase for more visible skew */
    display: inline-block; /* Prevent visual clipping */
    border: none;
    min-width: 160px;
    border-radius: 0px !important;
}

    .btn_table span {
        display: inline-block;
        transform: skewX(30deg);
    }

    .btn_table:hover, .btn_table.active {
        background: #E1513F !important;
        color: #fff;
    }

/* DATA TABLES */

table.datatable_custom thead th,
table.datatable_custom thead td {
    background: #000940 !important;
    color: #fff;
    text-align: left;
    padding-top: 15px;
    padding-bottom: 15px;
}

table.datatable_custom thead::after {
    content: "";
    display: table-row;
    height: 10px;
}

table.datatable_custom th, table.datatable_custom td {
    border: 1px solid #ccc; /* Inner grid lines */
    padding: 15px 12px; /* Adjust as needed */
    text-align: left;
    vertical-align: middle;
}

    table.datatable_custom td:first-child {
        text-align: center !important;
    }


    /* Columns that should wrap */
    table.datatable_custom td.wrapped-col,
    table.datatable_custom th.wrapped-col {
        max-width: 280px;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

.badge-wrapper {
    position: relative;
    padding-right: 30px; /* space for badge */
    display: flex;
    align-items: center; /* vertically center content and badge */
    min-height: 100%;
}
/* Allow wrapping but let wide content stay wide when possible */
table.datatable_custom td.auto-width-col,
table.datatable_custom th.auto-width-col {
    white-space: nowrap !important;
    width: auto !important;
}

.badge-wrapper::after {
    content: "ACTIVE";
    position: absolute;
    top: 64%;
    right: 0px;
    transform: translateY(50%) rotate(90deg);
    transform-origin: right center;
    background: #02A91B;
    color: #fff;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    white-space: nowrap;
    border-radius: 3px;
}


/* Explicitly wide column */
table.datatable_custom td.large__width,
table.datatable_custom th.large__width {
    min-width: 200px !important;
    max-width: 380px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

table.datatable_custom td.child {
    text-align: start !important;
}

@media (max-width: 992px) {


    .badge-wrapper::after {
        content: unset;
    }

    .active_tr td {
        background: #c6e1c7 !important;
    }
}


@media (max-width: 768px) {
    table.datatable_custom th,
    table.datatable_custom td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .dtr-title, .dtr-data {
        font-size: 12px;
    }

    .dtr-details {
        width: 100%;
    }

    .btn_table {
        min-width: 120px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    table.dataTable > tbody > tr.child span.dtr-title {
        display: block !important;
    }
}

@media (max-width: 768px) {
    h2 {
        text-align: center;
    }
}

#login .form-control, #login .form-select {
    padding: 8px 12px !important;
}

#login .contains_img {
    overflow: hidden;
}

/* Zoom effect */
.img_hover {
    transition: transform 0.4s ease;
}

#login .contains_img:hover .img_hover {
    transform: scale(1.1);
    will-change: transform;
}

.form-check-input {
    border: 1px solid #454545;
}

.content_signup {
    width: 100%;
    background: #00000096;
}

@media (max-width: 992px) {
    .contains_img {
        height: 200px;
    }

    .content_signup {
        height: 100%;
    }

    .contains_img .btn_theme {
        padding: 4px 15px;
    }
}



#maharashtra-badminton-association-entry-form .form-select {
    padding: 0px 12px !important;
}


#maharashtra-badminton-association-entry-form .form-design .form-select, #maharashtra-badminton-association-entry-form .form-design .form-control {
    border: 1px solid #A1A1A1;
}

#maharashtra-badminton-association-entry-form .form-floating label, #maharashtra-badminton-association-entry-form .form-floating .form-select {
    color: #828282 !important;
}

#maharashtra-badminton-association-entry-form .form-floating .text-grey {
    color: #454545 !important;
}

.text-dark-grey {
    color: #454545;
}

.border-grey {
    border: none;
    height: 1px;
    background: linear-gradient(to right, white 0%, white 25%, #D3D3D3 50%, white 75%, white 100%);
    opacity: unset !important;
}

.dark-blue {
    background: #000940;
}

.bg-violet {
    background: #4D537A;
}

#maharashtra-badminton-association-entry-form .player-i {
    border: 1px solid #A3A3A3;
}

#maharashtra-badminton-association-entry-form .form-control:focus {
    box-shadow: 0 0 0 .25rem #4d537ab0 !important;
}

#maharashtra-badminton-association-inner-banner {
    background: #E1513F;
}

    #maharashtra-badminton-association-inner-banner .inner-headings {
        padding-top: 80px;
        padding-bottom: 80px;
    }

@media(min-width: 768px) {
    #maharashtra-badminton-association-inner-banner .geometric-design-1 {
        background: url('../images/geometric-design-1.png');
        background-size: auto 100%;
        background-repeat: no-repeat;
        background-position: center left;
    }
}

#maharashtra-badminton-association-inner-banner .geometric-design-2 {
    background: url('../images/geometric-design-2.png');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center right;
}

@media(max-width: 768px) {
    #maharashtra-badminton-association-inner-banner .geometric-design-2 {
        background-size: auto 50%;
        background-position: bottom right;
    }
}

.table-bg-light-grey {
    background: #D9D9D9;
    padding: 6px 14px 6px 10px;
}

#maharashtra-badminton-association-india-bank-details td:first-child, td, th {
    text-align: left !important;
}

.rankings td, .rankings th {
    text-align: center !important;
}

    .rankings td:nth-child(2), .rankings th:nth-child(2), .rankings td:nth-child(4), .rankings th:nth-child(4), .rankings td:nth-child(5), .rankings th:nth-child(5) {
        text-align: left !important;
    }

.inner-headings h1 {
    margin-bottom: 0px;
    font-size: 38px;
}

@media(max-width: 768px) {
    .inner-headings h1 {
        margin-bottom: 0px;
        font-size: 22px;
    }
}

.active > .page-link, .page-link.active {
    background-color: #000940;
    border-color: #000940;
}

.page-link {
    color: #000940;
}

.tab-content td {
    text-transform: capitalize !important;
}


#faq .accordion-item {
    margin-bottom: 15px;
    border: 1px solid rgba(79, 81, 85, 0.32);
    -webkit-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
    border-top: 1px solid rgba(79, 81, 85, 0.32) !important;
}

#faq .accordion-button:not(.collapsed) {
    background: #e1513f5c !important;
    border-bottom: 1px solid #000940 !important;
}

#faq .accordion-body {
    background: #e1513f5c !important;
}

#faq .accordion-button:focus {
    box-shadow: unset !important;
}

#faq .accordion-button {
    font-weight: 600;
    background: #000940;
    color: #fff;
    border-radius: 0px !important;
}

#faq .accordion-item:last-of-type .accordion-button.collapsed, #faq .accordion-item:first-of-type, #faq .accordion-item:last-of-type {
    border-radius: unset;
}

#faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

#faq .accordion-button:not(.collapsed) {
    color: #000940;
}


table tbody tr td ul li {
    white-space: break-spaces !important;
}

table thead tr th {
    white-space: break-spaces !important;
}

#header .active {
    color: #E1513F !important;
    font-weight: 500 !important;
}

.dropdown-item.active {
    background: #000940 !important;
}
/* Collapsed state (green +) */
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
    content: "+" !important;
    display: inline-block !important;
    font-weight: bold;
    color: #fff;
    background-color: #31b131;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    line-height: 16.6px;
    text-align: center;
    margin-right: auto !important;
    border: none !important;
    border: 1px solid white !important;
}

/* Expanded state (red -) */
table.dataTable.dtr-inline.collapsed > tbody > tr.dtr-expanded > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr.dtr-expanded > th.dtr-control:before {
    content: "-" !important;
    background-color: #d33333;
    color: #fff;
}
.active_dot_tournament {
    width: 36px;
    height: 18px;
    display: block;
    background: #bcd6bd;
    border: 1px solid #31b131;
}
table.dataTable > tbody > tr.child ul.dtr-details > li:last-child {
    white-space: normal !important; /* allow wrapping */
    word-break: break-word;
}
#footer {
    padding: 60px 0 40px;
}

    #footer .underline_h6 {
        border-bottom: 2px solid #fff;
        display: inline-block;
        padding-bottom: 5px;
    }