@font-face {
  font-family: regularCairo;
  src: url("./SFProAR_regular.ttf");
}

@font-face {
  font-family: boldCairo;
  src: url("./SFProAR_semibold.ttf");
}

@font-face {
  font-family: sfproar;
  src: url("./SFProAR_regular.ttf");
}

body {
  background-image: url(../../assets/images/bg-main-tp2-min.png);
  /* background-size: 100%; */
  overflow-x: hidden;
}

body,
h1,
h2,
h3 {
  font-family: regularCairo !important;
  /* letter-spacing: -1px; */
  line-height: 1.3 !important;
}

h4,
h5,
h6,
li,
a,
ul {
  font-family: sfproar !important;
  /* letter-spacing: -1px; */
  line-height: 1.3 !important;
}

.experties {
  text-align: center;
  min-height: 95px;
  border-radius: 10px;
  box-shadow: 1px 1px 3px #00000023;
  margin: 2px;
}

@media (min-width: 992px) {
  .experties {
    width: 23%;
  }
}

.experties>span {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 87%;
  font-size: 18px;
  font-family: boldCairo;
}

.number {
  color: #55b047;
  border-bottom: 2px solid #55b047;
}

.member {
  color: #203370;
  font-family: regularCairo !important;
  font-size: 22px;
  margin-top: 29px !important;
}

/*
.menu-content {
    right: -440px;
} */

h5,
h5 {
  color: #37712e;
  color: #203370;
}

.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9 {
  float: right;
}

.goals {
  min-height: 150px;
}

@media (max-width: 768px) {
  .col-sm-4 {
    width: 100%;
  }
}

.header.dark {
  background-color: rgb(82 177 71);
  background-color: rgb(43 112 35);
  background-color: #203370;
}

.header.dark .menu>li>a:not(.btn) {
  color: #ffffff;
  opacity: 1;
}

.header.transparent-light .menu>li>a:not(.btn) {
  color: #ffffff;
  opacity: 1;
  font-size: 14px;
}

.header.minimized {
  height: 63px !important;
  padding-top: 6px;
}

.p-b-50 {
  padding-bottom: 13px !important;
}

.p-t-50 {
  padding-top: 13px !important;
}

h6 {
  font-family: boldCairo !important;
  /* letter-spacing: -2px; */
}

.block-title {
  font-family: "Montserrat";
  font-weight: 400;
  font-size: 16px;
  letter-spacing: unset;
}

.service-icon {
  display: inline-block;
  margin: 15px auto;
  max-width: 165px;
}

.header .menu>li>.classic:before {
  left: 0;
}

.header .menu>li>.classic ul>li a {
  font-size: 14px;
  opacity: 0.8;
  line-height: 30px !important;
}

h1 {
  font-size: 36px;
}

.btn-primary {
  background-color: #37712e;
  color: white;
  font-size: 22px;
  padding: 15px 40px;
}

.btn-primary:hover {
  background-color: #55b047;
  border: none;
}

.bg-master-lightest {
  background-color: #f8f8f8;
}

.store-btn {
  width: 250px;
  padding: 20px 30px;
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  margin: auto;
  border-radius: 8px;
}

.store-btn:hover .wave {
  top: -150px;
}

.store-btn span {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 19px;
}

.store-btn .wave {
  width: 250px;
  height: 250px;
  background-color: #37712e;
  background-color: #0c2c46;
  /* box-shadow: inset 0 0 50px rgba(0, 0, 0, .5); */
  position: absolute;
  left: 0;
  top: -80px;
  transition: 0.4s;
}

.store-btn .wave::before,
.store-btn .wave::after {
  width: 200%;
  height: 200%;
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -75%);
}

.store-btn .wave::before {
  border-radius: 45%;
  background-color: rgba(20, 20, 20, 1);
  animation: wave 5s linear infinite;
}

.store-btn .wave::after {
  border-radius: 40%;
  background-color: rgba(20, 20, 20, 0.5);
  animation: wave 10s linear infinite;
}

@keyframes wave {
  0% {
    transform: translate(-50%, -75%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -75%) rotate(360deg);
  }
}

.on-img {
  background-color: #000000db;
  padding: 7px;
  border-radius: 9px;
}

.my-footer {
  padding-top: 60px !important;
  padding-bottom: 36px !important;
}

.more-btn {
  background-color: #2b7023;
  color: white;
  padding: 5px 64px;
  display: block;
  margin: auto;
}

.empty {
  min-height: 0 !important;
  box-shadow: none !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hint-text {
  padding: 0 7px;
}

/* ===== MODERN NAVBAR DESIGN ===== */

/* Base navbar styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(32, 51, 112, 0.70);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: fit-content;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  width: 100dvw;
}

/* Login and Cart buttons */
.navbar-login,
.navbar-cart {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.navbar-login {
  left: 20px;
}

.navbar-cart {
  right: 20px;
}

.btn-login,
.btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-login:hover,
.btn-cart:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Logo section */
.navbar-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 300px;
  margin: 0 auto;
}

.logo-link {
  display: block;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

/* Social links */
.social-links {
  display: none;
  gap: 8px;
  margin-top: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-link img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: white;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation menu */
.navbar-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  /* right: 0; */
  background: rgba(32, 51, 112, 0.70);
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  z-index: 999;
  width: 100dvw;
}

.navbar-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.menu-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 15px 20px;
  gap: 0;
}

.menu-item {
  position: relative;
  margin: 0;
}

.menu-link {
  display: block;
  padding: 12px 16px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
  background: transparent;
}

.menu-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  color: white !important;
}

.menu-link.active {
  background: rgba(55, 113, 46, 0.3);
  color: #55b047;
}

/* Dropdown menus */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 250px;
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: block;
}

.dropdown:hover .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  display: block !important;
}

.dropdown-link {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link:hover {
  background: #f8f9fa;
  color: #37712e;
  padding-right: 25px;
}

/* Responsive design */
@media (max-width: 1200px) {
  .menu-link {
    padding: 10px 12px;
    font-size: 13px;
  }

  .menu-list {
    padding: 10px 15px;
  }
}

.servey-card {
  padding: 30px 5px 40px 5px !important;
}

#loading {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  opacity: 0.8;
  background-color: #21242d;
  z-index: 990;
}

#loading-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#loading-image {
  z-index: 100;
  height: 80px;
  display: block;
  margin: auto;
}

#loading-logo {
  z-index: 100;
  height: 60px;
  display: block;
  margin: auto;
}


@media (max-width: 992px) {
  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: #203370;
    transform: translateX(-100%);
    opacity: 1;
    visibility: hidden;
    transition: transform 0.3s ease;
    z-index: 1001;
  }

  .navbar-menu:not(.active) {
    transform: translateX(-100%);
    visibility: hidden;
  }

  .navbar-menu.active {
    transform: translateX(0);
    visibility: visible;
  }

  .menu-list {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 80px 20px 20px;
    text-align: right;
    height: 100%;
    overflow-y: auto;
    flex-wrap: nowrap;
  }

  .menu-list::-webkit-scrollbar {
    display: none;
  }

  .menu-item {
    margin: 0 0 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu-link {
    padding: 15px 6px;
    font-size: 16px;
    border-radius: 0;
  }

  .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    margin-top: 10px;
    padding-right: 20px;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100% !important;
  }

  .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }

  .dropdown-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }



  .dropdown-link:hover {
    color: #333 !important;
    background-color: #ddd !important;
    padding-right: 15px;
  }

  .dropdown-toggle {
    color: white !important;
  }

  .dropdown-toggle:hover {
    color: white !important;
  }

  .dropdown-toggle:focus {
    color: white !important;
  }

  .dropdown-toggle:active {
    color: white !important;
  }

  .dropdown-toggle:visited {
    color: white !important;
  }

  .dropdown-toggle:link {
    color: white !important;
  }

  .dropdown-toggle:any-link {
    color: white !important;
  }

  .dropdown-toggle * {
    color: white !important;
  }

  .dropdown-toggle i {
    color: white !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .navbar-login,
  .navbar-cart {
    position: static;
    transform: none;
  }

  .navbar-login {
    margin-left: 70px;
  }

  .navbar-container {
    justify-content: space-between;
    flex-direction: row-reverse;
  }

  .navbar-logo {
    flex: none;
    max-width: none;
  }

  /* Force mobile menu toggle to show */
  .mobile-menu-toggle {
    display: flex !important;
    position: fixed !important;
    left: 20px !important;
    top: 41px !important;
    z-index: 9999 !important;
    background: rgba(32, 51, 112, 0.8) !important;
    border-radius: 4px !important;
    padding: 8px !important;
  }
}

/* @media (max-width: 768px) {
  .navbar-container {
    padding: 0 15px;
  }

  .btn-login,
  .btn-cart {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .mobile-menu-toggle {
    display: flex !important;
    position: fixed !important;
    left: 15px !important;
    top: 15px !important;
    z-index: 9999 !important;
    background: rgba(32, 51, 112, 0.9) !important;
    border-radius: 4px !important;
    padding: 8px !important;
  }

  .logo-img {
    height: 40px;
  }

  .social-links {
    gap: 6px;
  }

  .social-link {
    width: 24px;
    height: 24px;
  }

  .social-link img {
    width: 12px;
    height: 12px;
  }
} */

@media (max-width: 480px) {
  .navbar-container {
    padding: 0 10px;
  }

  .logo-img {
    height: 35px;
  }

  .menu-list {
    padding: 70px 15px 15px;
  }

  .mobile-menu-toggle {
    display: flex !important;
    position: fixed !important;
    left: 10px !important;
    top: 40px !important;
    z-index: 9999 !important;
    background: rgba(32, 51, 112, 0.9) !important;
    border-radius: 4px !important;
    padding: 6px !important;
    width: 35px !important;
    height: 35px !important;
  }
}

.title-box {
  background-color: #00000099;
}

.form-group {
  min-height: 80px;
}

.goal {
  text-align: right;
  color: black;
  line-height: 1.4 !important;
  letter-spacing: 0px;
  font-size: 16px !important;
}

.user-pic {
  position: relative;
  top: 15px;
  max-width: 100px;
  display: block;
  margin: auto;
}

@media (max-width: 700px) {
  .main-title {
    font-size: 34px !important;
  }

  .service-icon {
    display: inline-block;
    margin: 15px auto;
    max-width: 125px;
  }

  .h3,
  h3 {
    font-size: 21px;
  }
}

.header .menu>li.classic.open {
  z-index: 1000;
}

/* ===== ADDITIONAL NAVBAR ENHANCEMENTS ===== */

/* Body scroll lock when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Header hidden animation */
.header.header-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* Enhanced dropdown animations */
.header .menu>li.classic>nav {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.header .menu>li.classic>nav.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Improved focus states for accessibility */
.header .menu>li>a:focus,
.header .menu>li.classic>nav ul li a:focus {
  outline: 2px solid #37712e;
  outline-offset: 2px;
}

/* Better touch targets for mobile */
@media (max-width: 992px) {
  .header .menu>li>a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .header .menu>li.classic>nav ul li a {
    min-height: 40px;
    display: flex;
    align-items: center;
  }
}

/* Smooth transitions for all interactive elements */
.header .menu>li>a,
.header .menu>li.classic>nav ul li a,
.menu-toggler {
  transition: all 0.3s ease;
}

/* Improved logo responsiveness */
.header .logo {
  transition: all 0.3s ease;
}

.header.minimized .logo img {
  transform: scale(0.9);
}

/* Better spacing for RTL layout */
.header .menu {
  direction: rtl;
}

/* Fix for existing styles that might conflict */
.header .menu>li {
  margin-left: 0;
  margin-right: 0;
}

/* Ensure proper positioning */
.header .pull-left {
  position: relative;
}

.header .pull-right {
  position: relative;
}

/* Fix for menu content positioning */
.header .menu-content {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #203370;
  transition: right 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  display: block !important;
}

.header .menu-content.active {
  right: 0;
}

/* Ensure menu toggler is visible on mobile */
@media (max-width: 992px) {
  .menu-toggler {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .header .menu {
    display: none !important;
  }

  .logo-social {
    position: static !important;
    transform: none !important;
  }

  .menu-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Fix for container layout */
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 80px;
  position: relative;
}

.header.bg-header .container {
  height: 100px;
}

.header.minimized .container {
  height: 60px;
}

/* Force visibility for all navbar elements */
.header .btn-primary,
.header .menu,
.header .menu>li,
.header .menu>li>a,
.header .menu-content,
.header .menu-content .menu,
.header .menu-content .menu>li,
.header .menu-content .menu>li>a,
.menu-toggler {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.header .menu {
  display: flex !important;
}

.menu-toggler {
  display: flex !important;
}

#sidebar .sidebar-module {
  width: 290px !important;
}
