:root {
  --bg: #ffffff;
  --text: #111111;
  --accent: #3b82f6;
  --card-bg: #f3f4f6;
}

a {
  text-decoration: none;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}

.dark {
  --bg: #111827;
  --text: #f9fafb;
  --card-bg: #1f2937;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  height: 50px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav a {
  margin: 0 0.8rem;
  text-decoration: none;
  color: var(--text);
}

.nav a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.dark-toggle {
  cursor: pointer;
  margin-left: 1rem;
}

.hero {
  background: linear-gradient(to right, #3b82f6, #9333ea);
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta {
  display: inline-block;
  background: #fff;
  color: #3b82f6;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  margin-top: 1.5rem;
  font-weight: bold;
  transition: background 0.3s;
}

.cta:hover {
  background: #f3f4f6;
}

.section {
  padding: 4rem 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

blockquote {
  font-style: italic;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

input,
textarea,
button {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
}

button {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #2563eb;
}

.footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #ccc;
  margin-top: 2rem;
}

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  width: 50px;
  height: 50px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background: var(--bg);
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    border-left: 1px solid #ccc;
    padding: 1rem;
  }

  .nav.show {
    display: flex;
  }

  .nav a {
    padding-left: 32px;
    padding-top: 10px;

  }


  .hamburger {
    display: block;
  }
}

/* Typing effect */
.typing::after {
  content: "|";
  animation: blink 1s infinite;
  color: #00ffea;
}


@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Glowing mouse cursor effect */
.hero {
  position: relative;
  overflow: hidden;
}

/* Gradient text 
.gradient-text {
  background: linear-gradient(90deg, #ff006f, #c9cd5a, #00fff7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
*/

.cursor-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgb(58, 255, 255) 0%, rgba(17, 255, 96, 0) 60%);
  pointer-events: none;
  mix-blend-mode: screen;
  border-radius: 50%;
  z-index: 1;
}
