/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Base */
body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #f5f5f5;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  color: #fff;
}

a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ccc;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.9);
  padding: 1rem 3rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #1a1a1a;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  position: relative;
  font-weight: 500;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hide menu on mobile by default */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #000;
    flex-direction: column;
    width: 200px;
    border-left: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    display: none;
    text-align: left;
  }

  .nav-links li {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #111;
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links.show {
    display: flex;
  }
}

/* Animate hamburger to X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 8rem 2rem 6rem;
  background: linear-gradient(180deg, #000, #111);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeSlideUp 1s ease-out forwards;
}

.hero p {
  color: #ccc;
  font-size: 1.2rem;
  animation: fadeSlideUp 1.3s ease-out forwards;
}

.cta {
  display: inline-block;
  margin-top: 2rem;
  background: #fff;
  color: #000;
  padding: 0.9rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta:hover {
  background: #bfbfbf;
  transform: translateY(-3px) scale(1.05);
}

/* Section Base */
.section {
  padding: 5rem 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Feature Boxes / Services / Cards */
.features,
.service-grid,
.project-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.feature-box,
.service-card,
.project-card,
.why-card {
  background: #111;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #1a1a1a;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Staggered animation */
.feature-box.visible,
.service-card.visible,
.project-card.visible,
.why-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-box:hover,
.service-card:hover,
.project-card:hover,
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(255, 255, 255, 0.08);
  border-color: #333;
}

.feature-box h3,
.service-card h3,
.why-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.feature-box p,
.service-card p,
.why-card p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Projects */
.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.project-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* Contact Section */
.contact {
  text-align: center;
}

.contact h2 {
  margin-bottom: 1.5rem;
}

form {
  max-width: 500px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #111;
  border-radius: 12px;
  border: 1px solid #1a1a1a;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.03);
}

input,
textarea {
  background: #000;
  border: 1px solid #222;
  border-radius: 8px;
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

input:focus,
textarea:focus {
  background: #151515;
  border-color: #555;
  outline: none;
}

button.cta {
  align-self: center;
  margin-top: 0.5rem;
}

.social-links {
  margin-top: 2rem;
}

.social-links a {
  margin: 0 10px;
  color: #fff;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #bfbfbf;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid #1a1
}
address {
    font-style: normal; /* Removes default italics */
    margin-bottom: 1em;
}
