/* Header Styles */
header {
  position: relative;
  z-index: 70;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.overlay {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo img {
  max-width: 350px;
  width: 100%;
  height: auto;
  margin-right: 0.6rem;
  transition: 0.3s;
  margin-top: 20px;
  margin-left: -12px;
}

body.light .logo .dark-logo {
  display: none;
}

body.dark .logo .light-logo {
  display: none;
}

.logo h3 {
  color: var(--darkTwo);
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 700;
}

h1 span {
  background: linear-gradient(to right, #046fd7, #00a8ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Links */
.links ul {
  display: flex;
  list-style: none;
  align-items: center;
}

.links a {
  color: var(--lightTwo);
  margin-left: 4.5rem;
  display: inline-block;
  transition: 0.3s;
}

.links a:hover {
  color: var(--hoverColor);
  transform: scale(1.05);
}

/* Theme Toggle */
.header-right {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
}

.toggle-btn {
  display: inline-block;
  border: none;
  background: var(--darkTwo);
  color: var(--backgroundColor);
  outline: none;
  cursor: pointer;
  height: 39px;
  width: 39px;
  border-radius: 50%;
  transition: 0.3s;
  margin-top: 20px;
  margin-right: 20px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  overflow: hidden;
}

.toggle-btn img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

body.light .toggle-btn .dark-icon {
  display: none;
}

body.light .toggle-btn .light-icon {
  display: block;
}

body.dark .toggle-btn .dark-icon {
  display: block;
}

body.dark .toggle-btn .light-icon {
  display: none;
}

/* Optional: Add hover effect */
.toggle-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
