/* headermaster.css */

/* ===== HEADER STYLES ===== */
.header-area {
    position: relative; /* let wrapper handle sticky */
    height: 0px;
    width: 100%;
}


.main-header-area {
    background: #fff;
/*    box-shadow: 0 2px 20px rgba(0,0,0,0.1);*/
    padding: 1px 0;
}

/* Logo */
.logo-img {
    max-height: 60px;
    width: auto;
}

/* Main Navigation */
#navigation {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0; float: right;
    align-items: center;
    justify-content: center;
}

#navigation > li {
    position: relative;
    margin: 0 15px;
}

#navigation > li > a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 20px 15px;
    display: block;
    transition: all 0.3s;
    white-space: nowrap;
}

#navigation > li > a:hover {
    color: #e74c3c;
}

#navigation > li > a i {
    font-size: 12px;
    margin-left: 5px;
}

/* Dropdown Menus */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    list-style: none;
    margin: 0;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s;
    z-index: 1000;
    border-radius: 5px;
    border-top: 3px solid #e74c3c;
}

#navigation > li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    position: relative;
}

.submenu a {
    display: block;
    padding: 10px 25px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.submenu a:hover {
    background: #f8f9fa;
    color: #e74c3c;
    border-left-color: #e74c3c;
}

/* Right Menu Trigger Button */
.menu-dots-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.dot-row {
    width: 20px;
    height: 3px;
    background: #e74c3c;
    border-radius: 3px;
    transition: 0.3s;
}

.menu-dots-btn:hover .dot-row {
    background: #e74c3c;
}



/* ===== SIDE MENU STYLES ===== */
.right-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.right-menu-overlay.active {
    right: 0;
}

.right-menu-container {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.close-right-menu {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 1;
    align-self: flex-end;
    cursor: pointer;
    margin-bottom: 20px;
}

.right-menu-header {
    text-align: center;
    margin-bottom: 30px;
}

.right-menu-header h3 {
    color: #333;
    font-size: 22px;
    margin-bottom: 5px;
}

.right-menu-header .subtitle {
    color: #666;
    font-size: 14px;
}

.right-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.right-menu-list > li {
    margin-bottom: 10px;
}

.right-menu-list a {
    display: flex;
    align-items: center;
    padding: 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.right-menu-list a:hover {
    background: #f8f9fa;
    color: #e74c3c;
    transform: translateX(5px);
}

.right-menu-list i {
    width: 25px;
    margin-right: 15px;
    font-size: 18px;
    text-align: center;
}

/* Side Menu Submenu */
.right-submenu {
    display: none;
    padding-left: 40px;
    margin-top: 5px;
}

.right-submenu a {
    font-size: 14px;
    padding: 10px 15px;
    font-weight: normal;
}

.has-submenu.active .right-submenu {
    display: block;
}

.has-submenu .arrow {
    margin-left: auto;
    transition: transform 0.3s;
}

.has-submenu.active .arrow {
    transform: rotate(180deg);
}

/* Featured Item */
.featured-item .fee-payment-btn {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #333 !important;
    font-weight: 600;
}

.featured-item .fee-payment-btn:hover {
    background: linear-gradient(135deg, #ffca2c, #ffb347);
}

.badge {
    background: #e74c3c;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 10px;
}

/* Menu Divider */
.menu-divider {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 0 10px;
    padding: 0 15px;
    font-weight: 600;
}

/* Footer */
.right-menu-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.contact-info i {
    margin-right: 10px;
    width: auto;
}

.copyright {
    margin-top: 15px;
    font-size: 12px;
    color: #999;
}

/* Backdrop */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}

.menu-backdrop.active {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .main-menu {
        display: none !important;
    }
    
  
    .right-menu-trigger {
        display: none;
    }
    
    #navigation > li {
        margin: 0 10px;
    }
    
    #navigation > li > a {
        padding: 15px 10px;
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .right-menu-overlay {
        width: 280px;
    }
    
    .logo-img {
        max-height: 50px;
    }
}


/* ===== NESTED SUBMENU (LEVEL 2) ===== */

.admission-btn {
    background: linear-gradient(135deg, #e74c3c, #ff6b5c);
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 12px;
    white-space: nowrap;
    transition: all 0.3s ease;
}


/* Align right items */

.header-right-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30%;
}

/* Force admission button to LAST */

/* Make header relative */
.main-header-area {
    position: relative;
}

/* Admission button fixed to right side of header */


/* Button styling */
.admission-btn {
    background: linear-gradient(135deg, #e74c3c, #ff6b5c);
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.admission-btn:hover {
    background: linear-gradient(135deg, #ff6b5c, #e74c3c);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231,76,60,0.3);
}
/* Right side header alignment */
.col-xl-2.col-lg-2.col-md-2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* Sticky wrapper */

/* Top bar */
#top-bar {
    background: #1a1a1a;
    color: #fff;
    padding: 4px 0;
    font-size: 13px;
    z-index: 10000;
    position: relative;
}

#top-bar a {
    color: #fff;
    text-decoration: none;
}
/* ===== FINAL STICKY HEADER FIX ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
     height: 103px;
}


/* Top bar spacing */
#top-bar {
    background: #1a1a1a;
    color: #fff;
    padding: 8px 0;
    line-height: 1.6;
    width: 1px;
    height: 1px;
}

/* Main header spacing */
.header-area {
    position: relative;   /* NOT sticky */
    padding: 10px 0;
}
/* Top bar text & icon color */
#top-bar,
#top-bar a,
#top-bar i,
#top-bar strong {
    color: #000 !important;
}
/* ===== NESTED SUBMENU (LEVEL 2) ===== */
.submenu .submenu {
    top: 0;
    left: 100%;
    margin-left: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
}

/* Show nested submenu on hover */
.submenu li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.submenu > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span,.top-info span   {

position: relative;
left: 90%;

}
