/* Tablet Layout: 768px - 991px Small Laptop */
@media only screen and (min-width: 768px) and (max-width: 991px) {

    /*================================
	itpolly col css Start
=================================*/
    .itpolly-1 {
        padding: 8px;
    }

    .itpolly-m2 {
        padding: 8px;
    }

    .itpolly-m3 {
        padding: 8px;
    }

    .itpolly-m4 {
        padding: 8px;
    }

    .itpolly-m6 {
        padding: 8px;
    }


    /*================================
	itpolly col css End
=================================*/
    /* header2 start */
    .searchBar {
        max-width: 50% !important;
    }

    .header2 .date {
        margin-top: 18px !important;
    }


    /* header2 end */

    .stellarnav>ul>li>a {
        padding: 6px 7px !important;

    }

    .stellarnav ul {
        text-align: left !important;
    }

    .stellarnav.dark ul ul {
        background: #ffff !important;
        margin-top: 30px !important;
    }

    .header-social ul li::after {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /* section one */

    .itpolly_section_one .col-md-5 {
        padding: 0 !important;
    }

    .itpolly_cat_one>span>a {
        padding: 3px 8px !important;
        font-size: 16px !important;
    }

    .itpolly_cat_one span2 a {
        font-size: 12px !important;
    }




    .sec-one-image img {
        height: 170px !important;
    }

    .sec-one-title a {
        font-size: 17px !important;
    }

    .secOne-sub-image img {
        height: 70px !important;
    }

    .secOne-title2 a {
        font-size: 16px !important;
    }

    .itpolly_led_active button.owl-prev {
        width: 30px !important;
        height: 30px !important;
        font-size: 18px !important;
        line-height: 30px !important;

    }

    .itpolly_led_active button.owl-next {
        width: 30px !important;
        height: 30px !important;
        font-size: 18px !important;
        line-height: 30px !important;

    }

    .video-icon1 i {
        height: 40px !important;
        width: 40px !important;
        line-height: 36px !important;
        font-size: 22px !important;

    }

    .sec-one-item2 {
        margin-top: 0 !important;
    }


    .sec-one-wrpp2 {
        margin-bottom: 0 !important;
    }

    .secOne-image2 img {
        height: 80px !important;
    }



    .secOne-smallImg img {
        width: 42% !important;
        margin-right: 5px !important;
        height: 56px !important;
    }

    .secOne_smallTitle a {
        font-size: 15px !important;

    }

    /* sectio two */


    /* section three */


    .map-title {
        font-size: 20px !important;

    }

    .input-division select {
        width: 47% !important;
        margin: 0 3px !important;

    }

    .division {
        padding: 22px 11px !important;

    }

    #recentPopular-tab .nav-link {
        font-size: 16px !important;
    }

    /* section two start */
    .sec-two-wrpp {
        margin-bottom: 0 !important;
    }

    .section-two-image img {
        height: 90px !important;

    }

    .secTwo-video {
        margin-right: 70px !important;
    }

    .sec-two-title a {
        font-size: 16px !important;
    }

    .video-icon3 i {
        height: 40px !important;
        width: 40px !important;
        line-height: 37px !important;
        font-size: 23px !important;
    }

    /* section three start */

    .sec-theee-image img {
        height: 135px !important;

    }

    .secThree-title a {
        font-size: 17px !important;

    }

    .secThree-title2 {
        padding: 6px !important;

    }

    .secThree-title2 a {
        font-size: 15px !important;
    }

    /* section three End */


    /* section five start */
    .secFive-image img {
        height: 130px !important;
    }

    .secFive-title {
        padding: 5px !important;
    }

    .secFive-title a {
        font-size: 16px !important;
    }

    .secFive-smallImg img {
        width: 45% !important;
        margin-right: 4px !important;
        height: 60px !important;
    }

    .secFive_title2 a {
        font-size: 15px !important;

    }

    .small-icon4 i {
        left: 21% !important;
        height: 35px !important;
        width: 35px !important;
        line-height: 32px !important;
        font-size: 22px !important;
    }


    /* section five End */

    .secFour-image img {
        height: 150px !important;
    }

    /* section seven start */
    .secSeven-image img {
        height: 160px !important;
    }

    .secSeven-title a {
        font-size: 18px !important;
        display: inline-block;
        transition: .5s all;
    }

    .secSeven-image2 img {
        height: 130px !important;
    }

    .secSeven-wrpp {
        margin-bottom: 0 !important;
    }

    .secSeven-title2 a {
        font-size: 16px !important;
    }

    /* section seven End */


    /* section Eight Start */

    .secEight-image img {
        height: 100px !important;
    }

    .secEight-image2 img {
        height: 80px !important;
    }

    .secEight-title a {
        color: #000;
        font-size: 16px !important;

    }

    /* section Eight End */


    .photo img {
        height: 280px !important;
    }




}




/* Wide Mobile Layout: 375px Small Sceen Mobile */
@media only screen and (max-width: 767px) {

    /*================================
	itpolly col css Start
=================================*/
    .itpolly-m1 {
        max-width: 100% !important;
    }

    .itpolly-m2 {
        max-width: 50% !important;
        padding: 8px !important;
    }

    .itpolly-m3 {
        width: 33.33% !important;
    }

    .itpolly-m4 {
        width: 25% !important;
    }

    .itpolly-m6 {
        width: 16.66% !important;
    }


    /*================================
	itpolly col css End
=================================*/


    .date {
        text-align: center !important;
    }

    .header-social {
        text-align: center !important;
        margin-top: 7px !important;
    }

    .searchBar {
        max-width: 90% !important;
        margin-top: -41px !important;
    }

    .header2 .date {
        margin-top: 0 !important;
    }

    /*============ Menu css start==============*/

    .stellarnav .menu-toggle span.bars {
        top: -26px !important;
        right: 6px !important;
        position: absolute;
        z-index: 999;
    }

    .stellarnav.mobile {
        text-align: left !important;
        margin-top: -3px !important;
        margin-left: -14px !important;
        position: absolute;
    }


    .stellarnav .full {
        width: 0 !important;
    }

    .stellarnav.dark .menu-toggle span.bars span {
        background: #fff !important;
    }

    .stellarnav.mobile li a {
        color: #fff !important;
    }

    .stellarnav.mobile.dark ul {
        background: rgba(25, 35, 45, 0.9) !important;
        margin-top: -22px !important;
    }

    .stellarnav.dark {
        background: transparent !important;
    }

    .stellarnav .menu-toggle span.bars span {
        width: 27px !important;
        height: 3px !important;
        margin: 0 0 5px !important;
    }


    .stellarnav.dark .menu-toggle span.bars span {
        background: #000 !important;
    }

    .menu_section {
        margin-bottom: 14px !important;
        padding: 12px 0 !important;
    }

    .logo {
        display: none !important;
    }

    .mobileLogo {
        display: inline !important;
    }


    .mobileLogo img {
        width: 40% !important;
        height: auto;
    }

    /*============ Menu css End==============*/

    /*==================================
    * Section one start
================================== */
    .sec-one-image img {
        height: 230px !important;
    }

    .sec-one-title {
        line-height: 19px !important;
    }

    .sec-one-title a {
        font-size: 18px !important;
    }

    .secOne-sub-image img {
        height: 90px !important;
    }

    .secOne-subTitle {
        line-height: 18px !important;
    }

    .secOne-subTitle a {
        font-size: 16px !important;
    }

    .itpolly_led_active button.owl-prev {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        line-height: 40px !important;

    }

    .itpolly_led_active button.owl-next {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        line-height: 40px !important;

    }

    .sec-one-wrpp2 {
        margin-bottom: 0 !important;
    }


    .secOne-image2 img {
        height: 95px !important;
    }


    .tab-image img {
        height: 75px !important;
    }

    .live_image img {
        height: 200px !important;
    }

    /*==================================
    * Section one End
================================== */


    /*==================================
    * Section Two Start
================================== */

    .section-two-image img {
        height: 95px !important;
    }


    .section-two-image2 img {
        height: 95px !important;
    }

    .sec-two-title a {
        font-size: 16px !important;
    }

    .sec-two-title2 a {
        font-size: 16px !important;
    }

    #categori-tab .nav-link {
        margin-right: 6px !important;
    }

    .sec-two-wrpp {
        margin-bottom: 0 !important;
    }

    /*==================================
    * Section Two End
================================== */

    .sec-theee-image img {
        height: 190px !important;
    }


    /* video section */
    .secTwo-video {
        margin-right: 19px !important;
    }


    /* submit news */
    .input-division select {
        width: 40% !important;
    }

    /*==================================
    * Section Five Start
================================== */
    .secFive-wrpp {
        margin-bottom: 7px !important;
    }

    .secFive-image img {
        height: 190px !important;
    }

    .secFive-title2 {
        line-height: 14px !important;
    }

    .secFive-title2 a {
        font-size: 14px !important;
    }

    .secFive-smallImg img {
        width: 42% !important;
        margin-right: 5px !important;
    }

    .white-bg {
        margin-bottom: 20px !important;
    }

    .small-icon4 i {
        left: 21% !important;
    }


    /*==================================
    * Section Five End
================================== */


    /*==================================
    * Section Seven Start
================================== */

    .secSeven-wrpp {
        margin-bottom: 0 !important;
    }

    .secSeven-image img {
        height: 190px !important;
    }

    .secSeven-image2 img {
        height: 120px !important;
    }


    .secSeven-title2 a {
        font-size: 15px !important;
    }


    /*==================================
    * Section Seven End
================================== */
    .secEight-wrpp {
        margin-bottom: 0 !important;
    }

    .secEight-wrpp2 {
        margin-bottom: 0 !important;
    }

    .secEight-image img {
        height: 100px !important;
    }


    .secEight-image2 img {
        height: 100px !important;
    }



    .add-image {
        margin-bottom: 10px !important;
    }


    .photo-gallery-wrpp {
        margin-bottom: 15px !important;
    }

    .footer-content ul li {
        margin-bottom: 10px !important;
    }

    .copy-right {
        text-align: center !important;
    }

    .design-developed {
        text-align: center !important;
    }


    .photo img {
        height: 200px !important;
    }

    .homeGallery1 {
        margin-bottom: 40px !important;
    }


}


/* Wide Mobile Layout: 400px Large Screen Mobile */
@media only screen and (min-width: 401px) and (max-width: 500px) {
    .sec-one-image img {
        height: 260px !important;
    }

    .secOne-sub-image img {
        height: 120px !important;
    }

    .secOne-smallImg img {
        height: 95px !important;
    }

    .secOne-image2 img {
        height: 120px !important;
    }


    .live_image img {
        height: 255px !important;
    }

    .tab-image img {
        height: 95px !important;
    }

    .section-two-image img {
        height: 120px !important;
    }

    .sec-theee-image img {
        height: 255px !important;
    }


    .sec-theee-image2 img {
        height: 120px !important;
    }

    .secFour-image img {
        height: 130px !important;

    }

    .secFive-image img {
        height: 250px !important;
    }

    .secFive-smallImg img {
        height: 100px !important;
    }

    .secSeven-image img {
        height: 250px !important;
    }

    .secEight-image img {
        height: 120px !important;
    }



}

/* Custom Menu Styling Overrides - Global */
.menu_section .stellarnav ul li a,
.menu_section #main-menu ul li a,
.stellarnav ul li a {
    font-size: 20px !important;
    color: #fff !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.menu_section {
    margin-bottom: 10px !important;
}

@media only screen and (max-width: 767px) {
    .menu_section {
        margin-bottom: 7px !important;
    }

    .scroll5-left {
        display: none !important;
    }
}

.menu_section .stellarnav ul li a:hover,
.stellarnav ul li a:hover {
    color: #fff !important;
    background: #B82530 !important;
}

/* Change menu dropdown arrow color to white and re-center */
.stellarnav li.has-sub>a:after {
    border-top-color: #fff !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.stellarnav li li.has-sub>a:after {
    border-left-color: #fff !important;
}

/* Sub-menu background color to match menu bar */
.stellarnav ul ul {
    background: #8b1010 !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2) !important;
}

.stellarnav.dark ul ul {
    background: #8b1010 !important;
}

.stellarnav ul ul li a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.stellarnav ul li:hover>a,
.stellarnav ul ul li:hover>a {
    background: #B82530 !important;
}

/* Category Title Styling */
.itpolly_cat04 a {
    background-color: #CB2E1A !important;
    color: #fff !important;
}

.itpolly_cat04 > a::after {
    border-top-color: #CB2E1A !important;
}

/* News Ticker "BREAKING" Styling */
#scroll5-left {
    background-color: #cb2e1a !important;
    color: #fff !important;
}

#scroll5-left span {
    color: #fff !important;
}

#scroll5-left::before {
    border-left-color: #cb2e1a !important;
}

/* Hide News Ticker Close Button */
.scroolbar5 {
    display: none !important;
}

.scroll5-right i {
    color: #ffffff !important;
}

.scroll5-right a:hover {
    color: #cb2e1a !important;
}

/* Section One Titles - 3 Lines Limit & Consistent Height */
.itpolly_section_one .secOne-title2,
.section-two .sec-two-title {
    min-height: 70px !important;
    display: block !important;
}

.secOne-title2 a,
.sec-one-title a,
.secOne_smallTitle a,
.sec-two-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Section Three: 1st News (2 Lines Limit & Height) */
.section-three .secThree-title {
    min-height: 50px !important;
    display: block !important;
}

.section-three .secThree-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Section Three: 2nd and 3rd News (3 Lines Limit & Height) */
.section-three .secThree-title2 {
    min-height: 70px !important;
    display: block !important;
}

.section-three .secThree-title2 a {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Section Five: 1st News (2 Lines Limit) */
.section-five .secFive-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Section Five: Rest of News (3 Lines Limit) */
.section-five .secFive_title2 a {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Section Four: Global 2 Lines Limit */
.section-four .secFour-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Section Eleven (Nine Class): 1st-3rd News (2 Lines Limit & Height) */
.secEight-wrpp .secEight-title {
    min-height: 70px !important;
    display: block !important;
}

.secEight-wrpp .secEight-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Section Eleven (Nine Class): 4th-7th News (3 Lines Limit & Height) */
.secEight-wrpp2 .secEight-title {
    min-height: 95px !important;
    display: block !important;
}

.secEight-wrpp2 .secEight-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Section Nine (Seven Class): 1st News (Remove Details & 2 Lines Limit) */
.section-seven .secSeven-details {
    display: none !important;
}

.section-seven .secSeven-title {
    min-height: 50px !important;
    display: block !important;
}

.section-seven .secSeven-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Section Nine (Seven Class): Rest of News (2 Lines Limit & Height) */
.section-seven .secSeven-title2 {
    min-height: 50px !important;
    display: block !important;
}

.section-seven .secSeven-title2 a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}








/* Hide Metadata (Date/Days) in Section One */
.itpolly_section_one .sec-small-cat,
.itpolly_section_one .cat-meta {
    display: none !important;
}

/* Reduce padding/margin after Section One titles */
.itpolly_section_one .sec-one-title,
.itpolly_section_one .secOne-title2,
.itpolly_section_one .secOne_smallTitle {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.itpolly_section_one .sec-one-wrpp,
.itpolly_section_one .sec-one-wrpp2 {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    margin-bottom: 10px !important;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
    /* Added subtle shadow for depth */
}

.itpolly_section_one .secOne-smallItem {
    padding-bottom: 5px !important;
    margin-bottom: 5px !important;
}

.itpolly_section_one .secOne-news {
    margin-bottom: 0 !important;
}

/* Desktop Only Adjustments */
@media only screen and (min-width: 992px) {
    .secOne-smallImg img {
        height: 90px !important;
    }

    .secThree-smallImg img {
        height: 80px !important;
    }

    .secSeven-image img {
        height: 335px !important;
    }
}

/* ==========================================================================
   GLOBAL BOXED LAYOUT & FIXED (STICKY) HEADER
   ========================================================================== */

/* 1. Body Background to make the box visible */
body {
    background-color: #e9ecef !important;
    /* Light gray background to contrast with white box */
}

/* 2. Main Boxed Wrapper */
.main_website {
    max-width: 1212px !important;
    margin: 0 auto !important;
    /* Removed 30px gap at top and bottom */
    background: #ffffff !important;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15) !important;
    border-radius: 4px;
    overflow: hidden;
}

/* 3. Fixed (Sticky) Header - Removed to fix conflict with new logic
#myHeader {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}
*/

/* Ensure containers inside fluid sections don't break box */
.container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Footer full width adjustment within box */
.footer-area {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

mfooter {
    border-radius: 0 0 4px 4px;
    /* Rounded bottom corners to match box */
    margin-top: 0 !important;
    padding: 7px 20px !important;
}

/* Custom Social Icon Colors */
.header-social ul li a[title="X"] {
    color: #000000 !important;
}

.header-social ul li a[title="youtube"] {
    color: #FF0000 !important;
}

.header-social ul li a[title="instagram"] {
    color: #E4405F !important;
    /* Instagram Pink */
}

#myHeader {
    position: relative;
    /* Red background is likely here */
}

.menu-nav-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
    position: relative;
    min-height: 46px;
    /* Ensuring minimum height to match menu items */
}

.stellarnav {
    flex-grow: 1;
}

/* Vertical Centering with Flexbox */
#myHeader .searchIcon {
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    z-index: 999;
    padding: 10px 15px;
    line-height: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 16px;
    /* Precise offset for vertical middle */
}

#myHeader .searchIcon:hover {
    color: #000;
}

.searchIcon:hover {
    color: #000;
}

/* Search Bar Popup Styling (Centered) */
.menu_section .searchBar {
    position: absolute;
    top: 58%;
    /* Pushed down as requested to reach visual center */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60% !important;
    /* Centered narrow box */
    height: 44px !important;
    /* Matches standard menu height */
    background: #111;
    /* Slightly lighter dark background */
    display: none;
    /* Hidden by default */
    align-items: center;
    padding: 0 15px;
    z-index: 9999;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin: 0 !important;
}

.menu_section .searchBar.showSearch {
    display: flex !important;
    animation: fadeInDown 0.3s ease forwards;
}

.menu_section .searchBar input[type="text"] {
    flex-grow: 1;
    background: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    color: #fff;
    padding: 0 10px;
    font-size: 16px;
    outline: none;
    height: 30px;
}

.menu_section .searchBar button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    margin: 0 10px;
    cursor: pointer;
}

.menu_section .searchBar .remove {
    cursor: pointer;
    color: #4D180E !important;
    /* Specific color requested */
    font-size: 24px;
    padding: 5px;
    transition: transform 0.3s;
}

.menu_section .searchBar .remove:hover {
    transform: scale(1.1);
}

/* Header Background Color Overrides */
.itpolly_header,
.header2 {
    background-color: #F7F792 !important;
    /* Pale yellow requested for top bar */
    border-bottom: none !important;
    /* Removing border that was causing a color strip */
}

/* 30% Height Reduction for Top Bar on Desktop */
@media only screen and (min-width: 992px) {
    .itpolly_header {
        padding: 3px 0 !important;
        /* Reduced from 5px */
    }

    .header2 {
        padding: 10px 0 !important;
        /* Reduced from 15px */
    }

    .date {
        line-height: normal !important;
        margin: 0 !important;
        padding: 6px 0 0 0 !important;
        /* Pushed down by 6px now */
    }

    .header-social ul {
        line-height: normal !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-social ul li a {
        padding: 2px 8px !important;
        /* Compact social icons */
    }
}

/* Top Bar Menu Buttons */
.top-bar-menu ul.topbar-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-bar-menu ul.topbar-buttons li {
    margin: 2px 5px;
    display: inline-block;
}

.top-bar-menu ul.topbar-buttons li a {
    background-color: #CB2E1A !important;
    color: #fff !important;
    padding: 3px 12px !important;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    line-height: normal;
}

.top-bar-menu ul.topbar-buttons li a:hover {
    background-color: #000 !important;
    color: #fff !important;
}

.secOne-smallImg2 img {
    height: 85px !important;
    object-fit: cover;
}

/* Section Twelve Title Truncation (3 Lines) */
.section-nine .secOne_smallTitle a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    /* Adjust based on your font */
    max-height: 4.2em;
    /* 3 lines * 1.4 line-height */
}

.logo-banner {
    background-color: #ffffff !important;
    /* White requested for middle bar */
    border-bottom: none !important;
}

.menu_section {
    border-top: none !important;
    /* Ensure menu doesn't show a top strip of the parent color */
}


/* ==========================================================================
   MOBILE HEADER REORDERING & SCROLL MENU (V2)
   ========================================================================== */

@media only screen and (max-width: 991px) {
    /* 1. Mobile-Specific Header Layout */
    .itpolly-mobile-header-v2 {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: #fff;
    }

    .mobile-v2-topmenu { 
        width: 100%; 
        padding: 5px 0; 
        background-color: #F7F792; 
        text-align: center;
    }
    
    .mobile-v2-topmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .mobile-v2-topmenu ul li {
        list-style: none;
        margin: 5px 3px;
    }

    .mobile-v2-topmenu ul li a {
        background: #CB2E1A;
        color: #fff !important;
        padding: 3px 10px;
        border-radius: 4px;
        font-size: 14px;
        text-decoration: none;
        display: inline-block;
    }

    .mobile-v2-logo { 
        width: 100%; 
        padding: 15px 0; 
        background: #fff; 
        text-align: center; 
    }
    
    .mobile-v2-logo img {
        max-height: 80px;
        width: auto;
        max-width: 90%;
    }

    .mobile-v2-date { 
        width: 100%;
        padding: 0px 0;
        text-align: center;
        background: #ffffff;
        font-size: 16px;
        color: #000;
        border-top: 0px solid #eee;
        border-bottom: 0px solid #eee;
    }

    .mobile-v2-banner { 
        width: 100%; 
        padding: 10px 0; 
        background: #fff; 
        text-align: center;
    }
    
    .mobile-v2-banner img {
        max-width: 95%;
        height: auto;
    }

    /* Hide redundant elements */
    .mobileLogo { 
        display: none !important; 
    }

    /* 2. Horizontal Scrolling Menu Bar */
    
    .mobile-navigation-bar {
        display: flex !important;
        align-items: center;
        background: #CB2E1A; /* Theme Red */
        padding: 0;
        height: 20px; /* Reduced by 55% from 45px as requested */
        position: relative;
        overflow: hidden;
    }

    .menu-nav-wrapper {
        min-height: 20px !important;
    }

    .mobile-home-icon {
        background: #CB2E1A; /* Theme Red */
        height: 100%;
        width: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        z-index: 10;
    }

    .mobile-home-icon i {
        color: #fff;
        font-size: 17px; /* Increased as requested */
    }

    .mobile-scrolling-menu {
        flex: 1;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
        padding: 0 5px;
        height: 100%;
        display: flex;
        align-items: center;
    }

    /* Hide scrollbar but keep functionality */
    .mobile-scrolling-menu::-webkit-scrollbar {
        display: none;
    }

    .mobile-scroll-ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-scroll-ul li {
        display: inline-block;
        padding: 0 12px;
    }

    .mobile-scroll-ul li a {
        color: #fff !important;
        font-size: 17px; /* Increased as requested */
        font-weight: 500;
        text-transform: uppercase;
        display: block;
        line-height: 20px; /* Match bar height */
        text-decoration: none;
    }

    .mobile-menu-toggle-wrapper {
        flex-shrink: 0;
        height: 100%;
        display: flex;
        align-items: center;
        background: #CB2E1A;
        padding-left: 5px;
    }

    .drawer-open-btn {
        color: #fff;
        padding: 0 10px;
        line-height: 20px;
        cursor: pointer;
        font-size: 18px;
    }
}

/* Hide Mobile Drawer on Desktop */
.itpolly-mobile-drawer, .drawer-overlay {
    display: none;
}

@media only screen and (max-width: 991px) {
    .itpolly-mobile-drawer {
        display: block; /* Show on mobile */
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 80%;
        height: 100%;
        background-color: #F7A392; /* Custom background color */
        z-index: 9999;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    .itpolly-mobile-drawer.open {
        transform: translateX(0);
    }

    .drawer-overlay {
        display: block; /* Show on mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .drawer-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .drawer-close-btn {
        position: absolute;
        top: 15px;
        left: 15px; /* Top Left as requested */
        font-size: 24px;
        color: #333;
        cursor: pointer;
        z-index: 10;
    }

    .drawer-inner {
        padding: 60px 20px 30px; /* Top padding to clear close button */
    }

    /* Drawer Search */
    .drawer-search {
        margin-bottom: 25px;
    }

    .drawer-search form {
        position: relative;
        width: 100%;
    }

    .drawer-search input {
        width: 100%;
        padding: 10px 40px 10px 15px;
        border: 1px solid #ddd;
        border-radius: 25px;
        font-size: 14px;
        outline: none;
    }

    .drawer-search button {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        font-size: 18px;
        color: #CB2E1A;
    }

    /* Drawer Social */
    .drawer-social {
        margin-bottom: 25px;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 15px;
    }

    .drawer-social ul {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .drawer-social li {
        list-style: none;
    }

    .drawer-social li a {
        font-size: 20px;
        color: #333;
    }

    /* Drawer Menu */
    .drawer-title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 15px;
        padding-left: 5px;
        border-left: 3px solid #CB2E1A;
        color: #333;
    }

    .drawer-menu-ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .drawer-menu-ul li {
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .drawer-menu-ul li a {
        display: block;
        padding: 12px 5px;
        color: #333;
        font-size: 16px;
        text-decoration: none;
        font-weight: 500;
    }

    .drawer-menu-ul li ul.sub-menu {
        padding-left: 15px;
        background: rgba(255,255,255,0.2);
    }
    /* Hide desktop search icon and bar on mobile as requested */
    .searchIcon, .searchBar {
        display: none !important;
    }
}

/* New Footer Styling */
.main-footer {
    margin-top: 0px;
}

.ftBot {
    padding: 10px 0;
    background: #660000;
    background: -webkit-linear-gradient(left, #660000, #230100);
    background: -o-linear-gradient(right, #660000, #230100);
    background: -moz-linear-gradient(right, #660000, #230100);
    background: linear-gradient(to right, #660000, #230100);
}

.ftBot h5 {
    text-align: center;
    color: #fff !important;
    font-weight: 400;
    line-height: 1.8em;
}

.ftBot h5 a {
    color: #fff !important;
    text-decoration: none;
}

.ftBot h5 span {
    display: inline-block;
    margin-bottom: 0px;
    font-size: 15px;
}

.ftBot h3 {
    color: #fff !important;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
}

.ftBot .col-md-5 h3 {
    line-height: 1.2em;
    text-align: center;
}

.ftBot .col-md-4 h3 {
    margin-top: 10px;
}

.ftBot img {
    height: 120px;
    width: 300px;
    max-width: 300px;
}

.ftBot i {
    font-size: 16px;
    color: #ffffff;
    margin-right: 5px;
}

/* Responsive Grid for Footer */
@media screen and (min-width: 770px) {
    .ftBot .row {
        display: flex;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
        align-items: center; /* Vertically center content */
    }

    .ftBot .col-md-4 {
        flex: 0 0 32%;
        max-width: 32%;
        padding: 0 15px;
    }

    .ftBot .col-md-5 {
        flex: 0 0 35%;
        max-width: 35%;
        padding: 0 15px;
    }

    .ftBot .col-md-3 {
        flex: 0 0 33%;
        max-width: 33%;
        padding: 0 15px;
    }
}

@media screen and (max-width: 770px) {
    .ftBot .col-md-4,
    .ftBot .col-md-5,
    .ftBot .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .ftBot h5 {
        text-align: center;
    }
}