/* :root {
    --primary: #F5F7FB;
    --secondary: #0F172A;
    --accent: linear-gradient(135deg, #2563EB, #22D3EE);
} */





/* ==================== Theme ==================== */
body.dark {
    background: #ff6600;
}
body.light {
    background: #FFFAF0;
}
.toggle_button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
#toggle {
    background-color: white;
    display: inline-flex;
    /* align-items: center; */
    /* justify-content: center; */
    padding: 5px;
    /* padding: 0 20px 0 20px; */
    border-radius: 50%;
}
/* .logo_box, #toggle {
    display: inline-flex;
    background-color: black;
    align-items: center;
    justify-content: center;
    padding: 0 20px 0 20px;
} */
body.light button {
    /* background: #0b0b0b; */
}
button img {
    width: 28px;
    height: 28px;
}





/* ==================== Preloadder ==================== */
.parent_div1 {
    border-style: solid;
    border-width: 4px;
    border-color: red;
    width: 100%;
    height: 750px;
    position: relative;
}
.preloadder, .parent_div2 {
    border-style: solid;
    border-width: 4px;
    border-color: red;
    width: 200px;
    height: max-content;
    /* line-height: 300px; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: black;
}
.preloadder1 {
    color: black;
    font-size: 50px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-align: center;
}
a:link {
    color: white;
    text-decoration-line: none;
}
a:visited {
    color: white;
}





/* ==================== Profile Summary ==================== */
.parent_div2 {
    border-color: white;
    text-align: center;
    justify-items: center;
    width: 500px;
    height: 600px;
}
.summary_box {
    border-style: solid;
    border-width: 4px;
    border-color: red;
    /* width: max-content; */
    /* height: max-content; */
    margin: 10px 0 10px 0;
    /* margin-bottom: 10px; */
    width: 400px;
    height: 500px;
}
.close_box {
    border-style: solid;
    border-width: 4px;
    border-color: red;
    width: 100px;
}





/* ==================== Search Bar ==================== */
.search_bar{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border-style: solid;
    border-radius: 3px;
    border-color: black; */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 50px;
    box-shadow: 0 0 40px rgba(0,0,0,0.3);
    transition: 0.5s ease-in-out;
}

.search_bar input{
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 400;
    background-color: transparent;
    color: black;
}

.search_bar i {
    cursor: pointer;
    font-size: 25px;
    color: red;
}

.search_bar:hover {
    width: 400px;
}





/* ==================== App Logo ==================== */
.logo_box/*, #toggle*/ {
    display: inline-flex;
    background-color: black;
    align-items: center;
    justify-content: center;
    padding: 0 20px 0 20px;
    border-radius: 15px;
}





/* ==================== Advert Box ==================== */
.advert_box {
    border-style: solid;
    border-radius: 3px;
    border-color: black;
    width: 100%;
    height: 600px;
    margin: 30px 0 -75px 0;
    /* background-color: limegreen; */
    border-radius: 10px;
}





/* ==================== Navigation Bar ==================== */
.nav_box {
    /* margin: 0; */
    /* padding: 0; */
    font-size: 15pt;
    display: flex;
    justify-content: initial;
    /* width: 90%; */
}
nav {
    /* margin: 0; */
    /* padding: 0; */
    height: 60px;
    width: 100%;
    background-color: #0F172A;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}
.links_container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
nav a {
    height: 100%;
    padding: 0 20px;
    /* display: flex; */
    align-items: center;
    text-decoration: none;
    color: blue;
}
nav a:hover {
    /* background-color: black; */
    background: linear-gradient(135deg, #007cf0, #00dfd8);
}
nav a { text-decoration: none; color: inherit; }
nav .anova_logo {
    margin-right: auto;
}
nav img {
    fill: white;
}
#sidebar_active {
    display: none;
}
.open_sidebar_button, .close_sidebar_button {
    display: none;
}
@resources(max-width: 480px) {
    .links_container {
        flex-direction: column;
        align-items: flex-start;

        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10px;
        width: 300px;

        background-color: black;
        box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
        transition: .75s ease-out;
    }
    nav a {
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
    }
    .open_sidebar_button, .close_sidebar_button {
        padding: 20px;
        display: block;
    }
    #sidebar_active:checked ~ .links_container {
        right: 0;
    }
    #sidebar_active:checked ~ #overlay {
        background: red;
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }
}





/* ==================== Home ==================== */
.carousel {
    width: 100%;
    overflow-x: auto;
    margin: 3em auto;
    display: flex;
    gap: 1em;
    scroll-behavior: smooth;
    anchor-name: --carousel;
    scroll-snap-type: x mandatory;
    scroll-marker-group: after;
}
.caurosel_box, .caurosel_box2 {
    border-style: solid;
    border-color: white;
    /* background-color: #0F172A; */
    border-radius: 3px;
    border-width: 3px;
    margin-top: 100px;
    margin-bottom: -20px;
    text-align: center;
    font-size: 25px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
    /* padding-top: -5px; */
    /* padding-bottom: -5px; */
}
.carousel::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: .5em;
}
.card::scroll-marker {
    content: '';
    height: 1em;
    width: 1em;
    background-color: #0F172A; /* var(--primary-color); */
    border-radius: 50%;
}
.card::scroll-marker:target-current {
    background-color: darkslategrey; /* var(--brand-color); */
}
.carousel::-webkit-scrollbar {
    display: none;
}
.carousel::-webkit-scrollbar-button(right), .carousel::-webkit-scrollbar-button(left) {
    content: '→';
    border: none;
    background-color: red; /* var(--brand-color); */
    font-family: Consolas;
    font-size: 3em;
    color: white;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    padding-bottom: .1em;
    cursor: pointer;
    position: fixed;
    position-anchor: --carousel;
    position-area: right center;
    translate: -50%;
}
.carousel::-webkit-scrollbar-button(left) {
    content: '←';
    position-area: left center;
    translate: 50%;
}
.carousel::scroll-button(right):disabled, .carousel::scroll-button(left):disabled {
    opacity: .5;
    cursor: auto;
}
.card {
    scroll-snap-align: start;
    flex: 0 0 20em;
    height: 28em;
    background-color:black; /* var(--primary-color); */
    /* padding: 1em; */
    border-radius: .5em;
    text-align: center;
    align-content: end;
    color: white; /* initially not there */
    background-size: cover;
}
@resources(max-width: 500px) {
    .card {
        flex: 0 0 100%;
    }
}
.bottom_nav, .left_bottom_nav, .right_bottom_nav {
    margin-top: 5em;
    border-style: solid;
    border-color: black;
    border-width: 3px;
    border-radius: 15px;
    width: 100%;
    height: 300px;
    position: relative;
}
.left_bottom_nav {
    width: 45%;
    height: 250px;
    position: absolute;
    left: 20px;
    bottom: 22px;
}
.right_bottom_nav {
    width: 45%;
    height: 250px;
    position: absolute;
    right: 20px;
    bottom: 22px;
}
.card_background {
    background-color: #0F172A;
    padding: 15px;
}





/* ==================== News ==================== */
#wrap {
    flex-wrap: wrap;
}
.news_card_box, .guild_card_box, .ec_card_box, .chairmen_card_box, .male_card_box, .female_card_box, .men_card_box, .ladies_card_box, .m_a_card_box, .f_a_card_box,
.cees_card_box {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    border-style: solid;
    border-color: black;
    /* padding: 0 -50px 0 -50px; */
}
.news_card_box > .news_card, .m_a_card, .f_a_card, .card {
    background-color: black;
    border-radius: .5em;
    flex: 0 0 20em;
    height: 28em;
    /* width: 360px;
    height: 480px; */
    margin: 30px;
    text-align: center;
    align-content: end;
}





/* ==================== 1 ==================== */
.guild_card_box > .guild_card, .ec_card, .chairmen_card, .male_card, .female_card, .men_card, .ladies_card {
    background-color: black;
    border-radius: .5em;
    flex: 0 0 20em;
    height: 28em;
    /* width: 360px;
    height: 480px; */
    margin: 30px;
    text-align: center;
    align-content: end;
}





/* ==================== Footer ==================== */
footer {
    background-color: #0F172A;
    margin-top: 48px;
}
.footer_container {
    width: 100%;
    padding: 70px 0 20px;
}
.social_icons {
    display: flex;
    justify-content: center;
}
.social_icons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
}
.social_icons a i {
    font-size: 2em;
    color: black;
    opacity: 0.9;
}
/* Hover Effects */
.social_icons a:hover {
    background-color: #111;
    transition: 0.5s;
}
.social_icons a:hover i {
    color: white;
    transition: 0.5s;
}
.footer_nav {
    margin: 30px 0;
}
.footer_nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}
.footer_nav ul li a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
}
.footer_nav ul li a{
    opacity: 1;
}
.footer_bottom{
    background-color: #0F172A;
    padding: 20px;
    text-align: center;
}
.footer_bottom p{
    color: white;
}
.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}

@resources (max-width: 700px) {
    .footer_nav ul {
        flex-direction: column;
    }
    .footer_nav ul li {
        width: 100%;
        text-align: center;
        margin: 10px;
    }
}





/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */

/* This acts as your section/container background */
.big_chip_wrapper {
    /* background-color: #0f0f0f; */
    font-family: "Roboto", Arial, sans-serif;
    display: flex;
    justify-content: center;
    width: 100%;
    /* padding: 20px 0; */
    margin-top: 10px;
    border-radius: 10px;
}

/* Container for the chips and absolute arrows */
.nav-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 95%;
    /* max-width: 1200px; */
    overflow: hidden;
}

/* The scrollable area */
.chip-wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 12px 0;
    /* Hide scrollbars */
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
}

.chip-wrapper::-webkit-scrollbar {
    display: none;
}

/* Individual Chip Styling */
.chip a {
    color: black;
}
.chip {
    background-color: rgba(255, 255, 255, 0.1);
    color: #0f0f0f;
    padding: 8px 16px;
    border-style: solid;
    border-radius: 10px;
    border-width: 1px;
    border-color: lightgray;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    flex-shrink: 0;
}

.chip:hover {
    background: linear-gradient(135deg, #007cf0, #00dfd8);
}

/* .chip.active {
    background-color: #ffffff;
    color: #000000;
} */

/* Navigation Buttons - Absolute to .nav-container */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 100%;
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: #ffffff;
    z-index: 5;
}

#prev-btn {
    left: 0;
    background: linear-gradient(90deg, #0f0f0f 70%, transparent);
}

#next-btn {
    right: 0;
    background: linear-gradient(270deg, #0f0f0f 70%, transparent);
}

.arrow-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    background: rgba(15, 15, 15, 0.8);
    border-radius: 50%;
    padding: 8px;
    transition: background 0.3s;
}

.arrow-btn:hover svg {
    background: rgba(255, 255, 255, 0.15);
}




/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
/* .big_div {
    display: flex;
    border-style: solid;
    border-radius: 3px;
    border-color: blue;
    width: 100%;
    padding: 5px;
    margin-top: 30px;
}

.big_div > div {
    height: 500px;
    margin: 25px;
}

.left_div {
    flex-grow: 1;
    background: yellow;
    position: relative;
}

.right_div {
    flex-grow: 1;
    background: yellow;
    background-image: url(/resources/images/IMG-20260111-WA0089.jpg);
    background-size: cover;
}

.info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
} */

.caurosel_box2 {
    margin: 20px;
}


/* The Parent Container */
.parent {
    display: flex;          /* Activates Flexbox */
    gap: 20px;              /* Adds space between the children */
    padding: 20px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    height: 600px;
    margin-top: 30px;
}

/* The Child Elements */
.child {
    flex: 1;                /* Makes both divs take up equal width */
    /* padding: 30px; */
    text-align: center;
    color: white;
    font-family: sans-serif;
    font-weight: bold;
    border-radius: 8px;
    position: relative;
}

.left {
    flex: 0 0 20em;
    height: 28em;
    background-color: #3498db;
    background-size: cover;
}

.right {
    background-color: #e74c3c;
}