/* =========================
   INDEX.HTML SPECIFIC CSS WITH ANIMATIONS
========================= */

/* =========================
   GLOBAL RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #A6882B;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
   HEADER / NAVIGATION
========================= */
header {
  background: #000;
  border-bottom: 1px solid #A6882B;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-50px);
  animation: fadeDown 1s ease forwards;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 45px;
}

.company-name {
  font-size: 15px;
  font-weight: bold;
  color: #A6882B;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a::after {
  content: none;
}

.nav-links a:hover {
  color: #A6882B;
}

/* =========================
   BUTTONS
========================= */
.btn, .btn-outline {
  display: inline-block;
  min-width: 120px;
  text-align: center;
  border-radius: 25px;
  font-weight: bold;
  padding: 9px 20px;
  transition: 0.3s;
}

.btn {
  background: #A6882B;
  color: #000;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px) scale(1.05);
}

.btn-outline {
  border: 1px solid #A6882B;
  color: #A6882B;
}

.btn-outline:hover {
  background: #A6882B;
  color: #000;
  transform: scale(1.05);
}

/* =========================
   HERO SECTION
========================= */
.hero {
  padding: 150px 20px 50px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.5s;
}

.hero h1 {
  font-size: 36px;
  color: #A6882B;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  max-width: 800px;
  margin-bottom: 20px;
}

/* Animate button in hero */
.hero .btn {
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

/* =========================
   FEATURES SECTION (Why ALSADR INVESTMENT)
========================= */
.features {
  padding: 120px 40px 40px 40px;
  text-align: center;
}

.features h2 {
  font-size: 32px;
  color: #A6882B;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeUp 1s forwards;
  animation-delay: 1s;
}

.features .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.features .card {
  background: #111;
  padding: 30px;
  border: 1px solid #A6882B;
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  opacity: 0;
  transform: translateY(50px) rotateX(15deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Staggered animation for feature cards */
.features .grid .card:nth-child(1) { animation: fadeUp 0.8s forwards; animation-delay: 1.2s; }
.features .grid .card:nth-child(2) { animation: fadeUp 0.8s forwards; animation-delay: 1.4s; }
.features .grid .card:nth-child(3) { animation: fadeUp 0.8s forwards; animation-delay: 1.6s; }
.features .grid .card:nth-child(4) { animation: fadeUp 0.8s forwards; animation-delay: 1.8s; }

/* Hover effect */
.features .grid .card:hover {
  transform: translateY(-8px) scale(1.05) rotateX(0deg);
  box-shadow: 0 10px 25px rgba(166, 136, 43, 0.25);
}

/* =========================
   STATS SECTION UNDER CARDS
========================= */
.stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 60px;
}

.stat {
  opacity: 0;
  transform: translateY(50px);
}

.stat h3 {
  font-size: 36px;
  color: #A6882B;
  margin-bottom: 10px;
}

.stat p {
  font-size: 18px;
  color: #fff;
}

/* Animate stats with delay */
.stats .stat:nth-child(1) { animation: fadeUp 0.8s forwards; animation-delay: 2s; }
.stats .stat:nth-child(2) { animation: fadeUp 0.8s forwards; animation-delay: 2.2s; }
.stats .stat:nth-child(3) { animation: fadeUp 0.8s forwards; animation-delay: 2.4s; }

/* =========================
   FOOTER
========================= */
footer {
  border-top: 1px solid #A6882B;
  padding: 25px;
  text-align: center;
  font-size: 14px;
  opacity: 0.85;
  animation: fadeUp 1s forwards;
  animation-delay: 2.6s;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .header-wrapper {
    flex-wrap: wrap;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 120px 20px 40px 20px;
    gap: 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
    max-width: 100%;
  }

  .features {
    padding: 80px 20px 20px 20px;
  }

  .features h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .features .grid {
    gap: 20px;
  }

  .features .card {
    padding: 25px;
  }

  .stats {
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
  }

  .stat h3 {
    font-size: 28px;
  }

  .stat p {
    font-size: 16px;
  }
}
