.oes-event-section {
    --oes-primary: #0768b2;
    --oes-primary-dark: #03477f;
    --oes-secondary: #00a4b4;
    --oes-heading: #132f49;
    --oes-text: #526779;
    --oes-light: #f3f9fd;
    --oes-gold: #ffb82e;

    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 6% 15%,
            rgba(0, 164, 180, 0.12),
            transparent 24%
        ),
        radial-gradient(
            circle at 94% 85%,
            rgba(7, 104, 178, 0.12),
            transparent 27%
        ),
        #f5f9fc;
}

.oes-event-section *,
.oes-event-section *::before,
.oes-event-section *::after {
    box-sizing: border-box;
}

.oes-event-section::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 5%;
    width: 90px;
    height: 90px;
    border: 17px solid rgba(7, 104, 178, 0.055);
    border-radius: 50%;
}

.oes-event-section::after {
    content: "";
    position: absolute;
    right: 4%;
    bottom: 30px;
    width: 125px;
    height: 125px;
    opacity: 0.75;
    background-image: radial-gradient(
        rgba(7, 104, 178, 0.2) 1.5px,
        transparent 1.5px
    );
    background-size: 14px 14px;
}

.oes-event-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
}

/* Main Event Card */

.oes-event-card {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(340px, 0.8fr);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 69, 113, 0.08);
    border-radius: 28px;
    box-shadow: 0 28px 75px rgba(25, 69, 105, 0.14);
}

/* Main Content */

.oes-event-main {
    padding: 50px;
}

.oes-event-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 25px;
    padding: 10px 18px;
    color: var(--oes-primary);
    background: #eaf5ff;
    border: 1px solid #d3e9fa;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.oes-event-badge i {
    font-size: 14px;
}

/* Main Description */

.oes-event-description {
    position: relative;
    padding: 25px 27px;
    overflow: hidden;
    background: linear-gradient(135deg, #f4faff, #ffffff);
    border: 1px solid #dfeefa;
    border-left: 4px solid var(--oes-primary);
    border-radius: 17px;
}

.oes-event-description::after {
    content: "";
    position: absolute;
    top: -55px;
    right: -55px;
    width: 130px;
    height: 130px;
    background: rgba(7, 104, 178, 0.04);
    border-radius: 50%;
}

.oes-event-description p,
.oes-opportunity-box p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--oes-text);
    font-size: 16px;
    line-height: 1.85;
}

.oes-event-description strong,
.oes-opportunity-box strong {
    color: var(--oes-heading);
    font-weight: 750;
}

/* Event Details */

.oes-event-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin: 25px 0;
}

.oes-detail-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 15px;
    background: var(--oes-light);
    border: 1px solid #e0edf6;
    border-radius: 15px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.oes-detail-card:hover {
    background: #ffffff;
    border-color: #b7d9ef;
    box-shadow: 0 12px 28px rgba(7, 104, 178, 0.1);
    transform: translateY(-4px);
}

.oes-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(--oes-primary),
        var(--oes-secondary)
    );
    border-radius: 12px;
    box-shadow: 0 8px 17px rgba(7, 104, 178, 0.2);
}

.oes-detail-content {
    min-width: 0;
}

.oes-detail-content span {
    display: block;
    margin-bottom: 4px;
    color: #7a8997;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
    line-height: 1.3;
    text-transform: uppercase;
}

.oes-detail-content strong {
    display: block;
    color: var(--oes-heading);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

/* Opportunity Box */

.oes-opportunity-box {
    padding: 23px 25px;
    background: linear-gradient(135deg, #fbfdff, #f3f9fd);
    border: 1px solid #dfebf4;
    border-radius: 17px;
}

/* Redesigned University Section */

.oes-university-box {
    position: relative;
    margin-top: 25px;
    padding: 25px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--oes-primary-dark) 0%,
        var(--oes-primary) 62%,
        #0788b5 100%
    );
    border-radius: 20px;
    box-shadow: 0 17px 35px rgba(4, 71, 127, 0.2);
}

.oes-university-box::before {
    content: "";
    position: absolute;
    top: -75px;
    right: -65px;
    width: 190px;
    height: 190px;
    border: 35px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.oes-university-box::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 30%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 50%;
}

.oes-university-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.oes-university-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    color: var(--oes-primary-dark);
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 9px 20px rgba(2, 43, 78, 0.2);
    font-size: 22px;
}

.oes-university-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
}

/* Ranking Cards */

.oes-ranking-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
}

.oes-ranking-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.oes-ranking-card:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-3px);
}

.oes-ranking-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    color: #7a4a00;
    background: linear-gradient(135deg, #ffe18a, var(--oes-gold));
    border-radius: 13px;
    box-shadow: 0 8px 17px rgba(25, 45, 65, 0.18);
    font-size: 18px;
}

.oes-ranking-card-content {
    min-width: 0;
}

.oes-ranking-card-content strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 850;
    line-height: 1;
}

.oes-ranking-card-content span {
    display: block;
    color: rgba(255, 255, 255, 0.83);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
}

/* Contact Section */

.oes-contact-box {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 48px 36px;
    color: #ffffff;
    background: linear-gradient(
        155deg,
        #043f78 0%,
        #0768b2 57%,
        #008f9c 100%
    );
}

.oes-contact-box::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.11;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.14) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.14) 1px,
            transparent 1px
        );
    background-size: 28px 28px;
}

.oes-decoration {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

.oes-decoration-one {
    top: -95px;
    right: -85px;
    width: 260px;
    height: 260px;
}

.oes-decoration-two {
    right: -45px;
    bottom: -85px;
    width: 180px;
    height: 180px;
}

.oes-contact-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.oes-contact-heading {
    margin: 0 0 27px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.8;
}

.oes-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.oes-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.oes-contact-item:hover {
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.17);
    border-color: rgba(255, 255, 255, 0.27);
    transform: translateX(5px);
}

.oes-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    flex: 0 0 41px;
    color: var(--oes-primary-dark);
    background: #ffffff;
    border-radius: 12px;
    font-size: 14px;
}

.oes-contact-value {
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
    color: #ffffff;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.4;
}

.oes-arrow {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.oes-contact-item:hover .oes-arrow {
    transform: translateX(3px);
}

/* Contact Note */

.oes-contact-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 26px;
    padding: 18px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.7;
}

.oes-contact-note i {
    margin-top: 4px;
    color: #8cf2c4;
    font-size: 17px;
}

/* Responsive */

@media (max-width: 1100px) {
    .oes-event-main {
        padding: 40px;
    }

    .oes-event-card {
        grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    }

    .oes-event-details {
        grid-template-columns: 1fr;
    }

    .oes-detail-card {
        min-height: 76px;
    }
}

@media (max-width: 991px) {
    .oes-event-section {
        padding: 60px 0;
    }

    .oes-event-card {
        grid-template-columns: 1fr;
        max-width: 760px;
        margin: 0 auto;
    }

    .oes-event-details {
        grid-template-columns: repeat(3, 1fr);
    }

    .oes-contact-box {
        min-height: auto;
        padding: 45px;
    }
}

@media (max-width: 767px) {
    .oes-event-section {
        padding: 40px 0;
    }

    .oes-event-section .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .oes-event-card {
        border-radius: 21px;
    }

    .oes-event-main,
    .oes-contact-box {
        padding: 30px 21px;
    }

    .oes-event-badge {
        align-items: flex-start;
        margin-bottom: 20px;
        padding: 9px 14px;
        font-size: 12px;
    }

    .oes-event-badge i {
        margin-top: 2px;
    }

    .oes-event-description,
    .oes-opportunity-box {
        padding: 20px;
    }

    .oes-event-description p,
    .oes-opportunity-box p {
        font-size: 15px;
        line-height: 1.8;
    }

    .oes-event-details {
        grid-template-columns: 1fr;
    }

    .oes-detail-card {
        min-height: 76px;
    }

    .oes-ranking-grid {
        grid-template-columns: 1fr;
    }

    .oes-contact-heading {
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .oes-university-box {
        padding: 20px;
    }

    .oes-university-header {
        align-items: flex-start;
    }

    .oes-university-icon {
        width: 49px;
        height: 49px;
        flex-basis: 49px;
        font-size: 19px;
    }

    .oes-university-header h3 {
        font-size: 19px;
    }

    .oes-ranking-card {
        padding: 14px;
    }

    .oes-ranking-card-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 16px;
    }

    .oes-ranking-card-content strong {
        font-size: 21px;
    }

    .oes-contact-value {
        font-size: 13px;
    }
}