.left-ad,
.right-ad {
    position: fixed;
    height: 100%;
    width: 150px;
    z-index: 10;
}

footer {
    position: relative;
    z-index: inherit;
}

.left-ad {
    left: 5px;
    top: 50px;
}

.right-ad {
    right: 5px;
    top: 50px;
}

@media (max-width: 991px) {
    .left-ad,
    .right-ad {
        display: none;
    }
}

.trending-area .container {
    margin-left: 140px;
    margin-right: 140px;
}

/* Mobile responsive adjustments for trending area */
@media (max-width: 991px) {
    .trending-area .container {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 767px) {
    .trending-area .container {
        margin-left: 10px;
        margin-right: 10px;
    }
}

.left-ad img,
.right-ad img {
    width: 100%;
    height: 90%;
}

.article-block {
    display: block;
}

.article-img {
    width: 255px;
    height: auto;
    border-radius: 5px;
    float: left;
    margin: 0 20px 10px 0;
}

/* Mobile responsive article image */
@media (max-width: 767px) {
    .article-img {
        width: 100%;
        float: none;
        margin: 0 0 15px 0;
    }

    .article-block {
        text-align: center;
    }
}

.video-block {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
}

.video-block iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile responsive video block */
@media (max-width: 767px) {
    .video-block {
        margin-bottom: 20px;
    }
}

.person-card {
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    border-radius: 1rem;
    transition: all 0.4s ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.person-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-6px);
    background: linear-gradient(145deg, #fff5f5, #ffecec);
}

.person-card h5 {
    font-size: 1.1rem;
    color: #333;
}

.person-card p {
    font-size: 0.9rem;
}

.profile-img-wrapper {
    width: 160px;
    height: 200px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s;
}

.profile-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-card:hover .profile-img-wrapper {
    transform: scale(1.05);
}

/* Mobile responsive person cards */
@media (max-width: 767px) {
    .person-card {
        margin-bottom: 20px;
        padding: 15px !important;
    }

    .profile-img-wrapper {
        width: 120px;
        height: 150px;
    }

    .person-card h5 {
        font-size: 1rem;
    }

    .person-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 767px) {
    .custom-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.fw-bold {
    font-weight: bold !important;
}

.header-info-menu ul {
    display: flex;
}

.header-info-menu ul li {
    margin-left: 15px;
    font-size: 1.1rem;
}

.header-info-menu ul li a {
    cursor: pointer;
}

.header-info-menu ul li a:hover {
    color: #ff0b0b;
}

/* Mobile responsive header info menu */
@media (max-width: 767px) {
    .header-info-menu ul {
        flex-direction: column;
        gap: 10px;
    }

    .header-info-menu ul li {
        margin-left: 0;
        font-size: 1rem;
    }
}

.text-red {
    color: #ff0b0b !important;
}

.footer-social a i:hover {
    color: #ff0b0b !important;
}

.bg-redd {
    background: #ff0b0b !important;
}

.block-card {
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.block-card:hover {
    transform: translateY(-6px);
    border-color: #ff5757;
    box-shadow: 0 8px 20px rgba(255, 11, 11, 0.2);
}

.block-card .img-wrapper {
    width: 100px;
    height: 100px;
    border: 3px solid #ff5757;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffe6e6, #fff);
    box-shadow: 0 4px 10px rgba(255, 11, 11, 0.2);
    transition: all 0.3s ease-in-out;
}

.block-card:hover .img-wrapper {
    transform: scale(1.08);
    background: linear-gradient(135deg, #ffcccc, #fff);
}

.block-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* Mobile responsive block cards */
@media (max-width: 767px) {
    .block-card {
        margin-bottom: 20px;
        padding: 15px;
    }

    .block-card .img-wrapper {
        width: 80px;
        height: 80px;
    }

    .block-card img {
        width: 50px;
        height: 50px;
    }
}

.input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.input-wrapper input {
    background: transparent;
    width: 100%;
    padding-right: 50px;
    color: white;
    border: 1px solid white;
    outline: none;
}

.input-wrapper input:focus {
    background: transparent;
    color: white;
    border: 1px solid white;
    outline: none !important;
    box-shadow: none;
}

.input-wrapper input::placeholder {
    color: white;
}

.input-wrapper button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.input-wrapper button svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.news-item {
    display: flex;
    align-items: flex-start;
}

.news-article .thumb {
    float: left;
    height: 250px;
    margin: 0 15px 10px 0;
    border-radius: 5px;
}

/* Mobile responsive news article */
@media (max-width: 767px) {
    .news-article .thumb {
        float: none;
        width: 100%;
        height: auto;
        margin: 0 0 15px 0;
    }

    .news-item {
        flex-direction: column;
    }
}

.news-text {
    flex: 1;
    text-align: justify;
}

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

/* ===== MOBILE NAVIGATION STYLES ===== */

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 10px;
}

/* Force mobile menu base state */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid #eee;
}

/* Ensure active wins */
.mobile-menu.active {
    display: block !important;
    animation: slideDown 0.3s ease-out;
    z-index: 9999 !important;
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-header .main-menu {
        display: none;
    }
}

/* Mobile menu animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu overlay */
@media (max-width: 991px) {
    .mobile-menu.active::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
}

/* ===== MOBILE HEADER OPTIMIZATION ===== */

@media (max-width: 767px) {
    .header-area .header-top {
        padding: 5px 0;
    }

    .header-area .header-top .header-info-left ul li {
        font-size: 12px;
        margin-right: 20px;
    }

    .header-area .header-mid {
        padding: 5px 0;
    }

    .header-area .header-mid .logo img {
        max-width: 200px;
    }

    .header-area .header-banner img {
        max-height: 60px;
    }
}

/* ===== MOBILE CONTENT LAYOUT ===== */

@media (max-width: 767px) {
    .trending-tittle {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .trending-tittle strong {
        min-width: auto;
        width: 100%;
    }

    .trending-tittle .trending-animated {
        width: 100% !important;
    }

    .trending-area .trending-main .trending-top .trend-top-img .trend-top-cap {
        position: relative;
        bottom: 0;
        left: 0;
        margin: 20px;
        width: calc(100% - 40px);
    }

    .trending-area .trending-main .trending-bottom .single-bottom {
        margin-bottom: 30px;
    }

    .trending-area .trending-main .trand-right-single {
        margin-bottom: 25px;
        padding-bottom: 25px;
        border-bottom: 1px solid #eee;
    }

    .trending-area .trending-main .trand-right-single:last-child {
        border-bottom: none;
    }
}

/* ===== MOBILE AD BLOCKS ===== */

@media (max-width: 767px) {
    .ad-block {
        margin: 20px 0;
    }

    .ad-block img {
        border-radius: 8px;
    }
}

/* ===== MOBILE TYPOGRAPHY ===== */

@media (max-width: 767px) {
    h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    h4 {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

/* ===== MOBILE SPACING ===== */

@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .col,
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12,
    .col-sm,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .mb-30 {
        margin-bottom: 20px !important;
    }

    .mb-35 {
        margin-bottom: 25px !important;
    }

    .mt-5 {
        margin-top: 15px !important;
    }

    .my-5 {
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }
}

/* ===== MOBILE FORM ELEMENTS ===== */

@media (max-width: 767px) {
    .form-select {
        width: 100% !important;
        margin-bottom: 15px;
    }

    .btn {
        width: 100% !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
    }

    .boxed-btn {
        width: 100% !important;
        padding: 15px 20px !important;
        font-size: 14px !important;
    }
}

/* ===== MOBILE UTILITIES ===== */

@media (max-width: 767px) {
    .d-mobile-none {
        display: none !important;
    }

    .d-mobile-block {
        display: block !important;
    }

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

    .text-mobile-left {
        text-align: left !important;
    }

    .text-mobile-right {
        text-align: right !important;
    }
}

/* ===== MOBILE FOOTER ===== */

@media (max-width: 767px) {
    .footer-area .footer-tittle h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-area .footer-pera p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .footer-bottom-area .footer-border {
        padding: 25px 0 15px;
    }

    .footer-menu ul {
        text-align: center;
    }

    .footer-menu ul li {
        margin: 0 10px 10px 0;
    }
}

/* ===== MOBILE ANIMATIONS ===== */

@media (max-width: 767px) {
    .bounce-animate {
        animation: none;
    }

    .heartbeat {
        animation: none;
    }

    .rotateme {
        animation: none;
    }
}

/* ===== MOBILE OVERLAY ===== */

@media (max-width: 767px) {
    .overlay::before {
        background: rgba(0, 0, 0, 0.7);
    }

    .theme-overlay::before {
        opacity: 0.8;
    }
}

/* ===== MOBILE CAROUSEL ===== */

@media (max-width: 767px) {
    .owl-carousel .owl-nav div {
        width: 35px;
        height: 35px;
        font-size: 18px;
        line-height: 35px;
    }

    .owl-carousel .owl-nav div.owl-next {
        right: -15px;
    }

    .owl-carousel .owl-nav div.owl-prev {
        left: -15px;
    }
}

/* ===== MOBILE MODAL ===== */

@media (max-width: 767px) {
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .popup_box {
        width: 100% !important;
        padding: 30px 20px;
    }
}

/* ===== MOBILE SCROLL UP ===== */

@media (max-width: 767px) {
    #scrollUp {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
        line-height: 38px;
        font-size: 16px;
    }
}

/* ===== MOBILE STICKY HEADER ===== */

@media (max-width: 767px) {
    .header-sticky.sticky-bar.sticky .main-menu ul > li > a {
        padding: 15px 10px;
    }

    .sticky-logo {
        display: block !important;
    }
}

/* ===== MOBILE RESPONSIVE IMAGES ===== */

@media (max-width: 767px) {
    img {
        max-width: 100%;
        height: auto;
    }

    .img-fluid {
        width: 100%;
        height: auto;
    }
}

/* ===== MOBILE RESPONSIVE TABLES ===== */

@media (max-width: 767px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .progress-table-wrap {
        overflow-x: auto;
    }
}

/* ===== MOBILE RESPONSIVE FORMS ===== */

@media (max-width: 767px) {
    .form-group {
        margin-bottom: 20px;
    }

    .form-control {
        height: 45px;
        font-size: 16px;
    }

    .single-input {
        height: 45px;
        font-size: 16px;
    }

    .single-textarea {
        height: 120px;
        font-size: 16px;
    }
}

/* ===== MOBILE RESPONSIVE BUTTONS ===== */

@media (max-width: 767px) {
    .genric-btn {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .genric-btn + .genric-btn {
        margin-left: 0;
    }
}

/* ===== MOBILE RESPONSIVE CARDS ===== */

@media (max-width: 767px) {
    .card {
        margin-bottom: 20px;
    }

    .card-body {
        padding: 20px 15px;
    }

    .card-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

/* ===== MOBILE RESPONSIVE NAVIGATION ===== */

@media (max-width: 767px) {
    .nav-tabs {
        flex-direction: column;
    }

    .nav-tabs .nav-link {
        border-radius: 0;
        margin-bottom: 5px;
    }

    .nav-tabs .nav-item {
        width: 100%;
    }
}

/* ===== MOBILE RESPONSIVE PAGINATION ===== */

@media (max-width: 767px) {
    .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }

    .page-link {
        margin: 2px;
        min-width: 40px;
        text-align: center;
    }
}

/* ===== MOBILE RESPONSIVE UTILITIES ===== */

@media (max-width: 767px) {
    .w-mobile-100 {
        width: 100% !important;
    }

    .h-mobile-auto {
        height: auto !important;
    }

    .p-mobile-0 {
        padding: 0 !important;
    }

    .m-mobile-0 {
        margin: 0 !important;
    }

    .border-mobile-0 {
        border: 0 !important;
    }

    .rounded-mobile-0 {
        border-radius: 0 !important;
    }
}

/* ===== MOBILE TOUCH IMPROVEMENTS ===== */

@media (max-width: 767px) {
    /* Ensure touch targets are at least 44px */
    button,
    .btn,
    .mobile-menu-toggle,
    .mobile-menu ul li a {
        min-height: 44px;
        min-width: 44px;
    }

    /* Improve touch scrolling */
    /* .mobile-menu {
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
        max-height: 80vh;
    } */

    /* Better touch feedback */
    .mobile-menu ul li a:active {
        background: #e9ecef;
        transform: scale(0.98);
    }

    /* Improve form touch targets */
    input,
    select,
    textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Better button touch states */
    .btn:active,
    .boxed-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* ===== MOBILE PERFORMANCE OPTIMIZATIONS ===== */

@media (max-width: 767px) {
    /* Reduce animations on mobile for better performance */
    .bounce-animate,
    .heartbeat,
    .rotateme {
        animation: none;
    }

    /* Optimize transitions */
    * {
        transition: none !important;
    }

    /* Keep essential transitions */
    .mobile-menu-toggle,
    .mobile-menu,
    .mobile-menu ul li a {
        transition: all 0.3s ease !important;
    }

    /* Reduce box shadows for better performance */
    .block-card,
    .person-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .block-card:hover,
    .person-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transform: none;
    }
}

/* ===== MOBILE ACCESSIBILITY IMPROVEMENTS ===== */

@media (max-width: 767px) {
    /* Better focus states for mobile */
    .mobile-menu-toggle:focus,
    .mobile-menu ul li a:focus,
    .btn:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: 2px solid #fc3f00;
        outline-offset: 2px;
    }

    /* Improve text contrast */
    .text-muted {
        color: #495057 !important;
    }

    /* Better link underlines for mobile */
    a:not(.btn):not(.boxed-btn) {
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    /* Improve button contrast */
    .btn,
    .boxed-btn {
        font-weight: 600;
        letter-spacing: 0.5px;
    }
}

/* ===== MOBILE LAYOUT IMPROVEMENTS ===== */

@media (max-width: 767px) {
    /* Better mobile grid system */
    .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .col,
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12,
    .col-sm,
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11,
    .col-sm-12,
    .col-md,
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-lg,
    .col-lg-1,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12 {
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Better mobile margins */
    .mb-30 {
        margin-bottom: 15px !important;
    }

    .mb-35 {
        margin-bottom: 20px !important;
    }

    .mt-5 {
        margin-top: 10px !important;
    }

    .my-5 {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }

    /* Mobile-specific spacing classes */
    .p-mobile-2 {
        padding: 8px !important;
    }

    .p-mobile-3 {
        padding: 12px !important;
    }

    .m-mobile-2 {
        margin: 8px !important;
    }

    .m-mobile-3 {
        margin: 12px !important;
    }
}

/* ===== MOBILE CONTENT OPTIMIZATIONS ===== */

@media (max-width: 767px) {
    /* Better mobile article layout */
    .article-block {
        padding: 15px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    /* Mobile-friendly person cards */
    .person-card {
        text-align: center;
        padding: 20px 15px !important;
    }

    .person-card .profile-img-wrapper {
        margin: 0 auto 15px auto;
    }

    /* Better mobile ad blocks */
    .ad-block {
        margin: 15px 0;
        text-align: center;
    }

    .ad-block img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Mobile-friendly trending area */
    .trending-area .trending-main .trending-top .trend-top-img {
        border-radius: 8px;
        overflow: hidden;
    }

    .trending-area .trending-main .trending-top .trend-top-img .trend-top-cap {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        margin: 15px;
        padding: 20px;
    }
    .trending-area
        .trending-main
        .trending-top
        .trend-top-img
        .trend-top-cap
        a {
        color: #fc3f00 !important;
    }

    /* Better mobile news items */
    .trand-right-single {
        background: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 15px;
    }

    .trand-right-single .trand-right-img {
        text-align: center;
    }

    .trand-right-single .trand-right-img img {
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
}

/* ===== MOBILE NAVIGATION ENHANCEMENTS ===== */

@media (max-width: 991px) {
    /* Better mobile menu positioning */
    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        z-index: 9999;
        padding-top: 80px;
        overflow-y: auto;
    }

    .mobile-menu ul {
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }

    .mobile-menu ul li {
        margin: 1.5rem auto;
    }

    .mobile-menu ul li a {
        width: max-content;
        font-size: 18px;
        padding: 18px 20px;
        border-radius: 8px;
        margin-bottom: 5px;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
    }

    .mobile-menu ul li a:hover {
        background: #fc3f00;
        color: #fff;
        border-color: #fc3f00;
        transform: translateX(5px);
    }

    /* Mobile menu close button */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        color: #333;
        cursor: pointer;
        padding: 10px;
        border-radius: 50%;
        background: #f8f9fa;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-close:hover {
        background: #fc3f00;
        color: #fff;
    }
}

@media (max-width: 991px) {
    /* Stronger colors for visibility */
    .mobile-menu ul li a {
        background: #ffffff !important;
        color: #111111 !important;
        border: 1px solid #e6e6e6 !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    }
    .mobile-menu ul li a:hover {
        background: #fc3f00 !important;
        border-color: #fc3f00 !important;
        color: #ffffff !important;
    }
}

/* ===== MOBILE FOOTER ENHANCEMENTS ===== */

@media (max-width: 767px) {
    .footer-area {
        text-align: center;
    }

    .footer-area .footer-tittle {
        margin-bottom: 30px;
    }

    .footer-area .footer-tittle h4 {
        font-size: 18px;
        margin-bottom: 20px;
        color: #fff;
    }

    .footer-area .footer-pera p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 30px;
        color: #ccc;
    }

    .footer-area .footer-social {
        text-align: center;
        margin-top: 20px;
    }

    .footer-area .footer-social a i {
        margin-right: 0px;
        margin-top: 14px;
    }

    .footer-area .footer-social a {
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        background: #333;
        color: #fff;
        border-radius: 50%;
        margin: 0 5px;
        transition: all 0.3s ease;
    }

    .footer-area .footer-social a:hover {
        background: #fc3f00;
        transform: translateY(-3px);
    }

    .footer-bottom-area .footer-border {
        padding: 25px 0 15px;
        text-align: center;
    }

    .footer-menu ul {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-menu ul li {
        margin: 0 10px 10px 0;
        display: inline-block;
    }

    .footer-menu ul li a {
        color: #999;
        font-size: 12px;
        text-decoration: none;
        padding: 5px 10px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .footer-menu ul li a:hover {
        color: #fc3f00;
        background: #333;
    }
}

/* ===== MOBILE PRINT STYLES ===== */

@media print {
    .mobile-menu,
    .mobile-menu-toggle,
    .left-ad,
    .right-ad,
    .ad-block {
        display: none !important;
    }

    .container {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .trending-area .container {
        margin: 0 !important;
    }

    .person-card {
        break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* ===== MOBILE DARK MODE SUPPORT ===== */

@media (prefers-color-scheme: dark) and (max-width: 767px) {
    .mobile-menu {
        background: rgba(33, 37, 41, 0.98);
        color: #fff;
    }

    .mobile-menu ul li a {
        color: #fff;
        background: #495057;
        border-color: #6c757d;
    }

    .mobile-menu ul li a:hover {
        background: #fc3f00;
        color: #fff;
    }

    .mobile-header-info {
        background: #495057;
        color: #fff;
    }

    .mobile-header-info .text-muted {
        color: #adb5bd !important;
    }

    .mobile-social-links a {
        color: #adb5bd;
    }

    .mobile-social-links a:hover {
        color: #fc3f00;
    }
}

/* ===== MOBILE REDUCED MOTION SUPPORT ===== */

@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
    .mobile-menu.active {
        animation: none;
    }

    .mobile-menu ul li a:hover {
        transform: none;
        padding-left: 20px;
    }

    .mobile-menu-toggle,
    .mobile-menu,
    .mobile-menu ul li a {
        transition: none !important;
    }

    .btn:active,
    .boxed-btn:active {
        transform: none;
    }

    .footer-area .footer-social a:hover {
        transform: none;
    }
}

@media (max-width: 991px) {
    /* Keep hamburger above overlay */
    .mobile-menu-toggle {
        z-index: 10001;
        color: #ff0b0b;
        border-radius: 8px;
    }
    .mobile-menu-toggle i {
        color: #ff0b0b;
        z-index: 10001;
    }

    /* Mobile header info colors inside overlay */
    .mobile-header-info {
        color: #fff;
    }
    .mobile-header-info .text-muted {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    .mobile-social-links a {
        color: rgba(255, 255, 255, 0.9);
    }
    .mobile-social-links a:hover {
        color: #fff;
    }
}

@media (max-width: 1500px) {
    .hide-side-ad {
        display: none !important;
    }
}

.ad-banner {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    animation: slideUp 0.6s ease-out;
    border-radius: 12px;
}

.ad-close {
    position: absolute;
    top: -20px;
    right: -5px;
    background: #ff4d4d;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}
.ad-close:hover {
    background: #e60000;
    transform: scale(1.1);
}

/* Animation */
@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    /* Tablets */
    .ad-banner {
        bottom: 10px;
        padding: 10px;
    }
    .ad-img {
        width: 728px; /* Shrink slightly for tablets */
    }
}

@media (max-width: 768px) {
    /* Mobile */
    .ad-img {
        width: 100%; /* Full width on mobile */
    }
    .ad-banner {
        width: 95%;
        border-radius: 8px;
    }
}

.nice-select .list {
    max-height: 250px;
    overflow-y: auto;
}

.block-header {
    background: linear-gradient(135deg, #ff0b0b, #f45050);
    border-radius: 250px;
}

/* Logo wrapper */
.logo-wrapper img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
}
.card-title a {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.news-card {
    background: linear-gradient(135deg, #ff4d4d, #ff1a75);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow {
    display: inline-block;
    font-size: 1.5rem;
    margin-top: 5px;
    animation: pulse 1s infinite alternate;
}

/* Arrow Pulse Animation */
@keyframes pulse {
    0% {
        transform: translateX(0);
        opacity: 0.7;
    }
    100% {
        transform: translateX(5px);
        opacity: 1;
    }
}

.youtube-channel:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.bg-lightGrey{
    background: rgb(245, 245, 242);
}