/* Global CSS */

@import url('https://fonts.googleapis.com/css2?family=Joan&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;300;400;500&family=Joan&family=Cinzel:wght@400;500&family=Montserrat:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=WindSong:wght@400;500&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');


.hero-section {
  position: relative;
  height: 100vh !important;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center; /* Ensure content is centered horizontally */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-heading, .hero-sub-heading {
  position: relative;
  z-index: 2;
  text-align: center; /* Center text inside headings */
}

.hero-heading {
  text-align: center;
  padding-bottom: 10px;
  max-width: 1340px;
  margin-left: auto;
  margin-right: auto;
  display: inline-block !important;
}

.hero-heading h2 {
  width: 100% !important;
  color: #ffffff !important;
  letter-spacing: -.8px !important;
  text-transform: uppercase !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  font-family: 'Raleway', sans-serif !important;
  font-size: 120px !important;
  font-weight: 290 !important;
  line-height: 140px !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
  display: inline-block !important;
  animation: fadeInUp 0.8s ease-out 0.3s both !important;
  text-align: center; /* Center the h2 text */
}

.hero-sub-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  width: auto;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  gap: 20px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
  padding: 10px 20px;
  text-align: center; /* Center sub-heading content */
}

.hero-line {
  width: auto;
  background-color: #ffffff;
  flex-grow: 1;
  height: 2px;
  animation: slideInLeft 0.6s ease-out 0.7s both;
  min-width: 50px;
}

.heading-text {
  width: auto;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Joan', serif !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 28px;
  white-space: nowrap;
  animation: slideInRight 0.6s ease-out 0.7s both;
  text-align: center; /* Center heading text */
}

/* Hero section animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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


@media (max-width: 768px) {

  .hero-heading h2 {
    font-size: 35px !important;
    line-height: 40px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }

  .hero-sub-heading {
    gap: 10px !important;
    padding: 6px 12px !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
  }

  .hero-line {
    min-width: 25px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .heading-text {
    font-size: 10px !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}