/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  background: #111;
  color: #eee;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===== NAVBAR ===== */
header {
  background: #000;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.navbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.navbar nav a {
  text-decoration: none;
  font-weight: 600;
  color: #ccc;
  transition: color 0.2s;
}

.navbar nav a:hover,
.navbar nav a.active {
  color: #ff7a29;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 80px 20px;
  background: #1a1a1a;
  flex-direction: column;
}

.hero h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  animation-delay: 0.1s;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #bbb;
  max-width: 700px;
  animation-delay: 0.2s;
}

.btn {
  display: inline-block;
  background: #ff7a29;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  animation-delay: 0.3s;
}

.btn:hover {
  background: #e86714;
}

/* ===== ABOUT PAGE ===== */
.hero.about-hero {
  background: linear-gradient(135deg, #1a1a1a, #111);
}

.hero.about-hero h2 {
  color: #ff7a29;
}

.hero.about-hero p {
  color: #bbb;
}

.about-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.about-section h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #ff7a29;
}

.about-section p {
  margin-bottom: 35px;
  color: #ccc;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ===== FEATURES ===== */
.features {
  background: #111;
  padding: 60px 20px;
}

.features h3 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #fff;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  flex: 0 0 300px;
  background: #1a1a1a;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  animation-delay: 0.2s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #ff7a29;
}

.card h4 {
  margin-bottom: 15px;
  color: #ff7a29;
}

.card p {
  color: #bbb;
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 60px 20px;
  background: #1a1a1a;
  color: #fff;
}

.cta h3 {
  margin-bottom: 25px;
  font-size: 1.8rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #eee;
  padding: 12px;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff7a29;
}

.contact-form button {
  align-self: flex-start;
}

/* ===== FOOTER ===== */
footer {
  background: #020202;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #666;
  margin-top: auto;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h2, .hero p, .btn,
.about-section h3, .about-section p,
.card, .cta h3, .contact-form {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 0.8s ease forwards;
}

.about-section h3:nth-of-type(1) { animation-delay: 0.2s; }
.about-section p:nth-of-type(1) { animation-delay: 0.3s; }
.about-section h3:nth-of-type(2) { animation-delay: 0.4s; }
.about-section p:nth-of-type(2) { animation-delay: 0.5s; }
.about-section h3:nth-of-type(3) { animation-delay: 0.6s; }
.about-section p:nth-of-type(3) { animation-delay: 0.7s; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .navbar {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .card {
    flex: 1 1 100%;
  }
  .about-section h3 {
    font-size: 1.5rem;
  }
  .about-section p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
