.landing {
  background-color: var(--background);
  padding: 60px var(--spacing-md);
  overflow: hidden;
}

.landing-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.landing-text {
  flex: 1;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

.landing-text h1 {
  font-size: 42px;
  color: var(--primary); /* tumhara brand color */
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.landing-text p {
  font-size: 1.125rem; /* 18px */
  color: #555; /* Consider adding a --text-secondary variable if you want */
  margin-bottom: 30px;
  line-height: 1.6;
  font-family: var(--font-base);
}

.landing-text .btn {
  padding: 12px 24px;
  font-size: 1rem; /* 16px */
  animation: pulseBtn 2s infinite;
  transition: var(--transition);
}

.landing-image {
  flex: 1;
  text-align: right;
  opacity: 0;
  transform: translateX(80px);
  animation: slideInRight 1s ease forwards;
  animation-delay: 0.8s;
}

.landing-image img {
  max-width: 100%;
  height: auto;
  transform: scale(0.9);
  animation: zoomIn 1.2s ease forwards;
  animation-delay: 1s;
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  to {
    transform: scale(1);
  }
}

@keyframes pulseBtn {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(35, 48, 97, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(35, 48, 97, 0.4);
  }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
  .landing-container {
    flex-direction: column;
    text-align: center;
  }

  .landing-text {
    order: 2;
    animation-delay: 0.2s;
  }

  .landing-image {
    order: 1;
    text-align: center;
    animation-delay: 0.4s;
  }

  .landing-text h1 {
    font-size: 2rem; /* 32px */
  }

  .landing-text p {
    font-size: var(--fs-base); /* 16px */
  }

  .landing-text .btn {
    font-size: 0.9375rem; /* 15px */
    padding: 10px 20px;
  }
}

@media (max-width: 576px) {
  .landing {
    padding: 40px 15px;
  }

  .landing-text h1 {
    font-size: 1.625rem; /* 26px */
  }

  .landing-text p {
    font-size: 0.875rem; /* 14px */
  }

  .landing-text .btn {
    font-size: 0.875rem; /* 14px */
    padding: 8px 16px;
  }
}
