/* ===========================
   Optional Button start
   =========================== */

/* Profile Dropdown Container */
.profile-dropdown {
  position: relative;
  display: inline-block;
}

/* Toggle Button */
.profile-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  border: 1px solid #ddd;
  padding: 10px 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}


body button.profile-toggle:hover,
body button.profile-toggle:active,
body button.profile-toggle:focus {
  background: #00c9aa !important;
  border-color: #00c9aa !important;
}

}

/* Avatar Icon Circle */
.profile-avatar img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
}

/* Username + caret */
.profile-name {
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size : 17px;
}

.profile-caret {
  font-size: 12px;

}

/* Dropdown Menu */
.profile-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  list-style: none;
  padding: 8px 0;
  min-width: 190px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  z-index: 999;
}

.profile-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease;
}

.profile-menu li a img {
  width: 18px;
  height: 18px;
}

.profile-menu li a:hover {
  background: #f5f5f5;
}

/* Show dropdown only when .open class is active */
.profile-dropdown.open .profile-menu {
  display: block;
}


/* Profile Dropdown Arrow */
.profile-caret img {
  width: 14px;           
  height: 14px;
  margin-left: 0px;     
  vertical-align: middle;
  transition: transform 0.3s ease; /* smooth rotate animation */
  cursor: pointer;
}

/* Rotate when dropdown is active */
.profile-dropdown.open .profile-caret img {
  transform: rotate(180deg);
}
.profile-avatar img, video {
    height: auto;
    max-width: 100%;
    padding-top: 2px;
}


/* Profile Dropdown Container */
.profile-dropdown {
  position: relative;
  display: inline-block;
}

/* Toggle Button */
.profile-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  border: 1px solid #ddd;
  padding: 10px 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

body button.profile-toggle:hover,
body button.profile-toggle:active,
body button.profile-toggle:focus {
  background: #00c9aa !important;
  border-color: #00c9aa !important;
}

/* Avatar Icon Circle */
.profile-avatar img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
}

/* Username + caret */
.profile-name {
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 17px;
}

.profile-caret img {
  width: 14px;           
  height: 14px;
  margin-left: 0px;     
  vertical-align: middle;
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Dropdown Menu */
.profile-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  list-style: none;
  padding: 8px 0;
  min-width: 190px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  z-index: 999;
}

.profile-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
   font-weight: 300;
  transition: background 0.2s ease;
}

.profile-menu li a img {
  width: 18px;
  height: 18px;
}

.profile-menu li a:hover {
  background: #f5f5f5;
}

/* Show dropdown only when .open class is active */
.profile-dropdown.open .profile-menu {
  display: block;
}

/* Rotate arrow when dropdown is active */
.profile-dropdown.open .profile-caret img {
  transform: rotate(180deg);
}

/* Responsive Adjustments */

/* Small tablets / large phones */
@media (max-width: 1024px) {
  .profile-toggle {
    padding: 8px 12px;
    font-size: 13px;
    gap: 6px;
  }

  .profile-name {
    max-width: 90px;
    font-size: 15px;
  }

  .profile-avatar img {
    width: 24px;
    height: 24px;
  }

  .profile-menu {
    min-width: 160px;
  }

  .profile-menu li a {
    font-size: 13px;
    padding: 8px 12px;
  }

  .profile-menu li a img {
    width: 16px;
    height: 16px;
  }

  .profile-caret img {
    width: 12px;
    height: 12px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .profile-toggle {
    padding: 10px 16px;
    font-size: 12px;
    gap: 4px;
  }

  .profile-name {
    max-width: 70px;
    font-size: 14px;
  }

  .profile-avatar img {
    width: 22px;
    height: 22px;
  }

  .profile-menu {
    min-width: 140px;
    right: -10px; /* adjust to fit screen */
  }

  .profile-menu li a {
    font-size: 12px;
    padding: 6px 10px;
  }

  .profile-menu li a img {
    width: 14px;
    height: 14px;
  }

  .profile-caret img {
    width: 10px;
    height: 10px;
  }
}

/* Extra small devices / phones */
@media (max-width: 480px) {
  .profile-toggle {
    padding: 8px 14px;
    font-size: 11px;
    gap: 3px;
  }

  .profile-name {
    max-width: 60px;
    font-size: 12px;
  }

  .profile-avatar img {
    width: 20px;
    height: 20px;
  }

  .profile-menu {
    min-width: 120px;
    right: -15px;
  }

  .profile-menu li a {
    font-size: 11px;
    padding: 5px 8px;
  }

  .profile-menu li a img {
    width: 12px;
    height: 12px;
  }

  .profile-caret img {
    width: 9px;
    height: 9px;
  }
}


/* ===========================
   Optional Button End
   =========================== */




/* Header Styles */
/* Header Styles */
.site-header {
  background: #fff !important;
  padding: 20px !important;
  width: 100% !important;
 box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.09) !important;
    z-index: 10; !important;
  margin-bottom: 10px;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: auto;
}

.site-logo img {
  max-height: 36px;
}

.site-nav {
  flex: 1;
  text-align: center;
}

/* Main Menu */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content : center;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 4px;
  transition: color 0.3s, border-color 0.3s;
  border-bottom: 2px solid transparent;
}

.nav-menu li a:hover, active {
    color: var(--teal) !important;
}
.nav-menu li a:active {
    color: var(--teal) !important;
}


.nav-menu li.current-menu-item a {
     color: #00000099;
}

/* Dropdown Menu */
.nav-menu li ul.sub-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 10px 0;
  z-index: 999;
}

.nav-menu li ul.sub-menu li a {
  display: block;
  padding: 10px 16px;
  color: #333;
  font-weight: 400;
  border-bottom: none;
}

.nav-menu li ul.sub-menu li a:hover {
  background: #f5f5f5;
  color: #0073e6;
}

/* Show dropdown on hover (desktop only) */
.nav-menu li:hover > ul.sub-menu {
  display: block;
}

/* Header Button */
.header-button .btn--primary {
  padding: 7px 28px !important;
  color: #fff !important;
  border-radius: 7px !important;
  text-decoration: none;
}
.header-button .btn--primary:hover {
	background :#12876f !important;
   border: solid 2px transparent;
   transition : none;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 20px;
}

/* ===== Tablet (768px – 1024px) ===== */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
	
	    .site-logo img {
        max-height: 36px !important;
    }
	.header-button {
		display : block;
	}

      
    .hamburger {
        display: flex;
        order: 2;
        background: var(--teal) !important;
        padding: 2px 10px 7px 10px;
        /* padding-top: 2px; */
        border-radius: 5px;
        display: none;
    }

	
}


/* ===========================
   Responsive (Mobile)
   =========================== */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
  }

.site-logo img {
  max-height: 24px;
}


/* Hamburger button */
.hamburger {
    display: flex;
    order: 2;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 33px;
    background: var(--teal) !important;
    padding: 8px 10px 7px 8px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Hamburger bars */
.hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animate bars into a cross */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Site nav hidden by default */
.site-nav {
    display: none;
}

/* Show nav when active */
.site-nav.active {
    display: block;
}



  /* Hide nav by default */
  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    border-top: 1px solid #eee;
  }

  /* When active */
  .site-nav.active {
    display: block;
	  background-color: #00c9aa;
  }
    .nav-menu li.current-menu-item a {
        color: #00000099;
    }
  .nav-menu {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    width: 100%;
    padding: 0px 16px;
    border-bottom: none;
	  color: #fff;
  }

  /* Dropdown inside mobile */
  .nav-menu li ul.sub-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background: var(--teal);
    margin-left: 15px;
  }
.header-button .btn--primary {
	
	padding: 7px 21px !important;
    color: #fff !important;
    border-radius: 5px !important;
    text-decoration: none;
    font-size: 12px !important;
    width: auto !important;
	
	}

/* ===== Tablet (767px – 1024px) ===== */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
      
	.hamburger {
		display : none ;
	}

	button#menu-toggle:hover{
        background: var(--teal) !important;
    
    }

	}
/* ===== Mobile (≤767px) ===== */
	@media only screen and (max-width: 768px){
	button#menu-toggle:hover{
        background: var(--teal) !important;
    }

.hamburger {
		display : none ;
	}

	}

