/* Summit LP - Back To The Future RECAP styles */
p{font-size: 100%;}


/* Hero section */
.hero-btf {
    position: relative;
    min-height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    /* background: #0f0823; */
    background-image: url('/wp-content/themes/alphacore/images/bg-storm-clouds-02.jpg');
    --hero-overlay-opacity: 0.9;
    max-height: 400px;
}

/* Overlay to control gradient opacity independently */
.hero-btf::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(189deg, rgba(13, 31, 57, 0.4) 0%, rgba(64, 93, 113, 0.4) 50%, rgba(90, 93, 97, 0.4) 100%);
    opacity: var(--hero-overlay-opacity, .3);
    transition: opacity 140ms ease;
    pointer-events: none;
    z-index: 0;
}

.hero-btf__content {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    z-index: 2;
}

/* Thunder overlay element (random bolt images) */
.hero-btf__thunder {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: 600px;
    background-position: top 60%;
    opacity: 0;
    transition: opacity 140ms ease;
    pointer-events: none;
    z-index: 1; /* above gradient overlay, below content */
}

@media (max-width: 768px) {
    .hero-btf__thunder {
        background-size: 400px;
    }
}

/* THREE.js lightning canvas sits behind content and thunder overlay */
#storm-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#storm-hero-bg canvas {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
}

.hero-btf__img {
    display: block;
    height: auto;
    margin: 0 auto;
    height: 350px;
    max-height: 100%;
}

.hero-btf__img--logo {
    width: auto;
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
    z-index: 2;
    width: auto;
    max-width: 100%;
}

.hero-btf__img--logo.logo-flash {
    filter: brightness(1.08) contrast(1.08) saturate(1.1);
}

.hero-btf__img--date {
    width: 100%;
    max-width: 700px;
}

@media (max-width: 1571px) {
    .hero-btf__img--logo {
        width: auto;
        filter: brightness(1.05) contrast(1.05) saturate(1.1);
        z-index: 2;
        width: auto;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .hero-btf {
        min-height: 400px;
    }
}

/* Summit Hero Section */
.lp-summit-hero {
    background: #D7EEFF;
    padding: 9rem 0;
    position: relative;
    min-height: 77vh;
    display: flex;
    align-items: center;
}

.lp-summit-hero__container {
    max-width: 1400px;
    margin: 0 auto;
}

.lp-summit-hero__content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 10rem;
    align-items: center;
}

.lp-summit-hero__text {
    color: #3551A3;
}

.lp-summit-hero__pre-title {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: #3551A3;
}

.lp-summit-hero__title {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.2;
    margin: 0 0 24px;
    color: #3551A3;
}

.lp-summit-hero__text-content {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #3551A3;
}

.lp-summit-hero__button {
    margin-top: 24px;
}

.lp-summit-hero__video {
    position: relative;
    width: 100%;
}

.lp-summit-hero__video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    transition: aspect-ratio 0.3s ease;
}

/* When video is playing, change wrapper to 16:9 */
.lp-summit-hero__video-wrapper--playing {
    aspect-ratio: 16 / 9;
}

.lp-summit-hero__video-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.7s ease, box-shadow 0.7s ease;
    aspect-ratio: 1 / 1;
    border-radius: 0;
}

.lp-summit-hero__video-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.lp-summit-hero__video-thumbnail[hidden] {
    display: none;
}

.lp-summit-hero__video-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.lp-summit-hero__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    transition: transform 1s ease;
}

.lp-summit-hero__video-thumbnail:hover .lp-summit-hero__play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.lp-summit-hero__video-embed {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.lp-summit-hero__video-embed[hidden] {
    display: none;
}

.lp-summit-hero__video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video Modal */
.lp-summit-hero__video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.lp-summit-hero__video-modal[hidden] {
    display: none;
}

.lp-summit-hero__video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
}

.lp-summit-hero__video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    z-index: 2;
}

.lp-summit-hero__video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 3;
    color: #ffffff;
    transition: opacity 0.3s ease;
}

.lp-summit-hero__video-modal-close:hover {
    opacity: 0.8;
}

.lp-summit-hero__video-modal-close svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.lp-summit-hero__video-modal-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lp-summit-hero__video-modal-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .lp-summit-hero__content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .lp-summit-hero {
        padding: 5rem 1rem;
    }

    .lp-summit-hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lp-summit-hero__text {
        order: 0;
    }
    
    .lp-summit-hero__video {
        order: 1;
    }

    .lp-summit-hero__play-icon {
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .lp-summit-hero__video-thumbnail:hover .lp-summit-hero__play-icon {
        transform: translate(-50%, -50%) scale(1.1);
    }

    .lp-summit-hero__video-modal-content {
        max-width: 100%;
    }

    .lp-summit-hero__video-modal-close {
        top: -40px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .lp-summit-hero {
        padding: 5rem 1rem;
    }

    .lp-summit-hero__content {
        gap: 32px;
    }

    .lp-summit-hero__text-content {
        font-size: 16px;
    }
}

/* Gallery Grid */
.gallery-grid {
    /* background: #171938; */
    background: var(--alphacore_dark_blue_hover);
    padding: 48px 16px;
    position: relative;
}

.gallery-grid__container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid__video {
    margin-bottom: 40px;
}

.gallery-grid__video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.gallery-grid__video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-grid__title {
    color: #fff;
    text-align: center;
    margin: 0 0 40px;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(26px, 3vw, 44px);
}

.gallery-grid__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gallery-grid__item {
    position: relative;
    display: flex;
    justify-content: center;
}

.gallery-grid__zoom {
    display: block;
    background: #171938;
    border: none;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid__zoom:hover {
    border: none;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.gallery-grid__zoom img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .gallery-grid__items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid__items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-grid__items {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    box-sizing: border-box;
}

.et_pb_scroll_top.et-pb-icon {
    z-index: 99997 !important;
}

.gallery-lightbox[hidden] {
    display: none;
}


.gallery-lightbox__img {
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.gallery-lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.gallery-lightbox__close::before,
.gallery-lightbox__close::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 2px;
    background: #ffffff;
    transform-origin: center;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.gallery-lightbox__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.gallery-lightbox__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.gallery-lightbox__close:hover {
    opacity: 0.9;
}

.gallery-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.gallery-lightbox__arrow::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('/wp-content/themes/alphacore/images/arrow-right.svg') center center / contain no-repeat;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.gallery-lightbox__arrow--prev {
    left: 22px;
}

.gallery-lightbox__arrow--prev::before {
    transform: scaleX(-1);
}

.gallery-lightbox__arrow--next {
    right: 22px;
}

/* Storm hero test */
.hero-btf__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-btf__bg canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.hero-btf {
    position: relative;
}

.hero-btf .hero-btf__content {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .gallery-lightbox {
        padding: 10px;
    }
    
    .gallery-lightbox__img {
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }
    
    .gallery-lightbox__arrow {
        top: 90%;
    }
    
    .gallery-lightbox__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
    
    .gallery-lightbox__close::before,
    .gallery-lightbox__close::after {
        width: 20px;
    }
}

/* Event Gallery - Masonry Grid */
.lp-event-gallery {
    background: #fff;
    padding: 7rem 0;
}

.lp-event-gallery__container {
    max-width: 1400px;
    margin: 0 auto;
}

.lp-event-gallery__title {
    font-size: clamp(32px, 5vw, 48px);
    text-align: center;
    margin: 0 0 24px;
    color: #3551A3;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
}

.lp-event-gallery__text {
    text-align: center;
    margin: 0 auto 48px;
    max-width: 800px;
    color: #3551A3;
    font-size: 18px;
    line-height: 1.6;
}

.lp-event-gallery__masonry {
    column-count: 3;
    column-gap: 20px;
    margin-bottom: 40px;
}

.lp-event-gallery__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 100%;
}

.lp-event-gallery__item:hover {
    transform: scale(1.005);
    opacity: 0.9;
}

.lp-event-gallery__item--hidden {
    display: none;
}

.lp-event-gallery__item--visible {
    display: block;
}

.lp-event-gallery__image-btn,
.lp-event-gallery__video-btn {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: block;
    position: relative;
    overflow: hidden;
}

.lp-event-gallery__image-btn img,
.lp-event-gallery__video-btn img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    vertical-align: top;
    margin: 10px 0;
}

.lp-event-gallery__video-btn {
    position: relative;
}

.lp-event-gallery__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.lp-event-gallery__item:hover .lp-event-gallery__play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.lp-event-gallery__view-more {
    text-align: center;
    margin-top: 40px;
}

.lp-event-gallery__view-more-btn.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .lp-event-gallery__masonry {
        column-count: 3;
        column-gap: 16px;
    }
    
    .lp-event-gallery__item {
        margin-bottom: 16px;
    }
}

@media (max-width: 768px) {
    .lp-event-gallery {
        padding: 5rem 1rem;
    }

    .lp-event-gallery__masonry {
        column-count: 1;
        column-gap: 12px;
    }
    
    .lp-event-gallery__item {
        margin-bottom: 12px;
    }

    .lp-event-gallery__text {
        font-size: 16px;
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .lp-event-gallery {
        padding: 5rem 1rem;
    }

    .lp-event-gallery__masonry {
        column-count: 1;
        column-gap: 10px;
    }
    
    .lp-event-gallery__item {
        margin-bottom: 10px;
    }
}

.ac-btn {
    border-radius: 0;
}

/* Highlights Section */
.lp-highlights {
    background: #3551A3;
    padding: 7rem 0;
    color: #ffffff;
    overflow: hidden;
}

.lp-highlights__container {
    max-width: 1400px;
    margin: 0 auto;
}

.lp-highlights__pre-title {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 12px;
    color: #D7EEFF;
    letter-spacing: 1px;
}

.lp-highlights__title {
    font-size: clamp(32px, 5vw, 48px);
    margin: 0 0 24px;
    color: #ffffff;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
}

.lp-highlights__text {
    margin-bottom: 4rem;
    max-width: 800px;
    color: #D7EEFF;
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
}

.lp-highlights-splide {
    margin: 0 auto;
}

.lp-highlights__card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lp-highlights__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.lp-highlights__card-thumbnail {
    position: relative;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.lp-highlights__card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lp-highlights__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.lp-highlights__card-thumbnail:hover .lp-highlights__play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.lp-highlights__card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 24px 12px;
    color: #3551A3;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    line-height: 1.4;
}

.lp-highlights__card-text {
    font-size: 16px;
    line-height: 1.6;
    color: #3551A3;
    margin: 0 24px 24px;
    flex-grow: 1;
}

/* Splide customizations for highlights */
.lp-highlights-splide .splide__slide {
    padding: 0 12px;
}

.lp-highlights-splide .splide__arrow {
    background: #ffffff;
    opacity: 0.9;
    width: 48px;
    height: 48px;
}

.lp-highlights-splide .splide__arrow:hover {
    opacity: 1;
    background: #ffffff;
}

.lp-highlights-splide .splide__arrow svg {
    fill: #3551A3;
}

.lp-highlights-splide .splide__pagination {
    bottom: -40px;
}

.lp-highlights-splide .splide__pagination__page {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
}

.lp-highlights-splide .splide__pagination__page.is-active {
    background: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
    .lp-highlights {
        padding: 7rem 0;
    }
    
    .lp-highlights-splide .splide__slide {
        padding: 0 8px;
    }
}

@media (max-width: 768px) {
    .lp-highlights {
        padding: 60px 16px;
    }
    
    .lp-highlights__text {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .lp-highlights__card-title {
        font-size: 18px;
        margin: 20px 20px 10px;
    }
    
    .lp-highlights__card-text {
        font-size: 15px;
        margin: 0 20px 20px;
    }
    
    .lp-highlights-splide .splide__slide {
        padding: 0 6px;
    }
    
    .lp-highlights-splide .splide__arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .lp-highlights {
        padding: 5rem 1rem;
    }
    
    .lp-highlights__card-title {
        font-size: 16px;
        margin: 16px 16px 8px;
    }
    
    .lp-highlights__card-text {
        font-size: 14px;
        margin: 0 16px 16px;
    }
}


.lp-highlights-splide .splide__pagination {
    justify-content: flex-start;
    bottom: -4.4rem;
    padding: 0;
}

.lp-highlights-splide .splide__pagination__page.is-active {
    transform: scale(1);
}

.lp-highlights-splide .splide__pagination__page {
    width: 8px;
    height: 8px;
}

.lp-highlights-splide .splide__slide {
    padding: 0;
}

.lp-highlights-splide .splide__track {
    padding-bottom: 1rem;
    margin-bottom: 4rem;
    width: 100vw;
}

.lp-highlights-splide .splide__arrows {
    display: flex;
    justify-content: flex-end;
    width: 120px;
    height: 70px;
    position: absolute;
    right: 0;
    bottom: -6rem;
}

.lp-highlights-splide .splide__arrow--next {
    right: 0em;
}

.lp-highlights-splide .splide__arrow--prev {
    right: 3em;
}

.lp-highlights-splide .splide__arrow {
    border-radius: 0;
}

/* Inquiry Form Section */
.lp-inquiry-form {
    background: #ffffff;
    padding: 7rem 0;
    color: #3551A3;
}

.lp-inquiry-form__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

.lp-inquiry-form__pre-title {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 2rem;
    color: #3551A3;
    letter-spacing: 1px;
}

.lp-inquiry-form__title {
    font-size: clamp(32px, 5vw, 48px);
    color: #3551A3;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
    line-height: 1.2;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.lp-inquiry-form__text {
    margin-bottom: 2.5rem;
    color: #3551A3;
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lp-inquiry-form__form {
    margin-bottom: 1.5rem;
}

.lp-inquiry-form__form-group {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.lp-inquiry-form__input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #D1D5DB;
    font-size: 16px;
    color: #3551A3;
    background: #F9FAFB;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.lp-inquiry-form__input:focus {
    outline: none;
    border-color: #3551A3;
    background: #ffffff;
}

.lp-inquiry-form__input::placeholder {
    color: #9CA3AF;
}



.lp-inquiry-form__button:active:not(:disabled) {
    transform: translateY(0);
}

.lp-inquiry-form__button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.lp-inquiry-form__text-under {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.lp-inquiry-form__terms-link {
    color: #3551A3;
    text-decoration: underline!important;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lp-inquiry-form__terms-link:hover {
    color: #2A4080;
}

.lp-inquiry-form__message {
    max-width: 600px;
    margin: 1rem auto 0;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.lp-inquiry-form__message--success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.lp-inquiry-form__message--success p {
    margin: 0;
}

.lp-inquiry-form__message--error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Prevent body scroll when modal is open */
html.lp-modal-open,
html.lp-modal-open body {
    overflow: hidden;
    height: 100%;
    position: relative;
}

/* Terms and Conditions Modal */
.lp-inquiry-form__terms-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-inquiry-form__terms-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.lp-inquiry-form__terms-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    z-index: 10001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.lp-inquiry-form__terms-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #E5E7EB;
}

.lp-inquiry-form__terms-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #3551A3;
    font-family: 'Taviraj', Georgia, "Times New Roman", serif;
}

.lp-inquiry-form__terms-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #6B7280;
    transition: color 0.3s ease;
    z-index: 10002;
}

.lp-inquiry-form__terms-modal-close:hover {
    color: #3551A3;
}

.lp-inquiry-form__terms-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    color: #374151;
    line-height: 1.6;
}

.lp-inquiry-form__terms-modal-body p {
    margin: 0 0 16px;
}

.lp-inquiry-form__terms-modal-body p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .lp-inquiry-form {
        padding: 5rem 0;
    }
    
    .lp-inquiry-form__form-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .lp-inquiry-form__button {
        width: 100%;
    }
    
    .lp-inquiry-form__terms-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .lp-inquiry-form__terms-modal-header {
        padding: 20px 20px 12px;
    }
    
    .lp-inquiry-form__terms-modal-body {
        padding: 20px;
    }
}

.ac-btn-blue.ac-btn-filled {
    background-color: #3551A3;
}

@media (max-width: 768px) {
    .ac-btn {
        padding: 20px 30px;
    }
}