/* Migrated verbatim from Elementor widget 9cfd6d5. Do not reorder: load order is part of the cascade. */
:root {
  --accent: #44C4BC;
  --dark-bg: #0a0a0a;
  --light-bg: #f9f9f9;
  --dark-text: #eee;
  --light-text: #111;
  --gray-soft: #e8e8e8;
  --transition-speed: .4s;
}

/* --- Wrapper --- */
.custom-menu-wrapper {
  display:flex;
  justify-content:center;
  align-items:center;
  padding:25px 0;
  z-index:999;
  transition: background var(--transition-speed), color var(--transition-speed);
}

/* --- Menu Icon --- */
.menu-icon {
  width:30px;
  height:20px;
  position:relative;
  cursor:pointer;
  transition: all var(--transition-speed);
}
.menu-icon div {
  width:100%;
  height:3px;
  background:var(--accent);
  border-radius:2px;
  position:absolute;
  left:0;
  transition:.3s;
}
.menu-icon div:nth-child(1){top:0}
.menu-icon div:nth-child(2){top:8px}
.menu-icon div:nth-child(3){top:16px}
.menu-icon.open div:nth-child(1){transform:rotate(45deg);top:8px}
.menu-icon.open div:nth-child(2){opacity:0}
.menu-icon.open div:nth-child(3){transform:rotate(-45deg);top:8px}

/* --- Dropdown --- */
.menu-list {
  display:none;
  position:fixed;
  top:80px;
  right:25px;
  width:260px;
  background:rgba(20,20,20,.9);
  backdrop-filter:blur(18px);
  border:1px solid var(--accent);
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.6),0 0 15px rgba(68,196,188,.25);
  padding:16px 0;
  animation:fadeIn .3s ease;
  z-index:1000;
}
.menu-list.show { display:block; animation:slideDown .35s ease; }
.menu-list hr { border:none; border-top:1px solid rgba(255,255,255,.08); margin:10px 0; }

/* --- Welcome --- */
.menu-welcome { text-align:center; margin:10px 0 14px; }
.menu-welcome h4 { color:#fff; font-size:17px; font-weight:600; margin:0; transition: color var(--transition-speed); }
.menu-welcome i { color:var(--accent); margin-right:6px; font-size:16px; }

/* --- Search --- */
.menu-search {
  display:flex;
  align-items:center;
  gap:6px;
  background:rgba(255,255,255,.07);
  border-radius:30px;
  margin:0 14px 12px;
  padding:5px 10px;
  transition:all .25s ease;
}
.menu-search:hover { background:rgba(255,255,255,.12); }
.menu-search i { color:var(--accent); font-size:12px; }
.menu-search input {
  flex:1;
  background:transparent;
  border:none;
  outline:none;
  color:#eee;
  font-size:12px;
  width:80px;
  transition: color var(--transition-speed);
}
.menu-search input::placeholder { color:#888; font-size:12px; }

/* --- Links --- */
.menu-list a {
  display:block;
  padding:10px 22px;
  text-decoration:none;
  color:#fff;
  font-size:14px;
  transition:.25s;
}
.menu-list a i { margin-right:8px; color:var(--accent); }
.menu-list a:hover { background:rgba(68,196,188,.18); color:var(--accent); padding-left:28px; }
.menu-list a:hover i { color:var(--accent); }

/* --- Sleek Small Modern Toggle --- */
.dark-toggle {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 18px;
  font-size:13px;
  color:#bdbdbd;
}

/* Smaller switch */
.switch {
  position:relative;
  display:inline-block;
  width:46px;
  height:24px;
}
.switch input { 
  opacity:0;
  width:0;
  height:0;
}

/* Track */
.slider {
  position:absolute;
  cursor:pointer;
  top:0; left:0; right:0; bottom:0;
  background:#1a1a1a;
  border-radius:50px;
  transition:background .4s ease;
  box-shadow:inset 0 0 6px rgba(0,0,0,.5);
}

/* Thumb (moon/sun) */
.slider:before {
  content:"🌙";
  position:absolute;
  height:20px;
  width:20px;
  left:2px;
  bottom:2px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#3a5efb;
  border-radius:50%;
  color:#fff;
  font-size:12px;
  transition:transform .4s ease, background .3s ease;
  box-shadow:0 0 6px rgba(58,94,251,.6);
}

/* Light mode ON */
input:checked + .slider {
  background:#e5e5e5;
}
input:checked + .slider:before {
  content:"☀️";
  transform:translateX(22px);
  background:#ffcf4a;
  color:#111;
  box-shadow:0 0 6px rgba(255,207,74,.6);
}

/* --- Light Mode Styling --- */
.light-mode body,
body.light-mode {
  background:var(--light-bg);
  color:var(--light-text);
}
body.light-mode .menu-list {
  background:rgba(255,255,255,.95);
  border:1px solid var(--accent);
  box-shadow:0 8px 25px rgba(68,196,188,.15);
}
body.light-mode .menu-search {
  background:var(--gray-soft);
}
body.light-mode .menu-search:hover {
  background:#dcdcdc;
}
body.light-mode .menu-list a {
  color:#111;
}
body.light-mode .menu-list a:hover {
  background:rgba(68,196,188,.15);
  color:var(--accent);
}
body.light-mode .menu-welcome h4,
body.light-mode .menu-footer,
body.light-mode .dark-toggle {
  color:#111;
}

/* --- Animations --- */
@keyframes fadeIn { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideDown { 0%{opacity:0;transform:translateY(-10px)} 100%{opacity:1;transform:translateY(0)} }
