* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Cairo', sans-serif;
 
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 20px;
  height: 100px;

}
.no-link-style {
  text-decoration: none; /* removes underline */
  color: inherit;        /* keeps text color same as parent */
  display: inline-block; /* makes it behave like a div */
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  

}

.logo img {
  width: 117px;
  height: 90px;
}

.user-email {
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
}


.nav-links {
  display: flex;
  margin-left: 200px;
}

.nav-links a {
  color: #456149 !important;  
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  font-weight: bold;
  color: #000000;
}
/* Dropdown animation */
/* Make parent li the anchor */
.dropdown {
  position: relative; 
}

/* Dropdown animation */
.dropdown-menu {
  display: block;            /* always block for animation */
  max-height: 0;             /* collapsed initially */
  overflow: hidden;
  opacity: 0;
  position: absolute;        /* position relative to parent */
  top: 100%;                 /* directly below the parent link */
  left: 0;                   /* aligned to the left edge of Services */
  background: #efeff0;
  min-width: 200px;
  z-index: 1000;
  transition: max-height 0.3s ease, opacity 0.3s ease;
 
}

.dropdown:hover .dropdown-menu {
  max-height: 500px; /* large enough to fit items */
  opacity: 1;
   max-width: 300px !important;
}
.dropdown {
  position: relative;
}

.dropdown-arrow {
  cursor: pointer;
  padding: 0 5px;
font-size: 20px;
}

@media (max-width: 768px) {
.dropdown-arrow {
  cursor: pointer;
  padding: 0 8px;
  font-size: 32px;   /* even bigger */
  font-weight: bold;
  color: #000;       /* adjust to match your theme */
  line-height: 1;
}
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}

.dropdown-menu.show {
  display: block;
}

/* remove bullets from dropdown menu */
.dropdown-menu {
  list-style: none;   /* ❌ no dots */
  margin: 0;          /* remove default spacing */
  padding: 0;         /* remove default spacing */
}
.dropdown-menu li {
  margin: 0;
  padding: 0;
}
nav ul, nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu li a {
  padding: 12px 15px;
  display: block;
  color: #585757;
}

.dropdown:hover .dropdown-menu {
  display: block;
}
.phone {
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-icon img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 7px;
  background-color: #e8f5e9;
  box-shadow: 0 0 0 rgba(47, 127, 79, 0.4);
  animation: ring 1.5s infinite ease-in-out;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.phone-icon img:hover {
  animation: ring-hover 1.5s infinite ease-in-out;
}

@keyframes ring {
  0%, 50%, 100% { transform: rotate(0deg) scale(1); }
  10% { transform: rotate(15deg) scale(1); }
  20% { transform: rotate(-10deg) scale(1); }
  30% { transform: rotate(5deg) scale(1); }
  40% { transform: rotate(-5deg) scale(1); }
}

@keyframes ring-hover {
  0%, 50%, 100% { transform: rotate(0deg) scale(1.1); }
  10% { transform: rotate(15deg) scale(1.1); }
  20% { transform: rotate(-10deg) scale(1.1); }
  30% { transform: rotate(5deg) scale(1.1); }
  40% { transform: rotate(-5deg) scale(1.1); }
}


.phone-text {
  display: flex;
  flex-direction: column;
  font-size: 18px;
 color: #456149 !important;  
  font-weight: bold;
}


.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
}

.nav-links {
  display: flex;
  gap: 25px;
   color: #456149 !important;  
}
.phone1{display: none;}
.profile-dropdown {
  position: relative;
  display: inline-block;
  text-align: center;
  font-family: 'Cairo', sans-serif;
}

.profile-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: auto;
}

.profile-icon img {
  width: 60px;
  height: 60px;
  filter: invert(100%); /* makes white if svg is black */
}

.profile-menu {
  position: absolute;
  top: 80px;
  right: 0;
  background-color: #fff7f5;
  border: 1px solid #b68dc0;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  min-width: 180px;
  padding: 10px 0;
  display: none;
  z-index: 999;
}

.profile-menu p {
  margin: 0;
  padding: 8px 15px;
  font-size: 14px;
  color: #6d437a;
  border-bottom: 1px solid #e3cbe8;
}

.profile-menu .subscription {
  color: #b33b70;
  font-weight: bold;
  margin-right: 5px;
}

.profile-menu a {
  display: block;
  padding: 8px 15px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background 0.3s;
}

.profile-menu a:hover {
  background-color: #f3e0f8;
}

.profile-dropdown.active .profile-menu {
  display: block;
}

@media (max-width: 768px) {
  .navbar-container {
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .menu-icon {
    display: block;
    z-index: 1100; /* make sure it's clickable above nav menu */
    cursor: pointer;
  }
.logo img {
    width: 80px !important;
    height: 50px !important;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px;
    gap: 20px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.show {
    right: 0;
  }

  .phone {
   display: none;
  }

  .nav-links.show .phone {
    display: flex; /* show it when nav menu is open */
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid #ccc;
  }
}


@media (max-width: 600px) {
  .navbar {
    padding: 10px 15px;
    height: 60px;
      min-height: 80px;
  }
.phone1{display: block;}
  .logo img {
    width: 150px;
    height: 40px;
  }
}
