﻿

header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background-color: #fff;
    border-top: 8px solid #3e83ae;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

    header img {
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

    header .logo {
        max-width: 180px;
    }

    header .logo-name {
        max-width: 200px;
    }

/* Navbar */
.navbar-nav .nav-link {
    font-size: 16px;
    padding: 10px 15px;
}

    .navbar-nav .nav-link:hover {
        background-color: rgba(255,255,255,0.15);
        border-radius: 5px;
        color: #ffeb3b !important;
    }

.dropdown-item:hover {
    background-color: #d0e9ff;
}

.dropdown-menu {
    min-width: 180px;
}

/* Table */
#tabledetails {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

    #tabledetails td, #tabledetails th {
        border: 1px solid #587201;
        padding: 5px;
    }

    #tabledetails th {
        padding: 6px 5px 10px 5px;
        text-align: left;
        background-color: #587201;
        color: white;
    }

footer {
    background-color: #302f2f;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}

.logorecheader {
    background: linear-gradient(90deg, #3e83ae, #45a2db);
    color: #fff;
    padding: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

.apply-online-btn {
    background: linear-gradient(270deg, #3aafa9, #2b7a78, #3aafa9);
    background-size: 600% 600%;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 12px 15px;
    border-radius: 8px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    animation: gradientShift 4s ease infinite;
    box-shadow: 0 4px 12px rgba(58, 175, 169, 0.5);
}

    .apply-online-btn:hover {
        box-shadow: 0 0 20px rgba(58, 175, 169, 0.8);
        transform: scale(1.03);
    }

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



.ticker-wrapper {
    overflow: hidden;
    height: 180px;
    position: relative;
}

.ticker-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    animation: tickerScroll 12s linear infinite;
}

    .ticker-list li {
        padding: 5px 0 5px 35px;
        border-bottom: 1px solid #ccc;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .ticker-list li::before {
            content: "\1F7CD";
            position: absolute;
            left: 5px;
            color: #DC143C;
            font-size: 16px;
        }

.ticker-wrapper:hover .ticker-list {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-100%);
    }
}

/* Mobile view */
@media (max-width: 576px) {
    header {
        flex-direction: column;
        text-align: center;
    }

        header .logo,
        header .logo-name {
            max-width: 70%;
        }
}
