@font-face {
    font-family: "Book Antiqua Custom";
    src: url("fonts/BookAntiqua.eot");
    src:
        url("fonts/BookAntiqua.eot?#iefix") format("embedded-opentype"),
        url("fonts/BookAntiqua.woff2") format("woff2"),
        url("fonts/BookAntiqua.woff") format("woff"),
        url("fonts/BookAntiqua.ttf") format("truetype"),
        url("fonts/BookAntiqua.svg#BookAntiqua") format("svg");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Book AntiquaBold';
    src: url('fonts/BookAntiqua-Bold.eot');
    src: url('fonts/BookAntiqua-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/BookAntiqua-Bold.woff2') format('woff2'),
        url('fonts/BookAntiqua-Bold.woff') format('woff'),
        url('fonts/BookAntiqua-Bold.ttf') format('truetype'),
        url('fonts/BookAntiqua-Bold.svg#BookAntiqua-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Begum Custom";
    src: url("fonts/Begum-Medium.eot");
    src:
        url("fonts/Begum-Medium.eot?#iefix") format("embedded-opentype"),
        url("fonts/Begum-Medium.woff2") format("woff2"),
        url("fonts/Begum-Medium.woff") format("woff"),
        url("fonts/Begum-Medium.ttf") format("truetype"),
        url("fonts/Begum-Medium.svg#Begum-Medium") format("svg");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Begum Custom";
    src: url("fonts/Begum-Semibold.eot");
    src:
        url("fonts/Begum-Semibold.eot?#iefix") format("embedded-opentype"),
        url("fonts/Begum-Semibold.woff2") format("woff2"),
        url("fonts/Begum-Semibold.woff") format("woff"),
        url("fonts/Begum-Semibold.ttf") format("truetype"),
        url("fonts/Begum-Semibold.svg#Begum-Semibold") format("svg");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-blue: #0c4f86;
    --color-blue-dark: #073f70;
    --color-green: #2f866e;
    --color-gold: #b98932;
    --color-black: #050505;
    --color-white: #ffffff;
    --font-book-antiqua: "Book Antiqua Custom", "Book Antiqua", Georgia, "Times New Roman", serif;
    --font-book-antiqua-bold: 'Book AntiquaBold', Georgia, "Times New Roman", serif;
    --font-begum: "Begum Custom", Georgia, "Times New Roman", serif;
    --container-large: 1460px;
    --section-gap: 34px;
    --transition-base: 220ms ease;
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
    margin: 0;
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--color-black);
    background-color: var(--color-white);
    font-family: var(--font-begum);
    background-image: url("images/flyer-back-bg.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: fixed;
    background-size: cover;
}

/* body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
} */

img {
    display: block;
    max-width: 100%;
    height: auto;
}

p,
h1,
h2,
h3 {
    margin: 0;
}

.container {
    max-width: var(--container-large);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
}

.conference-page {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    background: transparent;
}

/* Header Section */
.conference-header {
    padding: 44px 0 24px;
}

.header-layout {
    display: grid;
    grid-template-columns: 160px 1fr 170px;
    column-gap: 28px;
    align-items: start;
}

.header-logo:first-child img {
    width: 150px;
}

.header-logo:last-child {
    display: flex;
    justify-content: flex-end;
}

.header-logo:last-child img {
    width: 150px;
    margin-top: 18px;
}

.header-content {
    font-family: var(--font-book-antiqua-bold);
    text-align: center;
    line-height: 1.03;
    letter-spacing: 0;
}

.header-content p:first-child {
    font-size: 45px;
}

.header-content p:nth-child(2) {
    margin-top: 7px;
    font-size: 29px;
}

.header-content p:nth-child(3),
.header-content p:nth-child(4) {
    margin-top: 9px;
    font-size: 44px;
}

.auth-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 12px;
    padding-right: 4px;
    color: var(--color-blue);
    font-family: var(--font-begum);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
}

.auth-links a {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid var(--color-gold);
    transition: color var(--transition-base), border-color var(--transition-base);
}

.auth-links a:hover {
    color: var(--color-green);
    border-color: var(--color-green);
}

.auth-links a:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}

/* Hero Section */
.hero-section {
    padding: 24px 0 10px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 24px;
    align-items: flex-start;
}

.hero-title-block {
    padding-top: 20px;
}

.hero-title-block h1 {
    font-family: var(--font-begum);
    color: var(--color-blue);
    font-size: 194px;
    font-weight: 600;
    line-height: .75;
    letter-spacing: 0;
}

.hero-title-block h1 sup {
    position: relative;
    top: 0px;
    font-size: 95px;
}

.hero-title-block p {
    font-family: var(--font-begum);
    color: var(--color-blue);
    font-size: 132px;
    font-weight: 600;
    line-height: .86;
    text-transform: uppercase;
}

.hero-title-block p:nth-of-type(2) {
    color: var(--color-green);
    font-size: 103px;
}

.title-divider {
    width: 690px;
    margin-top: 34px;
}

.theme-art {
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
}

.theme-art img {
    width: 720px;
        transform: scale(1.1);
}

/* Event Details Section */
.event-details-section {
    padding: 18px 0 18px;
}

.event-details {
    max-width: 100%;
    margin-top: -30px;
}

.ribbon {
    font-family: var(--font-begum);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 22px 60px;
    color: var(--color-white);
    background: url("images/btn-bg.png") center / 100% 100% no-repeat;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.ribbon-large {
    width: 610px;
    font-size: 58px;
}

.event-date {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: baseline;
    margin-top: 18px;
    color: var(--color-green);
    font-size: 55px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.event-date sup {
    position: relative;
    top: 0px;
    font-size: 27px;
}

.ribbon-small {
       width: 300px;
    min-height: 0;
    margin-top: 34px;
    padding: 7px 46px;
    font-size: 48px;
    text-transform: none;
}

.venue-text {
    margin-top: 26px;
    color: var(--color-green);
    font-size: 45px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 1px;
}

/* Registration Section */
.registration-section {
    padding: 30px 0 12px;
    text-align: center;
}

.registration-heading h2 {
    font-family: var(--font-begum);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 700px;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: 1044 / 168;
    min-height: auto;
    padding: 20px 42px;
    color: var(--color-white);
    background: url("images/btn-bg2.png") center / 100% 100% no-repeat;
    font-size: 55px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.early-bird {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1120px;
    aspect-ratio: 1822 / 138;
    min-height: auto;
    margin: 36px auto 34px;
    padding: 15px 46px;
    color: var(--color-white);
    background: url("images/btn-bg-3.png") center / 100% 100% no-repeat;
    font-size: 42px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.fee-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 30px;
}

.fee-card {
    height: 100%;
    text-align: left;
}

.fee-card h3 {
    min-height: 62px;
    padding-left: 20px;
    color: var(--color-blue);
    font-size: 31px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
}

.fee-card h3 span {
    display: block;
    color: var(--color-green);
    font-size: 24px;
    font-weight: 500;
}

.fee-card p {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1044 / 168;
    min-height: auto;
    padding: 18px;
    color: var(--color-white);
    background: url("images/btn-bg2.png") center / 100% 100% no-repeat;
    font-size: 47px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.fee-card p span {
    margin-left: 6px;
    font-size: 22px;
    margin-top: 6px;
}

.regular-fee {
    margin-top: 28px;
    color: var(--color-blue);
    text-align: center;
    font-weight: 600;
    display: inline-flex;
    flex-direction: column;
}

.regular-fee p:first-child {
    font-size: 43px;
    line-height: 1;
}

.regular-fee p:first-child span {
    font-size: 24px;
}

.regular-fee p:last-child {
    margin-top: 4px;
    color: var(--color-green);
    font-size: 22px;
    line-height: 1;
    margin-left: auto;
    margin-right: 80px;
}

/* Register Section */
.register-section {
    padding: 16px 0 0;
}

.register-section .container {
    width: 100%;
    margin: 0px;
    padding: 0px;
    max-width: 100%;
}

.register-layout {
    display: grid;
    grid-template-columns: 1fr 430px 1fr;
    column-gap: 40px;
    align-items: end;
}

.bottom-art:first-child {
    justify-self: start;
}

.bottom-art:last-child {
    justify-self: end;
}

.bottom-art img {
    width: 360px;
}

.register-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 34px;
    align-items: stretch;
    padding-bottom: 30px;
}

.register-cards img {
    width: 198px;
}

/* Media Queries */
@media (max-width: 1399px) {
    .header-layout {
        grid-template-columns: 130px 1fr 140px;
    }

    .header-logo:first-child img,
    .header-logo:last-child img {
        width: 126px;
    }

    .header-content p:first-child {
        font-size: 38px;
    }

    .header-content p:nth-child(2) {
        font-size: 25px;
    }

    .header-content p:nth-child(3),
    .header-content p:nth-child(4) {
        font-size: 37px;
    }

    .hero-title-block h1 {
        font-size: 156px;
    }

    .hero-title-block h1 sup {
        font-size: 64px;
    }

    .hero-title-block p {
        font-size: 82px;
    }

    .hero-title-block p:nth-of-type(2) {
        font-size: 66px;
    }

    .ribbon-large {
        width: 590px;
        font-size: 49px;
    }

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

    .venue-text {
        font-size: 38px;
    }

    .fee-card p {
        font-size: 39px;
    }
}

@media (max-width: 1199px) {
    .conference-header {
        padding-top: 32px;
    }

    .header-layout {
        grid-template-columns: 105px 1fr 112px;
        column-gap: 18px;
    }

    .header-logo:first-child img,
    .header-logo:last-child img {
        width: 102px;
    }

    .header-content p:first-child {
        font-size: 31px;
    }

    .header-content p:nth-child(2) {
        font-size: 21px;
    }

    .header-content p:nth-child(3),
    .header-content p:nth-child(4) {
        font-size: 31px;
    }

    .hero-title-block h1 {
        font-size: 126px;
    }

    .hero-title-block h1 sup {
        font-size: 52px;
    }

    .hero-title-block p {
        font-size: 66px;
    }

    .hero-title-block p:nth-of-type(2) {
        font-size: 54px;
    }

    .title-divider {
        width: 520px;
        margin-top: 24px;
    }

    .theme-art img {
        width: 560px;
    }

    .event-details {
        max-width: 820px;
    }

    .ribbon-large {
        width: 500px;
        min-height: 62px;
        font-size: 42px;
    }

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

    .ribbon-small {
        width: 290px;
        font-size: 38px;
    }

    .venue-text {
        font-size: 32px;
    }

    .registration-heading h2 {
        width: 540px;
        min-width: 0;
        padding: 0 30px;
        font-size: 44px;
    }

    .early-bird {
        font-size: 34px;
    }

    .fee-card h3 {
        font-size: 25px;
    }

    .fee-card h3 span {
        font-size: 18px;
    }

    .fee-card p {
        min-height: 0;
        font-size: 31px;
    }

    .fee-card p span {
        font-size: 17px;
    }

    .regular-fee p:first-child {
        font-size: 35px;
    }

    .register-layout {
        grid-template-columns: 1fr 360px 1fr;
        column-gap: 24px;
    }

    .register-cards img {
        width: 166px;
    }

    .bottom-art img {
        width: 280px;
    }
}

@media (max-width: 991px) {
    .conference-header {
        padding: 24px 0 16px;
    }

    .header-layout {
        grid-template-columns: 84px 1fr 92px;
        column-gap: 12px;
    }

    .header-logo:first-child img,
    .header-logo:last-child img {
        width: 82px;
    }

    .header-logo:last-child img {
        margin-top: 10px;
    }

    .header-content p:first-child {
        font-size: 25px;
    }

    .header-content p:nth-child(2) {
        font-size: 17px;
    }

    .header-content p:nth-child(3),
    .header-content p:nth-child(4) {
        font-size: 25px;
    }

    .hero-section {
        padding-top: 12px;
    }

    .hero-title-block h1 {
        font-size: 100px;
    }

    .hero-title-block h1 sup {
        font-size: 41px;
    }

    .hero-title-block p {
        font-size: 51px;
    }

    .hero-title-block p:nth-of-type(2) {
        font-size: 42px;
    }

    .title-divider {
        width: 400px;
    }

    .theme-art img {
        width: 430px;
    }

    .event-details {
        max-width: none;
        text-align: center;
        margin-top: 20px;
    }

    .event-date {
        justify-content: center;
    }

    .ribbon-large {
        width: 440px;
        font-size: 36px;
    }

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

    .ribbon-small {
        margin-top: 26px;
    }

    .venue-text {
        font-size: 28px;
    }

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

    .registration-heading h2 {
        width: 450px;
        min-width: 0;
        padding: 0 26px;
        font-size: 38px;
    }

    .early-bird {
        min-height: 60px;
        margin: 28px auto;
        font-size: 29px;
    }

    .fee-card h3 {
        padding-left: 10px;
        font-size: 21px;
    }

    .fee-card h3 span {
        font-size: 16px;
    }

    .fee-card p {
        min-height: 0;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 25px;
    }

    .fee-card p span {
        font-size: 14px;
    }

    .regular-fee p:first-child {
        font-size: 30px;
    }

    .register-layout {
        grid-template-columns: 180px 330px 180px;
        justify-content: center;
        column-gap: 16px;
    }

    .register-cards img {
        width: 152px;
    }

    .bottom-art img {
        width: 210px;
    }
}

@media (max-width: 767px) {
    .conference-header {
        padding-top: 18px;
    }

    .header-layout {
        grid-template-columns: 64px 1fr 68px;
        column-gap: 8px;
    }

    .header-logo:first-child img,
    .header-logo:last-child img {
        width: 62px;
    }

    .header-content p:first-child {
        font-size: 20px;
    }

    .header-content p:nth-child(2) {
        margin-top: 4px;
        font-size: 14px;
    }

    .header-content p:nth-child(3),
    .header-content p:nth-child(4) {
        margin-top: 5px;
        font-size: 20px;
    }

    .auth-links {
        justify-content: center;
        margin-top: 9px;
        padding-right: 0;
        font-size: 16px;
    }

    .hero-title-block {
        max-width: 460px;
        margin: 0 auto;
        padding-top: 4px;
        text-align: center;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }

    .hero-title-block h1 {
        font-size: 112px;
    }

    .hero-title-block h1 sup {
        font-size: 45px;
    }

    .hero-title-block p {
        font-size: 58px;
    }

    .hero-title-block p:nth-of-type(2) {
        font-size: 47px;
    }

    .title-divider {
        width: 100%;
        max-width: 440px;
        margin-top: 20px;
    }

    .theme-art {
        justify-content: center;
        padding-top: 18px;
    }

    .theme-art img {
        width: 500px;
    }

    .event-details-section {
        padding-top: 8px;
    }

    .ribbon-large {
        width: 100%;
        min-width: 0;
        max-width: 470px;
        min-height: 56px;
        padding: 9px 34px 12px;
        font-size: 34px;
    }

    .registration-heading h2 {
        width: 100%;
        max-width: 470px;
        min-width: 0;
        min-height: 0;
        padding: 0 22px;
        font-size: 34px;
    }

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

    .ribbon-small {
        width: 230px;
        min-height: 0;
        font-size: 33px;
    }

    .venue-text {
        font-size: 27px;
    }

    .early-bird {
        padding: 0 26px;
        font-size: 27px;
        line-height: 1.08;
    }

    .fee-layout {
        grid-template-columns: 1fr;
        row-gap: 22px;
    }

    .fee-card {
        max-width: 470px;
        margin: 0 auto;
    }

    .fee-card h3 {
        min-height: auto;
        margin-bottom: 8px;
        padding-left: 0;
        font-size: 27px;
        text-align: center;
    }

    .fee-card h3 span {
        font-size: 20px;
    }

    .fee-card p {
        min-height: 0;
        font-size: 36px;
    }

    .fee-card p span {
        font-size: 18px;
    }

    .regular-fee p:first-child {
        font-size: 31px;
        line-height: 1.1;
    }

    .register-layout {
        grid-template-columns: 1fr;
        row-gap: 18px;
        padding-bottom: 20px;
    }

    .bottom-art:first-child,
    .bottom-art:last-child {
        justify-self: center;
                display: none;
    }

    .bottom-art:last-child {
        display: none;
    }

    .bottom-art img {
        width: 260px;
    }

    .register-cards {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        padding-bottom: 0;
        column-gap: 18px;
    }

    .register-cards img {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .header-layout {
        grid-template-columns: 52px 1fr 56px;
        column-gap: 6px;
    }

    .header-logo:first-child img,
    .header-logo:last-child img {
        width: 50px;
    }

    .header-content p:first-child {
        font-size: 16px;
    }

    .header-content p:nth-child(2) {
        font-size: 12px;
    }

    .header-content p:nth-child(3),
    .header-content p:nth-child(4) {
        font-size: 16px;
    }

    .auth-links {
        font-size: 14px;
    }

    .hero-title-block {
        max-width: 340px;
        text-align: center;
    }

    .hero-title-block h1 {
        font-size: 88px;
    }

    .hero-title-block h1 sup {
        font-size: 35px;
    }

    .hero-title-block p {
        font-size: 45px;
    }

    .hero-title-block p:nth-of-type(2) {
        font-size: 37px;
    }

    .theme-art img {
        width: 390px;
    }

    .ribbon-large {
        min-height: 50px;
        font-size: 28px;
    }

    .registration-heading h2 {
        min-height: 0;
        padding: 0 18px;
        font-size: 24px;
    }

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

    .event-date sup {
        top: -9px;
        font-size: 15px;
    }

    .ribbon-small {
        width: 190px;
        font-size: 28px;
    }

    .venue-text {
        font-size: 23px;
    }

    .early-bird {
        padding: 0 18px;
        font-size: 20px;
    }

    .fee-card h3 {
        font-size: 24px;
    }

    .fee-card h3 span {
        font-size: 18px;
    }

    .fee-card p {
        font-size: 31px;
    }

    .regular-fee p:first-child {
        font-size: 26px;
    }

    .regular-fee p:first-child span {
        font-size: 16px;
    }
}

@media (max-width: 420px) {

    .header-content p:first-child,
    .header-content p:nth-child(3),
    .header-content p:nth-child(4) {
        font-size: 14px;
    }

    .header-content p:nth-child(2) {
        font-size: 11px;
    }

    .hero-title-block {
        max-width: 300px;
    }

    .hero-title-block h1 {
        font-size: 76px;
    }

    .hero-title-block h1 sup {
        font-size: 30px;
    }

    .hero-title-block p {
        font-size: 39px;
    }

    .hero-title-block p:nth-of-type(2) {
        font-size: 32px;
    }

    .theme-art img {
        width: 330px;
    }

    .ribbon-large,
    .registration-heading h2 {
        font-size: 24px;
    }

    .registration-heading h2 {
        padding: 0 12px;
        font-size: 21px;
    }

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

    .venue-text {
        font-size: 20px;
    }

    .early-bird {
        padding: 0 12px;
        font-size: 14px;
    }

    .fee-card h3 {
        font-size: 21px;
    }

    .fee-card h3 span {
        font-size: 16px;
    }

    .fee-card p {
        min-height: 0;
        font-size: 26px;
    }

    .fee-card p span {
        font-size: 14px;
    }

    .regular-fee p:first-child {
        font-size: 23px;
    }
}
