p.more-info-highlighted,
p.more-info-highlighted a {
    color: #9a1ab4;
    font-weight: bold;
}

/* Fade-in animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to sections when they enter viewport */
.more-info-section > div {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

/* Stagger animations for sequential sections */
.more-info-section > div:nth-child(1) { animation-delay: 0s; }
.more-info-section > div:nth-child(2) { animation-delay: 0.1s; }
.more-info-section > div:nth-child(3) { animation-delay: 0.2s; }
.more-info-section > div:nth-child(4) { animation-delay: 0.3s; }
.more-info-section > div:nth-child(5) { animation-delay: 0.4s; }
.more-info-section > div:nth-child(6) { animation-delay: 0.5s; }
.more-info-section > div:nth-child(7) { animation-delay: 0.6s; }
.more-info-section > div:nth-child(8) { animation-delay: 0.7s; }
.more-info-section > div:nth-child(9) { animation-delay: 0.8s; }
.more-info-section > div:nth-child(10) { animation-delay: 0.9s; }
.more-info-section > div:nth-child(11) { animation-delay: 1s; }
.more-info-section > div:nth-child(12) { animation-delay: 1.1s; }
.more-info-section > div:nth-child(13) { animation-delay: 1.2s; }

.img-responsive_full {
    width: 100%;
    max-height: 400px;
    max-width: 400px;
    /* Adjust this value as needed */
    height: auto;
}

.img-responsive {
    width: 100%;
    max-height: 250px;
    max-width: 300px;
    /* Adjust this value as needed */
    height: auto;
}

.img-responsive_small {
    width: 100%;
    max-height: 200px;
    max-width: 200px;
    /* Adjust this value as needed */
    height: auto;
}

.img-responsive_very_small {
    width: 100%;
    max-height: 150px;
    max-width: 200px;
    /* Adjust this value as needed */
    height: auto;
}

.red {
    color: #ff3131;
}

.black {
    color: black;
}

.blue {
    color: #000085;
}

.grey {
    color: #737373;
}

.yellow {
    color: #ffbd59;
}

/* Prevent horizontal overflow on mobile */
.more-info-section {
    overflow-x: hidden;
    max-width: 100vw;
}

@media (min-width: 768px) {
    .more-info-section {
        /* transform: scale(1.1); */
        transform-origin: center top;
        overflow-x: hidden;
        max-width: 100vw;
    }

    .more-info-section .subsection {
        /* transform: scale(0.9); */
    }

    .more-info-section .subsection_2 {
        /* transform: scale(0.9); */
        margin: 0px auto;
    }

    /* Equal height columns on medium+ screens - ONLY in more-info-section */
    .more-info-section .row {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
}

/* Make the .about-text in each subsection fill the column - ONLY in more-info-section */
.more-info-section .subsection {
    overflow-x: hidden;
    max-width: 100%;
}

.more-info-section .subsection .about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.more-info-section .subsection img {
    margin: 0 auto;
    object-position: top center;
    width: auto;
    object-fit: cover;
    max-width: 100%;
}

.more-info-section .subsection_2 {
    overflow-x: hidden;
    max-width: 100%;
}

.more-info-section .subsection_2 .about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.more-info-section .subsection_2 img {
    margin: 0 auto;
    object-position: top center;
    width: auto;
    object-fit: cover;
    max-width: 100%;
}

.images-wrapper img {
    margin: 0 auto;
    object-position: top center;
    max-height: 180px;
    width: auto;
    object-fit: cover;
}

/* New classes for horizontally aligned sections - ONLY in more-info-section */
.more-info-section .subsection-aligned {
    /* transform: scale(0.9); */
    overflow-x: hidden;
    max-width: 100%;
}

.more-info-section .subsection-aligned .about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.more-info-section .subsection-aligned-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    max-width: 100%;
}

.more-info-section .subsection-aligned-image img {
    max-width: 100%;
}

.more-info-section .row-aligned {
    overflow-x: hidden;
    max-width: 100%;
}

@media (min-width: 768px) {
    .more-info-section .subsection-aligned {
        display: flex;
        flex-direction: column;
    }
    
    .more-info-section .row-aligned {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
}