* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-image: url('../img/demo/demo1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, rgba(255, 107, 107, 0.3), rgba(255, 142, 142, 0.3));
  mix-blend-mode: multiply;
  transition: background 0.3s ease;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}

.section-image {
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url('../img/demo/demo2.jpg');
  display: flex;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(50px);
}

.hero p {
  font-size: 1.5rem;
  opacity: 0;
  transform: translateY(50px);
}

/* Sections */
.section {
  min-height: 100vh;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-1 {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.section-2 {
  background: linear-gradient(45deg, #4834d4, #686de0);
}

.section-3 {
  background-image: url('../img/demo/demo.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  justify-content: center;
}

.section-4 {
  background: linear-gradient(45deg, #ff9ff3, #f368e0);
}

.section-content {
  text-align: center;
  color: white;
  max-width: 600px;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;

}

.section-content h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  transform: translateX(-100px);
  opacity: 0;
}

.section-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  transform: translateX(100px);
  opacity: 0;
}

/* Cards Section */
.cards-section {
  min-height: 100vh;
  background: #1a1a1a;
  padding: 100px 0;
  margin: 0 auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  width: 100%;
}

.card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  color: white;
  transform: scale(0.8) rotateY(45deg);
  opacity: 0;
  transition: all 0.3s ease;
}

.cards-section .section-content {
  background-color: transparent;
  max-width: none;
}

.card:hover {
  transform: scale(1.05) rotateY(0deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}


/* Parallax Section */
.parallax-section {
  height: 100vh;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a"><stop offset="0" stop-color="%23667eea"/><stop offset="1" stop-color="%23764ba2"/></radialGradient></defs><rect width="1000" height="1000" fill="url(%23a)"/></svg>') center/cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-content {
  text-align: center;
  color: white;
  z-index: 2;
}

.parallax-content h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
  transform: translateY(100px);
  opacity: 0;
}

.parallax-content p {
  font-size: 1.5rem;
  transform: translateY(-100px);
  opacity: 0;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 100vh;
  background: radial-gradient(circle, rgb(253, 3, 3) 2px, transparent 2px);
  background-size: 50px 50px;
  animation: drift 30s linear infinite;
}

@keyframes drift {
  0% {
    transform: translateX(0) translateY(0);
  }

  100% {
    transform: translateX(-50px) translateY(-50px);
  }
}

/* Pin Section */
.pin-section {
  height: 100vh;
  background: #2c2c2c;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pin-content {
  text-align: center;
  color: white;
}

.pin-content h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.rotating-text {
  font-size: 2rem;
  color: #ff6b6b;
  transform: rotate(0deg);
}

/* Footer */
.footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 50px 0;
}

.footer h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  transform: translateY(50px);
  opacity: 0;
}

.footer p {
  font-size: 1.2rem;
  transform: translateY(50px);
  opacity: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .section-content h2 {
    font-size: 2rem;
  }

  .parallax-content h2 {
    font-size: 2.5rem;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }
}