/* Fonts */
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
    --color-bg: #0f0f3e;
    --color-white: #f2f2fe;
    --header-color: #149ddd;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff;
    /* Background color for the entire website, including individual sections */
    --default-color: #272829;
    /* Default color used for the majority of the text content across the entire website */
    --heading-color: #050d18;
    /* Color for headings, subheadings and title throughout the website */
    --accent-color: #149ddd;
    /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff;
    /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff;
    /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
    --card-border-radius-5: 5rem;
    --color-gray-900: #1e1e66;
    --color-gray-200: rgba(242, 242, 254, 0.7);
    --color-gray-300: rgba(242, 242, 254, 0.3);
    --card-border-radius-1: 0.3rem;
    --card-border-radius-2: 0.5rem;
    --card-border-radius-3: 0.8rem;
    --card-border-radius-4: 2rem;
    --card-border-radius-5: 5rem;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #a8a9b4;
    /* The default color of the main navmenu links */
    --nav-hover-color: #ffffff;
    /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #040b14;
    /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #040b14;
    /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #a8a9b4;
    /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #ffffff;
    /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

:root {
    --search-color-gray-900: #1e1e66;
    --search-card-border-radius-2: 0.5rem;
    --search-color-bg: #0f0f3e;
    --search-color-gray-300: rgba(242, 242, 254, 0.3);
    --search-color-white: #f2f2fe;
    --search-color-gray-200: rgba(242, 242, 254, 0.7);
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f4fafd;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #040b14;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #151f2b;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

.#ModalMsg {
    padding-right: 0 !important;
    overflow: hidden !important;
}

body.modal-open {
    padding-right: 0 !important;
    overflow: hidden !important;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

    a:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 25%);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    color: var(--default-color);
    background-color: var(--background-color);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    padding: 0 5px;
    width: 300px;
    transition: all ease-in-out 0.3s;
    overflow-y: auto;
    z-index: 997;
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .header .profile-img img {
        margin: 15px auto;
        display: block;
        width: 120px;
        border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
    }

    .header .addressInfo {
        margin-left: 0px;
        padding-left: 0px;
        padding-top: 0px;
        white-space: nowrap;
        border-color: #a8a9b4;
        background-color: #040b14;
    }

        .header .addressInfo .addressText {
            padding-left: 0px;
            padding-top: 0px;
            font-size: 12px;
        }

    .header .logo {
        line-height: 1;
        margin-bottom: 15px;
    }

        .header .logo img {
            max-height: 32px;
            margin-right: 8px;
        }

        .header .logo h1 {
            font-size: 24px;
            margin: 0;
            font-weight: 700;
            color: var(--heading-color);
        }

    .header .social-links {
        margin: 0 0 20px 0;
    }

        .header .social-links a {
            font-size: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: color-mix(in srgb, var(--default-color), transparent 90%);
            color: var(--default-color);
            margin: 0 2px;
            border-radius: 50%;
            text-align: center;
            width: 40px;
            height: 40px;
            transition: 0.3s;
        }

            .header .social-links a:hover {
                color: var(--contrast-color);
                background: var(--accent-color);
            }

@media (min-width: 1200px) {

    .header ~ main,
    .header ~ #footer {
        margin-left: 300px;
    }
}

@media (max-width: 1199px) {
    .header {
        left: -100%;
    }
}

.header.header-show {
    left: 0;
}

.header .header-toggle {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    top: 5px;
    left: 40px;
    z-index: 9999;
    transition: background-color 0.3s;
}

    .header .header-toggle:hover {
        color: var(--contrast-color);
        background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
    }

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
    display: none;
}

.navmenu {
    padding: 0;
    z-index: 9997;
}

    .navmenu ul {
        list-style: none;
        padding: 0 0 5px 0;
        margin: 0;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 5px 5px;
        font-family: var(--nav-font);
        font-size: 16px;
        font-weight: 400;
        display: flex;
        align-items: center;
        white-space: nowrap;
        transition: 0.3s;
        width: 100%;
    }

        .navmenu a .navicon,
        .navmenu a:focus .navicon {
            font-size: 20px;
            margin-right: 10px;
        }

        .navmenu a .toggle-dropdown,
        .navmenu a:focus .toggle-dropdown {
            font-size: 12px;
            line-height: 0;
            margin-left: auto;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: 0.3s;
            flex-shrink: 0;
            background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
        }

            .navmenu a .toggle-dropdown:hover,
            .navmenu a:focus .toggle-dropdown:hover {
                background-color: var(--accent-color);
                color: var(--contrast-color);
            }

        .navmenu a:hover,
        .navmenu .active,
        .navmenu .active:focus {
            color: var(--nav-hover-color);
        }

            .navmenu a:hover .navicon,
            .navmenu .active .navicon,
            .navmenu .active:focus .navicon {
                color: var(--accent-color);
            }

            .navmenu .active .toggle-dropdown,
            .navmenu .active:focus .toggle-dropdown {
                background-color: var(--accent-color);
                color: var(--contrast-color);
                transform: rotate(180deg);
            }

    .navmenu .dropdown {
        display: block;
    }

        .navmenu .dropdown a,
        .navmenu .dropdown a:focus {
            color: --nav-dropdown-color;
        }

            .navmenu .dropdown a:hover,
            .navmenu .dropdown .active,
            .navmenu .dropdown .active:focus {
                color: var(--nav-dropdown-hover-color);
            }

        .navmenu .dropdown ul {
            position: static;
            display: none;
            z-index: 99;
            padding: 5px 10px;
            margin: 0px 0px;
            background-color: var(--nav-dropdown-background-color);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            box-shadow: none;
            transition: all 0.5s ease-in-out;
        }

            .navmenu .dropdown ul ul {
                background-color: rgba(33, 37, 41, 0.1);
            }

        .navmenu .dropdown > .dropdown-active {
            display: block;
            background-color: rgba(33, 37, 41, 0.03);
        }

/* ================================
   PAGE TITLE – CLASSIC DESIGN (BLACK BG OPTIMIZED)
   ================================== */

.page-title {
    color: var(--default-color);
    background-color: #081c3d; /* Your black theme */
    padding: 5px 0;
    position: relative;
    text-align: center;
}

/* Desktop Heading */
.page-title .headerText {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: 2.3rem;
    text-transform: uppercase;
    letter-spacing: 0.20em;

    /* Bright classic gold */
    color: #f7eac1;  

    padding: 1rem 2rem;

    /* Stronger gold borders for black background */
    border-top: 2px solid rgba(255, 255, 200, 0.25);
    border-bottom: 2px solid rgba(255, 255, 200, 0.25);

    /* More visible shadow on black background */
    box-shadow: 0 4px 22px rgba(255, 255, 255, 0.12);

    position: relative;
    width: auto;
    left: 0;
    transform: none;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding: 40px 0;
    position: relative;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .footer .copyright p {
        margin-bottom: 0;
    }

    .footer .credits {
        margin-top: 4px;
        font-size: 13px;
        text-align: center;
    }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #ffffff;
        border-color: var(--accent-color) transparent var(--accent-color) transparent;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: animate-preloader 1.5s linear infinite;
    }

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Popup Message
--------------------------------------------------------------*/
.MessageDiv {
    position: fixed;
    left: 50%;
    top: 50%;
    text-align: center;
    color: white;
    padding: 20px;
    /*width:500px;*/
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    z-index: 1000;
}

    .MessageDiv .closebtn {
        position: absolute;
        z-index: 1001;
        top: 8px;
        right: 12px;
        border: none;
        font-size: 25px;
        font-weight: bold;
        color: white;
        cursor: pointer;
    }

        .MessageDiv .closebtn:hover {
            color: greenyellow;
        }

.OTPSpinnerDiv {
    display: none;
    text-align: center;
    width: 100%;
}
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

    .scroll-top i {
        font-size: 24px;
        color: var(--contrast-color);
        line-height: 0;
    }

    .scroll-top:hover {
        background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
        color: var(--contrast-color);
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 15px;
    }

/*--------------------------------------------------------------
# for mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    .page-title {
        padding: 40px 0 30px;
    }

    .page-title .headerText {
        font-size: 1.6rem;
        letter-spacing: 0.12em;
        line-height: 1.3;
    }

    .page-title::after {
        width: 75%;
        margin-top: 18px;
    }

    .LoginIcon {
        width: 20px;
        height: 20px;
    }

    .page-title .headericons {
        position: absolute;
        top: 10px;
        right: 20px;
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 10;
    }
}

.page-title .headericons {
    position: absolute;
    right: 0px;
}

.LoginIcon:hover {
    fill: #149ddd;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
    }

        .section-title h2:after {
            content: "";
            position: absolute;
            display: block;
            width: 50px;
            height: 3px;
            background: var(--accent-color);
            left: 0;
            bottom: 0;
        }

    .section-title p {
        margin-bottom: 0;
    }


/*--------------------------------------------------------------
# Home Section
--------------------------------------------------------------*/

.HomeSection .HomeInfo {
    background-color: #f4fafd;
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .HomeSection .HomeInfo .card-footer a {
        color: black;
        font-size: 20px;
    }

        .HomeSection .HomeInfo .card-footer a:hover {
            color: var(--accent-color);
        }

    .HomeSection .HomeInfo h3 {
        color: #149ddd;
        position: relative;
        text-decoration-line: underline;
        text-underline-offset: 7px;
        text-decoration-color: #FFC312;
    }

.SideactiveGalResponsive {
    overflow-x: hidden;
    margin: auto;
}

.HomeSection .SideHomeResponsive {
    overflow-x: hidden;
}

    .HomeSection .SideHomeResponsive .SideHome .siderow2 {
        margin: auto;
    }

        .HomeSection .SideHomeResponsive .SideHome .siderow2 button {
            background: var(--accent-color);
            color: white;
        }

    .HomeSection .SideHomeResponsive .SideHome .siderow3 button {
        background: var(--accent-color);
        color: white;
        width: 80%;
    }

    .HomeSection .SideHomeResponsive .SideHome .siderow5 button {
        right: 2px;
        font-size: 10px;
        background: var(--accent-color);
        color: white;
    }


/*--------------------------------------------------------------
# Home Section
--------------------------------------------------------------*/
.Home .Home-filters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

    .Home .Home-filters li {
        cursor: pointer;
        display: inline-block;
        padding: 0;
        font-size: 14px;
        font-weight: 400;
        margin: 0 10px;
        line-height: 1;
        text-transform: uppercase;
        margin-bottom: 10px;
        transition: all 0.3s ease-in-out;
    }

        .Home .Home-filters li:hover,
        .Home .Home-filters li.filter-active {
            color: var(--accent-color);
        }

        .Home .Home-filters li:first-child {
            margin-left: 0;
        }

        .Home .Home-filters li:last-child {
            margin-right: 0;
        }

@media (max-width: 575px) {
    .Home .Home-filters li {
        font-size: 14px;
        margin: 0 5px;
    }
}

.Home .Home-content {
    position: relative;
    overflow: hidden;
}

    .Home .Home-content img {
        transition: 0.3s;
    }

    .Home .Home-content .Home-info {
        opacity: 0;
        position: absolute;
        inset: 0;
        z-index: 3;
        transition: all ease-in-out 0.3s;
        background: rgba(0, 0, 0, 0.6);
        padding: 15px;
    }

        .Home .Home-content .Home-info h4 {
            font-size: 14px;
            padding: 5px 10px;
            font-weight: 400;
            color: #ffffff;
            display: inline-block;
            background-color: var(--accent-color);
        }

        .Home .Home-content .Home-info p {
            position: absolute;
            bottom: 10px;
            text-align: center;
            display: inline-block;
            left: 0;
            right: 0;
            font-size: 16px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.8);
        }

        .Home .Home-content .Home-info .preview-link,
        .Home .Home-content .Home-info .details-link {
            position: absolute;
            left: calc(50% - 40px);
            font-size: 26px;
            top: calc(50% - 14px);
            color: #fff;
            transition: 0.3s;
            line-height: 1.2;
        }

            .Home .Home-content .Home-info .preview-link:hover,
            .Home .Home-content .Home-info .details-link:hover {
                color: var(--accent-color);
            }

        .Home .Home-content .Home-info .details-link {
            left: 50%;
            font-size: 34px;
            line-height: 0;
        }

    .Home .Home-content:hover .Home-info {
        opacity: 1;
    }

    .Home .Home-content:hover img {
        transform: scale(1.1);
    }

/*--------------------------------------------------------------
# Home Details Section
--------------------------------------------------------------*/

.Home-details {
    height: 100%;
    width:100%;
    padding: 0;
    margin: 0;
}

    .Home-details .Home-details-slider img {
        width: 100%;
    }

    .Home-details .Home-details-slider .swiper-pagination {
        margin-top: 20px;
        position: relative;
    }

        .Home-details .Home-details-slider .swiper-pagination .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background-color: color-mix(in srgb, var(--default-color), transparent 85%);
            opacity: 1;
        }

        .Home-details .Home-details-slider .swiper-pagination .swiper-pagination-bullet-active {
            background-color: var(--accent-color);
        }

    .Home-details .card-body .nav-pills > li + li {
        margin: 1px;
        padding: 1px;
    }

    .Home-details .tab-content {
        display: flex;
    }

        .Home-details .tab-content > .tab-pane {
            display: block; /* undo "display: none;" */
            visibility: hidden;
            margin-right: -100%;
            width: 100%;
        }

        .Home-details .tab-content > .active {
            visibility: visible;
        }

    .Home-details .card-body ul {
        overflow-x: hidden;
        white-space: nowrap;
        width: 100%;
    }

    .Home-details .card-body li {
        display: inline;
    }

    .Home-details .Home-info {
        padding: 0;
        background-color: #9A616D;
        box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
        vertical-align: top;
    }

        .Home-details .Home-info h3 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
        }

        .Home-details .Home-info ul {
            list-style: none;
            padding: 0;
            font-size: 15px;
        }

            .Home-details .Home-info ul li + li {
                margin-top: 10px;
            }

    .Home-details .Home-description {
        padding-top: 30px;
    }

        .Home-details .Home-description h2 {
            font-size: 26px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .Home-details .Home-description p {
            padding: 0;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
        }

    .Home-details .Home-info .tab-content #forgetOTPSection, #forgetResetSection {
        display: none;
    }

.refreshicons {
    font-size: 30px;
    font-weight: bold;
    background-color: white;
    color: blueviolet;
    border: 0 !important;
}

.spanicons {
    width: 50px;
    height: 40px;
    background-color: #FFC312;
    color: black;
    border: 0 !important;
}

.login_btn {
    padding: 3px;
    font-weight: bold;
    border-radius: 20px;
}

    .login_btn:hover {
        color: black;
        background-color: lightgreen;
        font-weight: bold;
    }

/*--------------------------------------------------------------
/* START CATEGORY SEARCH */
/*-------------------------------------------------------------- */
.search__bar {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    background-color: #9A616D;
    ;
}

.search__bar-container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.6rem 1rem;
    border-radius: var(--search-card-border-radius-2);
}

    .search__bar-container > div {
        width: 100%;
        display: flex;
        align-items: center;
    }

.search__bar input {
    background: transparent;
    margin-left: 0.7rem;
    padding: 0.5rem 0;
    width: 100%;
    color: var(--search-color-white);
}

/* END search */

/* START POSTS */

.posts .cardpost {
    background: #0f0f3e !important;
}

.posts__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.post__thumbnail {
    border-radius: var(--card-border-radius-5) 0;
    border: 1rem solid var(--color-gray-900);
    overflow: hidden;
    margin-bottom: 1.6rem;
    width: 350px;
    height: 200px;
}

.post .post__thumbnail img {
    display: block;
    margin: auto;
    width: 350px;
    height: 200px;
}

.post:hover .post__thumbnail img {
    filter: saturate(0);
    transition: filter 500ms ease;
}

.posts .posts__container a {
    color: var(--search-color-white);
}

.post__body {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.post__author {
    display: flex;
}

.post__author-info h5 {
    margin: 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: yellowgreen;
}

.post__author-info small {
    display: flex;
    font-size: 0.9rem;
    color: yellowgreen;
    text-align: left;
}

/* END POSTS */

/* START SINGLE POST */
.singlepost {
    display: flex;
    flex-direction: column;
}

.singlepost__container {
    display: block;
    align-items: center;
    background: var(--color-bg);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius: var(--card-border-radius-4);
}

    .singlepost__container .cardsinglepost {
        background: var(--color-bg);
        text-align: center;
    }

    .singlepost__container h2 {
        margin-top: 0;
        font-size: 2.5rem;
        font-weight: bold;
        color: white;
        text-align: center;
    }

    .singlepost__container h3 {
        margin-top: 0;
        font-size: 1.5rem;
        font-weight: bold;
        color: white;
        text-align: start;
    }

    .singlepost__container h4 {
        margin-top: 0;
        font-size: 1rem;
        font-weight: bold;
        color: white;
        text-align: start;
    }

.singlepost__author-info h5 {
    display: flex;
    margin: 0.5rem 0;
    padding: 0 8rem;
    font-size: 1rem;
    font-weight: 600;
    color: yellowgreen;
    align-items: start;
}

.singlepost__author-info small {
    display: flex;
    margin: 0.5rem 0;
    padding: 0 8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: yellowgreen;
    align-items: start;
}


.singlepost__thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: var(--card-border-radius-4);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin: 1rem 0;
    text-align: center;
}

.singlepost__container p {
    margin-top: 1rem;
    padding-right: 1rem;
    line-height: 1.8;
    font-size: 1rem;
    color: whitesmoke;
}

.singlepost .singlepost__container .cardsinglepost button:hover {
    background-color: yellowgreen;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.singlepost__container .scrollable {
    overflow-y: auto;
    max-height: 300px;
    white-space: pre-wrap;
    text-align: left;
}

.singlepost__container .singlepost__Swiper .swiper {
    width: 100%;
    height: 100%;
}

.singlepost__container .singlepost__Swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .singlepost__container .singlepost__Swiper .swiper-slide img {
        display: block;
        width: 478px;
        height: 850px;
        border-radius: var(--card-border-radius-4);
        object-fit: cover;
    }

        .singlepost__container .singlepost__Swiper .swiper-slide img:hover {
        }

.singlepost .singlepost__container .cardsinglepost .cardPostFooter {
    display: none;
}

.singlepost .singlepost__container .fileupload {
    display: none;
}

.singlepost .singlepost__container .divPostTextArea {
    overflow-y: auto;
    max-height: 300px;
    width: 100%;
    display: none;
    border: 3px solid #38c;
    border-radius: 1rem;
    margin: 0;
    padding: 0;
}

.singlepost .singlepost__container .divPostTitle {
    display: none;
}

.singlepost .singlepost__container .divPostTextArea textarea {
    background-color: var(--color-gray-900);
    border-radius: var(--card-border-radius-2);
    color: var(--color-white);
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ===========================================
   POST TEXT VIEW + EDIT BOX – DESKTOP
=========================================== */

/* VIEW MODE (p text inside scrollable box) */
.scrollable {
    border: 2px solid #2b74c7;          /* Blue border */
    border-radius: 2px;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    max-height: 380px;
    overflow-y: auto;
    white-space: pre-wrap;
    color: whitesmoke;
    line-height: 1.7;
    margin-top: 1.2rem;
}

/* EDIT MODE (textarea box) */
.divPostTextArea {
    border: 2px solid #2b74c7;         /* Same border as scrollable */
    border-radius: 2px;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    max-height: 380px;
    overflow-y: auto;
    margin-top: 1.2rem;
}

.divPostTextArea textarea {
    width: 100%;
    height: auto;
    background-color: transparent !important;
    color: whitesmoke;
    font-size: 1rem;
    border: none;
    outline: none;
    resize: vertical;
    line-height: 1.7;
}

/* ===========================================
   MOBILE RESPONSIVE VERSION
   (max-width: 768px)
=========================================== */
@media screen and (max-width: 768px) {

    .scrollable {
        max-height: 260px;
        padding: 0.8rem 1rem;
        margin-top: 1rem;
        font-size: 0.95rem;
    }

    .divPostTextArea {
        max-height: 260px;
        padding: 0.7rem;
    }

    .divPostTextArea textarea {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}


.singlepost .singlepost__container input {
    padding: 0.8rem 1.4rem;
    background-color: var(--color-gray-900);
    border-radius: var(--card-border-radius-2);
    resize: none;
    color: var(--color-white);
}

.singlepost .singlepost__container label {
    color: var(--color-white);
}

.singlepost .singlepost__container input::placeholder {
    color: var(--color-gray-200);
}

.singlepost .singlepost__container .fileupload .uploadfilelist li {
    color: var(--color-white);
    text-align: left;
}

.singlepost .singlepost__container .fileupload .fileuploadcard {
    background: var(--color-bg);
    border-color: yellowgreen;
}

/* START ADD POSTS */
.addpost {
    display: flex;
    flex-direction: column;
}

    .addpost .addpost__container {
        display: block;
        align-items: center;
        background: var(--color-bg);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
        border-radius: var(--card-border-radius-4);
    }

        .addpost .addpost__container .addingpost {
            background: var(--color-bg);
            text-align: center;
        }

        .addpost .addpost__container .fileupload .fileuploadcard {
            background: var(--color-bg);
            border-color: yellowgreen;
        }

        .addpost .addpost__container .addingpost h2 {
            margin-top: 0;
            font-size: 2.5rem;
            font-weight: bold;
            color: white;
            text-align: start;
        }

        .addpost .addpost__container .addingpost input {
            padding: 0.8rem 1.4rem;
            background-color: var(--color-gray-900);
            color: var(--color-white);
        }

        .addpost .addpost__container .addingpost textarea {
            padding: 0.8rem 1.4rem;
            background-color: var(--color-gray-900);
            border-radius: var(--card-border-radius-2);
            resize: none;
            color: var(--color-white);
        }

        .addpost .addpost__container .addingpost input::placeholder {
            color: var(--color-gray-200);
        }

        .addpost .addpost__container .addingpost textarea::placeholder {
            color: var(--color-gray-200);
        }

        .addpost .addpost__container .fileupload .fileuploadcard h4 {
            margin-top: 0;
            font-size: 1rem;
            font-weight: bold;
            color: white;
            text-align: start;
        }

        .addpost .addpost__container .fileupload .fileuploadcard input {
            padding: 0.8rem 1.4rem;
            background-color: var(--color-gray-900);
            border-radius: var(--card-border-radius-2);
            resize: none;
            color: var(--color-white);
        }

        .addpost .addpost__container .fileupload .fileuploadcard button {
            display: none;
        }

        .addpost .addpost__container .fileupload .fileuploadcard li {
            color: var(--color-white);
            text-align: left;
        }

/* END SINGLE POST */

/* END SINGLE POST */

.form__control {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

    .form__control.inline {
        flex-direction: row;
        align-items: center;
    }

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
    background-color: var(--background-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

@media (max-width: 575px) {
    .contact .info-wrap {
        padding: 20px;
    }
}

.contact .info-item {
    margin-bottom: 40px;
}

    .contact .info-item i {
        font-size: 20px;
        color: var(--accent-color);
        background: color-mix(in srgb, var(--accent-color), transparent 92%);
        width: 44px;
        height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
        margin-right: 15px;
    }

.contact .section-title h3 {
    font-family: 'Dancing Script', cursive;
    color: var(--header-color);
    padding: 0;
    margin-bottom: 5px;
    font-weight:bold;
}

.contact .info-item h4 {
    font-family: 'Dancing Script', cursive;
    color: var(--header-color);
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

    .contact .info-item p {
        padding: 0;
        margin-bottom: 0;
        font-size: 14px;
    }

    .contact .info-item:hover i {
        background: var(--accent-color);
        color: var(--contrast-color);
    }

.contact .php-email-form {
    background-color: var(--surface-color);
    height: 100%;
    padding: 30px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
    .contact .php-email-form {
        padding: 20px;
    }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color: var(--default-color);
    background-color: var(--surface-color);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

    .contact .php-email-form input[type=text]:focus,
    .contact .php-email-form input[type=email]:focus,
    .contact .php-email-form textarea:focus {
        border-color: var(--accent-color);
    }

    .contact .php-email-form input[type=text]::placeholder,
    .contact .php-email-form input[type=email]::placeholder,
    .contact .php-email-form textarea::placeholder {
        color: color-mix(in srgb, var(--default-color), transparent 70%);
    }

.contact .php-email-form button[type=submit] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
}

    .contact .php-email-form button[type=submit]:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 25%);
    }

.ContactUsDiv {
    display: none;
    text-align: center;
    width: 100%;
}


#popupContainer {
    display: none;
    position: absolute;
    width: 35vw;
    height: 50vh;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    #popupContainer img {
        max-width: 95%;
        max-height: 95%;
        border: 5px solid white;
    }

#popupGallContainer {
    display: none;
    position: absolute;
    width: 35vw;
    height: 50vh;
    background-color: rgba(0,0,0,0.8);
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    #popupGallContainer img {
        max-width: 95%;
        max-height: 95%;
        border: 5px solid white;
    }




/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.AboutSection .AboutInfo {
    background-color: var(--background-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .AboutSection .AboutInfo h3 {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight: bold;
    }

    .AboutSection .AboutInfo p {
        text-align: justify;
        text-justify: inter-word;
    }
/*--------------------------------------------------------------
# About Mission Section
--------------------------------------------------------------*/
.missionSection .missionInfo {
    background-color: var(--background-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .missionSection .missionInfo h3 {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight:bold;        
    }

    .missionSection .missionInfo .hd-approach {
        font-family: 'Dancing Script', cursive;
        font-size: 20px;
        font-weight: bold;
        color: var(--header-color);
        margin-left: 25px;
        margin-top: 10px;
        margin-right: 15px;
    }

    .missionSection .missionInfo .hd-approach-detail {
        margin-left: 25px;
        margin-top: 10px;
        margin-right: 15px;
    }
    .missionSection .missionInfo p, li {
        text-align: justify;
        text-justify: inter-word;
    }
/*--------------------------------------------------------------
# About Objectives Section
--------------------------------------------------------------*/
.objectivesSection .objectivesInfo {
    background-color: var(--background-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .objectivesSection .objectivesInfo h3 {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight: bold;
    }

    .objectivesSection .objectivesInfo p {
        margin-left: 25px;
        margin-top: 10px;
        margin-right: 15px;
        text-align: justify;
        text-justify: inter-word;
    }

/*--------------------------------------------------------------
# Profile Section
--------------------------------------------------------------*/

.profileSection .profileInfo {
    background-color: var(--background-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .profileSection .profileInfo h3 {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        font-weight: bold;
        position: relative;
    }
/*--------------------------------------------------------------
# Management Section
--------------------------------------------------------------*/

.manageSection .manageInfo {
    background-color: var(--background-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .manageSection .manageInfo h3 {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight: bold;
    }

    .manageSection .manageInfo h4 {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight: bold;
    }

    .manageSection .manageInfo .para {
        text-align: justify;
        text-justify: inter-word;
    }

/*--------------------------------------------------------------
# Activity Section
--------------------------------------------------------------*/

.ActivitiesSection .ActivitiesInfo {
    background-color: var(--background-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .ActivitiesSection .ActivitiesInfo h3 {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight: bold;
    }

    .ActivitiesSection .ActivitiesInfo h4 {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight: bold;
    }
    .ActivitiesSection .ActivitiesInfo strong {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight: bold;
    }
    .ActivitiesSection .ActivitiesInfo p {
        text-align: justify;
        text-justify: inter-word;
    }


/*--------------------------------------------------------------
# Activity Gallery Section
--------------------------------------------------------------*/
.activeGalSection .activeGalInfo {
    background-color: var(--background-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}
    .activeGalSection .activeGalInfo h3 {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight: bold;
    }

    .activeGalSection .activeGalInfo .activity_gallery_container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

        .activeGalSection .activeGalInfo .activity_gallery_container .gallery_image {
            overflow: hidden;
            margin-bottom: 1.6rem;
            width: 250px;
            height: 200px;
        }

            .activeGalSection .activeGalInfo .activity_gallery_container .gallery_image img {
                display: block;
                margin: auto;
                width: 250px;
                height: 200px;
            }

/*--------------------------------------------------------------
# Future Plan Section
--------------------------------------------------------------*/
.FutureSection .FutureInfo {
    background-color: var(--background-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .FutureSection .FutureInfo h3 {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight: bold;
    }

    .FutureSection .FutureInfo strong {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight: bold;
    }

    .FutureSection .FutureInfo p {
        text-align: justify;
        text-justify: inter-word;
    }

/*--------------------------------------------------------------
# Video Gallery Section
--------------------------------------------------------------*/
.VideoGallerySection .VideoInfo {
    background-color: var(--background-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .VideoGallerySection .VideoInfo h3 {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight: bold;
    }

    .VideoGallerySection .VideoInfo .video_container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

        .VideoGallerySection .VideoInfo .video_container .gallery_video {
            overflow: hidden;
            margin-bottom: 1.6rem;
            width: 250px;
            height: 200px;
        }
/*--------------------------------------------------------------
# End of Video Gallery Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallerySection .galleryInfo {
    background-color: var(--background-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .gallerySection .galleryInfo h3 {
        font-family: 'Dancing Script', cursive;
        color: var(--header-color);
        position: relative;
        font-weight: bold;
    }

    .gallerySection .galleryInfo .gallery_container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
        .gallerySection .galleryInfo .gallery_container .gallery_photo {
            overflow: hidden;
            margin-bottom: 1.6rem;
            width: 250px;
            height: 200px;
        }


.inlineCaptcha {
    margin-top: 1px;
    box-shadow: 2px 2px 2px 2px gray;
    width: 100px;
    padding: 5px;
    font-weight: 400;
    padding-bottom: 0px;
    height: 40px;
    user-select: none;
    text-decoration: line-through;
    font-style: italic;
    font-size: x-large;
    border: red 2px solid;
    margin-left: 5px;
    margin-right: 5px;
    color: blueviolet;
}