/* Global Reset */
body {
    font-family: Arial, sans-serif;
    background: #f5f6f7;
    color: #222;
    margin: 0px;
}


/* =========================
   STARTS--TOP UTILITY BAR
========================= */

.top-utility-bar {
    background: #f4f4f4;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    color: #333;
}

.top-utility-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LEFT & RIGHT */
.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* LINKS */
.top-utility-bar a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.top-utility-bar a:hover {
    color: #d60000;
}

/* SEPARATOR */
.separator {
    color: #999;
    margin: 0 4px;
}


/* =========================
-ENDS-- TOP UTILITY BAR (TOI STYLE)
========================= */


/* Header Styling */
header {
    background: #000;
    color: white;
    /*padding: 15px 10;*/
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo a {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo {
        margin-left: 5%;
    }

.logo img {
        max-height: 90px;
        width: auto;
    }

    
.search-bar {
    position: relative;
    z-index: 2;
    margin-right: 5%;
    }

/*    .search-bar button {
        background: #f4c842;
        border: none;
        padding: 8px 12px;
        margin-right: 40px;
        border-radius: 5px;
        cursor: pointer;
    }
*/
/* Navigation Menu */
.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;              /*  allows wrapping to next line */
    justify-content: center;      /* centers all links */
    align-items: center;
    gap: 5px;                    /* even space between items */
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 5px 10px;             /* space around items */
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;          /* keeps link text on one line */
}

.nav-links a:hover {
    background-color: #f4c842;
    color: #000;
}

/*Menu*/
.menu-toggle{
    display: none;
}


.search-bar button {
    background: #f4c842;
    border: none;
    padding: 8px 12px;
    margin-left: 5px;
    border-radius: 5px;
    cursor: pointer;
}

/*---News Ticker*/
/* Breaking News Ticker */
.breaking-news {
    background: #d60000;
    color: #fff;
    padding: 5px 0;
    overflow: hidden;
    margin-bottom: 0;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: tickerMove 8s linear infinite;
}

.ticker span {
    display: inline-block;
    padding: 0 10px;
    font-weight: bold;
    font-size: 15px;
}

@keyframes tickerMove {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/*---News Ticker */

/* ---------- Mobile Navigation ---------- */
@media (max-width: 1200px) {
.logo {
        margin-left: 7%;
    }

.logo img {
        max-height: 90px;
        width: auto;
    }

    
.search-bar {
    position: relative;
    z-index: 2;
    margin-right: 7%;
    }

}

@media (max-width: 992px) {

    header {
        background: #000;
        padding: 15px 0;          /* vertical breathing room */
    }

    .top-utility-container {
        min-height: 20px;
        line-height: 1;
    }
    
    .container {
        position: relative;
        display: flex;
        align-items: center;      /* vertical centering */
        justify-content: space-between;
        min-height: 72px;         /* baseline, not a cap */
    }

    /* LEFT: Menu toggle */
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 2;
        font-size: 24px;
        margin-left: 5%;
    }

     /* CENTER: logo (true center) */
    .logo {
        position: absolute;
        left: 44%;
        transform: translateX(-50%);
    }
    .logo img {
        max-height: 90px;
        width: auto;
    }

    /* RIGHT: search */
    .search-bar {
        position: relative;
        z-index: 2;
        margin-right: 40x;
    }

    .search-bar button {
        background: #f4c842;
        border: none;
        padding: 8px 12px;
        /*margin-right: 40px;*/
        border-radius: 5px;
        cursor: pointer;
    }

    /* Hide full menu initially (toggle based) */
    nav {
        width: 100%;
    }

    .nav-links {
        display: flex;              /* keep flex */
        flex-direction: column;     /* 🔥 THIS is the missing piece */
        align-items: flex-start;    /* dropdown feel */

        position: absolute;
        top: 77%;
        left: 0%;
        /*width: 100%;*/

        background: #333;
        z-index: 999;
        border: 1px solid #fff;
        border-radius: 1px;

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);

        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            transform 0.25s ease;
    }

    .nav-links.show {
        max-height: 600px;
        opacity: 1;
        transform: translateY(0);
        width: 30%;
        position: absolute;
        top: 77%;
        left: 5%;
    }

    .nav-links li {
        width: 95%;
        padding:2px;
        align-items: center;
    }


    .nav-links a {
        color: white;
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        padding: 6px 10px;
        border-radius: 4px;
        transition: all 0.2s ease-in-out;
        white-space: nowrap;          /* keeps link text on one line */
    }
}

@media (max-width: 768px) {

    header {
        background: #000;
        padding: 15px 0;          /* vertical breathing room */
    }

    .top-utility-container {
        min-height: 20px;
        line-height: 1;
    }
    
    .container {
        position: relative;
        display: flex;
        align-items: center;      /* vertical centering */
        justify-content: space-between;
        min-height: 72px;         /* baseline, not a cap */
    }

    /* LEFT: Menu toggle */
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 2;
        font-size: 24px;
        margin-left: 5%;
    }

     /* CENTER: logo (true center) */
    .logo {
        position: absolute;
        left: 44%;
        transform: translateX(-50%);
    }
    .logo img {
        max-height: 90px;
        width: auto;
    }

    /* RIGHT: search */
    .search-bar {
        position: relative;
        z-index: 2;
        margin-right: 40x;
    }

    .search-bar button {
        background: #f4c842;
        border: none;
        padding: 8px 12px;
        /*margin-right: 40px;*/
        border-radius: 5px;
        cursor: pointer;
    }

    /* Hide full menu initially (toggle based) */
    nav {
        width: 100%;
    }

    .nav-links {
        display: flex;              /* keep flex */
        flex-direction: column;     /* 🔥 THIS is the missing piece */
        align-items: flex-start;    /* dropdown feel */

        position: absolute;
        top: 77%;
        left: 0%;
        /*width: 100%;*/

        background: #333;
        z-index: 999;
        border: 1px solid #fff;
        border-radius: 1px;

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);

        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            transform 0.25s ease;
    }

    .nav-links.show {
        max-height: 600px;
        opacity: 1;
        transform: translateY(0);
        width: 30%;
        position: absolute;
        top: 77%;
        left: 5%;
    }

    .nav-links li {
        width: 95%;
        padding:2px;
        align-items: center;
    }


    .nav-links a {
        color: white;
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        padding: 6px 10px;
        border-radius: 4px;
        transition: all 0.2s ease-in-out;
        white-space: nowrap;          /* keeps link text on one line */
    }
}

@media (max-width: 480px) {
   /* .container {
        padding: 10px;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 10px;
        top: 10px;
        font-size: 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #333;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 50px;
        left: 0;
        padding: 10px 0;
    }

    .nav-links.show {
        display: flex;
    }*/
}