@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Alfa+Slab+One&family=Exo+2:wght@300;400;500;600;700&family=IBM+Plex+Sans+Condensed:wght@300;400;500;600;700&display=swap');
.fund-information-header h1 {
    color: #ffffff;
    font-size: 80px;
    line-height: 1;
    padding: 20px;
    text-align: center;
}

@media (max-width: 1600px) {
    .fund-information-header h1 {
        font-size: 72px;
        line-height: 0.94;
    }
}

.fund-information-success {
    padding: 60px 20px;
    color: #ffffff;
    max-width: 1400px;
    margin: 0 auto;
}


/* Fund Information Access Section */

.fund-information-access {
    text-align: center;
}

.fund-information-access__title {
    color: #ffffff;
    font-size: 80px;
    line-height: 1;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.fund-information-access__subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
    font-family: sans-serif;
}


/* Fund Cards Grid */

.fund-information-access__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}


/* Custom carousel wrapper */

.fund-cards-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.fund-cards-carousel__wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.fund-cards-carousel__slide {
    flex-shrink: 0;
    flex-grow: 0;
    height: auto;
}


/* Ensure grid works on desktop */

@media (min-width: 1200px) {
    .fund-information-access__grid--carousel {
        display: grid !important;
    }
    .fund-cards-carousel {
        display: contents !important;
        overflow: visible !important;
    }
    .fund-cards-carousel__wrapper {
        display: contents !important;
        transform: none !important;
        width: auto !important;
        flex-direction: row !important;
    }
    .fund-cards-carousel__slide {
        width: 100% !important;
        min-width: auto !important;
        max-width: none !important;
        flex-shrink: 1 !important;
        flex-grow: 0 !important;
    }
    .fund-cards-pagination {
        display: none !important;
    }
    .fund-card {
        min-height: 560px;
    }
    /* Hide CTA card in carousel on desktop */
    .fund-card--cta {
        display: none !important;
    }
    /* Show desktop CTA section */
    .fund-information-access__cta--desktop {
        display: block !important;
    }
}


/* Pagination dots */

.fund-cards-pagination {
    position: relative;
    margin-top: 30px;
    text-align: center;
    display: none;
    /* Hidden on desktop */
    z-index: 10;
    min-height: 20px;
}

.fund-cards-pagination__dot {
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
}

.fund-cards-pagination__dot.active {
    background-color: #ffffff;
    border-color: #ffffff;
    width: 10px;
    height: 10px;
}

.fund-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    max-width: 394px;
    min-width: 325px;
}

.fund-card__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.fund-card__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.fund-card__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 34px;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
}

.fund-card__content {
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    width: 100%;
    color: #ffffff;
    text-align: left;
    position: relative;
    z-index: 1;
}

.fund-card__description {
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: sans-serif;
    text-align: center;
}

.fund-card__button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #ffffff;
    color: #1a2332;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    font-family: sans-serif;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.fund-card__button:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* CTA Card Styles */

.fund-card--cta {
    display: block;
    border: 1px solid #ffffff;
}

.fund-card__image--cta {
    background: transparent;
    align-items: flex-end;
}

.fund-card__image--cta::before {
    display: none;
}

.fund-card--cta .fund-card__content {
    background: transparent;
}

.fund-card__title--cta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: none;
    margin-bottom: 0;
    padding: 0 30px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.fund-card__button--cta {
    background-color: #ffffff;
    color: #1a2332;
    border: 2px solid transparent;
}

.fund-card__button--cta:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* CTA Section */

.fund-information-access__cta {
    margin-top: 60px;
}

.fund-information-access__cta-title {
    font-size: 56px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
}

.fund-information-access__cta-button {
    display: inline-block;
    padding: 18px 50px;
    background-color: #b3a369;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: sans-serif;
    border: 1px solid #b3a369;
}

.fund-information-access__cta-button:hover {
    background-color: transparent;
    color: #b3a369;
}


/* Custom Form 42 Styling - Dark Blue Theme (matching image) */

.fund-information-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

#fund-information-form-42 .gform_fields {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

#fund-information-form-42 .gfield {
    margin-bottom: 25px;
}

#fund-information-form-42 .gfield_required {
    color: #ffffff;
}

#fund-information-form-42 input[type="text"],
#fund-information-form-42 input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 4px;
    color: #ffffff;
    font-size: 18px;
    font-family: inherit;
    box-sizing: border-box;
}

#fund-information-form-42 input[type="text"]::placeholder,
#fund-information-form-42 input[type="email"]::placeholder {
    color: #999999;
    /* Light gray placeholder */
    opacity: 1;
}

#fund-information-form-42 input[type="text"]:focus,
#fund-information-form-42 input[type="email"]:focus {
    outline: none;
    border-color: #ffffff;
    background-color: transparent;
}


/* Checkbox Styling */

#fund-information-form-42 .gfield--checkbox {
    margin-top: 20px;
}

#fund-information-form-42 .gfield--checkbox .gfield_label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
    cursor: pointer;
}

#fund-information-form-42 .gfield--checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ffffff;
    border-radius: 3px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
}

#fund-information-form-42 .gfield--checkbox input[type="checkbox"]:checked {
    background-color: #ffffff;
}

#fund-information-form-42 .gfield--checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a2332;
    font-size: 14px;
    font-weight: bold;
}

#fund-information-form-42 .gfield--checkbox .gfield_label span:not(.gfield_required) {
    flex: 1;
    line-height: 1.5;
    color: #ffffff;
}


/* Consent field specific styling */

#fund-information-form-42 .gfield--consent {
    margin-top: 30px;
}

#fund-information-form-42 .gfield--consent .gfield_label span:not(.gfield_required) {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    word-wrap: break-word;
}


/* Submit Button */

#fund-information-form-42 .gform_footer {
    margin-top: 30px;
    text-align: center;
}

#fund-information-form-42 .gform_button,
#fund-information-form-42 input[type="submit"] {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    color: #1a2332;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

#fund-information-form-42 .gform_button:hover,
#fund-information-form-42 input[type="submit"]:hover {
    background-color: #ffffff;
    color: #1a2332;
}

#fund-information-form-42 .gform_button:disabled,
#fund-information-form-42 input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* Field Description */

#fund-information-form-42 .gfield_description {
    color: #cccccc;
    font-size: 14px;
    margin-top: 5px;
    line-height: 1.4;
}


/* Validation Errors */

#fund-information-form-42 .gfield_error input {
    border-color: #ff6b6b;
}

#fund-information-form-42 .validation_message {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}


/* Responsive */

@media (max-width: 1199px) {
    .fund-information-access__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Enable carousel below 1200px */
    .fund-information-access__grid--carousel {
        display: block !important;
    }
    .fund-cards-carousel {
        overflow: hidden;
        display: block !important;
    }
    .fund-cards-carousel__wrapper {
        display: flex !important;
    }
    .fund-cards-carousel__slide {
        width: 100%;
        flex-shrink: 0;
    }
    /* Show pagination below 1200px */
    .fund-cards-pagination {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 20px !important;
    }
    .fund-cards-pagination__dot {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 10px !important;
        height: 10px !important;
    }
    /* Show CTA card in carousel, hide desktop CTA section */
    .fund-card--cta {
        display: block !important;
    }
    .fund-information-access__cta--desktop {
        display: none !important;
    }
}


/* Horizontal aspect ratio for tablets (768px - 1199px) */

@media (min-width: 768px) and (max-width: 1199px) {
    .fund-card {
        aspect-ratio: 4 / 3;
        max-height: 560px;
    }
    .fund-card__title--cta {
        font-size: 46px;
    }
}

@media (max-width: 767px) {
    .fund-card__title--cta {
        font-size: 46px;
    }
    .fund-card {
        max-height: 560px;
    }
}

@media (max-width: 1600px) {
    .fund-information-access__title {
        font-size: 72px;
        line-height: 0.94;
    }
}

@media (max-width: 768px) {
    .fund-information-header h1 {
        font-size: 55px;
    }
    .fund-information-access__title {
        font-size: 55px;
    }
    .fund-information-access__subtitle {
        font-size: 12px;
        margin-bottom: 30px;
    }
    .fund-information-access__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }
    .fund-card {
        max-height: 560px;
    }
    .fund-card__content {
        padding: 25px 20px;
    }
    .fund-card__description {
        font-size: 13px;
    }
    .fund-information-access__cta-title {
        font-size: 36px;
        margin-bottom: 25px;
    }
    .fund-information-access__cta-button {
        padding: 15px 40px;
        font-size: 14px;
    }
    .fund-information-content {
        padding: 25px;
    }
    #fund-information-form-42 input[type="text"],
    #fund-information-form-42 input[type="email"] {
        font-size: 18px;
        padding: 10px 12px;
    }
}