:root {
  --dark: #0f0f0f;
  --steel: #1f2933;
  --orange: #f97316;
  --light: #f9fafb;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, 'poppins', sans-serif;
  background: var(--light);
  color: #222;
  padding-top: var(--header-height);
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(90deg, #0b0b0b, #141414);
  border-bottom: 2px solid #1f2933;
  box-shadow: 0 8px 30px rgba(0,0,0,0.7);
  min-height: var(--header-height);
}
.header {
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02),
      rgba(255,255,255,0.02) 2px,
      transparent 2px,
      transparent 6px
    );
}





.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box img {
  width: 55px;
  height: auto;
}


.logo-box img {
  filter: drop-shadow(0 0 10px rgba(249,115,22,0.6));
}

.logo span {
  font-size: 13px;
  color: #ccc;
}

/* nav a {
  color: white;
  margin: 0 12px;
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: var(--orange);
} */

.navbar {
  max-width: 1300px;
  margin: auto;
  padding: 10px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Center nav links vertically */
nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* menu toggle hidden by default (shown on very small screens) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #e5e7eb;
  font-size: 22px;
  cursor: pointer;
}

/* nav inner wrapper for collapsible mobile nav */
.nav-inner {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* Fix CTA alignment */
.cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav a {
  color: #e5e7eb;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

nav a:hover {
  background: linear-gradient(90deg, #f97316, #fb923c);
  color: #0b0b0b;
  box-shadow: 0 0 18px rgba(249,115,22,0.8);
}

nav a.active {
  background: #f97316;
  color: #0b0b0b;
  box-shadow: 0 0 20px rgba(249,115,22,1);
}




.nav-wrapper {
  max-width: 1300px;
  margin: auto;
  padding: 10px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; /* allow absolute positioning for mobile menu */
}

.navbar {
  display: flex;
  align-items: center;
  gap: 26px;
}

.cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  line-height: 1.2;
}

.logo strong {
  font-size: 18px;
  color: #f97316;
}

.logo span {
  font-size: 12px;
  color: #9ca3af;
}





.cta a {
  margin-left: 10px;
  padding: 8px 14px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
}

.call {
  background: #2563eb;
}

.whatsapp {
  background: #16a34a;
}



.hero {
  height: 90vh;
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("Assets/logo2.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.hero-content {
  text-align: center;
  color: white;
}

.hero-logo {
  width: 120px;
  margin-bottom: 20px;
  animation: logoPop 1.5s ease forwards;
}

.hero-title {
  font-size: 46px;
  animation: heatGlow 2s ease forwards;
}

.hero-sub {
  font-size: 18px;
  opacity: 0;
  animation: fadeUp 2s ease forwards;
  animation-delay: 0.6s;
}

@keyframes heatGlow {
  from {
    opacity: 0;
    transform: translateY(40px);
    text-shadow: none;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 30px rgba(249,115,22,0.9);
  }
}

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

@keyframes logoPop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}



/* HERO */
/* .hero {
  height: 85vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url("images/banner.jpg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.hero-content h2 {
  font-size: 44px;
  animation: slideGlow 2s ease forwards;
}

@keyframes slideGlow {
  from {
    opacity: 0;
    transform: translateY(40px);
    text-shadow: none;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 25px rgba(249,115,22,0.8);
  }
}


/* SECTION */
.section-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 50px;
  color: var(--steel);
}

/* SERVICES */
.services {
  padding: 80px 20px;
  background: white;
}

.service-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 25px;
}

/* .service-card {
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
} */

/* .service-card {
  background: linear-gradient(145deg, #ffffff, #e5e7eb);
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(249,115,22,0.4), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}

.service-card:hover::before {
  transform: translateX(100%);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
} */

.service-card-img {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: 0.4s;
}

.service-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-img h3 {
  text-align: center;
  padding: 15px;
}

.service-card-img:hover {
  transform: translateY(-10px) scale(1.03);
}



/* PROJECTS */
.projects {
  padding: 80px 20px;
}

.carousel-container {
  position: relative;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 420px;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
}

.carousel-btn.left { left: 15px; }
.carousel-btn.right { right: 15px; }

.carousel-btn:hover {
  background: var(--orange);
}


.carousel-slide {
  transition: transform 0.6s ease;
}

.carousel-container:hover .carousel-slide {
  transform: scale(1.03);
}


/* ABOUT */
.about {
  padding: 80px 20px;
  background: white;
}

.about-box {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.about-box img {
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* CONTACT */
.contact {
  padding: 80px 20px;
}

.contact-box {
  max-width: 500px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}

.contact-buttons a {
  display: inline-block;
  margin: 10px;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.contact-buttons a:first-child {
  background: #2563eb;
}

.contact-buttons a:last-child {
  background: #16a34a;
}

.map {
  margin-top: 40px;
  width: 100%;
  height: 300px;
  border: 0;
}
.map {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  margin-top: 20px;
}

/* FOOTER */
.footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 20px;
}


/* WELDING SPARK CANVAS */
#sparks {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 999;
}



.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}



/* NAVBAR DROPDOWN */
.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  background: #111;
  top: 100%;
  left: 0;
  display: none;
  min-width: 160px;
  border-radius: 6px;
}

.dropdown-menu a {
  display: block;
  padding: 10px;
  color: white;
}

.dropdown-menu a:hover {
  background: var(--orange);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* PROJECT TABS */
.project-tabs {
  text-align: center;
  margin-bottom: 30px;
}

.project-tabs button {
  margin: 5px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  background: #e5e7eb;
  border-radius: 20px;
  font-weight: bold;
}

.project-tabs button.active,
.project-tabs button:hover {
  background: var(--orange);
  color: white;
}


.gallery-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.4s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}



.cta-box {
  background: linear-gradient(120deg, #111, #1f2933);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.cta-box a {
  margin: 10px;
  padding: 14px 25px;
  display: inline-block;
  color: white;
  background: var(--orange);
  border-radius: 30px;
  text-decoration: none;
}




/* .modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
}

.modal span {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
} */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  background: #111;
  padding: 20px;
  border-radius: 12px;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.modal-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #ff4d4d;
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 34px;
  cursor: pointer;
  z-index: 10001;
}





.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #16a34a;
  color: white;
  font-size: 28px;
  padding: 16px;
  border-radius: 50%;
  z-index: 999;
}


.owner-img {
  width: 260px;
  height: auto;
  border-radius: 16px;
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.35),
    0 0 25px rgba(249,115,22,0.35);
  transition: transform 0.4s ease;
}

.owner-img:hover {
  transform: scale(1.05);
}

.owner-info h3 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #111827;
}

.owner-info p {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
}


.wa-enquire {
  margin: 20px auto 0;
  padding: 14px 26px;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
}

.wa-enquire:hover {
  background: #15803d;
}


.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 28px;
  border: none;
  cursor: pointer;
  z-index: 9999;
}

.wa-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 280px;
  background: #111;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  z-index: 9999;
}

.wa-header {
  background: #25d366;
  padding: 10px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-popup textarea {
  padding: 10px;
  height: 100px;
  background: #000;
  color: #fff;
  border: none;
  resize: none;
}

.wa-send {
  background: #25d366;
  color: white;
  text-align: center;
  padding: 10px;
  text-decoration: none;
}

.direction-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background: #0a7cff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}


.hero-tagline {
  margin-top: 14px;
  font-size: 16px;
  color: #e5e7eb;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-points {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 14px;
  color: #facc15;
}
.owner-highlights {
  margin-top: 10px;
  padding-left: 18px;
}

.owner-highlights li {
  font-size: 14px;
  margin-bottom: 6px;
  color: #374151;
}
.owner-img-wrap {
  position: relative;
  display: inline-block;
}

.founder-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #f97316;
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.badge {
  background: #111827;
  color: #fff;
  padding: 15px;
  border-radius: 14px;
  text-align: center;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.badge span {
  font-size: 26px;
  display: block;
  margin-bottom: 6px;
}

.badge:hover {
  transform: translateY(-6px);
}


/* Responsive tweaks: make layout adapt across desktop, tablet, and mobile */
/* Tablet and small desktops */
@media (max-width: 900px) {
  .navbar { gap: 12px; }
  .nav-wrapper { padding: 8px 14px; }
  nav a { padding: 6px 10px; font-size: 15px; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .hero { height: 70vh; }
  .service-card-img img { height: 160px; }
  .carousel-slide { height: 360px; }
  .gallery-grid img { height: 200px; }
  .about-box { gap: 20px; }
  .about-box img { width: 220px; }
  .trust-badges { grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); }
}

/* Mobile phones */
@media (max-width: 600px) {
  /* Header and nav stack */
  .nav-wrapper { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px; }
  /* Make nav links and dropdown items high-contrast on dark header */
  nav a { color: #ffffff; opacity: 1; }
  .navbar a { color: #ffffff; }
  .logo strong, .logo span { color: #ffffff; }
  .dropdown-menu { background: rgba(0,0,0,0.9); }
  .dropdown-menu a { color: #ffffff; }
  .logo-box { justify-content: center; }
  .logo { text-align: center; }
  .navbar { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  nav a { padding: 8px 10px; font-size: 14px; }
  .cta { justify-content: center; }

  /* Hero adjustments */
  .hero { height: 60vh; padding: 20px 10px; }
  .hero-title { font-size: 26px; line-height: 1.1; }
  .hero-sub, .hero-tagline { font-size: 14px; }
  .hero-points { flex-direction: column; gap: 8px; }

  /* Services and gallery: single column */
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card-img img { height: 180px; }
  .carousel-container { max-width: 100%; border-radius: 8px; }
  .carousel-slide { height: 240px; }
  .carousel-btn { display: none; }

  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-grid img { height: 200px; }

  /* About layout stacks vertically */
  .about-box { flex-direction: column; align-items: center; padding: 10px; }
  .about-box img { width: 200px; }
  .owner-info h3 { text-align: center; }

  /* Modal full screen on mobile */
  .modal-content { width: 100%; height: 100%; border-radius: 0; max-width: 100%; max-height: 100%; padding: 12px; }
  .modal-content img { max-height: calc(100vh - 140px); }
  .close-btn { top: 8px; right: 8px; }

  /* Contact/map tweaks */
  .map { height: 220px; }

  /* Footer and CTA */
  .cta-box { padding: 30px 12px; }
  .trust-badges { grid-template-columns: 1fr; }
}

/* Narrow phones and small landscape (stack nav to prevent mixed/wrapped layout around 550px) */
@media (max-width: 550px) {
  .nav-wrapper { flex-direction: column; align-items: center; gap: 6px; padding: 8px 10px; }
  .navbar { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  nav { display: flex; flex-direction: column; gap: 6px; align-items: center; }
  nav a { display: block; width: 100%; text-align: center; padding: 10px 12px; color: #ffffff; background: transparent; border-radius: 6px; }
  .cta { width: 100%; display: flex; justify-content: center; gap: 10px; }
  /* Make dropdown menu static and full width on narrow screens */
  .dropdown-menu { position: static; width: 100%; display: none; background: rgba(0,0,0,0.85); border-radius: 8px; }
  .dropdown:hover .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 10px; color: #ffffff; }
}

/* Extra-narrow phones: collapse nav behind a hamburger at 400px and below */
@media (max-width: 400px) {
  .menu-toggle { display: inline-block; }
  /* hide the nav list until user opens it */
  .nav-inner { display: none; flex-direction: column; width: 100%; gap: 6px; }
  .nav-inner.open { display: flex; }
  nav a { color: #ffffff; width: 100%; text-align: center; padding: 10px 12px; }
  .nav-inner a { display: block; border-radius: 6px; }
  .dropdown-menu { position: static; width: 100%; background: rgba(0,0,0,0.9); border-radius: 8px; }
  .dropdown:hover .dropdown-menu { display: none; }
  /* show dropdown only when parent has .open (we'll toggle via JS) */
  .dropdown .dropdown-menu { display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  /* When nav is open ensure dark background and high-contrast links so text isn't lost on white sections */
  .nav-inner.open {
    background: linear-gradient(90deg, rgba(11,11,11,0.98), rgba(20,20,20,0.98));
    padding: 8px 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    border-radius: 8px;
  }
  .nav-inner.open a,
  .nav-inner.open .dropdown-menu a,
  .menu-toggle {
    color: #ffffff !important;
  }
  /* Ensure CTA buttons in the header remain visible on narrow nav */
  .cta a { width: auto; padding: 8px 12px; }
}

/* Very small devices (narrow) */
@media (max-width: 380px) {
  .hero-title { font-size: 22px; }
  .hero-sub, .hero-tagline { font-size: 13px; }
  .owner-highlights { padding-left: 12px; }
}

/* Mobile-only CTA inside collapsed nav (hidden by default) */
.cta-mobile { display: none; }

/* Expand hamburger behavior to 550px */
@media (max-width: 550px) {
  .menu-toggle { display: inline-block; }
  /* position toggle to the right corner of the header */
  .menu-toggle { position: absolute; right: 12px; top: 12px; z-index: 1101; }
  .nav-inner { display: none; }
  .nav-inner.open { display: flex; flex-direction: column; gap: 8px; position: absolute; right: 12px; top: calc(var(--header-height) + 6px); width: 260px; max-width: 90%; z-index: 1100; }
  .cta-mobile { display: block; display: flex; gap: 10px; justify-content: center; padding: 8px 0; }
  .cta-mobile a { padding: 8px 12px; border-radius: 6px; color: #fff; }
  /* hide desktop CTAs so only mobile CTAs inside the hamburger are visible */
  .cta { display: none; }
}


.about {
  font-family: 'Poppins', sans-serif;
}

.about h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.owner-role {
  font-family: 'Oswald', sans-serif;
  color: #f97316;
  font-size: 15px;
  letter-spacing: 1px;
}

.about p {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 10px;
}



.dev-credit {
  font-size: 13px;
  opacity: 0.7;
}
