/* =========================================== Program Hero =========================================== */
.program-hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: var(--program-hero-bg-desktop);
    color: #fff;
    overflow: visible;
    z-index: 5;
}

.program-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #00000059 0%, #00000000 60%, #00000000 100%);
    z-index: 1;
}

.program-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.program-hero__content {
    max-width: 800px;
    width: 100%;
}

.program-hero__content--align-center {
    text-align: center;
    margin: 0 auto;
}

.program-hero__content--align-left {
    text-align: left;
    margin: 0 auto 0 0;
}

.program-hero__content--align-right {
    text-align: right;
    margin: 0 0 0 auto;
}

.program-hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.program-hero__title p {
    margin: 0;
}

.program-hero__button {
    display: flex;
}

.program-hero__content--align-center .program-hero__button {
    justify-content: center;
}

.program-hero__content--align-left .program-hero__button {
    justify-content: flex-start;
}

.program-hero__content--align-right .program-hero__button {
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .program-hero {
        min-height: 350px;
        background-image: var(--program-hero-bg-mobile, var(--program-hero-bg-desktop));
    }

    .program-hero__title {
        font-size: 2.5rem;
    }
}


/* START Support Rotate Icon and text */
.rotating-support-icon {
    position: absolute;
    bottom: 0;
    right: 20%;
    transform: translateY(50%);
    width: 140px;
    height: 140px;
    z-index: 10;
}

.rotating-support-icon-base {
    background: #fff;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    box-shadow: 0 17px 31px -10px #0000004f;
}

.rotating-support-icon img {
    position: absolute;
    width: 88%;
    height: 88%;
}

.support-icon-center {
    max-width: 40px;
}
.rotating-support-icon .support-icon-text {
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 992px) {
    .rotating-support-icon {
        width: 120px;
        height: 120px;
        right: 4%;
    }
}

@media (max-width: 768px) {
    .rotating-support-icon {
        display: none;
    }
}
/* END Support Rotate Icon and text */



/* =========================================== CTA Block =========================================== */
.cta-block-section {
    padding: 2rem 0;
}

.cta-block-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    border: 1px solid var(--ltf-pink);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    background-color: var(--ltf-white);
}

/* When there's an image, use 2 columns on desktop */
.cta-block-content:has(.cta-block-right) {
    grid-template-columns: 1fr;
}

/* When there's no image, content takes full width */
.cta-block-content:not(:has(.cta-block-right)) {
    grid-template-columns: 1fr;
    text-align: center;
}

.cta-block-title {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--ltf-black);
}

.cta-block-title p {
    margin: 0;
}

.cta-block-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* =========================================== Two Columns =========================================== */
.two-columns-section {
    padding: 4rem 0;
}

.two-columns-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .two-columns-grid {
        grid-template-columns: 1fr 1fr;
    }
    .text-max-75 .two-columns-col-text {
        max-width: 75%;
    }
}

.two-columns-col-pretitle {
    color: var(--ltf-pink);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.two-columns-col-title {
    color: var(--ltf-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.two-columns-col-paragraph h3 {
    margin-bottom: 1.4rem;
    color: var(--ltf-blue);
    font-weight: 500;
    letter-spacing: -.05em;
    max-width: 75%;
}

.two-columns-col-paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ltf-black);
}

.two-columns-col-paragraph ul li {
    line-height: 1.2;
    margin-bottom: 1rem;
}
.two-columns-col-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.two-columns-col-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.two-columns-col-video iframe,
.two-columns-col-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.two-columns-col-button {
    margin-top: 2rem;
}

@media (min-width: 768px) {
    /* When there's an image, use 2 columns on desktop */
    .cta-block-content:has(.cta-block-right) {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
    
    /* When there's no image, keep single column but center content */
    .cta-block-content:not(:has(.cta-block-right)) {
        grid-template-columns: 1fr;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .program-hero {
        min-height: 350px;
        background-image: var(--program-hero-bg-mobile, var(--program-hero-bg-desktop));
    }

    .program-hero__title {
        font-size: 2.5rem;
    }
}

.two-columns-section .col-content .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =========================================== Highlight Person Center Block =========================================== */
.hpcb-section {
    padding: 5rem 0;
}

.hpcb-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hpcb-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 1px solid #7D13EA;
    border-radius: 16px;
    z-index: 1;
}

.hpcb-card {
    position: relative;
    background-color: var(--ltf-white);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    z-index: 2;
}

.hpcb-title {
    text-align: center;
    color: var(--ltf-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
}

.hpcb-inner-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hpcb-image-wrapper {
    flex-shrink: 0;
}

.hpcb-image {
    width: 120px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.hpcb-paragraph p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ltf-black);
}

.hpcb-paragraph p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hpcb-inner-content {
        flex-direction: column;
        text-align: center;
    }
    .hpcb-wrapper::before {
        left: 0;
        top: -10px;
    }
    .hpcb-card {
        padding: 2rem;
    }
}


/* =========================================== LTF Contact Form =========================================== */
.modern-form-container {
    max-width: 700px;
    font-family: var(--font-inter);
}

.modern-form-container .form-submit {
  margin-bottom: 0;
}

.modern-form .form-group {
    margin-bottom: 1.5rem;
}

.modern-form .form-group-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.modern-form .form-group-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.modern-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.modern-form label .required {
    font-weight: 400;
    color: #777;
}

.modern-form input[type="text"],
.modern-form input[type="email"],
.modern-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.modern-form textarea {
    min-height: 150px;
    resize: vertical;
}

.modern-form input[type="text"]:focus,
.modern-form input[type="email"]:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--ltf-blue);
    box-shadow: 0 0 0 3px rgba(34, 106, 237, 0.2);
}

.modern-form .form-submit {
    text-align: right;
}

.modern-form button[type="submit"] {
    background-color: var(--ltf-blue);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modern-form button[type="submit"]:hover {
    background-color: var(--ltf-pink);
}

.modern-form .form-error {
    color: #D8000C;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.modern-form-success {
    padding: 1rem;
    background-color: #DFF2BF;
    color: #4F8A10;
    border: 1px solid #4F8A10;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.modern-form-error {
    padding: 1rem;
    background-color: #FFD2D2;
    color: #D8000C;
    border: 1px solid #D8000C;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* =========================================== Our Team Slider =========================================== */
.our-team-slider-section {
    padding: 5rem 0;
}

.our-team-slider-section .our-team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.our-team-slider-section .our-team-pretitle {
    color: var(--ltf-pink);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.our-team-slider-section .our-team-title {
    color: var(--ltf-blue);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.our-team-slider-section .our-team-paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
}

.our-team-slider-section .team-member-card {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--ltf-white);
    padding: 3rem 3rem 4rem 3rem;
    border-radius: 16px;
    height: 100%;
}

.our-team-slider-section .team-member-photo img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.our-team-slider-section .team-member-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ltf-blue);
    margin: 0 0 0.25rem 0;
}

.our-team-slider-section .team-member-position {
    font-size: .9rem;
    font-weight: 700;
    color: var(--ltf-black);
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.our-team-slider-section .team-member-bio {
    font-size: 1rem;
    line-height: 1.6;
}

.our-team-slider-section .our-team-slider .splide__arrow {
    background: transparent;
    opacity: 0.7;
    transform: translateY(-100%);
}
.our-team-slider-section .our-team-slider .splide__arrow svg {
    fill: var(--ltf-blue);
}
.our-team-slider-section .our-team-slider .splide__arrow:hover {
    opacity: 1;
}

.our-team-slider-section .our-team-slider .splide__arrow:hover svg {
  fill: var(--ltf-blue);
}

.our-team-slider-section .our-team-slider .splide__arrow--prev {
  left: -50px;
}

.our-team-slider-section .our-team-slider .splide__arrow--next {
  right: -50px;
}


.our-team-slider-section .our-team-slider .splide__pagination {
    bottom: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.our-team-slider-section .our-team-slider .splide__pagination__page {
    background: #cfcfcf;
    width: 50px;
    height: 5px;
    border-radius: 2.5px;
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
    overflow: hidden;
}

.our-team-slider-section .our-team-slider .splide__pagination__page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #7d13ea;
    transform: translateX(-100%);
    }
    
    .our-team-slider-section .our-team-slider .splide__pagination__page.is-active::before {
        animation: teamSliderProgressBarFill 8s linear forwards;
    }
    
    @keyframes teamSliderProgressBarFill {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
    }
    
    .our-team-slider-section .our-team-slider .splide__pagination__page.is-active {
        transform: none;
        background: #dbdbdb;
    }


@media (max-width: 992px) {
    .our-team-slider-section .team-member-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .our-team-slider-section .team-member-photo {
        margin: 0 auto;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .our-team-slider-section .our-team-title {
        font-size: 2.2rem;
    }
    .our-team-slider-section .team-member-card {
        padding: 2rem;
    }
}

@media (max-width: 1200px) {
  .our-team-slider-section .our-team-slider .splide__arrow--prev {
    left: 10px;
  }
}

@media (max-width: 600px) {
  .our-team-slider-section .our-team-slider .splide__arrow {
    display: none;
  }
}

/*----------------------------------------*\
    #IMAGE GALLERY
\*----------------------------------------*/

.image-gallery-section {
    padding: 4rem 0;
}
.image-gallery-section .pre-gallery-content {
  margin-bottom: 2rem;
}

.image-gallery-section .pre-gallery-content.text-center {
  text-align: center;
}
.image-gallery-section .pre-gallery-content.text-left {
  text-align: left;
}
.image-gallery-section .pre-gallery-content.text-right {
  text-align: right;
}

.image-gallery-section .pre-title {
    color: var(--ltf-pink);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.image-gallery-section .title {
    color: var(--ltf-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.image-gallery-section .paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ltf-black);
    max-width: 800px;
}

.image-gallery-section .pre-gallery-content.text-center .paragraph {
    margin-left: auto;
    margin-right: auto;
}

.image-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}
