/* ============================================================
   TAPI ENGINEERING — PREMIUM INDUSTRIAL UI
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #38bdf8;
  --secondary: #6366f1;
  --accent: #22c55e;
  --dark: #020617;
  --mid: #0f172a;
  --card: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.08);
  --text: #e2e8f0;
  --muted: #94a3b8;
}

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, var(--mid), var(--dark));
  color: var(--text);
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: rgba(2,6,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo span {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

/* NAV LINKS */
nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: 0.3s;
}

nav a:hover {
  color: white;
}

/* HERO */
.hero {
  padding: 120px 8%;
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  background: linear-gradient(90deg,var(--primary),var(--secondary));
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 15px;
  color: var(--muted);
}

/* BUTTON */
.btn {
  margin-top: 20px;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg,var(--primary),var(--secondary));
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(56,189,248,0.5);
}

/* PRODUCTS GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 25px;
  padding: 80px 8%;
}

/* CARD */
.card {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: 0.4s;
  position: relative;
}

/* 🔥 FIXED IMAGE ISSUE */
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block; /* IMPORTANT */
}

/* HOVER EFFECT */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* CONTENT */
.card-content {
  padding: 18px;
}

.card h3 {
  color: white;
  margin-bottom: 5px;
}

.card p {
  color: var(--muted);
  font-size: 0.85rem;
}

/* INDUSTRIAL GLOW LINE */
.card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg,var(--primary),var(--accent));
  transition: 0.4s;
}

.card:hover::after {
  width: 100%;
}

/* SECTION TITLE */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-top: 50px;
  background: linear-gradient(90deg,var(--primary),var(--secondary));
  -webkit-background-clip: text;
  color: transparent;
}

/* CONTACT */
.contact-form {
  max-width: 500px;
  margin: auto;
  padding: 30px;
  background: var(--card);
  border-radius: 18px;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  padding: 14px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(37,211,102,0.6);
}

/* RESPONSIVE */
@media(max-width:768px){
  nav {
    flex-direction: column;
    gap: 10px;
  }

  .hero h2 {
    font-size: 2rem;
  }
}
/* LOGO FIX */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 45px;   /* 🔥 adjust this (40–60px ideal) */
  width: auto;
  object-fit: contain;
}

.logo span {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}/* FONT (keep in HTML)
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap" rel="stylesheet">
*/

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
  background: #020617;
  color: #e2e8f0;
  scroll-behavior: smooth;
}

/* GLOBAL CONTAINER FEEL */
section {
  padding: 100px 8%;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: rgba(2,6,23,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav h1 {
  color: #38bdf8;
  font-weight: 600;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  gap: 35px;
  list-style: none;
}

nav a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: 0.3s;
}

/* MINIMAL UNDERLINE */
nav a::after {
  content: "";
  position: absolute;
  height: 1.5px;
  width: 0%;
  left: 0;
  bottom: -5px;
  background: #38bdf8;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: white;
}

/* HERO */
.hero {
  text-align: center;
  max-width: 900px;
  margin: auto;
  animation: fadeUp 1s ease;
}

.hero h2 {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  background: linear-gradient(90deg,#38bdf8,#818cf8);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 20px;
  color: #94a3b8;
  font-size: 1.05rem;
}

/* BUTTON */
.btn {
  margin: 25px 10px 0;
  padding: 13px 28px;
  border-radius: 30px;
  border: none;
  background: #38bdf8;
  color: #020617;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  background: #0ea5e9;
  transform: translateY(-2px);
}

/* SECTION TITLE */
.section-title {
  font-size: 2.2rem;
  margin-bottom: 60px;
  text-align: center;
  font-weight: 600;
  color: white;
}

/* GALLERY GRID */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 30px;
}

/* CARD */
.gallery-card {
  border-radius: 18px;
  overflow: hidden;
  background: #020617;
  border: 1px solid rgba(255,255,255,0.05);
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.8s ease;
}

/* IMAGE */
.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* CONTENT */
.overlay {
  padding: 20px;
  text-align: left;
}

.overlay h3 {
  font-size: 1.2rem;
  color: white;
}

.overlay p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-top: 5px;
}

/* HOVER */
.gallery-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56,189,248,0.4);
}

/* ACTIVE */
.gallery-card.show {
  transform: translateY(0);
  opacity: 1;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  padding: 14px;
  border-radius: 50%;
  font-size: 18px;
  color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  transition: 0.3s;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* FADE */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */
@media (max-width: 768px) {

  nav {
    flex-direction: column;
    gap: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .hero h2 {
    font-size: 2.2rem;
  }

  section {
    padding: 70px 20px;
  }
}
/* GOOGLE FONT (keep in HTML)
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
*/

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* BODY */
body {
  background: linear-gradient(135deg, #020617, #0f172a, #020617);
  color: white;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* SOFT GLOW BACKGROUND */
body::before {
  content: "";
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56,189,248,0.15), transparent 70%);
  top: -200px;
  left: -200px;
  filter: blur(120px);
  z-index: -1;
  animation: floatGlow 10s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  from { transform: translate(0,0); }
  to { transform: translate(100px,80px); }
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav h1 {
  color: #38bdf8;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  color: white;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

/* NAV UNDERLINE ANIMATION */
nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: linear-gradient(90deg,#38bdf8,#6366f1);
  transition: 0.4s;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #38bdf8;
}

/* HERO */
.hero {
  padding: 120px 20px;
  text-align: center;
  animation: fadeUp 1.2s ease;
}

.hero h2 {
  font-size: 3.2rem;
  background: linear-gradient(90deg,#38bdf8,#6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 15px;
  opacity: 0.8;
}

/* BUTTON */
.btn {
  margin: 20px 10px;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg,#38bdf8,#6366f1);
  color: white;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* BUTTON GLOW */
.btn::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  left: 0;
  top: 0;
  transition: 0.4s;
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px rgba(56,189,248,0.6);
}

/* SECTION */
section {
  padding: 90px 60px;
}

/* TITLE */
.section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 50px;
  background: linear-gradient(90deg,#38bdf8,#6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

/* GALLERY */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
}

/* CARD */
.gallery-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.9) translateY(40px);
  opacity: 1;
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); /* smooth phi-like motion */
}

/* IMAGE */
.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* HOVER EFFECT */
.gallery-card:hover img {
  transform: scale(1.18);
}

/* GLOW BORDER */
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(56,189,248,0.2);
  pointer-events: none;
}

/* OVERLAY */
.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.5s;
}

.gallery-card:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ACTIVE SCROLL */
.gallery-card.show {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* FLOATING EFFECT */
.gallery-card:hover {
  transform: scale(1.03) translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  transition: 0.3s;
}

.whatsapp:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px #25D366;
}

/* FADE ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero h2 {
    font-size: 2.2rem;
  }

  section {
    padding: 60px 20px;
  }
}
/* ABOUT SECTION */
.about {
  padding: 100px 8%;
}

/* LAYOUT */
.about-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  align-items: center;
}

/* TEXT */
.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text p {
  margin-bottom: 18px;
  color: #94a3b8;
  line-height: 1.6;
}

/* HIGHLIGHT COMPANY */
.highlight {
  color: #38bdf8;
  font-weight: 600;
}

/* OWNER NAME STYLE */
.owner-name {
  font-size: 1.3rem;
  font-weight: 600;
  background: linear-gradient(90deg,#38bdf8,#6366f1);
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

/* INTRO STYLE */
.intro {
  font-size: 1.1rem;
  color: white;
}

/* STATS */
.about-stats {
  flex: 1;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  background: rgba(255,255,255,0.05);
  padding: 25px 30px;
  border-radius: 15px;
  text-align: center;
  min-width: 140px;
  transition: 0.3s;
}

.stat h3 {
  font-size: 2rem;
  color: #38bdf8;
}

.stat p {
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* HOVER EFFECT */
.stat:hover {
  transform: translateY(-8px);
  background: rgba(56,189,248,0.1);
}

/* MOBILE */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
}
/* WHY CHOOSE US */
.why {
  padding: 100px 8%;
}

/* GRID */
.why-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
}

/* CARD */
.why-card {
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 30px 25px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* ICON */
.icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

/* TITLE */
.why-card h3 {
  margin-bottom: 10px;
  color: white;
}

/* TEXT */
.why-card p {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* HOVER EFFECT */
.why-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(56,189,248,0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* GLOW LINE EFFECT */
.why-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  top: 0;
  left: -100%;
  background: linear-gradient(90deg,#38bdf8,#6366f1);
  transition: 0.5s;
}

.why-card:hover::before {
  left: 0;
}
/* CONTACT SECTION */
.contact {
  padding: 100px 8%;
}

/* LAYOUT */
.contact-container {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  align-items: center;
}

/* LEFT SIDE */
.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-info p {
  color: #94a3b8;
  margin-bottom: 20px;
}

/* INFO BOX */
.info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  background: rgba(255,255,255,0.05);
  padding: 12px 15px;
  border-radius: 10px;
  transition: 0.3s;
}

.info-box span {
  font-size: 1.2rem;
}

.info-box:hover {
  background: rgba(56,189,248,0.1);
  transform: translateX(5px);
}

/* FORM */
.contact-form {
  flex: 1;
  min-width: 300px;
  background: rgba(255,255,255,0.04);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* INPUT GROUP */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

/* INPUT */
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  outline: none;
  color: white;
}

/* LABEL */
.input-group label {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
  pointer-events: none;
  transition: 0.3s;
}

/* FLOAT LABEL EFFECT */
.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:valid + label,
.input-group textarea:valid + label {
  top: -8px;
  left: 8px;
  background: #020617;
  padding: 0 5px;
  font-size: 0.7rem;
  color: #38bdf8;
}

/* BUTTON */
.contact-form .btn {
  width: 100%;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 45px;
}

.logo span {
  font-size: 20px;
  font-weight: 600;
  color: #38bdf8;
}

body {
  background: #0f172a;
  color: white;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: url('logo.jpg') no-repeat center;
  background-size: contain;
  opacity: 0.04;
  transform: translate(-50%, -50%);
  z-index: -1;
}
body {
  background: #0f172a;
  color: white;
  position: relative;
}

/* BACKGROUND LOGO */
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 500px;   /* increase/decrease size */
  height: 500px;
  background: url('logo.jpg') no-repeat center;
  background-size: contain;
  opacity: 0.04;  /* VERY LIGHT */
  transform: translate(-50%, -50%);
  z-index: -1;
}
.card-content {
  padding: 20px;
  text-align: left;
}

.tag {
  display: inline-block;
  background: #38bdf8;
  color: black;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.card h3 {
  margin: 10px 0;
}

.card p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5;
}.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* equal width */
  gap: 40px;
  align-items: stretch; /* same height */
}

/* Make both boxes fill full height */
.contact-info,
#contact-form {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 15px;
  height: 100%;
}

/* Optional: better alignment */
#contact-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}