// Variables for easy theming
$primary-gradient: linear-gradient(135deg, #6e8efb, #a777e3);
$secondary-gradient: linear-gradient(135deg, #ff9a9e, #fecfef);
$text-color: #fff;
$card-hover: #4a47a3;

// Global styles
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: $primary-gradient;
  color: $text-color;
  overflow-x: hidden;

  h1, h2 {
    text-align: center;
  }
}

// Header
.header {
  text-align: center;
  margin-top: 2rem;

  h1 {
    font-size: 3rem;
    font-weight: bold;
  }

  p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: lighten($text-color, 20%);
  }
}

// Cards Section
.cards-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 2rem;

  .card {
    background: $secondary-gradient;
    border-radius: 15px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 1rem;
    width: 300px;
    padding: 1.5rem;
    text-align: center;

    &:hover {
      transform: translateY(-10px);
      box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.3);
      background: $card-hover;
    }

    .card-title {
      font-size: 1.5rem;
      font-weight: bold;
      margin-bottom: 1rem;
    }

    .card-description {
      font-size: 1rem;
      line-height: 1.5;
    }
  }
}

// Floating Elements
.floating-shapes {
  position: absolute;
  pointer-events: none;

  .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
    mix-blend-mode: lighten;

    &.shape1 { top: 10%; left: 20%; width: 150px; height: 150px; }
    &.shape2 { top: 50%; left: 70%; width: 100px; height: 100px; animation-delay: 2s; }
    &.shape3 { top: 30%; left: 10%; width: 120px; height: 120px; animation-delay: 4s; }
  }

  @keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }
}

// Video Section
.video-section {
  margin: 3rem 0;
  text-align: center;

  iframe {
    border: none;
    width: 90%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
  }
}
