@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  margin: 0;
  min-height: 100vh; 
  display: flex;
  justify-content: flex-start; 
  align-items: flex-start; 
  text-align: left;
  position: relative;
  box-sizing: border-box;
  overflow-x: hidden;
}

.container {
  background: url('bg.jpg') center center/cover no-repeat;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 3rem;
}


.overlay {
  padding: 3rem;
  border-radius: 20px;
  max-width: 700px;
  width: 60%;
 
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

h2 {
  font-weight: 400;
  color: #ddd;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

p {
  line-height: 1.6;
  color: #eee;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.link {
  color: #7051f3;
  text-decoration: underline;
}

.button {
  background: #7051f3;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
}

.button:hover {
  background: #fff;
  color: #000;
}

/* =======================
   RESPONSIVE STYLES
======================= */

/* Tablets (≤ 1024px) */
@media (max-width: 1024px) {
  .overlay {
    width: 75%;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.95rem;
  }

  .button {
    padding: 0.7rem 1.4rem;
  }
}

/* Mobile landscape (≤ 768px) */
@media (max-width: 768px) {
  body, .container {
    justify-content: center;
    align-items: flex-start;
    text-align: center;
  }

  .overlay {
    width: 85%;
    padding: 2rem;
    border-radius: 15px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.9rem;
  }

  .button {
    padding: 0.7rem 1.3rem;
  }
}

/* Mobile portrait (≤ 480px) */
@media (max-width: 480px) {
  .overlay {
    width: 90%;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1rem;
  }

  p {
    font-size: 0.85rem;
  }

  .button {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
  }
}