/*
Theme Name: ReadLab Theme
Author: ReadLab
Description: ReadLab's custom WordPress theme
Version: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: readlab-theme
*/

/* ===============================
   Color Variables
   =============================== */
:root {
  --nav-white: #ffffff;
  /* --nav-bluelight: #ffffff; */
  --nav-green: #158480;
  --nav-greenlight: #75b22c;
  --nav-gray: #99a49d;
  --nav-yellow: #fdb813;
  
}

/* ===============================
   Typography & Text Styling
   =============================== */
body {
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  /* text-align: center; */
}

a {
  text-decoration: none;
}

em, i {
  font-style: italic;
}

p, li {
 text-align: justify;
}

.light-text {
  font-weight: 300;
}

/* #logo-primary{
  width: 100%;
} */


/* ===============================
   Scrollbar Styling
   =============================== */
body::-webkit-scrollbar {
  width: 0.5em;
 /* background-color: #76b22c62; */
}

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--nav-greenlight);
  border-radius: 50px;
}


/* MENU */


/* ===============================
   Base Styles (Shared)
   =============================== */
#masthead {
  background-color: var(--nav-white);
  margin-bottom: 15px !important;
}

.navbar {
  padding: 0.5rem 50px;
}

.navbar-nav {
  gap: 2rem;
  --bs-nav-link-padding-y: 0 !important;
}

.menu-item a {
  color: #158480;
  border: rgba(4, 78, 162, 0.76) solid 3px;
  border-radius: 20px;
  transition: all 0.2s ease-in-out;
}

.menu-item a:hover,
.menu-item a:focus {
  color: rgb(49, 49, 49) !important;
  opacity: 0.85;
  text-decoration: none;
}

/* ===============================
   Active Menu Item Underline
   =============================== */
.menu-item.current-menu-item > a:not(.dropdown-toggle):not(.dropdown-menu a),
.menu-item.current_page_item > a:not(.dropdown-toggle):not(.dropdown-menu a),
.menu-item.current-menu-ancestor > a:not(.dropdown-toggle):not(.dropdown-menu a),
.menu-item.current_page_ancestor > a:not(.dropdown-toggle):not(.dropdown-menu a) {
  position: relative;
}

.menu-item.current-menu-item > a:not(.dropdown-toggle):not(.dropdown-menu a)::after,
.menu-item.current_page_item > a:not(.dropdown-toggle):not(.dropdown-menu a)::after,
.menu-item.current-menu-ancestor > a:not(.dropdown-toggle):not(.dropdown-menu a)::after,
.menu-item.current_page_ancestor > a:not(.dropdown-toggle):not(.dropdown-menu a)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

/* ===============================
   Dropdown Styling
   =============================== */
.dropdown-menu {
  padding: 0;
  margin: 0;
  border: none;
  background-color: transparent;
  border-radius: 6px;
}

.dropdown-menu .menu-item {
  margin: 0;
  padding: 5px;
  border: none;
  line-height: 1;
}

.dropdown-menu .nav-link {
  display: flex;
  align-items: center;
  padding: 0 0.2rem;
  height: 50px;
  line-height: 1.2;
  box-sizing: border-box;
  color: #158480;
  background: white;
}

.dropdown-menu .nav-link:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* ===============================
   Desktop Styles (≥992px)
   =============================== */
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-menu {
    transform: none !important;
  }

  .navbar-nav {
    --bs-nav-link-padding-x: 0.2rem;
  }

  .dropdown-menu {
    transition: opacity 0.3s, visibility 0.3s;
  }

  .fullscreen-menu,
  .menu-toggle {
    display: none !important;
  }
}

/* ===============================
   Mobile Styles (<992px)
   =============================== */
@media (max-width: 991.98px) {


  .menu-item a {
    color: #158480;
    border: none;
    border-radius: 20px;
    transition: all 0.2s ease-in-out;
  }

  .menu-item a:hover,
  .menu-item a:focus {
    color: rgb(49, 49, 49) !important;
    opacity: 0.85;
    text-decoration: none;
  }

/* ------ */

  .dropdown-menu {
    position: static !important;
    inset: unset !important;
    transform: none !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    box-shadow: none !important;
  }

  .dropdown-menu .menu-item {
    padding: 0 !important;
    margin: 0 !important;
  }

  .dropdown-menu .nav-link {
    padding: 0.5rem 1rem !important;
    width: 100%;
    display: block;
    background: transparent;
    border-radius: 0;
  }

  /* Animate dropdown menu items */
  .dropdown-menu .menu-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .dropdown.show .dropdown-menu .menu-item,
  .dropdown-menu.show .menu-item {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
  }



  
  .navbar-nav {
    --bs-nav-link-padding-x: 0.5rem;
  }

  .navbar-collapse {
    /* padding: 1rem; */
  }

  .flex-grow-1 {
    justify-content: flex-end !important;
  }

  .navbar-collapse.justify-content-center {
    justify-content: flex-end !important;
  }

  /* Fullscreen Menu */
  .fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #111;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    opacity: 0;
    pointer-events: none;
  }

  .fullscreen-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .fullscreen-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .fullscreen-menu-list li {
    margin: 1.5rem 0;
  }

  .fullscreen-menu-list a {
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    transition: color 0.2s;
  }

  .fullscreen-menu-list a:hover {
    color: #ddd;
  }

  .menu-toggle {
    background: none;
    border: none;
    z-index: 10000;
    padding: 1rem;
    position: relative;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    content: '';
    display: block;
    height: 3px;
    background: #000;
    margin: 6px 0;
    transition: all 0.3s ease;
    width: 25px;
  }

  .menu-toggle.active .menu-icon {
    background: transparent;
  }

  .menu-toggle.active .menu-icon::before {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active .menu-icon::after {
    transform: translateY(-9px) rotate(-45deg);
  }

  .menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .close-btn {
    font-size: 2.5rem;
    color: #fff;
    background: none;
    border: none;
  }
}











/* ===============================
   Lists and Content Styling
   =============================== */


/* .digital-text ul {
  list-style-type: disc !important;
  padding-left: 20px;
}

.wp-block-list {
  list-style-type: disc !important;
  padding-left: 40px;
} */


/* ===============================
   Custom Buttons
   =============================== */


.c-btn-1{
  border: #d381307e 3px solid;
  text-decoration: none;
  padding: 5px 10px;
  color: #d38230;
  background: white;
  border-radius: 20px;
  font-weight: bolder;

  transition: all 0.5s ease-in-out;

  /* Set initial transform for animation to work */
  animation: slide-right-in .3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-fill-mode: forwards;
}

.c-btn-1:hover{
  border-radius: 0px;
  background-color: #451955;
  color: #fff;
  position: relative;
}





/* ===============================
   FOOTER STYLING
   =============================== */

  .footer-column {
      color: #044ea2;
      padding: 0;
  }

  .footer-links-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      align-items: center; 
      gap: 4px;
      padding: 0;
      margin: 0 auto; 
  }

  .footer-links-list li {
      margin-bottom: 0.25rem;
  }

  .footer-links-list a {
      color: #000;
      text-decoration: none;
  }

  .footer-links-list a:hover {
      color: var(--nav-blue, #044ea2);
  }

  .footer-eu-paragraph {
      color: #000;
      text-align: justify;
  }


  .footer-usefullinks{
      background: url(<?php echo get_template_directory_uri() . '/assets/footer-nurse-c3.png'; ?>);
      background-repeat: no-repeat;
      background-position: top;
  }


