/* start jumbotron */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .jumbotron {
        background-image: url('../img/home/jumbotron.png');
        background-size: cover;
        background-position: center;
        height: 90vh;
        display: flex;
        align-items: center;
        color: white;
        padding: 0 9%;
        position: relative;
        margin-top: 0;
        top: 0;
        opacity: 0;
        animation: fadeIn 1s ease-in forwards;
    }

    .jumbotron-content > * {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInElement 1s ease-out forwards;
    }

    .jumbotron-content .logo {
        animation-delay: 0.3s;
    }

    .jumbotron-content .main-title {
        animation-delay: 0.6s;
    }

    .jumbotron-content .event-date {
        animation-delay: 0.9s;
    }

    .jumbotron-content .contact-btn {
        animation-delay: 1.2s;
    }

    @keyframes fadeInElement {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .jumbotron-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        max-width: 50%;
    }

    .jumbotron-image {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        height: 100%;
    }

    .jumbotron-image img {
        max-height: 90%;
        max-width: 100%;
        object-fit: contain;
        margin-bottom: 0;
        animation: slideUpFade 1.2s ease-out forwards;
        opacity: 0;
        transform: translateY(50px);
    }

    @keyframes slideUpFade {
        0% {
            opacity: 0;
            transform: translateY(50px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .logo {
        max-width: 200px;
        margin-bottom: 30px;
    }

    .main-title {
        font-size: 42px;
        font-weight: 400;
        line-height: 80px;
        margin-bottom: 20px;
    }

    .main-title b {
        font-weight: 700;
    }

    .typing-container {
        position: relative;
        display: inline-block;
    }

    .typing-text {
        display: inline-block;
    }

    .cursor {
        display: inline-block;
        margin-left: 2px;
        width: 5px;
        height: 35px;
        background-color: white;
        animation: blink 0.7s infinite;
    }

    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0; }
    }

    .event-date {
        font-family: 'Titillium Web', sans-serif;
        font-size: 25px;
        font-weight: 900;
        line-height: 45px;
        color: #6C00F8;
        padding: 10px 6px;
        border-radius: 10px;
        display: inline-block;
        margin-bottom: 20px;

        text-shadow:
            -1px -1px 0 white,
            1px -1px 0 white,
            -1px 1px 0 white,
            1px 1px 0 white;
    }

    .contact-btn {
        background-color: white;
        color: #6C00F8;
        border: 2px solid white;
        border-radius: 25px;
        padding: 13px 30px;
        font-family: 'Titillium Web', sans-serif;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
        width: fit-content;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .contact-btn:hover {
        background-color: #6C00F8;
        color: white;
        transform: scale(1.05);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    @media (max-width: 1024px) {
        .jumbotron {
            flex-direction: column;
            justify-content: center;
            text-align: center;
            height: auto;
            min-height: 100vh;
        }

        .jumbotron-content {
            max-width: 100%;
            align-items: center;
            margin-bottom: 30px;
            padding-top: 80px;
        }

        .jumbotron-image {
            justify-content: center;
            align-items: center;
            margin-bottom: 0;
        }

        .jumbotron-image img {
            max-height: 50vh;
            max-width: 90%;
            margin-bottom: 0;
        }

        .main-title {
            font-size: 32px;
            line-height: 1.4;
        }

        .event-date {
            font-size: 20px;
        }
    }

    @media (max-width: 1200px) {
        .main-title {
            font-size: 48px;
            line-height: 60px;
        }

        .event-date {
            font-size: 30px;
            line-height: 37px;
        }
    }

    @media (max-width: 992px) {
        .main-title {
            font-size: 40px;
            line-height: 50px;
        }

        .event-date {
            font-size: 22px;
            line-height: 32px;
        }
    }

    @media (max-width: 768px) {
        .jumbotron {
            background-image: url('../img/home/jumbotron.png');
        }

        .jumbotron {
            padding: 0px;
        }

        .logo {
            max-width: 200px;
        }

        .main-title {
            font-size: 30px;
            line-height: 40px;
        }

        .event-date {
            font-size: 20px;
            line-height: 30px;
            padding: 5px 10px;
        }

        .contact-btn {
            padding: 10px 20px;
            font-size: 14px;
        }
    }

    @media (max-width: 767px) {
        .cursor {
            height: 20px;
        }
    }

    @media (max-width: 576px) {
        .jumbotron {
            background-image: url('../img/home/jumbotron.png');
            padding: 0px;
        }

        .jumbotron-content {
            padding-top: 100px;
        }

        .main-title {
            font-size: 28px;
            line-height: 34px;
        }

        .event-date {
            font-size: 16px;
            line-height: 24px;
            text-align: center;
        }

        .logo {
            max-width: 150px;
        }
    }
/* end jumbotron */

/* start topics section */
    .topics-section {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        position: relative;
        margin-top: 50px;
        margin-bottom: 50px;
        gap: 30px;
        overflow: hidden;
    }

    .topics-section h2,
    .topics-section h3 {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s ease;
    }

    .topics-section h2.visible,
    .topics-section h3.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .topics-section h2 {
        color: #6C00F8;
        font-family: 'Titillium Web', sans-serif;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .topics-section h3 {
        font-family: 'Titillium Web', sans-serif;
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .text-content {
        flex: 1;
        max-width: 50%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        opacity: 0;
        transform: translateX(-50px);
        transition: all 1s ease;
    }

    .text-content.visible {
        opacity: 1;
        transform: translateX(0);
    }

    .text-content p {
        margin: 0;
        text-align: left;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: 15px;
        padding: 23px 32px;
        width: 667px;
        max-width: 100%;
        box-sizing: border-box;
        font-family: 'Titillium Web', sans-serif;
        font-weight: 700;
        font-size: 1.1rem;
        position: relative;
        overflow: hidden;
        border: 1px solid transparent;
    }

    .text-content p::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: all 0.6s ease;
    }

    .text-content p:hover::before {
        left: 100%;
    }

    .text-content p:hover,
    .text-content p.active {
        background: linear-gradient(107.72deg, #6313B9 3.94%, #22032F 97.89%);
        color: white;
        transform: scale(1.02);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .image-content {
        flex: 1;
        max-width: 50%;
        text-align: right;
        padding: 0;
        position: relative;
        right: 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 1s ease;
    }

    .image-content.visible {
        opacity: 1;
        transform: translateX(0);
    }

    .image-content img {
        max-width: 100%;
        height: auto;
        margin: 0;
    }

    @media (max-width: 768px) {
        .topics-section {
            flex-direction: column;
            text-align: center;
            gap: 20px;
        }

        .topics-section h2 {
            font-size: 14px;
        }

        .topics-section h3 {
            font-size: 30px;
        }

        .text-content {
            max-width: 100%;
            padding: 10px;
            text-align: center;
            order: 2;
        }

        .text-content p {
            width: 100%;
            padding: 15px 20px;
            text-align: center;
        }

        .image-content {
            max-width: 100%;
            text-align: center;
            padding: 10px;
            position: static;
            order: 1;
        }

        .image-content img {
            margin: 0 auto;
        }

        .image-content .responsive-img {
            content: url('../img/home/topics_asset_mobile.png');
        }
    }
/* end topics section */

/* start program section */
    .program-section {
        background-image: url('../img/home/mission_asset.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        padding: 80px 0;
        color: white;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .program-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

    .program-section .container {
        position: relative;
        z-index: 2;
    }

    .program-subtitle {
        font-family: 'Titillium Web', sans-serif;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .program-title {
        font-family: 'Titillium Web', sans-serif;
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 50px;
    }

    .program-card {
        background-color: white;
        border-radius: 10px;
        display: flex;
        align-items: center;
        margin-bottom: 30px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .program-card-image {
        width: 250px;
        height: 250px;
        object-fit: cover;
        padding: 2px;
        border-radius: 10px;
    }

    .program-card-content {
        padding: 20px;
        text-align: left;
    }

    .program-card-title {
        font-family: 'Titillium Web', sans-serif;
        font-size: 24px;
        font-weight: 600;
        color: #6C00F8;
        margin-bottom: 15px;
    }

    .program-card-description {
        font-family: 'Titillium Web', sans-serif;
        font-size: 16px;
        color: #333;
    }

    .program-card {
        transition: all 0.3s ease;
    }

    .program-card:hover {
        background-color: #6C00F8;
        transform: scale(1.05) translateY(-15px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .program-card:hover .program-card-title {
        color: white;
    }

    .program-card:hover .program-card-description {
        color: rgba(255,255,255,0.9);
    }

    @media (max-width: 1200px) {
        .program-card {
            margin-bottom: 20px;
        }

        .program-card-image {
            width: 200px;
            height: 200px;
            padding: 2px;
            border-radius: 10px;
        }
    }

    @media (max-width: 992px) {
        .program-section {
            padding: 40px 0;
        }

        .program-title {
            font-size: 30px;
            margin-bottom: 30px;
        }

        .program-card {
            flex-direction: column;
            margin-bottom: 20px;
        }

        .program-card-image {
            width: 100%;
            height: 250px;
            padding: 2px;
            border-radius: 10px;
        }

        .program-card-content {
            padding: 15px;
            text-align: center;
        }

        .program-card-title {
            font-size: 20px;
        }

        .program-card-description {
            font-size: 14px;
        }
    }

    @media (max-width: 768px) {
        .program-section {
            padding: 40px 0;
        }

        .program-subtitle {
            font-size: 14px;
        }

        .program-title {
            font-size: 30px;
            margin-bottom: 30px;
        }

        .program-card {
            flex-direction: column;
            margin-bottom: 20px;
        }

        .program-card-image {
            width: 100%;
            height: 250px;
            padding: 2px;
            border-radius: 10px;
        }

        .program-card-content {
            padding: 15px;
            text-align: center;
        }

        .program-card-title {
            font-size: 20px;
        }

        .program-card-description {
            font-size: 14px;
        }
    }

    @media (max-width: 576px) {
        .program-card:hover {
            transform: none;
        }
    }

    @media (max-width: 576px) {
        .desktop-cards {
            display: none;
        }

        .mobile-carousel {
            display: block;
        }

        /* Custom dot indicators */
        .mobile-carousel .carousel-indicators {
            bottom: -40px;
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .mobile-carousel .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: white;
            margin: 0;
            border: none;
            opacity: 1;
        }

        .mobile-carousel .carousel-indicators button.active {
            background-color: #6C00F8;
        }

        /* transition */
        .mobile-carousel .carousel-item {
            transition: transform 0.4s ease-out, opacity 0.4s ease-out;
            opacity: 0;
            transform: scale(0.95);
        }

        .mobile-carousel .carousel-item.active {
            opacity: 1;
            transform: scale(1);
        }

        .mobile-carousel .carousel-item-next,
        .mobile-carousel .carousel-item-prev {
            opacity: 0;
            transform: scale(0.95);
            position: absolute;
        }
    }

    @media (min-width: 768px) {
        .mobile-carousel {
            display: none !important;
        }
    }

    @media (max-width: 576px) {
        .program-title {
            font-size: 30px;
        }

        .program-card-title {
            font-size: 18px;
        }

        .program-card-description {
            font-size: 13px;
        }
    }
/* end program section */

/* start exhibit section */
    .exhibit-section {
        max-width: 1200px;
        margin: 0 auto;
        padding: 50px 15px;
    }

    .exhibit-section h3 {
        text-align: center;
        font-size: 36px;
        margin-bottom: 50px;
        font-weight: 700;
        font-family: 'Titillium Web', sans-serif;
    }

    .card-exhibit {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding-top: 25px;
    }

    .exhibit-card {
        background-color: white;
        border-radius: 20px;
        border: 1px solid #e0e0e0d6;
        width: calc(33.33% - 20px);
        display: flex;
        flex-direction: column;
        position: relative;
        padding: 40px 20px 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        transition: all 0.3s ease;
        margin-bottom: 30px;
    }

    .exhibit-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        border-color: #8A4FFF;
    }

    .exhibit-card-icon {
        width: 70px;
        height: 70px;
        position: absolute;
        top: -35px;
        left: 20px;
        background-color: white;
        padding: 5px;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .exhibit-card-content {
        flex-grow: 1;
    }

    .exhibit-card-content h3 {
        text-align: left;
        font-size: 22px;
        margin-top: 20px;
        margin-bottom: 10px;
        font-family: 'Titillium Web', sans-serif;
    }

    .exhibit-card-content p {
        color: #666;
        text-align: left;
        font-family: 'Titillium Web', sans-serif;
    }

    .exhibit-card {
        opacity: 0;
        transform: translateY(50px);
    }

    @media (max-width: 1024px) and (min-width: 769px) {
        .exhibit-card {
            width: calc(50% - 20px);
        }
    }

    @media (max-width: 768px) {
        .exhibit-card {
            width: 100%;
        }
    }

    @media (max-width: 768px) {
        .exhibit-section h3 {
            font-size: 30px;
        }

        .exhibit-card-content h3 {
            font-size: 20px;
        }
    }
/* end exhibit section */
