
/* ===========================================================
   NAVBAR
=========================================================== */
.navbar {
    background-color: #1abc9c;
    font-family: "Calibri", sans-serif;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 10px 15px;
    text-transform: uppercase;
    color: #000;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
    margin: 5px auto 0;
}

.nav-link:hover::after {
    width: 100%;
}

.active {
  background: #3a9bc5;
  color: rgb(255, 255, 255);
  border-color:2px solid #000000 ;
  box-shadow: inset 0 0 0 1px rgba(0, 167, 212, 0.3);
}


.nav-button {
    padding: 15px;
    border-radius: 5px;
}

.nav1 {
    list-style-type: none;
}

/* ===========================================================
   HEADER SPACING (FIX FOR MOBILE)
=========================================================== */
/* .header-space {
    padding-top: 90px;
} */

@media (max-width: 767px) {
    .header-space {
        padding-top: 70px;
    }
}

/* ===========================================================
   SIDEBAR — DESKTOP
=========================================================== */
@media (min-width: 768px) {

    .sidebar-toggle-btn {
        display: none;
    }

    #sidebarMenu {
        display: block !important;
        height: auto;
        min-height: 100vh; /* FIX */
    }
}

/* ===========================================================
   SIDEBAR — MOBILE
=========================================================== */
@media (max-width: 767px) {

    /* Hide by default */
    #sidebarMenu {
        display: none;
        background-color: #ffffff !important;
        padding: 12px;
        border-radius: 8px;
        max-height: 350px;
        overflow-y: auto;
        margin-bottom: 15px;
    }

    /* When open */
    #sidebarMenu.show {
        display: block;
    }

    /* Toggle BTN */
    .sidebar-toggle-btn {
        display: block;
        width: 90%;
        padding: 12px;
        margin: 0 auto 10px auto !important;
        text-align: center;
    }
}

/* ===========================================================
   SIDEBAR STYLING (AIT Premium Blue Theme)
=========================================================== */

/* Sidebar main container */
.sidebar {
    /* background: linear-gradient(180deg, #edf0f2, #FFFFFF); */
    height: 100vh;
    overflow-y: auto;
    padding: 10px;
    border-right: 2px solid #0D336D22; /* very light blue border */
    box-shadow: 2px 0 10px rgba(13, 51, 109, 0.15);
}

/* Sidebar Scrollbar (Premium Blue Style) */
.sidebar::-webkit-scrollbar {
    width: 10px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0D336D, #00C2E8);
    border-radius: 6px;
    border: 2px solid #ffffff;  /* smooth circular look */
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #072142, #00A7D4);
}

.sidebar::-webkit-scrollbar-track {
    background: #E8F3FF;
}
/*  */
.sidebar {
  height: 100vh;
  overflow-y: auto;
  position: sticky;
  top: 0;
}



/* ===========================================================
   SCROLL TO TOP BUTTON  (AIT Logo Gradient)
=========================================================== */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    display: none;

    background: linear-gradient(135deg, #0D336D, #00C2E8);
    color: white;
    border: none;
    border-radius: 50%;
    padding: 12px 14px;
    cursor: pointer;

    box-shadow: 0 4px 10px rgba(13, 51, 109, 0.45);
    transition: all 0.4s ease;
}

#scrollToTopBtn i {
    font-size: 22px;
    transition: transform 0.5s ease;
}

#scrollToTopBtn:hover {
    background: linear-gradient(135deg, #072142, #219eba);
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 10px 20px rgba(13, 51, 109, 0.55);
}

#scrollToTopBtn:active {
    transform: translateY(-2px) scale(0.97);
}

#scrollToTopBtn:hover i {
    transform: rotate(360deg);
}


/* ===========================================================
   DROPDOWN MENU
=========================================================== */
/* Dropper button */
.dropper {
  padding: 15px;
  border-radius: 5px;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown menu (hidden by default) */
.dropdown-menu {
  display: none;
  position: relative;
  background-color: #f8f9fa;
  padding: 10px 0;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  border-radius: 5px;
  margin-top: 5px;
  z-index: 1000;
}



/* Visible when .show is added */
.dropdown-menu.show {
  display: block;
}

/* Buttons inside dropdown */
.dropdown-menu li .dropper {
  background-color: white;
  color: #000;
  padding: 5px;
  text-align: left;
  border: 1px solid #ddd;
  margin-bottom: 5px;
  width: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;
}


 /*  */
 /* ===============================
    RESPONSIVE TOP PADDING
================================= */
.responsive-padding {
    padding-top: 90px;
}

@media (max-width: 992px) {
    .responsive-padding {
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    .responsive-padding {
        padding-top: 60px;
    }
}

@media (max-width: 576px) {
    .responsive-padding {
        padding-top: 50px;
    }
}

/* ===============================
   ACTIVE STATE (BUTTON + DROPDOWN)
=============================== */
.nav-button.active,
.dropper.active,
.dropdown-menu .dropper.active {
  background: #3a9bc5 !important;
  color: #ffffff !important;
  border: 2px solid #000000;
  box-shadow: inset 0 0 0 1px rgba(0, 167, 212, 0.3);
  transform: scale(1.02);
}


