/* Combined and optimized styles to fix jiggling during animation */
#section-one {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  padding: 160px 0 80px 0;
  margin: 0;
}
#section-one:before {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}
#section-one .container-fluid {
  position: relative;
  z-index: 2;
}
#section-one .hero-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: auto;
}
#section-one h1 {
  text-align: center;
  font-size: 132px;
  font-weight: 400;
  color: #FFFFFFE0;
  margin: 0 0 20px 0;
}
#section-one h1 strong {
  font-weight: 700;
}
#section-one p.subtitle {
  text-align: center;
  font-size: 24px;
  margin: 0 0 50px 0;
}
---- date counter styling ----
#section-one .date-counter {
    margin: 0 0 50px 0;
}
.countdown-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
  margin: 0 0 50px 0;
}
.countdown-unit {
  text-align: center;
  background-color: rgba(28, 28, 28, 0.6);
  padding: 18px 9px;
  border-radius: 12px;
  border: 1px solid rgba(82, 82, 82, 0.3);
}
.countdown-value {
  font-size: 50px;
  font-weight: 900;
  line-height: 100%;
  color: #FF5F00;
  margin: 0 0 12px 0;
}
.countdown-label {
  font-size: 15px;
  font-weight: 400;
  color: #FFFFFFE0;
}
.countdown-event-message {
  font-size: 18px;
}
#section-one p.date {
  text-align: center;
  font-size: 20px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0 0 60px 0;
}
#section-one p.date span {
  color: #FF5F00;
}

/* Form styling */
.form-row {
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.4s ease;
}
.iframe-wrapper  {
  width: 100%;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  margin: 25px auto;
  padding: 25px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.2);
}
.iframe-wrapper .hbspt-form input.hs-input,
.iframe-wrapper .hbspt-form textarea.hs-input,
.iframe-wrapper  .hbspt-form select {
  background-color: rgba(255,255,255,0.7);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #FF5F004D;
}
.iframe-wrapper  .hs-form-field {
  margin: 0 0 12px 0;
}
.iframe-wrapper .hbspt-form .hs-button.primary {
  width: 100%;
  background-color: transparent;
}
.iframe-wrapper .hbspt-form label {
  font-size: 12px;
  color: #F5F5FA;
}
/* Button styling */
#section-one .button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
#section-one a.primary-button-transparent,
#section-one button.primary-button-transparent,
#section-one .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  min-height: 56px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
#section-one button.primary-button-transparent,
#section-one a.primary-button-transparent {
  color: #FF5F00;
  border: 2px solid rgba(255, 95, 0, 0.9);
  background: rgba(255, 95, 0, 0.05);
}
#section-one button.primary-button-transparent:hover,
#section-one a.primary-button-transparent:hover {
  background: rgba(255, 95, 0, 0.14);
}
#section-one .secondary-button {
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.78);
  background: transparent;
}
#section-one .secondary-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Button animation */
#reserveButton.fade-out {
  opacity: 0;
  transform: scale(0.8);
}

@media (max-width: 1200px) {
    #section-one h1 {
        font-size: 101px;
    }
}
@media (max-width: 768px) {
    #section-one h1 {
        font-size: 67px;
    }
}

#section-two {
    position: relative;
    background: url(/wp-content/uploads/2026/04/propulse-2026-section-two-background-image-new.jpg) center top no-repeat;
    background-size: cover;
    padding: 100px 0;
    z-index: 0;
}
#section-two .content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    min-height: 640px;
}
#section-two .content-holder {
    max-width: 520px;
}
#section-two .content-holder p {
    font-size: 20px;
}
#section-two .content-holder p:last-of-type {
    margin-bottom: 0;
}
#section-two .eyebrow-text {
  color: #FF5F00;
  font-size: 20px;
  text-transform: uppercase;
  margin: 0 0 45px 0;
}
#section-two h2 {
  font-size: 45px;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 120%;
  margin: 0 0 40px 0;
}
#section-two h2 span {
  color: #FF5F00;
}
#section-two p {
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  color: #FFFFFFE0;
}
#section-two p span {
  color: #FF5F00;
}
#section-two .video-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}
#section-two .videoembed {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}

#section-three {
    position: relative;
    background-color: #0A0A0A;
    background-image: url(/wp-content/uploads/2026/04/propulse-2026-section-three-background-image.jpg);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    z-index: 0;
}
#section-three:after {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0,0,0,0) 30%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}
#section-three h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 160%;
    margin: 0 auto 60px;
    max-width: 900px;
    text-transform: uppercase;
    letter-spacing: 4px;
    width: 100%;
}
#section-three .content-wrapper {
    position: relative;
    z-index: 2;
}
.quote-slider {
  overflow: hidden;
}
.quote-track {
  display: flex;
  transition: transform 0.5s ease;
}
.quote-track > div {
  flex: 0 0 50%; /* 2 visible */
}
#section-three .quote-card {
    width: 100%;
    max-width: 300px; 
    background: #1C1C1C99;
    border: 1px solid #5252524d;
    border-radius: 28px;
    padding: 32px;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);
}
#section-three .quote-card p {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    color: #FFFFFF;
    margin: 0;
}

#partner-section {
    position: relative;
    background-color: #0C0C0F;
    padding: 40px 0;
    overflow: hidden;
}
#partner-section .partner-logos,
#partner-section .partners-marquee {
    width: 100%;
    overflow: hidden;
}
#partner-section .partner-logos__track,
#partner-section .partners-marquee__track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: partners-marquee-scroll 50s linear infinite;
    will-change: transform;
}
#partner-section .partner-logos__item,
#partner-section .partner-logo,
#partner-section .partners-marquee__item {
    flex: 0 0 auto;
}
#partner-section .partner-logo,
#partner-section .partners-marquee__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    min-height: 100px;
}
#partner-section .partner-logo img,
#partner-section .partners-marquee__item img {
    display: block;
    width: auto;
    max-height: 50px;
    height: 100%;
    object-fit: contain;
}
#partner-section .partner-logo-text {
    font-size: 14px;
    letter-spacing: 0.2em;
    color: #FFFFFFE0;
    text-transform: uppercase;
}
@keyframes partners-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@media (max-width: 992px) {
    #section-three h2 {
        font-size: 16px;
        letter-spacing: 0.35em;
    }
    #section-three .quote-card {
        padding: 36px 30px;
        min-height: auto;
    }
    #section-three .quote-card p {
        font-size: 20px;
    }
}
@media (max-width: 768px) {
    #section-three {
        padding: 80px 0 60px;
    }
    #section-three .partner-logos {
        gap: 24px;
    }
}

#section-four {
    position: relative;
    background-image: url('https://stgproglove.wpengine.com/wp-content/uploads/2026/04/propulse-2026-section-three-background.webp');
    background-size: cover;
    background-position: center;
    padding: 120px 0 100px;
    overflow: hidden;
}
#section-four__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
#section-four .container-fluid {
    position: relative;
    z-index: 2;
}
#section-four .eyebrow-text {
    color: #FFFFFFE0;
    text-transform: uppercase;
    font-size: 24px;
    letter-spacing: 4px;
    margin-bottom: 24px;
}
#section-four h2 {
    color: #FFFFFF;
    font-size: 101px;
    font-weight: 700;
    line-height: 85px;
    margin: 0 0 40px;
}
#section-four h2 span {
    color: #FF5F00;
}
#section-four .section-four-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px;
}
#section-four .section-four-card {
    background: #1C1C1C99;
    border: 1px solid #5252524d;
    border-radius: 28px;
    padding: 32px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease;
}
#section-four .section-four-card:hover {
    transform: translateY(-6px);
}
#section-four .section-four-card .card-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 140%;
    color: #FFFFFF;
    margin: 0 0 24px;
}
#section-four .section-four-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 140%;
    margin: 0;
}

#section-five {
    background-color: #0C0C0F;
    padding: 100px 0 120px;
}
#section-five h2 {
    color: #FFFFFF;
    font-size: 67px;
    font-weight: 700;
    margin: 0;
}
.speaker-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    min-height: 480px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}
.speaker-card__avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}
.speaker-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.speaker-card__content {
    width: 100%;
}
.speaker-name {
    color: #FF5F00;
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 16px;
}
.speaker-role {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 140%;
    min-height: 45px;
    margin: 0;
}
.speaker-role span {
    color: #FF5F00;
}
.speaker-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    width: 100%;
}
.speaker-logo--img img {
    max-width: 120px;
    max-height: 32px;
    width: auto;
    height: auto;
}
.speaker-logo-text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}
@media (max-width: 1200px) {
    #section-four .section-four-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .speaker-card {
        min-height: auto;
    }
}
@media (max-width: 768px) {
    #section-four {
        padding: 80px 0 60px;
    }
    #section-four h2 {
        font-size: 48px;
        line-height: 120%;
        margin-bottom: 32px;
    }
    #section-four .section-four-cards {
        grid-template-columns: 1fr;
    }
    #section-four .section-four-card {
        min-height: auto;
        padding: 28px;
    }
    #section-five {
        padding: 80px 0 60px;
    }
    #section-five h2 {
        font-size: 48px;
        line-height: 120%;
    }
    .speaker-card {
        min-height: auto;
        padding: 28px;
    }
    .speaker-card__avatar {
        width: 180px;
        height: 180px;
    }
}

#section-six {
    position: relative;
    background-image: url('/wp-content/uploads/2026/04/propulse-2026-section-five-background.webp');
    background-size: cover;
    background-position: center;
    padding: 120px 0 100px;
    overflow: hidden;
}
#section-six__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
#section-six .container-fluid {
    position: relative;
    z-index: 2;
}
#section-six .eyebrow-text {
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 24px;
    margin-bottom: 24px;
}
#section-six h2 {
    color: #FFFFFF;
    font-size: 101px;
    font-weight: 700;
    line-height: 85px;
    margin: 0;
}
#section-six h2 span {
    color: #FF5F00;
}
#section-six .agenda-list {
    display: grid;
    gap: 18px;
}
.agenda-item {
    background: #1C1C1C99;
    border: 1px solid #5252524d;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.agenda-item:hover {
    transform: translateY(-2px);
    border-color: #FF5F00;
}
.agenda-item__header {
    width: 100%;
    background: transparent;
    border: none;
    color: #FFFFFF;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    position: relative;
}
.agenda-item__header::before {
    content: '•';
    color: #FFFFFF;
    margin-right: 16px;
    font-size: 16px;
    line-height: 100%;
    flex-shrink: 0;
}
.agenda-item__header span {
    display: inline-block;
}
.agenda-time {
    color: #FFFFFF;
    flex-shrink: 0;
    font-size: 16px;
    line-height: 120%;
    margin-right: 16px;
    padding-right: 16px;
    border-right: 1px solid #FF5000;
    white-space: nowrap;
}
.agenda-title {
    color: #FFFFFF;
    flex: 1;
    min-width: 0;
    font-size: 16px;
    line-height: 100%;
}
.agenda-toggle-icon {
    color: #FF5F00;
    margin-left: 16px;
    font-size: 16px;
    line-height: 120%;
    flex-shrink: 0;
}
.agenda-item__details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 28px;
}
.agenda-item.open .agenda-item__details {
    max-height: 260px;
    opacity: 1;
    padding: 0 28px 22px;
    margin: 0 0 20px 0;
}
.agenda-item__details p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 0.95rem;
}
@media (max-width: 1200px) {
    #section-one h1 {
        font-size: 67px;
    }
    #section-six {
        padding: 100px 0 80px;
    }
    #section-six h2 {
        font-size: 67px;
    }
}
@media (max-width: 992px) {
    .agenda-item__header {
        flex-wrap: wrap;
        gap: 12px;
    }
    .agenda-time {
        min-width: auto;
        width: 100%;
    }
    .agenda-toggle-icon {
        margin-left: 0;
    }
}
@media (max-width: 768px) {
    #section-six {
        padding: 80px 0 60px;
    }
    #section-six .eyebrow-text {
        font-size: 18px;
    }
    #section-six h2 {
        font-size: 48px;
        line-height: 100%;
        margin: 0 0 24px 0;
    }
    .agenda-item__header {
        padding: 18px 20px;
    }
    .agenda-item__header::before {
        display: none;
    }
    .agenda-item__header span {
        padding-right: 0;
        border-right: 0;
        margin-right: 0;
    }
    .agenda-item__details {
        padding: 0 20px;
    }
}

#section-seven {
    position: relative;
    background-color: #0C0C0F;
    overflow: hidden;
    min-height: 720px;
    display: flex;
    align-items: center;
}
#section-seven .section-seven-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 720px;
    object-fit: cover;
    min-height: 720px;
    z-index: 0;
}
#section-seven .section-seven__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 720px;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}
#section-seven .container-fluid {
    position: relative;
    z-index: 2;
}
#section-seven .eyebrow-text {
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 24px;
    margin-bottom: 24px;
}
#section-seven h2 {
    color: #FFFFFF;
    font-size: 67px;
    font-weight: 700;
    line-height: 71px;
    margin: 0 0 24px;
    max-width: 640px;
}
#section-seven .section-seven-copy {
    font-size: 20px;
    font-weight: 400;
    line-height: 130%;
    color: #FFFFFFE0;
    max-width: 560px;
    margin-bottom: 12px;
}
#section-seven ul.styled {
    margin-bottom: 32px;
}
#section-seven ul li {
    max-width: 560px;
    background: url('/wp-content/themes/proglove/images//favicon.ico') top 5px left no-repeat;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
    line-height: 130%;
    color: #FFFFFFE0;
}

#section-seven .button-row {
    justify-content: flex-start;
    display: flex;
    gap: 24px;
}
#section-seven .button-row a.primary-button-transparent,
#section-seven button.primary-button-transparent {
    color: #F5F5FA;
    border-color: rgba(255, 95, 0, 0.9);
    background: rgba(255, 95, 0, 0.08);
}
#section-seven .button-row a.primary-button-transparent:hover,
#section-seven button.primary-button-transparent:hover {
    background: rgba(255, 95, 0, 0.14);
}
#section-seven .button-row .secondary-button {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.85);
}
.section-seven-gallery {
    position: relative;
    padding: 50px 0 80px;
    background: #0C0C0F;
    overflow: hidden;
}
.section-seven-gallery .section-seven-visuals {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
}
.section-seven-gallery .section-seven-visuals__track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    max-height: 280px;
    animation: gallery-marquee-scroll 40s linear infinite;
    will-change: transform;
    padding: 0 18px;
}
.section-seven-gallery .section-seven-visuals figure {
    flex: 0 0 calc((100% - 54px) / 4);
    min-width: 260px;
    min-height: 280px;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
    background: rgba(0, 0, 0, 0.12);
    transform: translateY(35px);
    opacity: 0;
    transition: transform 0.75s ease, opacity 0.75s ease;
    cursor: pointer;
}
.section-seven-gallery .section-seven-visuals.animate figure {
    transform: translateY(0);
    opacity: 1;
}
.section-seven-gallery .section-seven-visuals.animate figure:nth-child(1) {
    transition-delay: 0.1s;
}
.section-seven-gallery .section-seven-visuals.animate figure:nth-child(2) {
    transition-delay: 0.2s;
}
.section-seven-gallery .section-seven-visuals.animate figure:nth-child(3) {
    transition-delay: 0.3s;
}
.section-seven-gallery .section-seven-visuals.animate figure:nth-child(4) {
    transition-delay: 0.4s;
}
.section-seven-gallery .section-seven-visuals img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-seven-gallery .image-preview img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 16px;
}

#section-eight,
.section-eight {
    position: relative;
    min-height: 640px;
    background-image: url('/wp-content/uploads/2026/04/propulse-2026-section-eight-image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-eight__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.section-eight__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 80px 20px;
}

.section-eight h2 {
    color: #FFFFFF;
    font-size: 67px;
    font-weight: 500;
    line-height: 71px;
    margin-bottom: 24px;
}

.section-eight p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 32px;
}

.section-eight .primary-button-transparent {
    display: block;
    margin: 0 auto;
    z-index: 1;
}

@media (max-width: 768px) {
    .section-eight {
        min-height: 520px;
    }
    .section-eight__content {
        padding: 60px 16px;
    }
    .section-eight h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .section-eight h2 {
        font-size: 2rem;
    }
    .section-eight p {
        font-size: 0.98rem;
    }
}

@media (max-width: 1200px) {
    #section-seven {
        padding: 100px 0 80px;
    }
    #section-seven h2 {
        font-size: 4.5rem;
    }
    .section-seven-gallery .section-seven-visuals__track {
        animation-duration: 45s;
    }
    .section-seven-gallery .section-seven-visuals figure {
        flex: 0 0 calc((100% - 18px) / 2);
        min-width: 240px;
    }
}
@media (max-width: 768px) {
    #section-seven {
        padding: 80px 0 60px;
    }
    #section-seven h2 {
        font-size: 48px;
        line-height: 120%;
    }
    #section-seven .button-row {
        justify-content: center;
    }
    .section-seven-gallery .section-seven-visuals__track {
        animation-duration: 50s;
    }
    .section-seven-gallery .section-seven-visuals figure {
        flex: 0 0 100%;
        min-width: auto;
    }
}
@keyframes gallery-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    #section-four {
        padding: 80px 0 60px;
    }
    #section-four .eyebrow-text {
        font-size: 18px;
    }
    #section-four h2 {
        font-size: 48px;
        line-height: 120%;
        margin-bottom: 40px;
    }
    #section-four .section-four-cards {
        grid-template-columns: 1fr;
    }
    #section-four .section-four-card {
        min-height: auto;
        padding: 28px;
    }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 720px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

.video-modal-content {
  width: 95%;
  max-width: 1200px;
  margin: 0;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.image-modal-content {
  width: auto;
  max-width: 95vw;
  max-height: 95vh;
  margin: 2.5vh auto;
  padding: 20px;
  background-color: #000;
  box-shadow: none;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #333;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
  color: #666;
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.video-modal-content .close-modal {
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  text-shadow: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-modal-content .close-modal:hover,
.video-modal-content .close-modal:focus {
  color: #fff;
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.6);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* HubSpot Form Styling */
#hubspot-form-container {
  min-height: 400px;
  width: 100%;
}
#hubspot-form-container .hbspt-form {
  font-family: inherit;
  max-width: 100%;
}
#hubspot-form-container .hs-form-field {
  margin-bottom: 10px;
}
#hubspot-form-container .hs-form-field > label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 100%;
  margin: 0 0 6px 0;
  color: #333;
}
#hubspot-form-container .hs-input,
#hubspot-form-container .hs-input[type="text"],
#hubspot-form-container .hs-input[type="email"],
#hubspot-form-container .hs-input[type="tel"],
#hubspot-form-container textarea.hs-input {
  width: 100%;
  padding: 5px 10px;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}
#hubspot-form-container .hs-input:focus,
#hubspot-form-container textarea.hs-input:focus {
  outline: none;
  border-color: #FF5F00;
  box-shadow: 0 0 0 3px rgba(255, 95, 0, 0.1);
}
#hubspot-form-container .hs-field-desc {
  font-size: 10px;
  font-style: italic;
}
#hubspot-form-container .hs-form-private .hs-richtext {
  font-size: 10px;
  font-style: italic;
}
#hubspot-form-container .hs-form-field.hs-recaptcha {
    display: none;
}
#hubspot-form-container .hs-button {
  background: linear-gradient(135deg, #FF5F00 0%, #ff8533 100%);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

#hubspot-form-container .hs-button:hover {
  background: linear-gradient(135deg, #e65500 0%, #ff771a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 95, 0, 0.3);
}

#hubspot-form-container .hs-error-msgs {
  color: #dc3545;
  font-size: 14px;
  margin-top: 4px;
}

#hubspot-form-container .hs-form-booleancheckbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#hubspot-form-container .hs-form-booleancheckbox label {
  font-size: 14px;
  line-height: 1.4;
  color: #666;
  margin: 0;
  cursor: pointer;
}

#hubspot-form-container .hs-form-booleancheckbox input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal {
    padding: 20px;
    box-sizing: border-box;
  }

  .modal-content {
    width: 100%;
    margin: 0;
    padding: 20px;
    max-height: 100vh;
    border-radius: 0;
    height: 100vh;
    overflow-y: auto;
  }

  .video-modal-content {
    width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }

  .video-container {
    padding-bottom: 56.25%;
    border-radius: 0;
  }

  .close-modal {
    font-size: 24px;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
  }

  #hubspot-form-container .hs-button {
    padding: 16px 24px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 15px;
  }

  .video-modal-content {
    padding: 0;
  }

  .close-modal {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  #hubspot-form-container .hs-input,
  #hubspot-form-container textarea.hs-input {
    padding: 14px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  #hubspot-form-container .hs-button {
    padding: 18px 20px;
    font-size: 16px;
  }
}