@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
  --grad1: linear-gradient(135deg,#667eea,#764ba2);
  --grad2: linear-gradient(135deg,#43cea2,#185a9d);
  --grad3: linear-gradient(135deg,#ff758c,#ff7eb3);
  --dark: #1f2933;
  --light: #f9fafb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--light);
  color: var(--dark);
}

/* ===== HEADER ===== */
header {
  background: var(--grad1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 18px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

nav ul li a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  background: var(--grad2);
  color: #fff;
  padding: 90px 20px;
  text-align: center;
  animation: fadeIn 1.2s ease;
}

.hero h1 {
  font-size: 42px;
}

.hero p {
  max-width: 700px;
  margin: 15px auto;
  font-size: 18px;
}

/* ===== SECTION ===== */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

.section h2 {
  margin-bottom: 20px;
  background: var(--grad3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  animation: slideUp 0.8s ease;
}

.card i {
  font-size: 32px;
  color: #764ba2;
  margin-bottom: 10px;
}

/* ===== FOOTER ===== */
footer {
  background: #111827;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideUp {
  from {transform: translateY(40px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
  nav ul {
    display: none;
    flex-direction: column;
    background: var(--grad1);
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    padding: 15px;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 30px;
  }
}
