  html {
    scroll-behavior: smooth;
  }

  /* FHEL Apply to all sections globally */
  section {
    padding-top: 0.5rem;
    /* Equivalent to pt-2 */
    overflow-x: hidden;
    /* Prevent horizontal overflow */
  }


  .dropdown-menu-parent {

    top: 38px;
  }

  .copyright-link:hover {

    color: #066617;
    text-decoration: none;
  }

  .nav-sidebar .nav-item>.nav-link {

    color: #343a40 !important;
  }

  .hidden-action {
    opacity: 0;
    pointer-events: none;

  }

  .show-action {

    opacity: 1;
    pointer-events: unset;

  }

  .nav-item:hover {

    color: #343a40 !important;
  }

  .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
  .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #066617 !important;
    color: #fff !important;
  }

  .blinking-text {
    animation: blink 1s infinite;
  }

  .icon-link {
    font-size: 17px;
    padding-top: 0px;
    padding-bottom: 0px;
    transition: 0.3s ease-in-out;
  }

  .icon-link:hover {
    opacity: 0.95;
  }

  .banner {
    position: relative;
    /* Ensures the overlay positions correctly */
    background-size: cover;
    /* Ensures image covers the entire banner */
    background-position: 70% 30%;
    background-repeat: no-repeat;
    margin-top: 200px;
    width: 100%;
    /* min-height: 100vh; */
    /* Makes banner cover full screen */
    overflow: hidden;
  }

  /* Ensure the overlay fully covers the banner */
  .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Changed from 60vh to 100% for full coverage */
    background-color: rgba(14, 61, 5, 0.329);
    /* Semi-transparent overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }




  .newbanner {
    position: relative;
    /* Ensures the overlay positions correctly */
    background-size: cover;
    /* Ensures image covers the entire banner */
    background-position: 70% 30%;
    background-repeat: no-repeat;
    margin-top: 200px;
    width: 100%;
    /* min-height: 100vh; */
    /* Makes banner cover full screen */
    overflow: hidden;
  }

  /* Ensure the overlay fully covers the banner */
  .newbanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Changed from 60vh to 100% for full coverage */
    background-color: rgba(0, 0, 0, 0.068);
    /* Semi-transparent overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* Fix for the preloader */
  .dev-preloader-container {
    background: #f4f6f9;
    display: flex;
    height: 100vh;
    width: 100%;
    transition: height 0.2s linear;
    justify-content: center;
    /* Fix alignment */
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
  }



  /* Ensure the navbar and content spacing is minimal */
  .navbar,
  .content {
    margin: 0;
    padding: 0;
  }


  /* General styles for the carousel */
  .hero-carousel {
    z-index: 0;
    position: relative;
    width: 100%;
    height: 90vh;
    /* Set a fixed height for desktop */
    overflow: hidden;
  }

  .hero-carousel .carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-carousel img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* Ensures images cover the full width and height */
  }

  .hero-carousel .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark overlay for readability */
  }

  /* Fix carousel size on mobile */
  @media (max-width: 768px) {
    .hero-carousel {
      height: 50vh;
      /* Reduce the height for smaller screens */
    }

    .hero-carousel img {
      object-fit: cover;
      /* Ensure images fit within the carousel container */
    }

    .hero-carousel .carousel-item {
      display: block;
      /* Stack items vertically on smaller screens */
    }
  }

  /* Optional: Set carousel item to a fixed size */
  @media (max-width: 576px) {
    .hero-carousel {
      height: 50vh;
      /* Adjust height further for mobile screens */
    }
  }


  div #dev-preloader {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .spinner-border {
    width: 50px !important;
    height: 50px !important;
    border-width: 0.5rem !important;
  }

  .avatar-container {
    width: 250px;
    /* Set the desired width for the avatar container */
    height: 250px;
    /* Set the desired height for the avatar container */
    overflow: hidden;
    border-radius: 50%;
    /* To create a circular avatar */

  }

  .avatar-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    width: 250px;
    background-color: black;
    position: absolute;
    overflow: hidden;
    border-radius: 50%;
    transition: 0.3s;
    opacity: 0;
  }

  .avatar-overlay:hover {

    opacity: 0.5;
  }

  .avatar-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .dev-elevation {
    box-shadow: -8px -9px 63px -24px rgba(0, 0, 0, 0.50);
    -webkit-box-shadow: -8px -9px 63px -24px rgba(0, 0, 0, 0.50);
    -moz-box-shadow: -8px -9px 63px -24px rgba(0, 0, 0, 0.50);
  }

  .tile {

    display: block;
    float: left;
    text-decoration: none;
    position: relative;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: .02em;
    line-height: 20px;
    overflow: hidden;
    border: 4px solid transparent;
    margin: 0 10px 10px 0;
    border-radius: 25px !important;
    transition: 3ms ease-in-out;
  }

  .tile.tile-normal {

    padding: 10px;
    text-align: center;
    width: 135px;
    height: 135px;
  }

  .tile.tile-row-span-2 {

    padding: 10px;
    text-align: center;
    width: 135px !important;
    height: 280px !important;
  }

  .tile.tile-col-span-2 {

    padding: 10px;
    text-align: center;
    width: 280px !important;
    height: 135px !important;
  }

  .tile .tile-body>i {
    margin-top: 17px;
    display: block;
    font-size: 40px;
    line-height: 56px;
    text-align: center;
  }

  .tile .tile-object {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 30px;

  }

  .tile .tile-object.tile-name {
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: 5px;
    margin-left: 10px;
    margin-right: 15px;
    font-weight: 400;
    font-size: 13px;
    color: #fff;
  }

  .tooltip {
    position: absolute;
    width: 120px;
    height: 50px;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 1;
    transform: scale(0);
  }

  .tooltip-active {
    transform: scale(1);
  }

  .tooltip-holder {
    position: absolute;
    border-radius: 5px;
  }

  .tile:hover {

    border: 5px solid rgb(244 246 249);
  }

  .school-primary {
    background: #066617;
    color: white;
  }

  .bg-primary-color {

    background: #343a40 !important;
    color: white;

  }

  .bg-blue-hoki {
    background: #67809F !important;
    color: white;
  }

  .bg-blue-metal {

    background: #4B77BE !important;
    color: white;

  }

  .bg-gree-ocean {

    background: #32c5d2 !important;
    color: white;

  }

  .bg-gree-kael {

    background: #1BBC9B !important;
    color: white;

  }


  .bg-red-blood {

    background: #D91E18 !important;
    color: white;

  }

  .bg-red-peal {

    background: #E26A6A !important;
    color: white;

  }

  .bg-orange-warm {

    background: #E87E04 !important;
    color: white;

  }


  .bg-yellow-gold {

    background: #E87E04 !important;
    color: white;

  }

  .bg-purple-royal {

    background: #8E44AD !important;
    color: white;

  }


  .btn-primary-color {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: white;
  }

  .btn-primary-color:hover {
    background-color: #004cff !important;
    border-color: #004cff !important;
    color: white;
  }

  .btn-secondary-color {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white;
  }

  .btn-secondary-color:hover {
    background-color: #5d666d !important;
    color: white;
  }

  .btn-success-color {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white;
  }


  .btn-success-color:hover {
    background-color: #208437 !important;
    border-color: #208437 !important;
    color: white;
  }

  .btn-warning-color {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: white;
  }


  .btn-warning-color:hover {
    background-color: #d29e00 !important;
    border-color: #d29e00 !important;
    color: white;
  }

  .btn-danger-color {
    background-color: #c82333 !important;
    border-color: #c82333 !important;
    color: white;
  }


  .btn-danger-color:hover {
    background-color: #a51e2c !important;
    border-color: #a51e2c !important;
    color: white;
  }


  .btn-info-color {
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
    color: white;
  }


  .btn-info-color:hover {
    background-color: #128091 !important;
    border-color: #128091 !important;
    color: white;
  }




  .animate-left {

    animation: transitionLeft 0.75s;

  }

  .animate-right {

    animation: transitionRight 0.75s;

  }

  .animate-forward {

    animation: transitionForward 0.75s;

  }

  .dropdown-divider {

    margin: .10rem 0 !important;
  }



  .main-footer {
    position: sticky;
    bottom: 0;
  }




  /* fhel */

  .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    /* Ensure the container takes the full height of its parent */
  }

  .content-arrow {
    position: absolute;
    /* Ensure it remains centered relative to the container */
    background-color: #066617;
    /* Your preferred background color */
    padding: 10px;
    /* Adjust padding as needed */
    border-radius: 50%;
    /* Make it a perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    animation: upDown 2s infinite alternate-reverse;
  }

  /* Keyframe animation for up-and-down transition */
  @keyframes upDown {
    0% {
      transform: translateY(1px);
      /* Start position */
    }

    100% {
      transform: translateY(65px);
      /* Move up by 20px */
    }
  }



  /* library fhel*/
  /* Base styles for the image container */
  .image-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
  }

  /* Expandable Image */
  .expandable-img {
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  /* Hidden checkbox used for triggering the image expansion */
  .expand-checkbox {
    display: none;
  }

  /* Expand the image when the checkbox is checked */
  .expand-checkbox:checked+label img {
    transform: scale(3);
    /* Adjust the scale to control the expansion */
    transition: transform 0.3s ease;
    z-index: 1;
  }

  /* Close Button */
  .close-button {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: white;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px;
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
  }

  /* Show close button when image is expanded */
  .expand-checkbox:checked~.close-button {
    display: block;
  }

  /* When the image is expanded, make sure it fits the screen */
  .image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  /* Optional: hover effect for the image */
  .expandable-img:hover {
    transform: scale(1.1);
  }


  /* sdg fhel*/


  .main-image-sdg,
  .overlay-image-sdg {
    width: 100%;
    height: auto;
    /* Ensure images maintain aspect ratio */
    display: block;
  }

  img.overlay-image-sdg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  img.overlay-image-sdg:hover {

    opacity: 1;

  }

  .hover-trigger:hover~.row .overlay-image-sdg {
    opacity: 1;
  }



  /* fhel */

  /* scroll up */
  @keyframes upDown {
    0% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(5mm);
      /* Moves down by 5mm */
    }
  }

  #btn-back-to-top {
    position: fixed;
    bottom: 120px;
    right: 25px;
    display: none;
    background-color: #066617;
    border-color: #066617;
    color: white;
    align-items: center;
    justify-content: center;
    animation: upDown 2s infinite alternate-reverse;
    /* Apply the up-down animation */
  }




  /* Basic styling for the navbar items */
  .navbar .nav-item>.nav-link {
    color: #343a40;
    text-decoration: none;
    padding: 10px;
    position: relative;
  }

  .navbar .nav-item>.nav-link {
    position: relative;
    /* Ensure the pseudo-element is positioned relative to the link */
    text-decoration: none;
    /* Remove default underline */
    color: #343a40;
    /* Default text color */
    transition: color 0.3s ease;
    /* Smooth color transition */
  }

  .navbar .nav-item>.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    /* Position the underline at the top of the link */
    left: 50%;
    /* Start from the center */
    width: 0;
    /* Initially no width */
    height: 2px;
    /* Thickness of the underline */
    background-color: rgb(49, 145, 70);
    /* Green underline */
    transition: width 0.3s ease, left 0.4s ease;
    /* Smooth transition for the effect */
  }

  .navbar .nav-item>.nav-link:hover::before,
  .navbar .nav-item>.nav-link:focus::before {
    width: 100%;
    /* Expand underline to full width */
    left: 0;
    /* Move starting point to the left */
  }


  /* Persist the green underline above the text when a link is the target */
  .navbar .nav-item>.nav-link:target {
    border-top: 2px solid green;
    color: #d6e0eb;
  }

  /* Ensure the target section's link stays underlined above the text */
  section:target .nav-link {
    border-top: 2px solid green;
  }

  /* Add a class to the "Home" link */
  .navbar .nav-item>.nav-link.home {
    /* Apply the green underline initially */
    border-top: 2px solid green;
  }

  .navbar .nav-item>.nav-link.active {
    border-top: 2px solid green;
    /* Add the important declaration */
    border-top-style: solid;
  }

  dropdown-item.active,
  .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #208437 !important;

  }




  /* fhel */

  /* ANIMATION NAVBAR STYLE*/

  @keyframes transitionForward {

    from {
      opacity: 0;
      transform: scale(0);

    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }


  @keyframes transitionLeft {

    from {
      opacity: 0;
      transform: translateX(-220px);

    }

    to {
      opacity: 1;
      transform: translateZ(0);
    }
  }


  @keyframes transitionRight {

    from {
      opacity: 0;
      transform: translateX(-220px);

    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes blink {
    0% {
      transform: scale(1.2);
    }

    50% {
      transform: scale(1);
    }

    100% {
      transform: scale(1.2);
    }
  }



  @media (min-width: 768px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .dev-preloader-container {
      transition: margin-left .3s ease-in-out;
      margin-left: 100px;
    }
  }

  body.sidebar-collapse:not(.sidebar-mini-xs):not(.sidebar-mini-md):not(.sidebar-mini) .dev-preloader-container {
    margin-left: 0;
  }








  /* Adjust the button width in the submenu */
  .nav-pills .nav-link {
    width: auto;
    white-space: nowrap;
    /* Prevent wrapping */
  }


  .nav-link:hover {
    color: #28a745;
    /* Green color */
  }





  .nav-pills .nav-link.active {
    background-color: #4CAF50;
    /* Adjust the active link color if needed */
  }

  .card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;

  }

  .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
  }



  /* .card:hover {
      transform: scale(1.05);
      box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  } */
  .btn-view-pdf {
    background-color: #4CAF50;
    /* Default button color */
    color: #fff;
    /* Text color */
    padding: 10px 20px;
    /* Button padding */
    border: none;
    /* No border */
    border-radius: 15px;
    /* Rounded edges */
    font-size: 16px;
    /* Text size */
    font-weight: bold;
    /* Bold text */
    transition: background-color 0.3s;
    /* Smooth transition for hover effect */
    text-transform: uppercase;
    /* Make text uppercase */
  }

  .btn-view-pdf:hover {
    background-color: #388e3c;
    /* Darker green on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Add shadow effect on hover */
    cursor: pointer;
    /* Change cursor to pointer on hover */

  }