:root {
  --primary-theme: #001d3d;
  --secondary-clr: #7091e6;
  --white-clr: #fff;
  --gray-clr: rgb(171, 169, 169);
}

/* =============================================== */
/* ---------------- Navbar stars ----------------- */
/* =============================================== */
.navbarDekstop {
  /* border: 1px solid red; */
  background-color: white !important;
  z-index: 999;
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px 0 50px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  z-index: 999 !important;
}

.navbarDekstop .logoRDG {
  /* border: 1px solid red ; */
  background-color: var(--primary-theme);
  width: 70px;
  height: 70px;
  padding: 6px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.navbarDekstop .logoRDG img {
  /* border: 1px solid red; */
  background-color: var(--primary-theme);
  width: 100%;
}

.navbar-links {
  list-style-type: none;
  display: flex;
  margin-bottom: -1px;
}

.navbarDekstopButtons {
  /* border: 1px solid red; */
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.navbarDekstopButtons .callButtno a {
  border: 2px solid var(--primary-theme);
  padding: 10px;
  border-radius: 50%;
  color: var(--primary-theme);
  transition: 0.3s all;
}

.navbarDekstopButtons .callButtno a:hover {
  background-color: var(--primary-theme);
  color: white;
}

.navbarDekstopButtons button {
  border: none;
  outline: none;
  background: none;
}

.navbarDekstopButtons button span {
  font-size: 30px;
}

.navbar-links li {
  padding-bottom: 10px;
}
.navbar-links li a {
  display: block;
  text-decoration: none;
  color: var(--primary-theme);
  padding: 20px 20px 20px 20px;
  font-size: 18px;
  font-weight: 600;
  transition: 0.4s all;
}

.navbar-links li.navbar-dropdown {
  position: relative;
}

.navbar-links li.navbar-dropdown:hover .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0px);
}

.navbar-links li.navbar-dropdown .dropdown {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  transform: translateY(50px);
  left: 0;
  width: 280px;
  background-color: #fff;
  box-shadow: 0px 10px 10px 3px rgba(0, 0, 0, 0.3);
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  z-index: 111;
  transition: 0.4s all;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;

  /* max-height: 300px; */
  overflow-y: auto;
}

/* Custom scrollbar styling */
.navbar-links li.navbar-dropdown .dropdown::-webkit-scrollbar {
  width: 8px; /* Makes scrollbar thin */
}

.navbar-links li.navbar-dropdown .dropdown::-webkit-scrollbar-track {
  background: #f1f1f1; /* Light gray track */
  border-radius: 10px;
}

.navbar-links li.navbar-dropdown .dropdown::-webkit-scrollbar-thumb {
  background: #888; /* Dark gray thumb */
  border-radius: 10px;
}

.navbar-links li.navbar-dropdown .dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--primary-theme); /* Slightly darker gray on hover */
}

.navbar-links li.navbar-dropdown .dropdown a {
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 400;
  /* border-bottom: 1px solid #ededed; */
}

.navbar-links li.navbar-dropdown .dropdown a:last-child {
  border-bottom: none;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.navbar-dropdown .dropdown a:hover {
  padding-left: 30px;
  /* background: #ededed; */
  background: var(--primary-theme);
  color: white;
}

.navbar-links li.navbar-dropdown a i {
  transition: transform 0.3s ease-in-out;
  margin-left: 4px;
  font-size: 12px;
}

.navbar-links li.navbar-dropdown:hover a i {
  transform: rotate(180deg);
  transition: 0.3s ease-in-out;
}

.navbar-links li a:hover {
  color: var(--primary-theme);
}

.navbar-links li .mainNavLink.active {
  color: var(--primary-theme); /* Highlight color */
  font-weight: bold;
  border-bottom: 2px solid var(--primary-theme);
}

/* Target only the 'Services' dropdown */
.navbar-links li:nth-child(2) .dropdown {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* Creates 5 equal columns */
  width: 1200px; /* Adjust width based on content */
  gap: 40px; /* Adds spacing between items */
  padding: 20px 20px 20px 20px;
  left: -200px;
}

/* Ensuring all links inside the dropdown are styled correctly */
.navbar-links li:nth-child(2) .dropdown a {
  padding: 10px;
  white-space: nowrap; /* Prevents text wrapping */
}

/* Hover animation remains the same */
.navbar-links li.navbar-dropdown:hover .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0px);
}

.navbar-dropdown .dropdown .serviceDropdown a:hover {
  padding-left: 20px;
  /* background: #ededed; */
  background: var(--primary-theme);
  color: white;
}

.serviceDropdown a:last-child {
  border-radius: 0 !important;
}
.serviceDropdown h6 {
  color: var(--primary-theme);
  font-weight: 600;
  border-bottom: 2px solid var(--primary-theme);
  padding-bottom: 10px;
  padding-left: 10px;
}

.serviceDropdown h6 a {
  color: var(--primary-theme);
  font-weight: 600;
  padding: 0px;

  border-bottom: 2px solid var(--primary-theme);
  padding-bottom: 10px;
  padding-left: 10px;
  border-radius: 0 !important;
}
.serviceDropdown h6 a:hover {
  border-radius: 0 !important;
}
.serviceDropdown h6 a {
  padding-left: 0;
}

.serviceDropdown h6 {
  padding-bottom: 0px;
  padding-left: 0px;
  padding: 0 !important;
}
/* .serviceDropdown:last-child {
  margin-top: -15px;
} */

@media (max-width: 1298px) {
  .navbarDekstop {
    padding: 10px 30px 0 30px;
  }
  .navbarDekstop .logoRDG {
    width: 50px;
    height: 50px;
    padding: 6px;
  }
  .navbar-links li a {
    padding: 10px 10px 10px 10px;
    font-size: 16px;
  }
  .navbar-links li:nth-child(2) .dropdown {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Creates 5 equal columns */
    width: 1000px; /* Adjust width based on content */
    gap: 20px; /* Adds spacing between items */
    padding: 30px 20px 20px 20px;
    left: -250px;
  }
}

/* =============================================== */
/* ---------------- Sidebar ---------------------- */
/* =============================================== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease-in-out;
  z-index: 999;
}
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: white;
  box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease-in-out;
  padding: 20px;
  z-index: 999 !important;
}
.sidebar.active {
  right: 0;
}
.overlay.active {
  visibility: visible;
  opacity: 1;
}
.close-btn {
  background: red;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.sidebarHead {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.sidebarHead h3 {
  font-weight: 600;
  font-size: 28px;
}
.sidebarHead button {
  background: none;
  border: none;
  outline: none;
}

.sidebar_body {
  /* border: 1px solid #555; */
  margin-top: 20px;
}

.sidebar_body ul li {
  list-style: none;
  margin: 10px 0;
  margin-left: -40px;
}

.sidebar_body ul li a {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-theme);
  transition: all 0.7s;
  text-decoration: none;
  cursor: pointer;
  padding: 12px 20px;
  display: block;
}

.sidebar_body ul li a:hover {
  background-color: var(--primary-theme);
  color: var(--white-clr);
  transition: 0.4s ease;
  cursor: pointer;

  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.4);
  transform: scale(1.05, 1.05);
}

.navbarMobile {
  display: none;
}

/* =============================================== */
/* ---------------- Responsive------------------- */
/* =============================================== */

@media (max-width: 990px) {
  .navbarDekstop {
    display: none;
  }
  .navbarMobile {
    display: block;
  }
}

.navbarMobileContainer {
  /* border: 1px solid red; */
  background-color: white;
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 30px 10px 30px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  z-index: 99999 !important;
}

.navbarMobileContainer .navbarMobileHead {
  /* border: 1px solid red; */
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbarMobileContainer .logoRDG {
  /* border: 1px solid red ; */
  background-color: var(--primary-theme);
  width: 60px;
  height: 60px;
  padding: 6px;
  border-radius: 8px;
}
.navbarMobileContainer .logoRDG img {
  /* border: 1px solid red; */
  background-color: var(--primary-theme);
  width: 100%;
}

/* --------------------- accordionNav -------------------------- */
.accordionNav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  padding-left: 20px;
}

.accordionNav.active {
    /* border: 1px solid red !important; */
  max-height: 500px; /* Or adjust based on your content's size */
}

.accordionNav-item {
  border-bottom: 1px solid #ddd;
}

.accordionNav-header {
  padding: 10px;
  cursor: pointer;
  background: #f7f7f7;
  transition: background 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordionNav-header:hover {
  background: #e0e0e0;
}

.accordionNav-header-phone {
  /* border: 1px solid red; */
  display: flex;
}
.accordionNav-header-phone i {
  font-size: 10px !important;
}
.accordionNav-header-phone a {
  font-size: 10px !important;
  display: inline !important;
  padding: 0 !important;
  padding-top: 4px !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
}

.accordionNav-content {
  background: #fff;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
}

.accordionNav-content.active {
  opacity: 1;
  max-height: 500px !important;
}

.accordionNav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.accordionNav-toggle i {
  transition: transform 0.3s;
}

.accordionNav-toggle.active i {
  transform: rotate(180deg);
}
.accordionNav-content a {
    font-size: 15px !important;
    font-weight: 500 !important;
}
.accordionNavSingleNestedItem {
    font-size: 15px !important;
    font-weight: 500 !important;
}




.overlayBottom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease-in-out;
  z-index: 999;
}
.bottomBar {
  position: fixed;
  bottom: -500px;
  width: 100%;
  background: white;
  box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease-in-out;
  padding: 20px;
  z-index: 999;
  
    max-height: 500px;
  overflow-y: auto;
}
.bottomBar.active {
  bottom: 0;
}
.overlayBottom.active {
  visibility: visible;
  opacity: 1;
}

.navbar-links-phone {
  list-style-type: none;
  margin-bottom: -1px;
  padding-left: 0;
}

.navbar-links-phone li {
  padding-bottom: 10px;
}
.navbar-links-phone li a {
  display: block;
  text-decoration: none;
  color: var(--primary-theme);
  font-size: 18px;
  font-weight: 600;
  transition: 0.4s all;
  padding: 10px;
}
.navbar-links-phone li a i {
  font-size: 14px;
  margin-left: 5px;
}

.navbar-links-phone li a:hover {
  background-color: var(--primary-theme);
  color: white;
  padding-left: 20px;
}

#sidebarTogglePhoneView {
    border: none;
    outline: none;
    background: none;
    color: var(--primary-theme);
    font-weight: 600;
    padding: 10px;
    /* border: 1px solid var(--primary-theme); */
    width: 100%;
    text-align: left;
    transition: 0.3s all;
}
#sidebarTogglePhoneView:hover {
    background-color: var(--primary-theme);
    color: white;
    padding-left: 20px;
}

#sidebarTogglePhoneView i {
    font-size: 12px;
    margin-left: 5px;
}