/* ========================================
   TOP BAR SECTION
======================================== */
.header-top-bar {
    background-color: #660b13;
    padding: 7px 0;
    border-bottom: 1px solid #675c44;
}
.header-top-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.header-contact-info {
    display: none!important;
    gap: 20px;
    align-items: center;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 20px;
    border-radius: 25px;
}

.header-contact-item.phone {
    background-color: #F5C65F;
}

.header-contact-item.email {
    background-color: #FFCD7B;
}

.header-contact-item i {
    color: #660B13;
    font-size: 16px;
}

.header-contact-item span {
    color: #000;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.header-top-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.header-top-menu li {
    list-style: none;
}

.header-top-menu a {
    color: #FFCD7B;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.header-top-menu a:hover {
    opacity: 0.8;
}

/* ========================================
   LOGO SECTION
======================================== */
.header-logo-section {
    background-color: #660B13;
    padding: 10px 0;
    position: relative;
}

.header-logo-content {
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-logo-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    flex-shrink: 0;
}

.header-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-school-name {
    color: white;
    text-align: left !important;
}

.header-school-location {
    font-family: 'Oswald';
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.header-school-title {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
}

/* ========================================
   MAIN NAVIGATION
======================================== */
.header-main-nav {
    background: #660b13;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-nav-menu {
    list-style: none;
    display: flex;
    gap: 0;
}

.header-nav-menu li {
    list-style: none;
}

.header-nav-menu > li {
    position: relative;
}

.header-nav-menu > li > a {
    display: block;
    padding: 12px 15px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* ========================================
   DROPDOWN MENU - FIRST LEVEL
======================================== */
.header-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFCD7B;
    min-width: 235px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    display: block;
}

.header-nav-menu > li:hover > .header-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-nav-dropdown li {
    position: relative;
    list-style: none;
}

.header-nav-dropdown li a {
    display: block;
    padding: 12px 20px;
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-nav-dropdown li:last-child a {
    border-bottom: none;
}

.header-nav-dropdown li a:hover {
    background-color: #F5C65F;
    padding-left: 25px;
}

/* ========================================
   DROPDOWN MENU - SECOND LEVEL
======================================== */
.header-nav-dropdown .header-nav-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    display: block;
}

.header-nav-dropdown li:hover > .header-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ========================================
   DROPDOWN ARROW ICONS
======================================== */
.header-has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 10px;
}

.header-nav-dropdown .header-has-dropdown > a::after {
    content: '\f105';
    float: right;
    margin-left: 0;
}

.header-has-dropdown.active > a::after {
    transform: rotate(180deg);
}

/* ========================================
   MOBILE MENU TOGGLE
======================================== */
.header-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    z-index: 1001;
}

/* ========================================
   MARQUEE SECTION
======================================== */
.header-marquee-section {
    background-color: #FFF9E6;
    position: relative;
    z-index: 10;
}

.header-marquee-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: -1;
}

.header-marquee-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 0;
}

.header-marquee-wrapper {
    flex: 1;
    overflow: hidden;
    background-color: #FFF9E6;
    padding: 8px 20px;
    width: 100%;
}

.header-marquee-text {
    display: inline-flex;
    white-space: nowrap;
    animation: header-scroll 40s linear infinite;
    gap: 0;
}

.header-marquee-text:hover {
    animation-play-state: paused;
}

@keyframes header-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.header-marquee-item {
    display: inline-flex;
    align-items: center;
    margin-right: 40px;
    flex-shrink: 0;
}

/* ========================================
   BADGE STYLES
======================================== */
.header-notice-badge {
    background-color: #FFA500;
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 12px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
}

.header-new-badge {
    background-color: #FF0000;
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    margin-right: 12px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
}

.header-marquee-item span:not(.header-notice-badge):not(.header-new-badge) {
    font-family: 'Lato', sans-serif;
    color: #660B13 !important;
    font-size: 15px;
    font-weight: 500;
}

/* ========================================
   TEXT COLOR CLASSES
======================================== */
.red-text {
    color: #dc3545 !important;
}

.blue-text {
    color: #007bff !important;
}

.orange-text {
    color: #fd7e14 !important;
}

.yellow-text {
    color: #c49000 !important;
}

.green-text {
    color: #28a745 !important;
}

.purple-text {
    color: #6f42c1 !important;
}

/* ========================================
   MARQUEE LINK STYLES
======================================== */
.header-marquee-item a {
    color: inherit;
    text-decoration: underline;
    margin-left: 5px;
    font-weight: 600;
}

.header-marquee-item a:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE: BELOW 900px (Toggle Menu)
======================================== */
@media (max-width: 1024px) {
    

    .header-top-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
    }

    .header-contact-info {
		    display: none!important;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .header-contact-item {
        padding: 6px 15px;
    }

    .header-contact-item span {
        font-size: 13px;
    }

    .header-top-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-top-menu a {
        font-size: 14px;
    }

    .header-logo-content {
                justify-content: flex-start;
        gap: 20px;
    }

    .header-logo-container {
        width: 120px;
        height: 120px;
    }

    .header-school-location {
        font-size: 18px;
    }

    .header-school-title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    /* Toggle Menu */
    .header-main-nav {
        padding: 0;
        position: relative;
    }

    .header-nav-content {
        flex-direction: column;
        padding: 0;
        position: relative;
        justify-content: flex-start;
    }

    .header-mobile-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: -95px;
        width: auto;
        text-align: right;
        padding: 10px;
        z-index: 1002;
    }

    .header-mobile-toggle i {
        font-size: 26px;
    }

    .header-nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .header-nav-menu.active {
        display: flex;
    }

    .header-nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-nav-menu > li > a {
        padding: 15px 20px;
        font-size: 15px;
        width: 100%;
        text-align: left;
    }

    /* Dropdown */
    .header-nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #F5C65F;
        display: none;
        min-width: 100%;
    }

    .header-nav-menu > li.active > .header-nav-dropdown {
        display: block;
    }

    .header-nav-dropdown li a {
        padding: 12px 20px 12px 35px;
        font-size: 14px;
    }

    .header-nav-dropdown li a:hover {
        padding-left: 40px;
    }

    /* Second Level Dropdown */
    .header-nav-dropdown .header-nav-dropdown {
        position: static;
        left: 0;
        background-color: #FFCD7B;
        transform: none;
        display: none;
    }

    .header-nav-dropdown li.active > .header-nav-dropdown {
        display: block;
    }

    .header-nav-dropdown .header-nav-dropdown li a {
        padding-left: 50px;
    }

    .header-nav-dropdown .header-nav-dropdown li a:hover {
        padding-left: 55px;
    }

    .header-has-dropdown > a::after {
        float: right;
    }

    .header-marquee-wrapper {
        padding: 10px 15px;
    }

    .header-marquee-item span:not(.header-notice-badge):not(.header-new-badge) {
        font-size: 14px;
    }
}

/* ========================================
   RESPONSIVE: 768px and below
======================================== */
@media (max-width: 768px) {
    .header-marquee-container {
        padding: 0 15px;
    }
    
    .header-marquee-wrapper {
        padding: 8px 15px;
    }
    
    .header-marquee-item {
        margin-right: 30px;
    }
    
    .header-marquee-item span:not(.header-notice-badge):not(.header-new-badge) {
        font-size: 14px;
    }
    
    .header-notice-badge,
    .header-new-badge {
        font-size: 10px;
        padding: 3px 12px;
        margin-right: 10px;
    }
}

/* ========================================
   RESPONSIVE: Mobile (max-width: 767px)
======================================== */
@media (max-width: 767px) {
    .header-top-bar {
        padding: 10px 0;
    }

    .header-top-content {
        padding: 0 15px;
    }

    .header-contact-info {
        flex-direction: row !important;
        gap: 10px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .header-contact-item {
        justify-content: center;
        padding: 8px 15px;
    }

    .header-contact-item span {
        font-size: 13px;
    }

    .header-top-menu {
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
    }

    .header-top-menu li {
        width: auto !important;
    }

    .header-top-menu a {
        display: inline-block !important;
        padding: 5px 10px;
        text-align: center;
    }

    .header-logo-section {
        padding: 15px 0;
    }

    .header-logo-content {
        flex-direction: row;
        padding: 0 15px;
        gap: 15px;
        align-items: center;
        justify-content: flex-start;
    }

    .header-logo-container {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .header-school-name {
        flex: 1;
        text-align: left;
    }

    .header-school-location {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .header-school-title {
        font-size: 18px;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    /* Mobile Navigation */
    .header-mobile-toggle {
        top: -85px;
        right: 15px;
    }

    .header-mobile-toggle i {
        font-size: 24px;
    }

    .header-nav-menu > li > a {
        padding: 15px 20px;
        font-size: 16px;
    }

    .header-marquee-container {
        padding: 0 10px;
    }

    .header-marquee-wrapper {
        padding: 8px 12px;
    }

    .header-marquee-item {
        margin-right: 30px;
    }

    .header-notice-badge,
    .header-new-badge {
        font-size: 10px;
        padding: 3px 10px;
        margin-right: 8px;
    }

    .header-marquee-item span:not(.header-notice-badge):not(.header-new-badge) {
        font-size: 13px;
    }
}

/* ========================================
   RESPONSIVE: Extra Small Mobile (max-width: 480px)
======================================== */
@media (max-width: 480px) {
    .header-top-content {
        padding: 0 10px;
    }

    .header-contact-item {
        padding: 6px 12px;
    }

    .header-contact-item i {
        font-size: 14px;
    }

    .header-contact-item span {
        font-size: 12px;
    }

    .header-logo-content {
        padding: 0 10px;
        gap: 10px;
    }

    .header-logo-container {
        width: 70px;
        height: 70px;
    }

    .header-school-location {
        font-size: 13px;
    }

    .header-school-title {
        font-size: 16px;
        letter-spacing: 0;
    }

    .header-mobile-toggle {
        top: -80px;
        right: 10px;
    }

    .header-mobile-toggle i {
        font-size: 22px;
    }

    .header-nav-menu > li > a {
        font-size: 15px;
        padding: 12px 15px;
    }

    .header-nav-dropdown li a {
        font-size: 13px;
        padding: 10px 15px 10px 30px;
    }

    .header-marquee-item span:not(.header-notice-badge):not(.header-new-badge) {
        font-size: 12px;
    }
}



@media (min-width: 1024px) and (max-width: 1150px) {
       .header-nav-menu > li > a {
    display: block;
    padding: 12px 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
}
