body {
    margin: 0;
    padding: 0;  
    box-sizing: border-box;  
}
.container1{
    background-color: #061E59;
    padding: 0px;
    display: flex;
    justify-content: space-around;
}
.img_1{
    height: 25px;
    width: 25px;
}
.namme{
    color: white;
}
.img_2{
    height: 25px;
    width: 50px;
}
.topbar{
    display: flex;
    gap: 50px;
    align-items: center; 
}
.box{
    display: flex;
    
    gap: 20px;
}
.box_1{
    align-content: center;
}
.text{
    color: white;
}
.fnt_1{
    height: 20px;
    width: 20px;   
}
/* top bar finish */
.two{
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #19398A;
    padding: 10px; 
    display: flex;
    justify-content: space-around;
}
.pic2{
    text-align: center;
    height: 40px;
    width: 80px;
}
.pic3{
    height: 30px;
    width: 70px;
}
.two1{
    align-content: center;
}
.two2 a{
    color: white;
    gap: 20px;
    
}
.two22{
    display: flex;
    gap: 60px;
    font-size: small;
}

.two3{
    align-self: center;
    display: flex;
    gap: 20px;
}
/* 2nd bar finish */
/* sponser */
.Spons{
    background-color: #081E40;
    display: flex;
    justify-content: space-around;
    padding: 10px;
}
.Spons h5{
    color: white;
    
}
.roof{
    display: flex;
    flex-direction: column;
    text-align: center;
    border-right: white 2px solid;
    padding: 10px;
}
.gasolin{
    display: flex;
    gap: 20px;
}

.pht1{
    height: 100px;
    width: 120px;
}

/* Footer site */
.footer{
    background-color: #11141C;
    padding: 15px;
    display: flex;
    justify-content: space-around;
}
.heading{
    color: white;
}
.same{

    display: flex;
    flex-direction: column;
    gap: 20px;
}.same a{
    color: white;
    border: none;
}
/* bottom */
.bottom{
    background-color: black;
    padding: 5px;
}
.bottom h5{
    color: white;
    text-align: center;
}
.two22 li{
    list-style:none;
}
/* image */
.rcb{
    height: fit-content;
    width: 100%;
    position: relative;
    
}
.virat{
    width: 100%;
   height: 500px;
}
.virat1{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 2;
    
}
.rcb1{
    position: absolute;
    color: white;
    top: 50%;
    left:40px;
    width: 40%;
    transform: translate(0,-50%);
}
.rest{
    background-color: orangered;
    padding: 10px;
    color: white;
}
.rest1{
    padding: 10px;
    background-color: orangered;
    transform: skew(-20deg);
    width: 30%;
    font-size: large;
    color: white;

}
.rcb1 h1{
    font-size: xx-large;
}
/* News container */
.newsu{
    padding: 30px;
}
.newsu1 button{
    padding: 10px;
    
}
.newsu1{
    border: solid black 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news2{
    display: flex;
    gap: 5%;
    justify-content: space-around;
    margin-top: 20px;
    
}
.news2 img{
    width: 250px;
    height: 250px;   
}

/*Navbar*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--dark);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.navbar-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.navbar-links li a {
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    padding: 0 15px;
}

.navbar-links li a:hover {
    color: var(--accent);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-toggle-btn {
    border: none;
    background: transparent;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-toggle-btn:hover {
    color: var(--secondary);
    transform: scale(1.1);
}

.toggle-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Container for the dropdown */
.search-bar-dropdown {
    display: none;
    width: 100%;
    padding: 10px 0;
    background: var(--light);
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
}

.search-bar-dropdown.active {
    display: flex;
    justify-content: center;
    animation: slideDown 0.3s ease-out;
}

/*Animation */
@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-bar-dropdown input {
    width: 80%;
    max-width: 500px;
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    outline: none;
    font-family: var(--font-main);
    font-size: 1rem;
}

.search-bar-dropdown input:focus {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 87, 184, 0.2);
}

.search-inner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.search-close-btn {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.search-close-btn:hover {
    color: var(--secondary);
}

/* --- Mobile View */
@media (max-width: 768px) {
    .toggle-menu {
        display: block;
    }

    .navbar-right .search-toggle-btn,
    .search-bar-dropdown {
        display: none;
    }

    .navbar-links {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 120px;
        left: 0;
        width: 100%;
        background: var(--dark);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        padding: 20px;
    }

    .navbar-links.show-menu {
        display: flex;
        z-index: 999;
    }

    .navbar-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 10px 0;
    }

    .navbar-links li:last-child {
        border-bottom: none;
    }
}

/*Flash news*/
.flash-container {
    width: 100%;
    background: var(--primary);
    color: var(--text-light);
    padding: 10px 0;
    font-weight: 500;
    overflow: hidden;
}

.flash-container span {
    padding-right: 50px;
}

.flash-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: flash 50s linear infinite;
}

@keyframes flash {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/*Footer*/
.footer-container {
    background: var(--dark);
    color: var(--text-light);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-bottom: 40px;
}

.footer-col {
    padding: 20px;
    min-width: 220px;
}

.footer-col h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    padding-left: 5px;
    color: var(--accent);
}

/*Footer sponsor*/
.footer-sponsor {
    background: var(text-primary);
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--text-muted);
}

.sponsor-label {
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.sponsor-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    border-radius: 8px;
    flex-wrap: wrap;
}

.sponsor-logo img {
    width: auto;
    opacity: 0.8;
    transition: 0.2s;
}

.sponsor-logo img:hover {
    opacity: 1;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    text-transform: uppercase;
    border-top: 1px solid var(--text-muted);
}

/* Mobile Devices */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 20px;
    }

    .footer-col {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-col h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .sponsor-logo {
        gap: 20px;
        padding: 0 10px;
    }

    .sponsor-logo img {
        max-width: 100px;
        height: auto;
    }
}
