:root {
    --primary: #1a5276;
    --secondary: #e74c3c;
    --light: #f8f9f9;
    --dark: #17202a;
    --bg: #f2f3f4;
    --text: #333;
    --card-bg: white;
    --transition: 0.3s ease;
}

[data-theme="dark"] {
    --light: #2c3e50;
    --dark: #ecf0f1;
    --bg: #1a1a1a;
    --text: #0c0c0c;
    --card-bg: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Nirmala UI', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, var(--primary), var(--dark)); /* Styling */
    padding: 15px 0; /* Vertical padding */
    position: sticky; /* Makes the navbar stick */
    top: 0; /* Sticks to the top of the viewport */
    z-index: 1000; /* Ensures it stays on top of other content */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Optional: Adds a shadow for better visibility */
    /* Removed redundant position: sticky; line */
}

.navbar-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
}

.logo-img {
  height: 38px;
  width: auto;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  transition: var(--transition);
}

.slider:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: var(--transition);
}

input:checked + .slider {
  background: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}


/* Nav Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  gap: 15px;
}

.nav-link {
  color: #fff;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.25);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.show {
    max-height: 300px;
  }

  .nav-link {
    justify-content: center;
    width: 100%;
  }
}

/* Footer Styles */





     /* PRO FOOTER */
.pro-footer {
  margin-top: 50px;
  background: radial-gradient(circle at top, #0d1b46, #001027);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: 2px solid rgba(255,255,255,0.15);
}

/* Glass Panel */
.pf-glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  margin: 0 auto;
  padding: 35px 20px;
  max-width: 1200px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 0 25px rgba(0,255,255,0.08);
}

/* Grid  */
.pf-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 30px;
}

.pf-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #00f7ff;
  text-shadow: 0 0 12px rgba(0,255,255,0.6);
}

.pf-links li {
  margin-bottom: 10px;
}
.pf-links a {
  color: #e6e6e6;
  transition: .25s;
}
.pf-links a:hover {
  color: #00f7ff;
  padding-left: 6px;
  text-shadow: 0 0 8px #00f7ff;
}

.pf-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}
.pf-social a {
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
  color: #00f7ff;
  backdrop-filter: blur(10px);
  transition: .3s;
}
.pf-social a:hover {
  background: #00f7ff;
  color: #00111f;
  transform: scale(1.15);
  box-shadow: 0 0 18px #00f7ff;
}

/* Bottom Strip */
.pf-bottom {
  text-align: center;
  padding: 14px;
  background: rgba(0,0,0,0.35);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #b9c8ff;
}

/* Dark Mode */
[data-theme="dark"] .pro-footer {
  background: radial-gradient(circle at top, #020c1f, #000510);
}
