@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Quicksand:wght@300..700&family=Teachers:ital,wght@0,400..800;1,400..800&display=swap");

.events-page {
    background-color: #F8F8FC;
}

.events-hero {
    position: relative;
    background-color: #3D348B;
    background-image: url("../../../images/marketing-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 20px;
}

.events-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 52, 139, 0.97);
    z-index: 1;
}

.events-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin-top: 80px;
}
.events-hero-badge{
    background-color: #FFFFFF2E;
    padding: 12px 16px;
    font-family: 'Quicksand';
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    color: #FFFFFF;
    border-radius: 100px;
}

.events-hero h1 {
    margin-top: 34px;
    font-family: "Teachers", sans-serif;
    font-size: 82px;
    font-weight: 800;
    line-height: 82px;
    color: #ffffff;
    margin-bottom: 34px;
}

.events-hero h1 span {
    font-weight: 500 !important;
}

.events-hero p {
    font-family: "Quicksand", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 26px;
}
.pd-tab {
    font-family: "Quicksand", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    padding: 18px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    background-color: #F8F8FC;
    color: #1B1B1B99;
    transition: all 0.3s ease;
    border: 2px solid #F8F8FC;
}

.pd-tabs {
    display: flex;
    height: 84px;
    justify-content: center;
    gap: 12px;
    margin-top: -40px;
    background: #FFFFFF;
    border-radius: 200px;
    padding: 10px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #E7E6F5;
    z-index: 1;
}
.pd-tab.active {
    background: #413894;
    color: #FFFFFF;
    border: 2px solid #473EA3;
}

.events-container {
    max-width: 1240px;
    width: 100%;
    margin: 60px auto 100px;
    position: relative;
    z-index: 10;
}

.events-tab-content {
    display: none;
    flex-direction: column;
    gap: 32px;
}

.events-tab-content.active {
    display: flex;
}

.event-card-row {
    max-width: 1240px;
    width: 100%;
    display: flex;
    flex-direction: row;
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #EAE9F7;
    margin-bottom: 24px;
}

.event-card-image {
    width: 505px;
    /* height: 379px; */
    position: relative;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-details {
    width: 735px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-badge {
    align-self: flex-start;
    padding: 6px 14px;
    background-color: #F8F8FC;
    color: #3D3B8E;
    border-radius: 20px;
    font-size: 12px;
    line-height: 15px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 20px;
    border: 1px solid #EAEAF6;
}

.event-title {
    font-family: 'Teachers', sans-serif;
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    color: #3D3B8E;
    margin: 0 0 13.5px 0;
    letter-spacing: -0.53px;
}

.event-desc {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #6A7282;
    margin: 0 0 14px 0;
}

.event-info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.info-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #F1F0F9;
    color: #3D3B8E;
    padding: 9px 12px;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
}

.info-pill svg {
    width: 14px;
    height: 14px;
    stroke: #3D3B8E;
}

.date-pill {
    background-color: #F1F0F9;
    margin-bottom: 20px;
    display: inline-flex;
}

.event-action .btn-register {
    display: inline-block;
    width: 160px;
    height: 52px;
    align-self: flex-start;
    background-color: #3D3B8E;
    border: 1.5px solid #2D2B68;
    color: #FFFFFF;
    /* padding: 18px 32px; */
    border-radius: 16px;
    font-family: 'Teachers', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    /* transition: background-color 0.3s ease; */
}

.event-action .btn-register:hover {
    /* background-color: #2a254a; */
}

.has-play {
    position: relative;
}
.event-action{
    display: flex;
    gap: 18px;
    align-items: center;
}
.event-action a{
    text-decoration: none;
}

.btn-download-brochure1{
    /* padding: 9px 32px; */
    width: 234px;
    height: 52px;
    background-color: #FFFFFF;
    color: #3D3B8E;
    border-radius: 16px;
    font-family: 'Teachers', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    gap: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #2D2B68;
    display: flex;
    justify-content: center;
    align-items: center;
}
.icon-text-container{
    display: flex;
    align-items: center;
    /* gap: 12px; */
}
.btn-download-brochure1 img{
    width: 16px;
    height: 16px;
    object-fit: contain;
}
.btn-download-brochure-span{
    display: flex;
    margin-left: 12px;
}
.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 121px;
    height: 121px;
}

.play-btn-overlay:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) scale(1.05);
}

.event-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #4A4A68;
    background: #F8F8FC;
    padding: 12px 16px;
    border-radius: 8px;
    line-height: 1.4;
}

.check-icon svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.more-info-toggle {
    display: none;
}

@media screen and (max-width: 991px) {
    .event-card-row {
        flex-direction: column;
    }
    
    .event-card-image {
        width: 100%;
        height: 250px;
    }
    
    .event-card-details {
        width: 100%;
        padding: 20px 24px;
        text-align: center;
    }
    
    .event-checklist {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {


    .event-card-details {
        width: 100%;
        padding: 20px 24px;
        text-align: center;
    }

    .event-badge{
        margin: 0 auto 16px auto;
    }
    .checklist-item{
        text-align: left;
    }


    .play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
}




.btn-download-brochure1{
    width: 138px;
    height: 52px;
}

.btn-download-brochure-span{
    display: none;
}

    
.pd-tabs{
    width: 296px;
    height: 57px;
    padding: 4px;
}
.pd-tab{
    /* width: 146px;
    height: 48px; */
}

.date-pill {
    background-color: #F1F0F9;
    margin-bottom: 20px;
    display: flex;
}

.pd-tab{
    font-size: 16px;
    line-height: 16px;
    padding:10px;
}

.event-card-row{
    max-width: 346px;
    border-radius: 32px;
    margin: 0 auto;
}


    .events-hero {
        min-height: 500px;
    }

    .events-hero h1 {
        font-size: 38px;
        line-height: 46px;
    }

    .events-hero p {
        font-size: 16px;
        line-height: 24px;
    }

    .events-container {
        margin-top: 20px;
    }

    .mobile-more-info-container {
        display: none;
    }
    .mobile-more-info-container.open {
        display: block;
    }
    .more-info-toggle {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
        background: transparent;
        border: none;
        border-top: 1px solid #EAE9F7;
        padding-top: 16px;
        margin-top: 16px;
        color: #3D348B;
        font-family: 'Quicksand', sans-serif;
        font-weight: 700;
        font-size: 16px;
        cursor: pointer;
    }
    .more-info-toggle .more-info-arrow {
        transition: transform 0.3s ease;
    }
    .more-info-toggle.open .more-info-arrow {
        transform: rotate(180deg);
    }
}