body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

main {
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  text-align: left;
  animation: fade-in 1s ease-in-out forwards;
  opacity: 0;
}

.section-header-left,
.section-header-right {
  flex: 1;
  min-width: 280px;
}

.section-header h3 {
  color: #c5aefc;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-header h1 {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.2;
}

.section-header p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.card {
  background-color: #111;
  padding: 30px;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  opacity: 0;
  animation: fade-up 1s ease forwards;
  animation-delay: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(197, 174, 252, 0.2);
}

.icon-circle {
  background-color: #c5aefc33;
  color: #c5aefc;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  margin-bottom: 20px;
}

.card h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

/* ==== ANIMATIONS ==== */
@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* NAVIGATION BAR */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.7);
  padding: 0 2rem;
  height: 70px;
  position: relative;
  z-index: 10;
}

/* Logo Section */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 1s ease forwards 0.2s;
}

.logo img {
  height: 45px;
  filter: drop-shadow(0 0 10px #fff);
  animation: glow 2s infinite alternate;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 10px #fff;
}

/* Navigation Links */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 1s ease forwards;
}

nav ul li:nth-child(1) { animation-delay: 0.5s; }
nav ul li:nth-child(2) { animation-delay: 0.6s; }
nav ul li:nth-child(3) { animation-delay: 0.7s; }
nav ul li:nth-child(4) { animation-delay: 0.8s; }
nav ul li:nth-child(5) { animation-delay: 0.9s; }

nav ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 5px;
  transition: color 0.5s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #fff;
  transition: width 0.5s ease;
}

nav ul li a:hover {
  color: #fff;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 1s ease forwards 1.0s;
}

.social-icons a {
  color: #aaa;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #fff;
  transform: scale(1.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  justify-content: space-between;
  z-index: 100;
}

.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Responsive Styling */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    height: auto;
    padding: 0 1rem;
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
  }

  nav ul {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    margin: 0;
    display: none;
    transition: all 0.3s;
    z-index: 15;
  }

  nav ul.active {
    display: flex;
  }

  nav .social-icons {
    display: none;
  }

  /* Hamburger Animation */
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 7px);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 5px #fff);
  }
  to {
    filter: drop-shadow(0 0 15px #fff);
  }
}

/* Hamburger Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  justify-content: space-between;
  z-index: 100;
}
.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Hide nav by default in mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    gap: 2rem;
    padding: 2rem 0;
    text-align: center;
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 7px);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  nav .social-icons {
    display: none;
  }
}