:root {
    --expo-purple: rgba(51, 17, 44, 1);
    --expo-beige: rgba(253, 224, 193, 1);
    --expo-white: rgba(255, 255, 255, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    display: block;
    min-height: 100vh;
    height: auto;
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    color: var(--expo-purple);
    background: var(--expo-white);
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.expo-page {
    width: 100%;
    max-width: 100%;
    min-width: 320px;
    margin: 0 auto;
    overflow: visible;
    background: var(--expo-white);
}

.expo-container {
    width: calc(100% - 32px);
    max-width: 1060px;
}

.expo-header {
    height: 56px;
    background: var(--expo-purple);
}

.header-logo {
    display: block;
    width: 58px;
    height: auto;
}

.hero-section,
.advertising-section,
.expo-footer {
    background: var(--expo-purple);
}

.hero-section {
    min-height: 394px;
    /*padding: 28px 0 38px;*/
}

.hero-title {
    font-family: "Alexandria", "Cairo", sans-serif;
    color: var(--expo-white);
    font-size: clamp(24px, 4vw, 35px);
    font-weight: 700;
    line-height: 1.45;
}

.hero-subtitle {
    font-family: "Alexandria", "Cairo", sans-serif;
    color: var(--expo-white);
    font-size: clamp(20px, 3.6vw, 31px);
    font-weight: 700;
}

.hero-card {
    width: min(100%, 870px);
    height: 250px;
    border: 8px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    box-shadow: 0 0 0 2px rgba(253, 224, 193, .06);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

.hero-shade {
    background: rgba(51, 17, 44, .68);
}

.hero-content {
    padding: 16px 28px;
    color: var(--expo-white);
}

.event-date,
.event-promise {
    font-family: "Alexandria", "Cairo", sans-serif;
    font-size: clamp(16px, 2.5vw, 23px);
    font-weight: 700;
    line-height: 1.3;
}

.event-list {
    font-family: "Alexandria", "Cairo", sans-serif;
    max-width: 650px;
    font-size: clamp(10px, 1.8vw, 14px);
    text-align: start;
}

.event-list p {
    margin: 0;
    white-space: nowrap;
        text-align: start;

}

@media (min-width: 768px) {
    .expo-container {
        width: calc(100% - 64px);
        max-width: 1428px;
    }

    .expo-header {
        height: 100px;
    }

    .header-logo {
        width: 156px;
    }

    .hero-section {
        min-height: 775px;
        padding: 50px 0 70px;
    }

    .hero-title {
        margin: 0 !important;
        font-size: 48px;
        font-weight: 600;
        line-height: 1.6;
        letter-spacing: 0;
        text-align: center;
    }

    .hero-subtitle {
        margin: 12px 0 40px !important;
        font-size: 32px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 0;
        text-align: center;
    }

    .hero-card {
        width: min(100%, 1428px);
        height: 394px;
        border-width: 10px;
        border-radius: 38px;
    }

    .hero-content {
        padding: 35px 70px;
        top: 53% !important;
    }

    .event-date,
    .event-promise {
        font-size: 32px;
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: 0;
        text-align: center;
    }

    .event-promise {
        margin-bottom: 63px !important;
    }

    .event-list {
        max-width: 606px;
        font-size: 18px;
        font-weight: 600;
        line-height: 2;
        letter-spacing: 0;
        text-align: center;
        row-gap: 28px;
    }

    .event-list p {
        line-height: 2;
        text-align: center;
    }

    .event-list i {
        margin-left: 12px;
    }

    .hero-section .expo-btn-light {
        width: 393px;
        height: 50px;
        margin-top: 50px !important;
        border-radius: 8px;
        font-size: 20px;
        line-height: 1;
    }

}

.event-list i {
    margin-left: 6px;
    color: var(--expo-beige);
    font-size: .68em;
}

@media (min-width: 768px) {
    .event-list i {
        display: inline-block;
        margin-left: 12px;
        color: #FDE0C1;
        font-size: 20px;
        line-height: 1;
        vertical-align: middle;
    }

    .event-list {
        text-align: start;
    }

    .event-list .col-6 {
        display: flex;
        justify-content: flex-start;
    }

    .event-list p {
        width: 100%;
        text-align: start;
    }
}

.expo-btn {
    width: min(178px, 52vw);
    height: 34px;
    padding: 5px 18px;
    border: 0;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    line-height: 24px;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.expo-btn:hover,
.expo-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.expo-btn-light {
    color: var(--expo-purple);
    background: var(--expo-beige);
}

.expo-btn-primary {
    color: var(--expo-white);
    background: var(--expo-purple);
}

.registration-section {
    padding: 26px 0 45px;
    background: rgba(51, 17, 44, .05);
}

.section-title {
    margin: 0 0 18px;
    color: var(--expo-purple);
    font-size: clamp(27px, 4vw, 38px);
    font-weight: 700;
}

.registration-frame {
    width: min(100%, 870px);
    min-height: 318px;
    padding: 26px clamp(24px, 8vw, 84px) 24px;
    border: 9px solid rgba(107, 33, 88, .28);
    border-radius: 20px;
    background: var(--expo-white);
}

.registration-copy {
    margin-inline-start: auto;
    text-align: right !important;
}

.registration-copy span {
    font-size: 15px;
    font-weight: 600;
}

.registration-copy h3 {
    margin: 4px 0 0;
    font-size: clamp(23px, 3.6vw, 34px);
    font-weight: 700;
}

.expo-control,
.expo-phone .input-group-text {
    height: 42px;
    border: 0;
    border-bottom: 1px solid rgba(51, 17, 44, .26);
    border-radius: 0 !important;
    background-color: transparent;
    color: var(--expo-purple);
    font-size: 13px;
    box-shadow: none !important;
}

.expo-control {
    padding: 9px 10px;
}

.expo-control::placeholder,
.expo-control:invalid,
.expo-phone .input-group-text {
    color: rgba(51, 17, 44, .36);
}

.expo-control:focus {
    border-bottom-color: var(--expo-purple);
    background-color: transparent;
}

.expo-phone .input-group-text {
    padding-inline: 9px;
}

/* Keep the Arabic contact labels anchored to the same right edge as the rest of the form. */
.expo-phone .expo-control,
#email {
    direction: rtl !important;
    text-align: right !important;
}

.was-validated .expo-control:invalid {
    border-bottom-color: #b42318;
}

.registration-message {
    width: min(100%, 870px);
    min-height: 26px;
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.registration-message.is-success {
    color: #287a3d;
}

.registration-message.is-error {
    color: #b42318;
}

.registration-section .expo-btn-primary {
    margin-top: 2px;
}

@media (min-width: 768px) {
    .registration-frame,
    .registration-message {
        width: min(100%, 1152px);
    }

    .registration-frame {
        min-height: 671px;
        padding: 58px 136px 54px;
        border-width: 11px;
        border-radius: 30px;
    }

    .registration-section {
        padding: 52px 0 70px;
    }

    .registration-section .section-title {
        margin-bottom: 28px;
        font-size: 48px;
    }

    .registration-copy span {
        font-size: 20px;
    }

    .registration-copy h3 {
        margin-top: 8px;
        font-size: 44px;
    }

    .expo-control,
    .expo-phone .input-group-text {
        height: 62px;
        font-size: 18px;
    }

    .registration-section .expo-btn-primary {
        width: 318px;
        height: 50px;
        margin-top: 28px;
        font-size: 20px;
        line-height: 1;
    }
}

.map-section {
    padding-top: 5px;
    background: rgba(51, 17, 44, .05);
}

.map-section .section-title {
    margin: 0;
    padding: 0 16px 28px;
}

.map-image {
    width: min(100%, 1428px) !important;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    background: var(--expo-white);
}

.advertising-section {
    min-height: 264px;
    padding: 38px 16px;
}

.advertising-card {
    width: min(100%, 870px);
    min-height: 188px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .11);
}

.advertising-card p {
    color: var(--expo-white);
    font-size: clamp(23px, 4vw, 35px);
    font-weight: 700;
    line-height: 1.5;
}

.sponsors-section {
    width: 100%;
    min-height: 168px;
    padding: 22px 16px;
}

.sponsor-list {
    width: min(100%, 540px);
    gap: 9px;
}

.sponsor-content {
    width: min(100%, 540px);
}

.sponsor-pagination {
    margin-top: 16px;
    color: var(--expo-purple);
    font-size: 12px;
    letter-spacing: 5px;
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    flex: 0 1 100px;
    overflow: hidden;
    border: 1px solid rgba(51, 17, 44, .45);
    border-radius: 50%;
    background: var(--expo-white);
    padding: 0;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sponsor-logo:hover,
.sponsor-logo:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(51, 17, 44, .18);
    outline: 0;
}

.sponsor-logo img {
    display: block;
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.sponsor-alirio img {
    width: 140%;
    height: 140%;
}

.sponsor-cosmix img {
    width: 88%;
}

.sponsor-go img,
.sponsor-neom img {
    width: 74%;
    height: 74%;
}

@media (min-width: 768px) {
    .advertising-section {
        min-height: 677px;
        padding: 98px 16px 91px;
    }

    .advertising-card {
        width: min(100%, 1374px);
        min-height: 488px;
        border-radius: 36px;
    }

    .advertising-card p {
        font-family: "Alexandria", "Cairo", sans-serif;
        font-size: 56px;
        font-weight: 600;
        line-height: 1.4;
    }

    .sponsors-section {
        min-height: 433px;
        padding: 72px 16px 49px;
    }

    .sponsor-content,
    .sponsor-list {
        width: min(100%, 1374px);
    }

    .sponsor-list {
        gap: 36px;
    }

    .sponsor-logo {
        width: 244px;
        height: 244px;
        flex: 0 0 244px;
    }

.sponsor-pagination {
        margin-top: 25px;
        font-size: 17px;
        letter-spacing: 8px;
    }
}

.sponsor-modal .modal-dialog {
    width: min(calc(100% - 52px), 520px);
    margin: 1.75rem auto;
    transform: translateY(-22px);
}

.sponsor-modal-backdrop {
    position: fixed;
    z-index: 1050;
    inset: 0;
    display: none;
    background: rgba(26, 19, 25, .76);
}

.sponsor-modal-backdrop.show {
    display: block;
}

.sponsor-modal.show {
    z-index: 1055;
    overflow-x: hidden;
    overflow-y: auto;
}

.sponsor-modal.show .modal-dialog {
    transform: translateY(-22px);
}

body.sponsor-modal-open {
    overflow: hidden;
}

.sponsor-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 36px;
    background: var(--expo-white);
}

.sponsor-modal .modal-body {
    padding: 28px 20px 30px;
}

.sponsor-modal-logo-wrap {
    width: min(100%, 220px);
    height: 105px;
    margin: 0 auto;
    overflow: hidden;
}

.sponsor-modal-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sponsor-modal-logo-wrap.sponsor-alirio .sponsor-modal-logo {
    transform: scale(2.25);
}

.sponsor-modal-description {
    min-height: 0;
    margin: 0 0 22px;
    padding: 16px 20px;
    border-radius: 30px;
    color: var(--expo-white);
    background: var(--expo-purple);
    font-family: "Alexandria", "Cairo", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
}

.sponsor-modal-home {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 166px;
    height: 34px;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
    border-radius: 8px;
    color: var(--expo-white);
    background: var(--expo-purple);
    font-size: 13px;
    font-weight: 600;
    line-height: 34px;
}

.sponsor-modal-home:hover,
.sponsor-modal-home:focus-visible {
    color: var(--expo-white);
    background: var(--expo-purple);
}

.expo-success-backdrop {
    position: fixed;
    z-index: 1060;
    inset: 0;
    display: none;
    background: rgba(26, 19, 25, .76);
}

.expo-success-backdrop.show {
    display: block;
}

.expo-success-modal {
    position: fixed;
    z-index: 1065;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.expo-success-modal.show {
    display: flex;
}

body.expo-success-open {
    overflow: hidden;
}

.expo-success-card {
    width: min(100%, 410px);
    border-radius: 30px;
    background: var(--expo-white);
    padding: 28px 28px 22px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
}

.expo-success-icon {
    position: relative;
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    color: #08b887;
    font-size: 74px;
    line-height: 1;
}

.expo-success-icon .fa-check {
    position: absolute;
    top: 22px;
    right: 19px;
    color: var(--expo-white);
    font-size: 31px !important;
}

.expo-success-icon .fa-certificate {
    font-size: inherit !important;
}

.expo-success-divider {
    height: 1px;
    margin-bottom: 18px;
    background: #cbb4c3;
}

.expo-success-copy {
    margin: 0 0 18px;
    color: var(--expo-purple);
    font-family: "Alexandria", "Cairo", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.95;
}

.expo-success-home {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 142px;
    height: 28px;
    margin: 0 auto;
    border-radius: 6px;
    color: var(--expo-white);
    background: var(--expo-purple);
    font-size: 10px;
    font-weight: 600;
}

.expo-success-home:hover,
.expo-success-home:focus-visible {
    color: var(--expo-white);
    background: var(--expo-purple);
}

.expo-footer {
    min-height: 174px;
    padding: 32px 0 12px;
    color: var(--expo-white);
}

.footer-inner {
    min-height: 84px;
}

.footer-logo {
    position: relative;
    overflow: hidden;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    margin-top: 0;
}

.footer-logo img {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    max-width: none;
    height: 58px;
}

.social-block {
    align-self: center;
    font-size: 12px;
}

.social-block p,
.copyright {
    color: var(--expo-white);
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: var(--expo-purple);
    background: var(--expo-white);
    text-decoration: none;
}

.social-links a:hover,
.social-links a:focus-visible {
    color: var(--expo-purple);
    background: var(--expo-beige);
}

.footer-location-inline {
    display: none;
}

.copyright {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .24);
    font-size: 11px;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .expo-container {
        width: calc(100% - 28px);
        max-width: 620px;
    }

    .hero-section {
        min-height: 394px;
        padding-top: 27px;
    }

    .hero-card {
        width: min(100%, 535px);
        height: 190px;
        border-width: 7px;
        border-radius: 18px;
        transform: translateY(-4px);
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-section .expo-btn-light {
        margin-top: 30px !important;
    }

    .event-date,
    .event-promise {
        font-size: 15px;
    }

    .event-list {
        font-size: 9px;
    }

    .hero-content {
        padding: 10px 14px;
    }

    .registration-frame {
        width: min(100%, 535px);
        min-height: 318px;
        padding: 15px 68px 16px 52px;
    }

    .registration-section {
        padding-bottom: 27px;
    }

    .registration-section .section-title {
        margin-bottom: 10px;
        font-size: 25px;
    }

    .map-section .section-title {
        font-size: 23px;
    }

    .registration-copy {
        margin-bottom: 2px !important;
    }

    .registration-copy span {
        font-size: 12px;
    }

    .registration-copy h3 {
        font-size: 21px;
    }

    .expo-control,
    .expo-phone .input-group-text {
        height: 32px;
        padding-top: 4px;
        padding-bottom: 4px;
        font-size: 10px;
    }

    .registration-message:empty {
        display: none;
    }

    .registration-section .expo-btn-primary {
        margin-top: 19px;
    }

    #registrationSubmit {
        display: flex !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .expo-btn {
        display: inline-flex !important;
        width: 148px;
        height: 22px;
        padding: 0 12px;
        font-size: 10px;
        line-height: 1;
    }

    .advertising-card {
        width: min(100%, 535px);
    }

    .advertising-card p {
        font-size: 23px;
    }

    .sponsor-logo {
        width: 100px;
        height: 100px;
        flex-basis: 100px;
    }

    .social-block {
        transform: translate(60px, -16px);
    }

    .expo-footer {
        min-height: 286px;
        padding: 54px 14px 10px;
    }

    .footer-inner {
        min-height: 170px;
        flex-direction: column;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .footer-logo {
        margin-top: 0;
    }

    .social-block {
        align-self: center;
        margin-top: 18px;
        transform: none;
        text-align: center !important;
    }

    .social-links {
        justify-content: center;
        gap: 9px;
    }

    .footer-location-link {
        display: none !important;
    }

    .footer-location-inline {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        margin-inline-end: 5px;
        border-radius: 50%;
        color: var(--expo-purple) !important;
        background: var(--expo-white);
        font-size: 9px !important;
        vertical-align: middle;
    }

    .copyright {
        width: calc(100% - 30px);
        padding-top: 8px;
    }

    .copyright {
        max-width: 535px;
    }

    .map-image {
        max-height: none;
    }

    .sponsor-modal .modal-dialog {
        width: min(calc(100% - 52px), 280px);
    }

    .sponsor-modal .modal-body {
        padding: 12px 26px 18px;
    }

    .sponsor-modal-logo-wrap {
        width: 170px;
        height: 82px;
    }

    .sponsor-modal-description {
        min-height: 135px;
        margin-bottom: 16px;
        padding: 12px;
        border-radius: 14px;
        font-size: 8px;
        line-height: 2;
    }

    .sponsor-modal-home {
        width: 115px;
        height: 16px;
        border-radius: 4px;
        font-size: 7px;
        line-height: 1;
    }

    .sponsor-modal.show .modal-dialog {
        transform: translateY(-63px);
    }

    .expo-success-modal {
        padding: 20px 24px;
    }

    .expo-success-card {
        width: 240px;
        min-height: 258px;
        border-radius: 22px;
        padding: 16px 14px 14px;
    }

    .expo-success-icon {
        width: 54px;
        height: 54px;
        margin-bottom: 30px;
        font-size: 54px;
    }

    .expo-success-icon .fa-check {
        top: 16px;
        right: 14px;
        font-size: 23px !important;
    }

    .expo-success-divider {
        margin-bottom: 12px;
    }

    .expo-success-copy {
        margin-bottom: 15px;
        font-size: 10px;
        line-height: 2;
    }

    .expo-success-home {
        width: 112px;
        height: 18px;
        border-radius: 4px;
        font-size: 7px;
        transform: translateY(17px);
    }

    .expo-success-modal.show {
        transform: translateY(-15px);
    }
}

@media (max-width: 479.98px) {

    .hero-title {
        font-size: 21px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-card {
        height: 176px;
    }

    .event-list {
        font-size: 8.5px;
    }

    .event-list p {
        white-space: normal;
        line-height: 1.55;
    }

    .registration-section {
        padding-top: 24px;
    }

    .registration-frame {
        min-height: 0;
        border-width: 7px;
    }

    .registration-copy h3 {
        font-size: 23px;
    }

    .expo-control,
    .expo-phone .input-group-text {
        height: 44px;
    }

    .advertising-section {
        min-height: 230px;
    }

    .advertising-card {
        min-height: 160px;
    }

    .footer-logo {
        transform: scale(.85);
        transform-origin: top right;
    }

    .sponsors-section {
        min-height: 140px;
    }

    .sponsor-list {
        gap: 5px;
    }

    .sponsor-logo {
        width: 17vw;
        height: 17vw;
        flex-basis: 17vw;
    }
}

@media (min-width: 480px) and (max-width: 767.98px) {
    .expo-footer {
        min-height: 174px;
        padding: 32px 0 12px;
    }

    .footer-inner {
        min-height: 84px;
        flex-direction: row;
        align-items: flex-start !important;
    }

    .social-block {
        align-self: flex-start;
        margin-top: 0;
        text-align: start !important;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-location-link {
        display: inline-flex !important;
    }

    .footer-location-inline {
        display: none;
    }

    .copyright {
        width: auto;
        padding-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .expo-btn {
        transition: none;
    }
}

.expo-page-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 17, 44, .72);
}

.expo-page-loader[hidden] {
    display: none !important;
}

.expo-page-loader-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 28px;
    border-radius: 16px;
    background: var(--expo-purple);
    color: var(--expo-white);
    font-size: 15px;
    font-weight: 600;
}

.expo-page-error {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 2100;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff5f5;
    color: #9b1c1c;
    border: 1px solid #fecaca;
    text-align: center;
    font-weight: 600;
}

.expo-page-error[hidden] {
    display: none !important;
}
