:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #1e293b;
  --light: #f8fafc;
  --dark: #0f172a;
  --gray: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;

}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header/Navigation */
header {
  font-family: "Metal Mania", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  margin-top: 50px;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('1.webp') no-repeat center top/cover;
  color: white;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.typewriter {
  color: var(--primary);
  border-right: 2px solid var(--primary);
  animation: blink 1s step-end infinite;
}

@keyframes blink {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: var(--primary)
  }
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border: 2px solid var(--primary);
}

.btn:hover {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-outline {
  background-color: transparent;
  border-color: white;
  margin-left: 1rem;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary);
}

/* Social Links */
.social-links {
  position: fixed;
  left: 2rem;
  bottom: 10rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
}

/* Hide the default cursor */
body {
  cursor: none;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, white 30%, rgba(0, 123, 255, 0.6) 70%);
  border: 2px solid #00f;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.8), 0 0 20px rgba(0, 123, 255, 0.6);
  animation: glow 1.5s infinite ease-in-out;
}

/* Glowing animation */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.8), 0 0 20px rgba(0, 123, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 123, 255, 1), 0 0 40px rgba(0, 123, 255, 0.8);
  }
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Floating Action Button */
.fab {
  position: fixed;

}

.fab:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: left 0.3s;
  }

  .nav-links.active {
    left: 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .social-links {
    flex-direction: row;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem;
  }
}

@media (max-width: 1200px) {
  .social-links {
    flex-direction: row;
    left: 50%;
    top: 89%;
    transform: translateX(-50%);
    bottom: 1rem;
  }
}

/* Loader */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid var(--primary);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.active {
  color: var(--primary) !important;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(360deg)
  }
}

.floating-tech-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;

  z-index: 1;
  /* Lower than hero-content */
  pointer-events: none;
  /* Allows clicks to pass through */
}

.floating-tech-icons i {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.5;
  color: var(--color);
  animation: float 6s ease-in-out infinite;
  transition: all 0.5s ease;
  z-index: 1;
  /* Lower than hero-content */
  pointer-events: none;
  /* Allows clicks to pass through */
}

.floating-tech-icons i:hover {
  opacity: 0.5;
  animation-play-state: paused;
  transform: scale(1.3);
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-tech-icons i {
    font-size: 1.8rem;
    opacity: 0.9;
  }
}

.tech-watermark {


  position: absolute;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: 600;
  color: rgb(255 255 255 / 20%);
  text-transform: uppercase;
  letter-spacing: 5px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Make it more subtle on mobile */
@media (max-width: 768px) {
  .tech-watermark {
    font-size: 2rem;
    opacity: 0.03;
  }

  .floating-tech-icons {
    left: 0;
  }
}

/* Adjust z-index of icons to appear above the text */
.floating-tech-icons i {
  z-index: 1;
  /* ... rest of your existing icon styles ... */
}

.footer {
 font-family: "Metal Mania", sans-serif !important;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  color: #fff;
  text-align: center;
  padding: 1rem;

}

.footer1 {
   font-family: "Metal Mania", sans-serif !important;
}


.nav-links {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: #fff;
    padding: 1rem;
    flex-direction: column;
    display: none;
    z-index: 1000;
    /* Make sure it's on top */
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none;
  }

  body {
    cursor: default; /* Optional: restores default for touchscreen */
  }
}