html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #f9fafd !important;
  font-family: "Poppins", sans-serif !important;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("/static/background_principale.jpg") no-repeat center;
  background-size: auto 100%;
  position: relative;
  flex-direction: column;
  padding-top: 60px; /* navbar space */
  text-align: center;
  overflow: hidden;
}

/* Navbar */
.navbar {
  background: #f9fafd;
  border-bottom: 1px solid #ddd;
  padding: 5px 15px !important;
  min-height: 55px;
  display: flex;
  align-items: center;
  position: fixed;
}

.navbar-brand img {
  height: 50px;
}

/* Company Detail */
.company-detail {
  text-align: center;
  padding: 30px;
  max-width: 800px;
  width: 100%;
}

.company-detail h1 {
  font-size: 42px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
  color: #111;
  letter-spacing: 1px;
}

.company-detail p {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 45px;
  color: #474747;
  line-height: 1.6;
}

/* ---------------- Buttons with Bubble Hover ---------------- */

.explore-button-container {
  display: flex;
  justify-content: center; /* center horizontally */
  flex-wrap: wrap; /* allow buttons to wrap on small screens */
}

.explore-button,
.partner-btn {
  position: relative;
  padding: 15px 40px;
  border: 2px solid #000;
  color: #000;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  overflow: hidden;
  z-index: 1;
  border-radius: 10px;
  margin: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.explore-button:active,
.partner-btn:active {
  transform: scale(0.96);
}

/* Text color change */
.explore-button:hover,
.partner-btn:hover {
  color: #fff;
  background-color: #000;
}

/* Become Partner Link (Navbar) */
.become-partner-link {
  padding: 8px 20px;
  border: 1px solid #000;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.become-partner-link:hover {
  background: #000;
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-section {
    background-size: auto 100%;
  }
}

@media (max-width: 768px) {
  .company-detail h1 {
    font-size: 28px;
  }
  .company-detail p {
    font-size: 16px;
  }
  .hero-section {
    background-size: auto 70%;
  }
  .explore-button,
  .partner-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 580px) {
  .hero-section {
    padding-top: 70px;
  }
  .company-detail h1 {
    font-size: 22px;
  }
  .company-detail p {
    font-size: 14px;
  }
  .hero-section {
    background-size: auto 50%;
  }
}
