/* ===== Base & Reset ===== */
* {
  margin: 0; padding: 0; box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  color: #222;
  line-height: 1.6;
  background: #f9f9f9;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}

/* ===== Utilities & Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Container Utility ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Header ===== */
.header {
  position: fixed;
  width: 100%;
  top: 0; left: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
}
.logo {
  font-weight: 900;
  font-size: 1.6rem;
  color: #222;
  cursor: pointer;
  user-select: none;
  letter-spacing: 1px;
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 3px;
  background: #222;
  border-radius: 2px;
}

/* Nav */
.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav ul li a {
  color: #222;
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  transition: color 0.3s ease;
}
.nav ul li a:hover {
  color: #e67e22;
}
.btn-accent {
  padding: 0.45rem 1.25rem;
  border-radius: 25px;
  background: #e67e22;
  color: #fff !important;
  font-weight: 700;
  transition: background 0.3s ease;
  box-shadow: 0 5px 15px rgba(230,126,34,0.4);
  will-change: transform;
}
.btn-accent:hover {
  background: #d46b18;
  box-shadow: 0 8px 25px rgba(212,107,24,0.5);
  transform: translateY(-3px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.6);
  z-index: 0;
  transition: transform 20s ease-in-out;
  animation: slowzoom 20s ease-in-out infinite alternate;
}
@keyframes slowzoom {
  from {
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    transform: translate(-50%, -50%) scale(1.05);
  }
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.7));
  z-index: 1;
}
.hero-text {
  position: relative;
  max-width: 700px;
  z-index: 2;
  padding: 0 1rem;
}
.hero-text h1 {
  font-weight: 900;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.hero-text p {
  font-weight: 300;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.btn-primary {
  background: #e67e22;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 40px;
  box-shadow: 0 8px 25px rgba(230,126,34,0.4);
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
  will-change: transform;
}
.btn-primary:hover {
  background: #d46b18;
  box-shadow: 0 12px 35px rgba(212,107,24,0.5);
  transform: translateY(-3px);
}

/* ===== Services Section ===== */
.services {
  background: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
}
.services h2 {
  font-weight: 900;
  font-size: 2.75rem;
  margin-bottom: 2rem;
  color: #222;
}
.service-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.card {
  position: relative;
  max-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 12px 20px rgb(0 0 0 / 0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fafafa;
  will-change: transform, box-shadow;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgb(230 126 34 / 0.25);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 0.3s ease;
}
.card:hover img {
  filter: brightness(1);
}
.card-info {
  padding: 1.25rem;
}
.card-info h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
}
.card-info p {
  font-weight: 300;
  color: #555;
}

/* ===== Projects Section ===== */
.projects {
  background: #f4f4f4;
  padding: 5rem 0 4rem;
}
.projects h2 {
  text-align: center;
  font-weight: 900;
  font-size: 2.75rem;
  margin-bottom: 3rem;
  color: #222;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 10px 15px rgb(0 0 0 / 0.1);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}
.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgb(230 126 34 / 0.3);
}
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.project-card:hover img {
  transform: scale(1.1);
}
.project-info {
  position: absolute;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
  width: 100%;
  padding: 1rem 1.25rem 2rem;
  color: #fff;
}
.project-info h3 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.project-info p {
  font-weight: 300;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===== Why Us Section ===== */
.why-us {
  background: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
  color: #222;
}
.why-us h2 {
  font-weight: 900;
  font-size: 2.75rem;
  margin-bottom: 1rem;
}
.why-us p {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.5;
}
.stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat {
  background: #e67e22;
  color: #fff;
  border-radius: 20px;
  padding: 2rem 3rem;
  min-width: 160px;
  box-shadow: 0 8px 20px rgba(230,126,34,0.4);
  transition: background 0.3s ease;
  cursor: default;
  user-select: none;
}
.stat:hover {
  background: #d46b18;
  box-shadow: 0 12px 35px rgba(212,107,24,0.5);
}
.stat-number {
  font-weight: 900;
  font-size: 3rem;
  margin-bottom: 0.3rem;
  font-feature-settings: "tnum";
}
.stat-label {
  font-weight: 400;
  font-size: 1.1rem;
}

/* ===== Contact Section ===== */
.contact {
  background: #f4f4f4;
  padding: 5rem 0 4rem;
  text-align: center;
}
.contact h2 {
  font-weight: 900;
  font-size: 2.75rem;
  margin-bottom: 1rem;
  color: #222;
}
.contact p {
  font-weight: 300;
  font-size: 1.15rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form input,
.contact-form textarea {
  padding: 1rem;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  resize: none;
  transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e67e22;
  outline: none;
}
.contact-form button {
  padding: 1rem;
  font-weight: 700;
  border-radius: 40px;
  background: #e67e22;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 8px 25px rgba(230,126,34,0.4);
  will-change: transform;
}
.contact-form button:hover {
  background: #d46b18;
  box-shadow: 0 12px 35px rgba(212,107,24,0.5);
  transform: translateY(-3px);
}

/* ===== Footer ===== */
.footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  font-weight: 300;
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  .menu-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 60px;
    right: -100%;
    background: #fff;
    width: 200px;
    height: calc(100vh - 60px);
    padding: 2rem;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    z-index: 998;
  }
  .nav.open {
    right: 0;
  }
}
