* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  background: #0a0a0a;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #ff4500, #ff6347, #ff8c00, #ff4500);
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
  z-index: 0;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

img {
  max-width: 300px;
}

.embers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.ember {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffeb3b;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffeb3b, 0 0 20px #ff9800;
  animation: floatUp linear infinite;
  opacity: 0;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(var(--drift));
    opacity: 0;
  }
}

.overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 40px 20px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 30px;
  opacity: 0;
  animation: slideInDown 1s ease forwards 0.2s;
  filter: drop-shadow(0 4px 20px rgba(150, 18, 11, 0.3));
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: slideInDown 1s ease forwards 0.4s;
  line-height: 1.2;
}

.hero .container > p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 40px;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: slideInDown 1s ease forwards 0.6s;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero button,
.cta-button {
  padding: 18px 45px;
  background: #fff;
  color: #ff4500;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: slideInDown 1s ease forwards 0.8s;
  transform-style: preserve-3d;
}

.hero button p,
.cta-button p {
  margin: 0;
  color: #ff4500;
  text-shadow: none;
  opacity: 1;
  animation: none;
}

.hero button:hover,
.cta-button:hover {
  transform: translateY(-5px) rotateX(10deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-indicator::after {
  content: "↓";
  font-size: 2rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* All Sections (except hero) */
section:not(.hero) {
  padding: 100px 20px;
}

/* Section Titles */
section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

section h2.visible {
  opacity: 1;
  transform: translateY(0);
}

/* About Section (first section after hero) */
.about-section,
section:nth-of-type(2) {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

section:nth-of-type(2) .container {
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

section:nth-of-type(2) .container.visible {
  opacity: 1;
  transform: translateY(0);
}

section:nth-of-type(2) p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 20px;
  color: #e0e0e0;
}

section:nth-of-type(2) strong {
  color: #ff6347;
}

/* Services Section */
.services {
  background: #0a0a0a;
}

.services .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.services .card {
  background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(30px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.services .card.visible {
  opacity: 1;
  transform: translateY(0);
}

.services .card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 50px rgba(255, 69, 0, 0.3);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.services .card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ff6347;
}

.services .card p {
  color: #ccc;
  line-height: 1.6;
  font-size: 1rem;
}

.services .card ul {
  list-style: none;          /* remove default bullets */
  padding: 0;
  margin: 20px auto 0;
  max-width: 90%;
  text-align: left;          /* align list text properly */
}

.services .card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: #d0d0d0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Custom bullet */
.services .card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff6347;
  font-size: 1.2rem;
  line-height: 1;
}

/* Contact Section */
.contact {
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.contact-embers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.3;
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.contact .container.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 20px;
  color: #e0e0e0;
}

.contact p strong {
  color: #ff6347;
  margin-right: 10px;
}

.contact a {
  color: #ff8c00;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact a:hover {
  color: #ff6347;
}

/* Footer */
footer {
  background: #0a0a0a;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid #1f1f1f;
}

footer p {
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  section:not(.hero) {
    padding: 60px 20px;
  }

  .services .cards {
    grid-template-columns: 1fr;
  }

  .logo {
    max-width: 120px;
  }
}

/* Copy Email Button */
.copy-email {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #ff8c00;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.copy-email:hover {
  color: #ff6347;
  text-shadow: 0 0 10px rgba(255, 99, 71, 0.6);
}

.copy-email:focus {
  outline: none;
  text-shadow: 0 0 12px rgba(255, 140, 0, 0.8);
}

/* Copied feedback text */
.copy-status {
  margin-left: 12px;
  font-size: 0.9rem;
  color: #16a34a;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* When JS adds text */
.copy-status:not(:empty) {
  opacity: 1;
}

