* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #1f242d;
  color: white;
}

/* ================= NAVBAR ================= */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: #1f242d;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #00bcd4;
}

/* ================= HERO ================= */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.hero h1 {
  font-size: 42px;
}

.hero span {
  color: yellow;
}

.hero h4 {
  margin: 10px 0;
  font-size: 26px;
  color: #00bcd4;
}

.hero p {
  max-width: 700px;
  margin-top: 15px;
  line-height: 1.6;
  color: dimgrey;
  font-weight: bold;
  font-style: italic;
}

/* ================= BUTTONS ================= */
.cv-btn,
.cv-btn2 {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  background: white;
  color: #4f46e5;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.cv-btn2 {
  margin-left: 15px;
}

.cv-btn:hover,
.cv-btn2:hover {
  transform: translateY(-4px);
  background: #e5e7eb;
}

/* ================= SECTIONS ================= */
.section {
  padding: 60px 8%;
  text-align: center;
  animation: fadeIn 1.2s ease-in;
  background-color: tan;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 20px;
  width: 200px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.card:hover {
  transform: scale(1.05);
  background-color: #333;
  color: yellow;
}

.card a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.card a:hover {
  color: #00bcd4;
}

/* ================= ANIMATION ================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero h4 {
    font-size: 22px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 12px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    text-align: center;
    padding: 40px 5%;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero h4 {
    font-size: 18px;
  }

  .hero p {
    font-size: 14px;
  }

  .cv-btn,
  .cv-btn2 {
    display: block;
    margin: 15px auto;
  }

  .cv-btn2 {
    margin-left: 0;
  }
}