﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body {
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}

* {
    margin: 0;
    box-sizing: border-box;
}

:before, :after {
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.v-center {
    align-items: center;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}
/* header */
.header {
    display: block;
    width: 100%;
    position: relative;
    z-index: 99;
    /*padding:15px;*/
}

    .header .item-left {
        flex: 0 0 17%;
    }

    .header .logo a {
        font-size: 30px;
        color: #000000;
        font-weight: 700;
        text-decoration: none;
    }

    .header .item-center {
        flex: 0 0 66%;
    }
    /*.header .item-right{
	flex:0 0 17%;
	display: flex;
	justify-content: flex-end;
}*/
    .header .item-right a {
        text-decoration: none;
        font-size: 16px;
        color: #555555;
        display: inline-block;
        margin-left: 10px;
        transition: color 0.3s ease;
    }

    .header .menu > ul > li {
        display: inline-block;
        /*line-height: 50px;*/
        /*margin-left: 25px;*/
    }

ul, ol {
    margin-top: 0;
    margin-bottom: 0 !important;
}

.header .menu > ul > li > a {
    font-size: 15px;
    font-weight: 900;
    color: #ffffff;
    position: relative;
    text-transform: capitalize;
    transition: color 0.3s ease;
}
.nav-link.active {
    font-weight: bold;
    border-bottom: 2px solid #fff; /* किंवा रंग */
    color: #ffd700 !important;
}
.header .menu > ul > li .sub-menu {
    position: absolute;
    z-index: 500;
    background-color: #ffffff;
    box-shadow: -2px 2px 70px -25px rgba(0,0,0,0.3);
    padding: 20px 30px;
    transition: all 0.5s ease;
    margin-top: 25px;
    opacity: 0;
    visibility: hidden;
}

@media(min-width: 992px) {
    .header .menu > ul > li.menu-item-has-children:hover .sub-menu {
        margin-top: 0;
        visibility: visible;
        opacity: 1;
    }
}

.header .menu > ul > li .sub-menu > ul > li {
    line-height: 1;
}

    .header .menu > ul > li .sub-menu > ul > li > a {
        display: inline-block;
        padding: 10px 0;
        font-size: 15px;
        color: #555555;
        transition: color 0.3s ease;
        text-decoration: none;
        text-transform: capitalize;
    }

.header .menu > ul > li .single-column-menu {
    min-width: 280px;
    max-width: 350px;
}

.header .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li {
    line-height: 1;
    display: block;
}

    .header .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a {
        padding: 10px 0;
        display: inline-block;
        font-size: 15px;
        color: #555555;
        transition: color 0.3s ease;
    }

.header .menu > ul > li .sub-menu.mega-menu {
    left: 50%;
    transform: translateX(-50%);
}

.header .menu > ul > li .sub-menu.mega-menu-column-4 {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 15px;
}

    .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item {
        flex: 0 0 25%;
        padding: 0 15px;
    }

        .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item .title {
            font-size: 16px;
            color: #ea4636;
            font-weight: 500;
            line-height: 1;
            padding: 10px 0;
        }

        .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item.text-center .title {
            text-align: center;
        }

        .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item img {
            max-width: 100%;
            width: 100%;
            vertical-align: middle;
            margin-top: 10px;
        }

.header .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a:hover,
.header .menu > ul > li .sub-menu > ul > li > a:hover,
.header .item-right a:hover,
.header .menu > ul > li:hover > a {
    color: #ea4636;
}
/* banner section */
.banner-section {
    background-image: url('../img/banner.jpg');
    background-size: cover;
    background-position: center;
    height: 700px;
    width: 100%;
    display: block;
}

.mobile-menu-head,
.mobile-menu-trigger {
    display: none;
}

/*responsive*/
@media(max-width: 991px) {

    .header .item-center {
        order: 3;
        flex: 0 0 100%;
    }

    .header .item-left,
    .header .item-right {
        flex: 0 0 auto;
    }

    .v-center {
        justify-content: space-between;
    }

    .header .mobile-menu-trigger {
        display: flex;
        height: 30px;
        width: 30px;
        margin-left: 15px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }

        .header .mobile-menu-trigger span {
            display: block;
            height: 2px;
            background-color: #ffffff;
            width: 24px;
            position: relative;
        }

            .header .mobile-menu-trigger span:before,
            .header .mobile-menu-trigger span:after {
                content: '';
                position: absolute;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: #ffffff;
            }

            .header .mobile-menu-trigger span:before {
                top: -6px;
            }

            .header .mobile-menu-trigger span:after {
                top: 6px;
            }

    .header .item-right {
        align-items: center;
    }

    .header .menu {
        position: fixed;
        width: 320px;
        background-color: #024;
        left: 0;
        top: 0;
        height: 100%;
        overflow: hidden;
        transform: translate(-100%);
        transition: all 0.5s ease;
        z-index: 1099;
    }

        .header .menu.active {
            transform: translate(0%);
        }

        .header .menu > ul > li {
            line-height: 1;
            margin: 0;
            display: block;
        }

            .header .menu > ul > li > a {
                line-height: 50px;
                height: 50px;
                padding: 0 50px 0 15px;
                display: block;
                border-bottom: 1px solid rgb(255 255 255 / 47%);
            }

                .header .menu > ul > li > a i {
                    position: absolute;
                    height: 50px;
                    width: 50px;
                    top: 0;
                    right: 0;
                    text-align: center;
                    line-height: 50px;
                    transform: rotate(-90deg);
                }

        .header .menu .mobile-menu-head {
            display: flex;
            height: 50px;
            border-bottom: 1px solid rgba(0,0,0,0.1);
            justify-content: space-between;
            align-items: center;
            position: relative;
            z-index: 501;
            position: sticky;
            background-color: #ffffff;
            top: 0;
        }

            .header .menu .mobile-menu-head .go-back {
                height: 50px;
                width: 50px;
                border-right: 1px solid rgba(0,0,0,0.1);
                cursor: pointer;
                line-height: 50px;
                text-align: center;
                color: #000000;
                font-size: 16px;
                display: none;
            }

            .header .menu .mobile-menu-head.active .go-back {
                display: block;
            }

            .header .menu .mobile-menu-head .current-menu-title {
                font-size: 15px;
                font-weight: 500;
                color: #000000;
            }

            .header .menu .mobile-menu-head .mobile-menu-close {
                height: 50px;
                width: 50px;
                border-left: 1px solid rgba(0,0,0,0.1);
                cursor: pointer;
                line-height: 50px;
                text-align: center;
                color: #000000;
                font-size: 25px;
            }

        .header .menu .menu-main {
            height: 100%;
            overflow-x: hidden;
            overflow-y: auto;
        }

        .header .menu > ul > li .sub-menu.mega-menu,
        .header .menu > ul > li .sub-menu {
            visibility: visible;
            opacity: 1;
            position: absolute;
            box-shadow: none;
            margin: 0;
            padding: 15px;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            padding-top: 65px;
            max-width: none;
            min-width: auto;
            display: none;
            transform: translateX(0%);
            overflow-y: auto;
        }

            .header .menu > ul > li .sub-menu.active {
                display: block;
            }

    @keyframes slideLeft {
        0% {
            opacity: 0;
            transform: translateX(100%);
        }

        100% {
            opacity: 1;
            transform: translateX(0%);
        }
    }

    @keyframes slideRight {
        0% {
            opacity: 1;
            transform: translateX(0%);
        }

        100% {
            opacity: 0;
            transform: translateX(100%);
        }
    }

    .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item img {
        margin-top: 0;
    }

    .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item.text-center .title {
        margin-bottom: 20px;
    }

    .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item.text-center:last-child .title {
        margin-bottom: 0px;
    }

    .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item {
        flex: 0 0 100%;
        padding: 0px;
    }

    .header .menu > ul > li .sub-menu > ul > li > a,
    .header .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a {
        display: block;
    }

    .header .menu > ul > li .sub-menu.mega-menu > .list-item > ul {
        margin-bottom: 15px;
    }

    .menu-overlay {
        position: fixed;
        background-color: rgba(0,0,0,0.5);
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1098;
        visibility: hidden;
        opacity: 0;
        transition: all 0.5s ease;
    }

        .menu-overlay.active {
            visibility: visible;
            opacity: 1;
        }
}



/*New*/

/* Header Styles */
.header-wrapper {
    padding: 10px 0; /* Reduced padding */
    border-bottom: 1px solid #eee;
}

.logo {
    display: flex;
    align-items: center;
}

    .logo img.emblem {
        height: 60px; /* Adjusted for responsiveness */
        margin-right: 10px;
    }

.logo_text strong {
    display: block;
    font-size: 0.5em !important; /* Adjusted */
    color: #555;
}

.logo_text h1.h1-logo {
    font-size: 1em !important; /* Adjusted */
    font-weight: bold;
    color: #003366;
    margin: 0;
}

.header-right img.sw-logo {
    height: 50px; /* Adjusted */
    margin-left: 10px;
}

/* Navbar (Menu) Styles */
.navbar {
    background-color: #003366 !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    height: 43px;
}

.navbar-nav .nav-link {
    color: white !important;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1.9rem;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-item.active .nav-link {
        background-color: #06b1ac;
    }

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

ul li {
    padding-bottom: 15px;
    list-style-type: none !important;
    font-weight: 400;
    padding-left: 0px;
}

li.nav-item {
    padding: 9px;
    border-right: 1px solid #fff;
}

/* Carousel Styles */
.carousel-item img {
    width: 100%;
    max-height: 400px; /* Slightly reduced for general view */
    object-fit: cover;
}

.carousel-caption-custom {
    background-color: #003366;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 1.1em; /* Adjusted */
    font-weight: bold;
}

/* Content Section Styles */
.section-row {
    padding: 20px 0;
}

h2.content-title {
    color: #003366;
    font-size: 1.4em; /* Adjusted */
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 15px;
}

.content-section p {
    margin-bottom: 1em !important;
    font-size: 1.9rem;
    /*text-align: center;*/
}

.officer-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fff;
    /* Flex properties will be applied via Bootstrap classes for responsiveness */
}

    .officer-card img {
        width: 80px; /* Base size */
        height: 100px;
        object-fit: cover;
        border: 1px solid #eee;
        flex-shrink: 0; /* Prevent image from shrinking too much in flex layout */
    }

.officer-details .name {
    font-weight: bold;
    color: #003366;
    font-size: 0.95em;
}

.officer-details .designation {
    font-size: 0.85em;
    color: #555;
}

/* Gallery Styles */
.gallery-title {
    text-align: center;
    color: #003366;
    margin-bottom: 20px;
    font-size: 1.6em; /* Adjusted */
    font-weight: bold;
}

.photo-gallery .gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border: 2px solid #eee;
    /* margin-bottom is handled by Bootstrap's .mb-4 on the column */
    transition: transform 0.2s ease-in-out;
}

    .photo-gallery .gallery-item img:hover {
        transform: scale(1.05);
    }

.video-gallery-item {
    position: relative;
    margin-bottom: 20px;
}

    .video-gallery-item img {
        width: 100%;
        border: 2px solid #eee;
    }

.video-playbtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5em; /* Adjusted */
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 8px 12px; /* Adjusted */
    cursor: pointer;
}

.view-all-btn {
    display: block;
    width: fit-content;
    margin: 20px auto 0 auto;
    background-color: #003366;
    color: white;
    border-color: #003366;
    font-size: 0.9rem;
}

    .view-all-btn:hover {
        background-color: #004080;
        color: white;
    }

/* Bottom Logos (Info Cards) */
.info-card-section {
    background-color: #f8f9fa;
    padding: 25px 0; /* Adjusted */
}

.info-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px; /* Adjusted */
    text-align: center;
    height: 150px; /* Adjusted */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .info-card img {
        max-width: 90%; /* Ensure some padding */
        max-height: 100px;
        object-fit: contain;
    }

/* Footer Styles */
#mainFooter {
    color: white;
    padding-top: 0;
}

.footer-top {
    background-color: #004080;
    padding: 10px 0; /* Adjusted */
}

    .footer-top .footerMenu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

        .footer-top .footerMenu ul li a {
            color: white;
            text-decoration: none;
            padding: 5px 10px;
            font-size: 1.5em;
        }

            .footer-top .footerMenu ul li a:hover {
                text-decoration: underline;
            }

.footer-bottom {
    background-color: #003366;
    padding: 10px 0; /* Adjusted */
    font-size: 0.8em; /* Adjusted */
}

    .footer-bottom p {
        margin-bottom: 3px; /* Adjusted */
        font-size: 17px;
    }

.text-decoration-none {
    text-decoration: none !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

/* Responsive adjustments for header */
@media (max-width: 767.98px) {
    .header-wrapper .row > div {
        text-align: center; /* Center content in columns on mobile */
    }

    .logo {
        justify-content: center; /* Center logo content */
        margin-bottom: 10px;
    }

    .header-right {
        justify-content: center !important; /* Center logos on mobile */
    }

    .logo img.emblem {
        height: 50px;
    }

    .logo_text h1.h1-logo {
        font-size: 1.3em;
    }

    .officer-card img {
        margin-bottom: 10px; /* Space when stacked */
    }
}
@media (max-width: 575.98px) {
    .carousel-item img {
        max-height: 250px; /* Further reduce carousel height on very small screens */
    }

    .gallery-title, h2.content-title {
        font-size: 1.3em;
    }

    .officer-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

        .officer-card img {
            margin-right: 0; /* Remove right margin when stacked */
            margin-bottom: 10px;
        }
}

.section-info, .section-structure, .section-election, .section-deputy-election, .section-expense {
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


