/* General Button Styling */
.btn {
  display: inline-block;
  padding: 0.5em 1.5em;
  text-decoration: none;
  border-radius: 50rem;
  cursor: pointer;
  outline: none;
  margin-top: 1em;
  text-transform: uppercase;
  font-weight: 500; /* Adjusted for consistency */
  font-size: 1rem; /* Ensuring font size consistency across devices */
}

.btn-primary {
  color: #fff;
  background: #096ff5;
}

.btn-primary:hover {
  background: #112979;
  transition: background 0.3s ease-in-out;
}

/* Showcase Area */
.showcase-area {
  height: 80vh;
  background: url("images/smile.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.showcase-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.3rem;
  padding: 1rem; /* Added padding for better spacing on small screens */
}

.showcase-container .main-title {
  color: rgb(229, 230, 236);
  font-size: 4rem; /* Reduced for better scalability */
  font-weight: 700;
  text-align: center; /* Centered text for better layout */
  line-height: 1.2; /* Improved readability */
}

.main-title {
  text-transform: uppercase;
  margin-top: 1.5em;
  color: white;
}

/* Responsive Breakpoints */

/* Tablet View */
@media screen and (max-width: 768px) {
  .showcase-container .main-title {
    font-size: 2.5rem; /* Reduced size for tablet */
  }
  
  .showcase-container {
    font-size: 1.1rem; /* Font size adjusts for readability */
  }

  .btn {
    font-size: 0.9rem; /* Buttons shrink slightly on smaller screens */
  }
}

/* Mobile View */
@media screen and (max-width: 480px) {
  .showcase-area {
    height: 60vh; /* Reduced height for mobile view */
  }

  .showcase-container .main-title {
    font-size: 4rem; /* Font size adjusted for smaller devices */
    margin-top: 1rem;
  }

  .showcase-container {
    padding: 0.5rem; /* Reduced padding for small screens */
  }

  .btn {
    font-size: 0.8rem;
    padding: 0.4em 1.2em; /* Reduced padding to make buttons smaller */
  }
}

/* Very Small Screens */
@media screen and (max-width: 400px) {
  .showcase-container .main-title {
    font-size: 3.5rem; /* Further reduced for very small screens */
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.3em 1rem; /* Further reduced button padding */
  }
}
