/* ============================================================
   GLOBAL
============================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0a0a0a;
  color: #f5f5f5;
  overflow-x: hidden;
  font-family: 'Marcellus', sans-serif;
}

/* ============================================================
   HEADER / NAVIGATION
============================================================= */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  font-size: 18px;
  color: #fff;
  /* White text */
  padding: 10px;
  display: block;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  /* White underline */
  transition: width 0.3s ease;
}

nav a:hover {
  color: #747474;
}

nav a:hover::before {
  width: 100%;
}

/* Hover effect for the text (color change) and slight lift */
nav a:hover {
  color: #b1b1b1;
  /* Blue color for text on hover */
  transform: translateY(-5px);
}

/* Hamburger icon */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* Mobile Nav */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    padding: 20px 0;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  nav a {
    padding: 12px 0;
    font-size: 1.2rem;
  }
}

/* ============================================================
   HERO SECTION + CAROUSEL
============================================================= */
.hero {
  position: relative;
  height: 100vh;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background-image: url('https://s3.ap-south-1.amazonaws.com/eztrackventory.com/bg_hd_bk.png');
  background-size: cover;
  background-position: center;
  image-rendering: auto;
  image-rendering: smooth;
  image-rendering: high-quality;
}
.hero::after {
 /*  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 0; */
}
/* dark overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 12%);
  /* backdrop-filter: blur(1.5px); */
  z-index: 1;
}

.hero-carousel {
  position: relative;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  z-index: 2;
  top: 30%;
}

.carousel-text {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  z-index: 3; /* ⭐ FIX CLICK ISSUE */
}

.carousel-text.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.1rem;
  color: #f7f6f6;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 0 0 10px #aaaaaa;
}

/* Hero buttons */
.demo-btn {
  display: inline-block;
  background: #3f3f3f96;
  color: #c4c2c2;
  padding: 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35), 
            0 0 6px rgba(255,255,255,0.15);
}

.demo-btn:hover {
  background: #000;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}


/* Mobile hero */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-carousel h1 {
    font-size: 28px;
  }

  .hero-carousel p {
    font-size: 16px;
  }
}

/* Fade animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   FEATURES SECTION
============================================================= */
.features {
  padding: 5rem 2rem;
  background: #0a0a0a;
  text-align: center;
}

.features h2 {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.glass-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: 10px;
  transition: 0.3s;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

/* ============================================================
   TARGET SECTION
============================================================= */
.target {
  padding: 5rem 2rem;
  background: #111;
  text-align: center;
}

.target h2 {
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.target-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.target-item h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.target-item p {
  color: #aaa;
  line-height: 1.6;
}

/* ============================================================
   ABOUT SECTION
============================================================= */
.about {
  background: #111;
  padding: 5rem 2rem;
  text-align: center;
}

.about p {
  max-width: 700px;
  margin: auto;
  color: #aaa;
  line-height: 1.7;
}

/* ============================================================
   CONTACT FORM
============================================================= */
.contact {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: #131313;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgb(0 0 0 / 30%);
}

.contact h2 {
  margin-bottom: 20px;
  text-align: center;
}

label {
  font-size: 16px;
  color: #ddd;
  margin-bottom: 5px;
  display: block;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #555;
  border-radius: 4px;
  background: #444;
  color: #fff;
}

input:focus,
textarea:focus {
  border-color: #fff;
  outline: none;
}

button {
  width: 100%;
  padding: 12px 20px;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #333;
}

button:active {
  background: #111;
}

/* ============================================================
   FOOTER
============================================================= */
footer {
  background: #000;
  color: #888;
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}