/* headermaster.css */

/* ===== HEADER STYLES ===== */

.site-header {
  display: block;
}

@media (max-width: 991px) {
  .site-header {
    display: none;
  }
	
	.navbar {
    display: block !important;
  }
}

.navbar {
  display: none;
}


.main-header-area {
    background: #fff;
/*    box-shadow: 0 2px 20px rgba(0,0,0,0.1);*/
    padding: 5px 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 10px;
}

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

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

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

/* Dropdown Menus */
.submenu {
    position: absolute;
    top: 100%;
    left: 0; font-size: 1.5rem;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    list-style: none;
    margin: 0;
    padding: 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: 8px 15px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
    border-left: 3px solid transparent;
}

.submenu a:hover {
    background: #f8f9fa;
    color: #e74c3c;
    border-left-color: #e74c3c;
}
/* First submenu item */
.submenu li:first-child a {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

/* Last submenu item */
.submenu li:last-child a {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
/* Right Menu Trigger Button */
.menu-dots-btn {
    background: none;
    border: none;
    width: 40px;
    height: 60px;
    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 {
    color: #e74c3c; background: none;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 2rem; font-weight: 700;
    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: 5px;
}

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

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

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

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

.right-submenu a {
    font-size: 14px;
    padding: 4px 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: 70px;
}


/* 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%;

}

/* ===== SLICK STICKY HEADER EFFECT ===== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    transition: all 0.35s ease;
}

/* Default (top) state */
.site-header {
    box-shadow: none;
}

/* When scrolled */
.site-header.is-sticky {
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

/* Shrink header smoothly */
.site-header.is-sticky .main-header-area {
    padding: 10px 0;
}

/* Logo shrink */
.site-header.is-sticky .logo-img {
    max-height: 40px;
    transition: 0.3s;
}

/* Menu spacing shrink */
.site-header.is-sticky #navigation > li > a {
    padding: 12px 12px;
    font-size: 0.95rem;
}

/* Top bar hide on scroll */
.site-header.is-sticky #top-bar {
    height: 0;
    padding: 0;
    overflow: hidden;
}


/* Container */
.social-float-right {
  position: fixed;
  top: 55%;
  right: 0;
  z-index: 9999;
}

/* Each icon box */
.social-float-right a {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  line-height: 46px;
  text-align: center;
  color: #fff;
  font-size: 1.8rem;
  text-decoration: none;
}

/* Slide label */
.social-float-right a span {
  position: absolute;
  right: 40px;
  top: 0;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  padding: 0 18px;
  white-space: nowrap;
  font-size: .85rem;
  font-weight: 300;
  color: #fff;

  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;

  width: auto;
  max-width: 260px;
}

/* Hover effect */
.social-float-right a:hover span {
  opacity: 1;
  transform: translateX(0);
}

/* Colors */
.fb { background:#3b5998; }
.fb span { background:#3b5998; }

.tw { background:#1da1f2; }
.tw span { background:#1da1f2; }

.insta { background:#e1306c; }
.insta span { background:#e1306c; }

.in { background:#0077b5; }
.in span { background:#0077b5; }

.git { background:#24292e; }
.git span { background:#24292e; }

.yt { background:#ff0000; }
.yt span { background:#ff0000; }

.wa { background:#25d366; }
.wa span { background:#25d366; }

.mail { background:#6f42c1; }
.mail span { background:#6f42c1; }

.m-banner{display:none!important}.mobile{display:none!important}.col-sm-2a{width:100%}.col-sm-2a h4{font-size:1.5rem}@media only screen and (max-width:900px){.d-banner{display:none!important}.m-banner{display:block!important;min-height:100%}.desktop{display:none!important}.mobile{display:block!important}}