* {
  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: 80px;
}
.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: 218px;
  height: 58px;
}



.nav-links {
  display: flex;
  gap: 60px;
}

.nav-links a {
  color: #4f545a;
  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: 50px;
  height: 50px;
  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: #5c5757;
  font-weight: bold;
}


.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
}

.nav-links {
  display: flex;
  gap: 25px;
}
.phone1{display: none;}

@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;
  }

  .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;
  }
.phone1{display: block;}
  .logo img {
    width: 150px;
    height: 40px;
  }
}

