* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 1, 111, 0.18), transparent 35%),
    radial-gradient(
      circle at bottom right,
      rgba(229, 4, 2, 0.18),
      transparent 35%
    ),
    #05070f;
  color: white;
  min-height: 100vh;
}

/* HEADER */

.header {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: #fff;
}

nav {
  display: flex;
  gap: 25px;
}

nav a {
  color: #cfd6e6;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover {
  color: #ffd86b;
}

/* HERO */

.hero {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 60px;
}

.tag {
  color: #ffd86b;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero-content h1 {
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-content h1 span {
  color: transparent;
  -webkit-text-stroke: 2px white;
}

.description {
  margin-top: 25px;
  max-width: 480px;
  color: #b9c2d6;
  line-height: 1.7;
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 35px;
}

.btn {
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  background: #ffd86b;
  color: #05070f;
  font-weight: 700;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-4px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

/* CARD */

.card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  perspective: 1200px;
}

.flip-card {
  width: clamp(260px, 82vw, 380px);
  aspect-ratio: 700 / 980;
  cursor: pointer;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.flip-card:hover .card-inner,
.flip-card.active .card-inner {
  transform: rotateY(180deg);
}

.card-face {
  position: absolute;
  inset: 0;
  border-radius: clamp(18px, 5vw, 30px);
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  background: #05070f;
}

.card-front {
  transform: rotateY(0deg);
}

.card-back {
  transform: rotateY(180deg);
}

.card-face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hint {
  margin-top: 18px;
  color: #aeb8ca;
  font-size: 0.9rem;
}

/* SECTIONS */

section {
  width: 90%;
  max-width: 1200px;
  margin: 120px auto;
}

.section-title {
  margin-bottom: 50px;
}

.section-title p {
  color: #ffd86b;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  font-weight: bold;
}

.section-title h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.about-card {
  padding: 35px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.about-card h3 {
  margin-bottom: 20px;
  color: #ffd86b;
}

.about-card p,
.about-card li {
  color: #cbd5e1;
  line-height: 1.8;
}

.about-card ul {
  list-style: none;
}

.about-card span {
  color: white;
  font-weight: bold;
}

/* TIMELINE */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
}

.timeline-year {
  color: #ffd86b;
  font-size: 2rem;
  font-weight: bold;
}

.timeline-content {
  padding: 30px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
  margin-bottom: 10px;
}

/* STATS */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.stat-box {
  padding: 35px;
  border-radius: 25px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.stat-box h3 {
  color: #ffd86b;
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.stat-box p {
  color: #cbd5e1;
}

/* CONTACT */

.contact-box {
  padding: 40px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.contact-box p {
  color: #cbd5e1;
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.socials a {
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  transition: 0.3s;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.socials a:hover {
  background: #ffd86b;
  color: #05070f;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 35px;
  color: #8f9bb3;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0;
  }

  .description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .header {
    flex-direction: column;
    gap: 20px;
  }

  nav {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
