/* --- Page Hero Section --- */
.page-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10rem; /* pt-32 */
    padding-bottom: 3rem;
}

/* --- Background --- */
.page-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-background.slidingBg .page-hero-bg-image {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.page-hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-bg-overlay {
    position: absolute;
    inset: 0;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-gradient-from: rgb(2 6 23 / .85) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(0 56 101 / .85) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
    z-index: 2;
}

.blue-overlay {
    --tw-gradient-from: rgb(0 156 222 / .8) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(0 56 101 / .85) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

/* --- Content --- */
.page-hero-content-container {
    position: relative;
    z-index: 10;
    max-width: 64rem; /* max-w-5xl */
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.page-hero-logo-wrapper {
  margin-bottom: 1.5rem;
}

.page-hero-logo-wrapper img {
  display: block;
  width: 7rem;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

@media screen and  (max-width: 640px) {
  .page-hero-logo-wrapper img {
    width: 5rem;
  }
}

.page-hero-cta-button {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  height: 2.5rem;
  padding: 1rem 2rem;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.75rem;
  background-color: var(--daikin-blue);
  border-radius: 0.5rem;
  border: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  outline: none;
  position: relative;
}

.page-hero-cta-button:hover {
  background-color: var(--daikin-dark-navy);
}

.page-hero-cta-button:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--ring-color, #3b82f6);
}

.page-hero-cta-button:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.page-hero-cta-button svg {
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* --- Animations --- */
@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseHero {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.page-hero-animated-content {
    animation: fadeInHero 1s ease-out forwards;
}

/* Glassmorphism Eyebrow */
.page-hero-eyebrow-wrapper {
    display: inline-block;
    margin-bottom: 2rem; /* mb-8 */
}

.page-hero-eyebrow {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px; /* rounded-full */
    padding: 0.75rem 2rem; /* px-8 py-3 */
}

.page-hero-eyebrow-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wide */
}

/* Typography */
.page-hero-heading {
    color: var(--white);
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700;
    line-height: 1; /* leading-tight */
    margin-bottom: 1rem;
}

.page-hero-gradient-text {
    background-image: linear-gradient(to right, var(--daikin-blue), var(--daikin-light-blue), var(--daikin-blue));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: pulseHero 4s ease-in-out infinite;
}

.page-hero-subheading {
    font-size: 1.5rem; /* text-2xl */
    line-height: 2.5rem; /* leading-tight */
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
}

.page-hero-paragraph {
    font-size: 1.125rem; /* text-lg */
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.625; /* leading-relaxed */
    max-width: 56rem; /* max-w-4xl */
    margin: 0 auto;
    font-weight: 400;
}


/* --- Responsive Styles --- */
@media (min-width: 640px) { /* sm */
    .page-hero-content-container {
        padding: 0 1.5rem;
    }

    .page-hero-heading {
        font-size: 3rem;
    }
    /* sm:text-5xl */
    .page-hero-subheading {
        font-size: 1.875rem;
    }
    /* sm:text-3xl */
}

@media (min-width: 768px) { /* md */
    .page-hero-section {
        min-height: 80vh;
    }
}

@media (min-width: 768px) and (max-width: 1370px) { /* md */
    .page-hero-section {
        min-height: auto;
        padding-block: 12rem 5rem !important;
    }
}

@media (min-width: 1024px) { /* lg */
    .page-hero-content-container {
        padding: 0 2rem;
    }

    .page-hero-heading {
        font-size: 3.75rem;
    }
    /* lg:text-6xl */
    .page-hero-subheading {
        font-size: 2.25rem;
    }
    /* lg:text-4xl */
}
