body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
}

nav a {
  color: #00ffcc;
  text-decoration: none;
  margin: 0 15px;
  font-size: 16px;
  transition: 0.3s;
}
nav a:hover {
  text-decoration: underline;
  color: #00ffcc;
}

section {
  padding: 60px 20px;
  text-align: center;
  animation: fadeIn 1s ease-in;
}

/* hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}
.hero-content h2 {
  font-size: 20px;
  font-weight: 400;
  color: #00ffcc;
  margin-bottom: 20px;
}

.tagline {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 15px;
}
.about {
  font-size: 16px;
  color: #ccc;
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
}

.primary {
  background: #00ffcc;
  color: black;
}
.secondary {
  border: 1px solid #00ffcc;
  color: #00ffcc;
}

/* project */
.project {
  margin: 20px auto;
  padding: 20px;
  max-width: 400px;
  border: 1px solid #333;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  transition: 0.3s;
}
.project:hover {
  border-color: #00ffcc;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0,255,204,0.2);
}

/* ✅ PRODUCT FIX */
.product-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap; /* IMPORTANT */
}

.product-text {
  max-width: 500px;
  text-align: left;
}

.product-image img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0,255,204,0.2);
}

/* animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

* {
  transition: all 0.3s ease;
}

/* 🔥 STRONG MOBILE FIX */
@media (max-width: 768px) {

  .product-container {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }

  .product-text {
    max-width: 100% !important;
    text-align: center !important;
  }

  .product-image img {
    width: 85% !important;
    max-width: 250px;
    margin-top: 20px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 600px) {
  #contact {
    margin-top: 200px;
  }
}
@media (max-width: 768px) {

  /* FORCE ALL FLEX TO STACK */
  div[style*="display:flex"] {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* TEXT FULL WIDTH */
  .product-text {
    max-width: 100% !important;
    text-align: center !important;
  }

  /* IMAGE FIX */
  .product-image img,
  img {
    width: 85% !important;
    max-width: 260px !important;
    margin-top: 20px !important;
  }

}
@media (max-width: 768px) {

  #contact div {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 20px !important;
  }

  #contact img {
    width: 50px !important;
  }

}
