:root{
    --bg-color:#050816;
    --text-color:#ffffff;
    --primary-color:#67AAF9;
    --card-bg:rgba(255,255,255,0.05);
    --navbar-bg:#00000033;
    --footer-bg:#03040c;
    --paragraph-color:#c7d4e3;
    --heading-color:#00bfff;
    --button-bg:#2563EB;
    --shadow-color:#00bfff40;
    --bg-image: url("images/background.jpeg");
    --feedback-bg:#05080c;
    --last-line:#010103;
    --gradient:linear-gradient(
        rgba(1, 0, 10, 0.35),
        rgba(6, 15, 27, 0.45)
    );
     --accent: #7c5cff;


}
:root.lightmode,
html.lightmode,
body.lightmode,
.lightmode {
    --bg-color:#f4f8ff;
    --text-color:#111111;
    --primary-color:#050816;
    --card-bg:rgba(0,0,0,0.05);
    --navbar-bg:rgba(195, 193, 193, 0.6);
    --footer-bg:#dfe8f7;
    --paragraph-color:#0C1618;
    --heading-color:#0F172A;
    --button-bg:#001A23;
    --shadow-color:#24272B;
    --bg-image: url("images/background.jpeg");
    --feedback-bg:#dbdfe5;
    --last-line:#b5c3da;
    --gradient:linear-gradient(
        rgba(180, 170, 170, 0.35),
        rgba(236,245,255,0.45)
    );
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
}

#theme-switch, #theme-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shadow-color);
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

#theme-switch:hover, #theme-toggle:hover {
  transform: scale(1.08) rotate(15deg);
  border-color: var(--primary-color);
}

#theme-switch svg, #theme-toggle svg {
  fill: currentColor !important;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Default Dark Icons */
#theme-switch svg:first-child,
#theme-toggle svg:first-child {
    display: block;
}

#theme-switch svg:last-child,
#theme-toggle svg:last-child {
    display: none;
}

/* Light Mode Icons */
.lightmode #theme-switch svg:first-child,
.lightmode #theme-toggle svg:first-child,
html.lightmode #theme-switch svg:first-child,
html.lightmode #theme-toggle svg:first-child {
    display: none !important;
}

.lightmode #theme-switch svg:last-child,
.lightmode #theme-toggle svg:last-child,
html.lightmode #theme-switch svg:last-child,
html.lightmode #theme-toggle svg:last-child {
    display: block !important;
}

.nav-links a{
        color:var(--text-color);
}

.nav-links a:hover{
    color:var(--primary-color);
}

/* Mobile Theme Switch */
@media (max-width: 992px) {
    #theme-switch {
        position: static;
        margin: 10px auto 0;
    }
}
