* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Equal to header height */
}

body {
    
  font-family: 'Segoe UI', sans-serif;
  background: #111;
  color: white;
}

/* Header */
header {
  background-color: #000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00d4ff;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.main-nav a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.main-nav a:hover {
  color: #00d4ff;
}

.btn {
  padding: 0.5rem 1rem;
  border: none;
  background: #00d4ff;
  color: black;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0a011b, #01012d);
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.hero-content {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.image-area {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 1000px;
  animation: float 3s ease-in-out infinite;
}


@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.text-area h3 {
  color: #00d4ff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.text-area h1 {
  font-size: 3rem;
}

.text-area .tagline {
  font-size: 1.2rem;
  margin-top: 1rem;
}

.text-area .description {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.socials img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.socials img:hover {
  transform: scale(1.2);
}


@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 2rem;
  }

  .text-area {
    flex: 1;
  }

  .image-area {
    flex: 1;
  }

  .hero-img {
    max-width: 500px;
  }
}


@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  .main-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
  }

  .main-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 rem;
    padding: 0;
    background: none;
    justify-content: center;
  }

  .main-nav ul li {
    margin: 0;
  }

  .btn {
    padding: 0.4rem 0.4rem;
    font-size: 0.9rem;
  }
}
  
 @media (max-width: 768px) {
  .socials {
    justify-content: center;
  }
}


/* Products Section */
.products {
  padding: 3rem 2rem;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product {
  background: #222;
  padding: 1rem;
  border-radius: 10px;
  transition: transform 0.3s;
}

.product:hover {
  transform: translateY(-10px);
}

.product img {
  width: 50%;
  border-radius: 8%;
}

/* About and Contact */
.about {
  padding: 3rem 2rem;
  background-color: #111;
  color: white;
  max-width: 1000px;
  margin: auto;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00d4ff;
  text-align: center;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.features-list li {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
}

.features-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #00d4ff;
}


.contact {
  padding: 3rem 2rem;
  text-align: center;
  background-color: #000;
  color: white;
}

.contact h2 {
  font-size: 2rem;
  color: #00d4ff;
  margin-bottom: 0.5rem;
}

.contact p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}
.contact-info {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #ccc;
}

.contact-info p {
  margin: 0.3rem 0;
}


.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #222;
  color: white;
}

.contact-form button {
  padding: 0.8rem;
  background: #00d4ff;
  border: none;
  color: black;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #00bce4;
}


/* Forms */
.form-box {
  background: #1b1b1b;
  padding: 2rem;
  border-radius: 10px;
  width: 320px;
  color: white;
  position: relative;
  margin: 1rem;
}

.form-popup {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.85);
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-wrap: wrap;
}

.form-popup.active {
  display: flex;
}

.hidden {
  display: none;
}

.form-box input,
.form-box button {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
}

.form-box button {
  background-color: #00d4ff;
  color: black;
  font-weight: bold;
  cursor: pointer;
}
