/**********Header logo********/
.header-logo {
    width: 300px;
    padding: 10px 0px 10px 0px;
}

@media (max-width: 767.98px) {
    .header-logo {
        width: 200px;
    }
}

.text-white {
    color: white
}

/**********Top Nav********/
#top-nav li {
    background-color: #d8d8d8;
    padding: 2px 8px 0px 8px;
    border-radius: 4px;
}

#top-nav li a {
    color: rgb(49, 49, 49);
    transition: color 0.3s ease;
}

.color_active {
    color: #b90500 !important;
}

#top-nav li a:hover {
    color: #ff8800;
}

/********** Simple Menu **********/

.simple-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
}

.simple-menu li {
    margin: 0;
    padding: 0;
    border-radius: 4px;
}

.simple-menu a {
    position: relative;
    display: block;
    padding: 2px 10px 2px 10px;
    color: #fdfdfd;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
    margin-bottom: 5px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Growing underline */
.simple-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background-color: #be0000;

    transform: translateX(-50%);
    transition: width 0.3s ease;
}

/* Hover */
.simple-menu a:hover {
    color: #be0000;
}

.simple-menu a:hover::after {
    width: 80%;
}

/* Current / Active menu */
.simple-menu a.active {
    color: #eee8e3;
    background: linear-gradient(180deg, rgba(199, 0, 0, 1) 0%, rgba(105, 0, 0, 0.78) 100%);
    border-radius: 5px;
}

/* Active underline */


/********** Mobile Menu **********/

@media (max-width: 767.98px) {

    .simple-menu {
        display: block !important;
        width: 100%;
    }

    .simple-menu li {
        display: block;
        width: 100%;
        margin-bottom: 3px;
    }

    .simple-menu a {
        display: block;
        width: 100%;
        padding: 10px 15px;
        text-align: left;
        font-size: 16px;
    }

    .simple-menu a.active {

        border-radius: 4px;
    }
}

/**********Image Thumb*****/
.news-thumb {
    position: relative;
    margin-bottom: 80px;
}

.news-thumb img {
    display: block;
    width: 100%;

    object-fit: cover;
}

/* Title box */
.news-thumb-title {
    position: absolute;

    left: 10%;
    right: 10%;

    top: 85%;

    min-height: 150px;

    background: #131314;
    padding: 35px 25px 5px 25px;
    border-radius: 10px;
    z-index: 2;


}

.news-thumb-title h4 {

    color: #cecece;
    font-size: 26px;

}

.news-thumb-title h3 {
    margin: 0;
    font-size: 26px;

}

/* responsive */
@media (max-width: 750px) {
    .news-thumb {
        margin-bottom: 120px;
    }



    .news-thumb-title {
        top: 80%;
        min-height: 110px;
        padding: 25px 15px 5px 15px;
    }

    .news-thumb-title h4 {
        font-size: 20px;
    }

    .news-thumb-title h3 {
        font-size: 20px;
    }
}

/**********Margin*******/
.mtop5 {
    margin-top: 5px;
}

/**********Timeline**********/
.timeline-wrapper {
    position: relative;
    padding-left: 16px;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline li {
    position: relative;
    margin-bottom: 5px;
}

.timeline-dot {
    position: absolute;
    left: -12px;
    top: 0;
    z-index: 2;
    height: 12px;
    /* same as SVG */
    width: 12px;
    /* same as SVG */
}

.timeline-line {
    position: absolute;
    width: 1px;
    background: #c40101;
    /* 🔴 make visible while testing */
    left: 10px;
    top: 0;
    height: 0;
    z-index: 1;
}


/*National area*/
.circle-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Circle stays round at all screen sizes */
.circle-number {
    background: #fff;
    width: 2em;
    /* relative size */
    height: 2em;
    /* equal to width */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #c40101;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
    /* prevent squishing */
    line-height: 1;
    /* keeps text centered */
}

/*National area*/

.ad-banner {
    width: 200px;
    height: 450px;
    background: url("{{ asset('animations/1.JPG') }}") no-repeat center center/cover;
    border-radius: 10px;

    color: #fff;
    text-align: center;
    font-family: Arial, sans-serif;
    padding: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ad-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Sections */
.top-section,
.middle-section,
.bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Add spacing for middle section */
.middle-section {
    margin-top: 15px;
    /* space from 10% OFF */
}

/* Loop items */
.loop-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    margin: 2px 0;
}

.pulse {
    transform-origin: center;
    margin-top: 20px;
}

.small-text {
    font-size: 10px;
    margin-top: 2px;
}

/* responsive */
@media (max-width: 400px) {
    .ad-banner {
        width: 90vw;
        height: auto;
        padding: 10px;
    }

    .loop-item {
        font-size: 12px;
    }

    .loop-item.pulse {
        font-size: 50px;
    }

    .small-text {
        font-size: 10px;
    }
}

/* Optional: adjust size for small screens */
@media (max-width: 576px) {
    .circle-number {
        width: 2em;
        height: 2em;
        font-size: 1em;
    }
}

.img-circle-md {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    /* ensures image is not stretched */
}

/* menu style */
.tab-menu {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #c40101;
    flex-wrap: wrap;
}

.tab-menu .mymenu-link {
    display: block;
    padding: 4px 15px;
    border-radius: 5px 5px 0 0;
    background: #212121;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.tab-menu .mymenu-link:hover {
    background: #eaeaea;
    color: #000;
}

/* active tab style */
.tab-menu .mymenu-link.active {
    background: #c40101;
    color: #fff;

}

/* tab content */
.tab-content {

    padding: 0px;
    background: #fff;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Responsive styles */
@media (max-width: 767px) {
    .tab-menu {
        flex-direction: column;
        border-bottom: none;
    }

    .tab-menu .mymenu-link {
        border-radius: 5px;
        margin-bottom: 5px;
        width: 100%;
    }
}

.video {
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease, border 0.3s ease;
    border: 4px solid transparent;
    /* keep size stable */
}

.video:hover {
    opacity: 1;
    transform: scale(1.1);
    border: 4px solid rgba(0, 0, 0, 0.3);
    /* black transparent border */
}

.align-middle-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 4px;
    /* small gap between icon & text */
}

.align-middle-icon i {
    font-size: 1rem;
    line-height: 1;
    margin-right: 0;
    /* remove Bootstrap’s default margin */
}


.align-middle-icon2 {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 4px;
    /* small gap between icon & text */
}

.align-middle-icon2 i {
    font-size: 0.75rem;
    line-height: .7;
    margin-right: 0;
    /* remove Bootstrap’s default margin */
}

.surjo p img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.mobile-break {
    display: none;
}

@media (max-width: 767px) {
    .mobile-break {
        display: block;
    }
}

@media (max-width: 767px) {
    .news_1_left2_inner2 {
        margin-top: 8px;
    }

    .news_1_left2_inner2 .fs-5 {
        font-size: 18px !important;
    }
}