﻿.top-header-section {
    background: #fff;
    border-bottom: 1px solid #0b3c8a;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* LEFT */
.logos {
    height: 75px;
}

/* RIGHT */
.right-toplogoheader {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ENQUIRY */
.enquiry {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #232d69;
    border-radius: 6px;
    padding: 8px 16px;
    height: 60px;
}

    .enquiry i {
        font-size: 20px;
        color: white;
        background-color: #232d69;
        border-radius: 50%;
        padding: 7px;
    }

.enquiry-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .enquiry-text span {
        font-size: 16px;
        color: #3b3b3b;
    }

    .enquiry-text a {
        color: #232d69;
        font-weight: 700;
        font-size: 19px;
        text-decoration: none;
    }

/* admission  */

.admission {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #232d69;
    border-radius: 6px;
    padding: 8px 16px;
    height: 60px;
}

    .admission i {
        font-size: 20px;
        color: white;
        background-color: #232d69;
        border-radius: 50%;
        padding: 7px;
    }

.admission-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .admission-text span {
        font-size: 16px;
    }

    /* 👇 Animation Apply Here */
    .admission-text a {
        font-weight: 700;
        font-size: 20px;
        text-decoration: none;
        animation: colorChange 3s infinite linear;
    }

/* 👇 Keyframes */
@keyframes colorChange {
    0% {
        color: #232d69; /* Blue */
    }

    50% {
        color: #43a047; /* Green */
    }

    100% {
        color: #232d69; /* Back to Blue */
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .top-header {
        flex-direction: column;
        gap: 12px;
    }

    .right-toplogoheader {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .admission-text a {
        font-weight: 700;
        font-size: 11px;
        text-decoration: none;
        animation: colorChange 3s infinite linear;
    }

    .admission-text span {
        font-size: 10px;
    }

    .enquiry-text a {
        color: #232d69;
        font-weight: 700;
        font-size: 12px;
        text-decoration: none;
    }

    .enquiry-text span {
        font-size: 10px;
        color: #272727;
    }

    .enquiry {
        width: 100%;
        justify-content: center;
    }

    .admission {
        width: 100%;
        justify-content: center;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    overflow-y: auto;
    transition: all 0.4s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

    .mobile-menu.active {
        left: 0;
    }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

    .mobile-menu-header .logo img {
        max-height: 60px;
    }

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 15px;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

    .mobile-nav-link i {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

.toggle-dropdown.active i {
    transform: translateY(-50%) rotate(180deg);
}

.has-dropdown .mobile-nav-link {
    padding-right: 25px;
}

.mobile-dropdown-menu {
    list-style: none;
    padding: 0 0 0 4px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

    .mobile-dropdown-menu.active {
        max-height: 4250px;
    }

    .mobile-dropdown-menu li {
        padding: 8px 0;
    }

    .mobile-dropdown-menu a {
        color: #555;
        text-decoration: none;
        display: block;
        margin-top: 5px;
        border-top: 1px solid rgb(240, 240, 240);
        transition: all 0.2s;
    }

        .mobile-dropdown-menu a:hover {
            color: #1a4b8e;
            font-weight: bold;
        }

.mobile-dropdown-header {
    font-weight: 600;
    color: #1a4b8e;
    margin-top: 10px;
    padding: 8px 0;
}

/* Toggle button styles */
.toggle-mobileMenu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    transition: all 0.2s ease;
}

    .toggle-mobileMenu:hover {
        color: #0066cc;
        transform: scale(1.1);
    }

/* Responsive adjustments */
@media (min-width: 992px) {
    .mobile-menu,
    .mobile-menu-overlay {
        display: none;
    }
}

@media (max-width: 350px) {
    .mobile-dropdown-menu.active {
        height: 100%;
        max-height: 5100px;
    }
}

/* animation for button  */

.blink-badge1 {
    background-color: Green;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 6px;
    animation: blink 1s infinite;
}

.blink-badge {
    background-color: #ff3b3b;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 6px;
    animation: blink 1s infinite;
}

.blink {
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

@-webkit-keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }

    /* You can keep these styles in case you want to show it again with different styling */
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .top-left div,
    .top-right div {
        flex-wrap: wrap;
        row-gap: 10px;
        margin: 0px 40px;
    }

    .top-left span,
    .top-left a,
    .top-right a:not(:last-child) {
        border-right: none !important;
        padding-right: 0 !important;
    }

    .has-submenu {
        margin-left: 0 !important;
    }
}

.has-submenu:hover .nav-submenu {
    display: block !important;
}

.nav-submenu__link:hover {
    background-color: #f0f0f0 !important;
}

/* Fixed Main Navigation Header Styles */

/* Ensure header content stays properly aligned */
.header .container {
    max-width: 100% !important;
}

/* Make sure dropdowns appear above other content */
.nav-submenu {
    z-index: 1000 !important;
}

/* Smooth transition for header */
.header {
    transition: all 0.3s ease !important;
}

.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.blink {
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

@-webkit-keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }

    /* You can keep these styles in case you want to show it again with different styling */
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .top-left div,
    .top-right div {
        flex-wrap: wrap;
        row-gap: 10px;
        margin: 0px 40px;
    }

    .top-left span,
    .top-left a,
    .top-right a:not(:last-child) {
        border-right: none !important;
        padding-right: 0 !important;
    }

    .has-submenu {
        margin-left: 0 !important;
    }
}

.has-submenu:hover .nav-submenu {
    display: block !important;
}

.nav-submenu__link:hover {
    background-color: #f0f0f0 !important;
}

/* pdf page style  */

.heading {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin: 30px 0px;
}

/* Glass Card */
.table-wrapper {
    margin: 10px 150px 40px 150px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.pdf-table {
    width: 100%;
    border-collapse: collapse;
}

    .pdf-table th {
        padding: 15px;
        text-align: center;
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .pdf-table td {
        padding: 18px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pdf-table tr:hover {
        background: rgba(255, 255, 255, 0.1);
        transition: 0.3s;
    }

/* PDF Icon */
.pdf-icon {
    color: #ff4d4d;
    font-size: 18px;
    margin-right: 8px;
}

/* Buttons */
.btn {
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.view-btn {
    background: #1e3c72;
    color: #ececec;
    border: none;
}

    .view-btn:hover {
        background: #ffd700;
        color: #000;
    }

.download-btn {
    background: #28a745;
    color: #fff;
}

    .download-btn:hover {
        background: #1e7e34;
    }

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    width: 80%;
    height: 80%;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    animation: fadeIn 0.4s ease;
}

    .modal-content iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    background: #ff4d4d;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 50%;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .heading {
        font-size: 22px;
        margin: 20px 10px;
    }

    .table-wrapper {
        margin: 15px;
        padding: 18px;
    }

    .pdf-table thead {
        display: none;
    }

    .pdf-table,
    .pdf-table tbody,
    .pdf-table tr,
    .pdf-table td {
        display: block;
        width: 100%;
    }

        .pdf-table tr {
            background: rgba(255, 255, 255, 0.08);
            margin-bottom: 16px;
            border-radius: 14px;
            padding: 14px;
        }

        .pdf-table td {
            text-align: left;
            padding: 10px 0;
            border: none;
            font-size: 14px;
        }

            .pdf-table td:first-child {
                font-weight: 700;
                color: #ffd700;
            }

            .pdf-table td:nth-child(2) {
                display: flex;
                align-items: center;
                gap: 8px;
                font-weight: 600;
            }

    .pdf-icon {
        font-size: 20px;
    }

    .btn {
        width: 100%;
        display: block;
        text-align: center;
        padding: 12px;
        font-size: 14px;
    }

    .view-btn {
        margin-bottom: 10px;
    }

    .modal-content {
        width: 95%;
        height: 85%;
        border-radius: 12px;
    }

    .close-btn {
        top: 8px;
        right: 10px;
        font-size: 18px;
    }
}
