/* =========================================
   LIVEWEBINAR - OFFICIAL WEBSITE DESIGN
   Green / White / Cream / Mint
   Responsive desktop, tablet and mobile
   ========================================= */

:root {
    --green: #66B83F;
    --green-dark: #438D2C;
    --green-soft: #E3EDD9;
    --mint: #D9F1E6;
    --cream: #F5F4EF;
    --white: #FFFFFF;
    --text: #344238;
    --muted: #858D82;
    --border: #E9E8E1;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.site-shell {
    width: min(96%, 1500px);
    margin: 14px auto;
    background: var(--white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 35px rgba(55, 65, 45, .07);
}

/* =========================================
   HEADER - DESKTOP
   ========================================= */

.site-header {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid #F0F0EC;
}

.header-inner {
    position: relative;
    width: 100%;
    max-width: var(--container);
    min-height: 72px;
    margin: 0 auto;
    padding: 10px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    direction: ltr;
}

.brand-group {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.brand {
    display: inline-block;
    font-size: 24px;
    font-weight: 900;
    white-space: nowrap;
    letter-spacing: -.7px;
    line-height: 1.2;
}

.language-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    direction: ltr;
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
}

.language-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: #737B70;
    font: inherit;
    cursor: pointer;
    transition: color .2s ease;
}

    .language-link:hover,
    .language-link.is-active {
        color: var(--green-dark);
    }

    .language-link.is-active {
        font-weight: 800;
    }

.language-divider {
    color: #A7ADA3;
    user-select: none;
}

.brand-live {
    color: #202820;
}

.brand-webinar {
    color: var(--green);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    direction: rtl;
}

    .main-nav a {
        position: relative;
        padding: 10px 0;
        color: #292D29;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
        transition: color .2s ease;
    }

        .main-nav a:hover,
        .main-nav a.active {
            color: var(--green-dark);
        }

            .main-nav a.active::after {
                content: "";
                position: absolute;
                right: 0;
                bottom: 0;
                left: 0;
                height: 2px;
                background: var(--green);
            }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    direction: ltr;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 10px 25px;
    border: 0;
    border-radius: 12px;
    background: var(--green);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 184, 63, .12);
    transition: background .2s ease, transform .2s ease;
}

    .primary-button:hover {
        background: var(--green-dark);
        color: #FFFFFF;
        transform: translateY(-2px);
    }

.header-button {
    min-width: 95px;
    min-height: 39px;
    padding: 7px 14px;
    border-radius: 12px;
    font-size: 12px;
}

/* Hamburger is hidden on desktop */
.mobile-menu-button {
    display: none;
}

/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;
    min-height: 285px;
    padding: 22px 20px 20px;
    overflow: hidden;
    text-align: center;
    background: radial-gradient(ellipse at center, #FFFFFF 35%, #FCFCF9 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 6px 15px;
    border: 1px solid #E6E6DE;
    border-radius: 30px;
    background: rgba(255, 255, 255, .9);
    color: #70796D;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .035);
}

.security-icon {
    display: inline-grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border: 2px solid var(--green);
    border-radius: 6px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
}

.hero h1 {
    margin: 10px auto 12px;
    font-size: clamp(36px, 4.5vw, 55px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.hero-title-dark {
    color: #354B3D;
}

.hero-title-green {
    color: #61A947;
}

.hero-description {
    max-width: 650px;
    margin: 8px auto 15px;
    color: #747C72;
    font-size: 15px;
}

.hero-button {
    min-width: 190px;
    min-height: 47px;
    border-radius: 12px;
    font-size: 14px;
}

.button-arrow {
    font-size: 18px;
}

/* Decorative shapes */

.hero-decoration {
    position: absolute;
    z-index: 1;
    border-radius: 23px;
    pointer-events: none;
}

.decoration-one {
    top: 50px;
    left: 9%;
    width: 90px;
    height: 85px;
    background: #F0F7EA;
}

.decoration-two {
    top: 100px;
    left: 17%;
    width: 75px;
    height: 75px;
    border: 1px solid #F0EEE7;
}

.decoration-three {
    top: 25px;
    right: 13%;
    width: 100px;
    height: 88px;
    background: #F0F7EA;
}

.decoration-four {
    top: 120px;
    right: 7%;
    width: 60px;
    height: 60px;
    border: 1px solid #EEECE5;
}

/* =========================================
   PEOPLE IMAGE PANELS
   ========================================= */

.people-section {
    width: calc(100% - 34px);
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.14fr 1fr;
    align-items: stretch;
    gap: 13px;
}

.person-card {
    position: relative;
    height: 282px;
    overflow: hidden;
    border-radius: 21px 21px 0 0;
    background: var(--green-soft);
}

.person-center {
    background: #E3EDD9;
}

.person-left {
    background: var(--mint);
}

.person-right {
    background: #F0EAE5;
}

.person-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* =========================================
   TRUST STRIP
   ========================================= */

.trust-section {
    width: calc(100% - 34px);
    max-width: 1160px;
    margin: 0 auto;
    padding: 15px 22px;
    background: #FAF9F5;
    border-radius: 0 0 19px 19px;
}

.trust-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 15px;
}

.trust-item {
    min-height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #747D70;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

    .trust-item + .trust-item {
        border-right: 1px solid #E5E2D9;
    }

.trust-icon {
    color: var(--green);
    font-size: 23px;
    font-weight: bold;
}

/* =========================================
   GENERAL SECTIONS
   ========================================= */

.section {
    padding: 38px 25px;
    text-align: center;
}

.section-heading {
    margin-bottom: 23px;
}

.section h2 {
    margin: 0 0 8px;
    color: #303A32;
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 900;
}

.section-heading p,
.section > p {
    max-width: 750px;
    margin: 0 auto;
    color: #858D82;
    font-size: 13px;
}

/* =========================================
   FEATURE CARDS
   ========================================= */

.features-section {
    padding-top: 30px;
    padding-bottom: 32px;
}

.feature-grid {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.feature-card {
    min-height: 126px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    text-align: right;
    background: #FCFCF9;
    border: 1px solid #E8E7DE;
    border-radius: 17px;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .feature-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 22px rgba(55, 75, 45, .06);
    }

.feature-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: #E4F4DE;
    color: #389C43;
    border-radius: 15px;
    font-size: 23px;
}

.feature-content {
    flex: 1;
    min-width: 0;
}

    .feature-content h3 {
        margin: 5px 0 8px;
        color: #39443B;
        font-size: 15px;
        font-weight: 800;
    }

    .feature-content p {
        margin: 0;
        color: #858D82;
        font-size: 12px;
        line-height: 1.9;
    }

/* =========================================
   ABOUT / WEBINARS / CONTACT
   ========================================= */

.about-section {
    padding-top: 25px;
    padding-bottom: 24px;
}

    .about-section p strong {
        color: var(--green-dark);
    }

.webinars-section {
    padding-top: 15px;
    padding-bottom: 24px;
}

.contact-section {
    padding-top: 15px;
    padding-bottom: 28px;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    padding: 18px 35px;
    background: #F7F5EF;
    border-top: 1px solid #F0EEE6;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-description,
.footer-copy {
    color: #81877D;
    font-size: 11px;
}

.footer-copy {
    text-align: start;
}

.site-footer .brand {
    font-size: 22px;
}

/* =========================================
   LANGUAGE DIRECTION
   ========================================= */

html[dir="rtl"] body {
    direction: rtl;
}

html[dir="ltr"] body {
    direction: ltr;
}

html[dir="ltr"] .feature-card {
    text-align: left;
}

html[dir="ltr"] .trust-item + .trust-item {
    border-right: 0;
    border-left: 1px solid #E5E2D9;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) and (min-width: 768px) {
    .header-inner {
        gap: 14px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .main-nav {
        gap: 17px;
    }

        .main-nav a {
            font-size: 12px;
        }

    .header-actions {
        gap: 7px;
    }

    .header-button {
        min-width: 82px;
    }

    .people-section {
        gap: 9px;
    }

    .person-card {
        height: 245px;
    }

    .feature-grid {
        gap: 10px;
    }

    .feature-card {
        padding: 13px;
    }

    .hero-decoration {
        opacity: .65;
    }
}

/* =========================================
   MOBILE NAVIGATION AND MOBILE LAYOUT
   767px and below
   ========================================= */

@media (max-width: 767px) {
    .site-shell {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .header-inner {
        position: relative;
        min-height: 88px;
        padding: 8px 10px;
        display: block;
        direction: ltr;
    }

    /* Center the logo and compact language links */
    .brand-group {
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        gap: 3px;
    }

    .brand {
        font-size: clamp(17px, 4.8vw, 21px);
        line-height: 1.2;
    }

    .language-switcher {
        gap: 7px;
        font-size: 10px;
    }

    /* Hamburger on the left */
    .mobile-menu-button {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        z-index: 5;
        width: 38px;
        height: 38px;
        padding: 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background: #F7F8F3;
        border: 1px solid #E9E8E1;
        border-radius: 11px;
        cursor: pointer;
    }

        .mobile-menu-button span {
            display: block;
            width: 19px;
            height: 2px;
            background: #438D2C;
            border-radius: 5px;
            transition: transform .2s ease, opacity .2s ease;
        }

        .mobile-menu-button.is-open span:first-child {
            transform: translateY(7px) rotate(45deg);
        }

        .mobile-menu-button.is-open span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-button.is-open span:last-child {
            transform: translateY(-7px) rotate(-45deg);
        }

    /* Login on the right; language links are under the logo */
    .header-actions {
        position: absolute;
        top: 18px;
        right: 10px;
        transform: none;
        z-index: 3;
        display: flex;
        align-items: center;
    }

    .header-button {
        min-width: 54px;
        min-height: 36px;
        padding: 6px 11px;
        border-radius: 10px;
        font-size: 11px;
        line-height: 1.2;
    }

    /* Dropdown menu opens from the left */
    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 5px);
        left: 10px;
        right: auto;
        z-index: 100;
        width: min(245px, calc(100vw - 30px));
        padding: 9px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 2px;
        background: #FFFFFF;
        border: 1px solid #ECECE5;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(40, 55, 35, .12);
        direction: rtl;
    }

        .main-nav.is-open {
            display: flex;
        }

        .main-nav a {
            display: block;
            width: 100%;
            padding: 11px 13px;
            border-radius: 9px;
            font-size: 13px;
            text-align: right;
        }

            .main-nav a:hover,
            .main-nav a.active {
                background: #F1F7ED;
            }

                .main-nav a.active::after {
                    display: none;
                }

    html[dir="ltr"] .main-nav {
        direction: ltr;
    }

        html[dir="ltr"] .main-nav a {
            text-align: left;
        }

    .hero {
        min-height: auto;
        padding: 32px 15px 28px;
    }

        .hero h1 {
            font-size: clamp(30px, 7.5vw, 43px);
            letter-spacing: -.8px;
        }

    .hero-description {
        max-width: 420px;
        font-size: 13px;
    }

    .hero-decoration {
        opacity: .35;
        transform: scale(.7);
    }

    .decoration-one {
        left: -15px;
    }

    .decoration-two {
        left: 2%;
    }

    .decoration-three {
        right: -15px;
    }

    .decoration-four {
        right: 1%;
    }

    .people-section {
        width: calc(100% - 22px);
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .person-card {
        height: 195px;
        border-radius: 15px 15px 0 0;
    }

    .person-center {
        grid-column: 1 / -1;
        grid-row: 1;
        height: 235px;
    }

    .person-image {
        object-position: center center;
    }

    .trust-section {
        width: calc(100% - 22px);
        padding: 14px 10px;
    }

    .trust-inner {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .trust-item {
        min-height: 30px;
        font-size: 11px;
    }

        .trust-item + .trust-item {
            padding-top: 9px;
            border-right: 0;
            border-top: 1px solid #E5E2D9;
        }

    html[dir="ltr"] .trust-item + .trust-item {
        border-left: 0;
        border-top: 1px solid #E5E2D9;
    }

    .section {
        padding: 32px 17px;
    }

        .section h2 {
            font-size: 23px;
        }

        .section-heading p,
        .section > p {
            font-size: 12px;
        }

    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 430px;
    }

    .feature-card {
        min-height: 105px;
    }

    .about-section,
    .webinars-section,
    .contact-section {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .site-footer {
        padding: 20px 16px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-copy {
        text-align: center;
    }
}

/* =========================================
   SMALL PHONES
   360px and below
   ========================================= */

@media (max-width: 360px) {
    .header-inner {
        min-height: 84px;
        padding: 7px 8px;
    }

    .brand-group {
        top: 7px;
    }

    .brand {
        font-size: 17px;
    }

    .language-switcher {
        font-size: 9px;
        gap: 6px;
    }

    .mobile-menu-button {
        left: 8px;
        width: 35px;
        height: 35px;
        padding: 7px;
    }

    .header-actions {
        top: 16px;
        right: 8px;
    }

    .header-button {
        min-height: 33px;
        min-width: 50px;
        padding: 5px 8px;
        font-size: 10px;
        border-radius: 9px;
    }

    .hero {
        padding: 28px 12px 25px;
    }

        .hero h1 {
            font-size: clamp(27px, 8.2vw, 31px);
            letter-spacing: -.5px;
        }

    .hero-description {
        font-size: 12px;
    }

    .people-section {
        width: calc(100% - 16px);
        gap: 7px;
    }

    .person-center {
        height: 220px;
    }

    .person-left,
    .person-right {
        height: 165px;
    }

    .trust-section {
        width: calc(100% - 16px);
    }

    .section {
        padding-right: 12px;
        padding-left: 12px;
    }

    .feature-card {
        min-width: 0;
        padding: 11px;
    }
}

/* =========================================
   VERY SMALL PHONES
   320px and below
   ========================================= */

@media (max-width: 320px) {
    .brand {
        font-size: 15px;
    }

    .language-switcher {
        font-size: 9px;
        gap: 5px;
    }

    .mobile-menu-button {
        width: 32px;
        height: 32px;
    }

    .header-actions {
        top: 15px;
        right: 7px;
    }

    .header-button {
        min-height: 31px;
        min-width: 46px;
        padding: 4px 6px;
        font-size: 9px;
    }

    .hero h1 {
        font-size: 27px;
    }

    .person-center {
        height: 205px;
    }

    .person-left,
    .person-right {
        height: 150px;
    }
}

/* =========================================
   ACCESSIBILITY AND SAFETY
   ========================================= */

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

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================
   FINAL HEADER ALIGNMENT FIXES
   ========================================= */

/* Desktop: navigation follows the selected language direction */
/* Navigation direction: inverted */
html[dir="rtl"] .main-nav {
    direction: ltr;
}

html[dir="ltr"] .main-nav {
    direction: rtl;
}

/* Mobile: center the complete brand group vertically */
@media (max-width: 767px) {
    .brand-group {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Small phones: keep exactly the same centered alignment */
@media (max-width: 360px) {
    .brand-group {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
/* =========================================
   CENTER WEBINAR IMAGE - SHOW MORE CONTENT
   ========================================= */

/* Responsive center webinar image */
.person-center .person-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 78%;
}

/* Gradually adjust image position for different screens */
@media (min-width: 361px) and (max-width: 600px) {
    .person-center .person-image {
        object-position: center 75%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .person-center .person-image {
        object-position: center 72%;
    }
}

@media (min-width: 901px) and (max-width: 1350px) {
    .person-center .person-image {
        object-position: center 75%;
    }
}

@media (min-width: 1351px) {
    .person-center .person-image {
        object-position: center 78%;
    }
}

/* =========================================
   ABOUT / BENEFITS SECTION
   ========================================= */

.about-section {
    padding-top: 42px;
    padding-bottom: 45px;
    background: #FFFFFF;
}

    .about-section .section-heading {
        margin-bottom: 27px;
    }

.benefit-grid {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.benefit-card {
    min-height: 205px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: #FCFCF9;
    border: 1px solid #E9E8E1;
    border-radius: 20px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .benefit-card:hover {
        transform: translateY(-5px);
        border-color: #D7E9CD;
        box-shadow: 0 10px 28px rgba(55, 75, 45, .08);
    }

.benefit-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 13px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: #E4F4DE;
    color: #438D2C;
    font-size: 27px;
    font-weight: 800;
}

.benefit-card h3 {
    margin: 0 0 9px;
    color: #344238;
    font-size: 16px;
    font-weight: 800;
}

.benefit-card p {
    max-width: 290px;
    margin: 0;
    color: #858D82;
    font-size: 12px;
    line-height: 2;
}

/* English layout */
html[dir="ltr"] .benefit-card {
    direction: ltr;
}


/* Mobile */
@media (max-width: 767px) {

    .about-section {
        padding: 34px 17px;
    }

        .about-section .section-heading {
            margin-bottom: 22px;
        }

    .benefit-grid {
        grid-template-columns: 1fr;
        max-width: 430px;
        gap: 12px;
    }

    .benefit-card {
        min-height: auto;
        padding: 22px 18px;
    }

        .benefit-card p {
            max-width: 340px;
        }
}

/* =========================================
   ORGANIZATION REGISTRATION CTA
   ========================================= */

.organization-cta-section {
    position: relative;
    width: calc(100% - 50px);
    max-width: 1100px;
    margin: 20px auto 35px;
    padding: 48px 25px;
    overflow: hidden;
    border-radius: 25px;
    background: #D9F1E6;
    text-align: center;
}

.organization-cta-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.organization-cta-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 15px;
    margin-bottom: 13px;
    border: 1px solid rgba(67, 141, 44, .18);
    border-radius: 30px;
    background: rgba(255, 255, 255, .65);
    color: #438D2C;
    font-size: 12px;
    font-weight: 800;
}

.organization-cta-section h2 {
    margin: 0 auto 13px;
    color: #344238;
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 900;
    line-height: 1.6;
}

.organization-cta-section p {
    max-width: 650px;
    margin: 0 auto 23px;
    color: #647568;
    font-size: 14px;
    line-height: 2;
}

.organization-cta-button {
    min-height: 49px;
    padding: 12px 27px;
    border-radius: 13px;
    font-size: 14px;
}

.organization-cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 17px;
    color: #647568;
    font-size: 11px;
}

    .organization-cta-note > span:first-child {
        color: #438D2C;
        font-size: 15px;
        font-weight: 900;
    }

.organization-cta-decoration {
    position: absolute;
    border: 1px solid rgba(67, 141, 44, .12);
    border-radius: 24px;
    pointer-events: none;
}

.cta-decoration-one {
    width: 130px;
    height: 130px;
    top: -55px;
    left: -35px;
    transform: rotate(25deg);
}

.cta-decoration-two {
    width: 100px;
    height: 100px;
    right: -25px;
    bottom: -40px;
    transform: rotate(35deg);
}

/* English direction */
html[dir="ltr"] .organization-cta-section {
    direction: ltr;
}

/* Mobile */
@media (max-width: 767px) {

    .organization-cta-section {
        width: calc(100% - 30px);
        margin: 15px auto 28px;
        padding: 35px 18px;
        border-radius: 20px;
    }

        .organization-cta-section h2 {
            font-size: 24px;
            line-height: 1.7;
        }

        .organization-cta-section p {
            font-size: 12px;
        }

    .organization-cta-button {
        width: 100%;
        max-width: 300px;
        padding: 11px 15px;
        font-size: 12px;
    }

    .organization-cta-note {
        font-size: 10px;
        line-height: 1.9;
    }
    
/* =========================================
   LIVEWEBINAR CTA - BRAND & ANIMATED DESIGN
   ========================================= */

.organization-cta-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #D9F1E6 0%,
        #E5F3E5 48%,
        #D5EDDF 100%
    );
}

/* Subtle square grid */
.cta-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background-image:
        linear-gradient(rgba(67, 141, 44, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 141, 44, .055) 1px, transparent 1px);

    background-size: 38px 38px;
    opacity: .8;
}

/* Brand colors in the headline */
.organization-cta-section h2 {
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

.cta-brand-live {
    display: inline;
    color: #202820;
    font-weight: 900;
    direction: ltr;
    unicode-bidi: isolate;
}

.cta-brand-webinar {
    display: inline;
    color: #66B83F;
    font-weight: 900;
    direction: ltr;
    unicode-bidi: isolate;
}

/* Decorative outlined squares */
.organization-cta-decoration {
    position: absolute;
    z-index: 0;
    pointer-events: none;

    border: 1px solid rgba(67, 141, 44, .20);
    border-radius: 17px;

    animation: cta-float 9s ease-in-out infinite;
}

.cta-decoration-one {
    width: 105px;
    height: 105px;
    top: 35px;
    left: 8%;
    transform: rotate(25deg);
}

.cta-decoration-two {
    width: 65px;
    height: 65px;
    top: 65px;
    right: 12%;
    border-radius: 13px;
    animation-delay: -2s;
}

.cta-decoration-three {
    width: 85px;
    height: 85px;
    bottom: 20px;
    right: 7%;
    animation-delay: -4s;
}

.cta-decoration-four {
    width: 48px;
    height: 48px;
    bottom: 55px;
    left: 23%;
    border-radius: 11px;
    animation-delay: -6s;
}

/* Gentle floating movement */
@keyframes cta-float {
    0%, 100% {
        translate: 0 0;
        rotate: 0deg;
    }

    50% {
        translate: 0 -13px;
        rotate: 8deg;
    }
}

/* Keep the content above decorations */
.organization-cta-content {
    position: relative;
    z-index: 2;
}

.organization-cta-label {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .78);
}

.organization-cta-button {
    position: relative;
    z-index: 2;
    box-shadow: 0 7px 20px rgba(67, 141, 44, .20);
}

.organization-cta-button:hover {
    box-shadow: 0 10px 24px rgba(67, 141, 44, .28);
}

/* Mobile adjustments */
@media (max-width: 767px) {

    .cta-grid-pattern {
        background-size: 29px 29px;
    }

    .cta-decoration-one {
        width: 65px;
        height: 65px;
        left: -12px;
        top: 20px;
    }

    .cta-decoration-two {
        width: 45px;
        height: 45px;
        right: 5%;
        top: 25px;
    }

    .cta-decoration-three {
        width: 55px;
        height: 55px;
        right: -10px;
        bottom: 15px;
    }

    .cta-decoration-four {
        width: 35px;
        height: 35px;
        left: 8%;
        bottom: 20px;
    }

    .organization-cta-section h2 {
        font-size: 23px;
        line-height: 1.9;
    }
}

/* Accessibility: respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .organization-cta-decoration {
        animation: none !important;
    }
}

}


/* =========================================
   LIVEWEBINAR CTA - BRAND & ANIMATED DESIGN
   ========================================= */

.organization-cta-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient( 135deg, #D9F1E6 0%, #E5F3E5 48%, #D5EDDF 100% );
}

/* Subtle square grid */
.cta-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(rgba(67, 141, 44, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(67, 141, 44, .055) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: .8;
}

/* Brand colors in the headline */
.organization-cta-section h2 {
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

.cta-brand-live {
    display: inline;
    color: #202820;
    font-weight: 900;
    direction: ltr;
    unicode-bidi: isolate;
}

.cta-brand-webinar {
    display: inline;
    color: #66B83F;
    font-weight: 900;
    direction: ltr;
    unicode-bidi: isolate;
}

/* Decorative outlined squares */
.organization-cta-decoration {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border: 1px solid rgba(67, 141, 44, .20);
    border-radius: 17px;
    animation: cta-float 9s ease-in-out infinite;
}

.cta-decoration-one {
    width: 105px;
    height: 105px;
    top: 35px;
    left: 8%;
    transform: rotate(25deg);
}

.cta-decoration-two {
    width: 65px;
    height: 65px;
    top: 65px;
    right: 12%;
    border-radius: 13px;
    animation-delay: -2s;
}

.cta-decoration-three {
    width: 85px;
    height: 85px;
    bottom: 20px;
    right: 7%;
    animation-delay: -4s;
}

.cta-decoration-four {
    width: 48px;
    height: 48px;
    bottom: 55px;
    left: 23%;
    border-radius: 11px;
    animation-delay: -6s;
}

/* Gentle floating movement */
@keyframes cta-float {
    0%, 100% {
        translate: 0 0;
        rotate: 0deg;
    }

    50% {
        translate: 0 -13px;
        rotate: 8deg;
    }
}

/* Keep the content above decorations */
.organization-cta-content {
    position: relative;
    z-index: 2;
}

.organization-cta-label {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .78);
}

.organization-cta-button {
    position: relative;
    z-index: 2;
    box-shadow: 0 7px 20px rgba(67, 141, 44, .20);
}

    .organization-cta-button:hover {
        box-shadow: 0 10px 24px rgba(67, 141, 44, .28);
    }

/* Mobile adjustments */
@media (max-width: 767px) {

    .cta-grid-pattern {
        background-size: 29px 29px;
    }

    .cta-decoration-one {
        width: 65px;
        height: 65px;
        left: -12px;
        top: 20px;
    }

    .cta-decoration-two {
        width: 45px;
        height: 45px;
        right: 5%;
        top: 25px;
    }

    .cta-decoration-three {
        width: 55px;
        height: 55px;
        right: -10px;
        bottom: 15px;
    }

    .cta-decoration-four {
        width: 35px;
        height: 35px;
        left: 8%;
        bottom: 20px;
    }

    .organization-cta-section h2 {
        font-size: 23px;
        line-height: 1.9;
    }
}

/* Accessibility: respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .organization-cta-decoration {
        animation: none !important;
    }
}
/* Keep LiveWebinar brand name in its original order */
.cta-brand {
    display: inline-block;
    direction: ltr !important;
    unicode-bidi: isolate !important;
    white-space: nowrap;
    font-weight: 900;
}

.cta-brand-live {
    color: #202820;
}

.cta-brand-webinar {
    color: #66B83F;
}






/* =========================================
   HOMEPAGE: UPCOMING WEBINARS + CONTACT
   ========================================= */

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
    color: #438D2C;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
}

.webinars-section {
    padding: 42px 25px 48px;
}

.webinars-section .section-heading,
.contact-section .section-heading {
    max-width: 720px;
    margin: 0 auto 25px;
    text-align: center;
}

.webinars-empty-state {
    max-width: 760px;
    margin: 0 auto;
    padding: 35px 24px 32px;
    border: 1px solid #E7EDE3;
    border-radius: 22px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F7FAF4 100%);
    text-align: center;
    box-shadow: 0 12px 35px rgba(45, 75, 40, .045);
}

.webinars-empty-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    border-radius: 18px;
    background: #E3EDD9;
    color: #438D2C;
    font-size: 29px;
}

.webinars-empty-state h3 {
    margin: 0 0 8px;
    color: #344238;
    font-size: 18px;
    font-weight: 900;
}

.webinars-empty-state p {
    max-width: 570px;
    margin: 0 auto 17px;
    color: #778276;
    font-size: 13px;
    line-height: 2;
}

.webinars-notify-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #438D2C;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.webinars-notify-link:hover { color: #2F7020; }

.contact-section {
    padding: 48px 25px 58px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
    direction: rtl;
}

.contact-intro-card,
.contact-form-card {
    padding: 29px;
    border: 1px solid #E9EDE5;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 12px 35px rgba(45, 75, 40, .045);
}

.contact-intro-card {
    background: #F5F8F1;
}

.contact-mark {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    margin-bottom: 19px;
    border-radius: 15px;
    background: #D9F1E6;
    color: #438D2C;
    font-size: 14px;
    font-weight: 900;
    direction: ltr;
}

.contact-intro-card h3,
.contact-form-card h3 {
    margin: 0 0 9px;
    color: #344238;
    font-size: 18px;
    font-weight: 900;
}

.contact-intro-card > p,
.contact-form-description {
    margin: 0;
    color: #778276;
    font-size: 12px;
    line-height: 2;
}

.contact-points {
    display: grid;
    gap: 13px;
    margin-top: 25px;
}

.contact-point {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #566454;
    font-size: 12px;
    font-weight: 700;
}

.contact-point-icon {
    display: grid;
    place-items: center;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #E3EDD9;
    color: #438D2C;
    font-size: 12px;
    font-weight: 900;
}

.contact-form { margin-top: 19px; }
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.form-field { min-width: 0; margin-bottom: 14px; }
.form-field label {
    display: block;
    margin-bottom: 7px;
    color: #4E5B4D;
    font-size: 11px;
    font-weight: 800;
}

.form-field input,
.form-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #E3E9DE;
    border-radius: 10px;
    outline: none;
    background: #FAFBF9;
    color: #344238;
    font: inherit;
    font-size: 12px;
    line-height: 1.7;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: #A1AA9D; }
.form-field textarea { resize: vertical; min-height: 105px; }
.form-field input:focus,
.form-field textarea:focus { border-color: #8DBD79; }
.form-field input:disabled,
.form-field textarea:disabled { cursor: not-allowed; opacity: .75; }

.contact-submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 45px;
    border: 0;
    border-radius: 11px;
    background: #66B83F;
    color: #FFFFFF;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
}

.contact-submit-button:disabled { cursor: not-allowed; opacity: .65; }
.contact-form-note {
    display: block;
    margin-top: 10px;
    color: #929B8E;
    font-size: 10px;
    line-height: 1.9;
}

html[dir="ltr"] .contact-layout { direction: ltr; }
html[dir="ltr"] .contact-intro-card,
html[dir="ltr"] .contact-form-card { text-align: left; }
html[dir="ltr"] .contact-point { flex-direction: row; }
html[dir="ltr"] .contact-form input,
html[dir="ltr"] .contact-form textarea { text-align: left; direction: ltr; }

@media (max-width: 767px) {
    .webinars-section, .contact-section { padding: 34px 16px 40px; }
    .webinars-empty-state { padding: 28px 18px; border-radius: 18px; }
    .contact-layout { grid-template-columns: 1fr; gap: 15px; }
    .contact-intro-card, .contact-form-card { padding: 23px 19px; border-radius: 18px; }
}

@media (max-width: 420px) {
    .contact-form-row { grid-template-columns: 1fr; gap: 0; }
    .webinars-empty-state h3 { font-size: 16px; }
}

/* =========================================
   REGISTRATION PAGE
   ========================================= */
.register-page {
    min-height: 620px;
    padding: 58px 20px 72px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(180deg, #FBFCF9 0%, #F5F4EF 100%);
}

.register-card {
    width: min(100%, 540px);
    padding: 38px 42px;
    border: 1px solid #E9EEE5;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 14px 45px rgba(55, 75, 45, .07);
}

.register-heading { text-align: center; margin-bottom: 28px; }
.register-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 13px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #E3EDD9;
    color: #438D2C;
    font-size: 23px;
}
.register-heading h1 {
    margin: 0 0 7px;
    color: #252525;
    font-size: 23px;
    font-weight: 900;
}
.register-heading p {
    margin: 0;
    color: #858D82;
    font-size: 12px;
}
.register-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.register-field { min-width: 0; margin-bottom: 17px; }
.register-field label {
    display: block;
    margin-bottom: 7px;
    color: #4E5B4D;
    font-size: 12px;
    font-weight: 800;
}
.required-mark { color: #D36A55; margin-inline-start: 3px; }
.register-field input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #E3E9DE;
    border-radius: 11px;
    outline: none;
    background: #FAFBF9;
    color: #344238;
    font: inherit;
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s;
}
.register-field input:focus {
    border-color: #8DBD79;
    box-shadow: 0 0 0 3px rgba(102, 184, 63, .10);
}
.register-field input.input-validation-error { border-color: #D36A55; }
.register-field-error { display: block; min-height: 0; margin-top: 4px; color: #C65345; font-size: 11px; }
.register-help { display: block; margin-top: 6px; color: #929B8E; font-size: 10px; }
.register-validation-summary {
    margin-bottom: 15px;
    color: #B64C3F;
    font-size: 12px;
}
.register-validation-summary:empty { display: none; }
.register-validation-summary ul { margin: 0; padding-inline-start: 20px; }
.register-submit-button {
    width: 100%;
    min-height: 49px;
    margin-top: 4px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 12px;
    background: #66B83F;
    color: #FFFFFF;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.register-submit-button:hover { background: #438D2C; transform: translateY(-1px); }
.register-login-link { margin: 20px 0 0; text-align: center; color: #858D82; font-size: 12px; }
.register-login-link a { margin-inline-start: 5px; color: #438D2C; font-weight: 900; }
html[dir="ltr"] .register-heading { text-align: center; }
html[dir="ltr"] .register-field label { text-align: left; }
html[dir="ltr"] .register-field-error,
html[dir="ltr"] .register-help { text-align: left; }

@media (max-width: 600px) {
    .register-page { min-height: 0; padding: 32px 14px 45px; }
    .register-card { padding: 28px 20px; border-radius: 19px; }
    .register-heading h1 { font-size: 20px; }
}
@media (max-width: 420px) {
    .register-form-row { grid-template-columns: 1fr; gap: 0; }
}


/* =========================================
   LOGIN PAGE
   ========================================= */
.login-page {
    min-height: 620px;
    padding: 58px 20px 72px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(180deg, #FBFCF9 0%, #F5F4EF 100%);
}
.login-card {
    width: min(100%, 480px);
    padding: 38px 42px;
    border: 1px solid #E9EEE5;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 14px 45px rgba(55, 75, 45, .07);
}
.login-heading { text-align: center; margin-bottom: 30px; }
.login-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 13px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #E3EDD9;
    color: #438D2C;
    font-size: 23px;
}
.login-heading h1 {
    margin: 0 0 7px;
    color: #252525;
    font-size: 23px;
    font-weight: 900;
}
.login-heading p { margin: 0; color: #858D82; font-size: 12px; line-height: 1.9; }
.login-field { min-width: 0; margin-bottom: 18px; }
.login-field label {
    display: block;
    margin-bottom: 7px;
    color: #4E5B4D;
    font-size: 12px;
    font-weight: 800;
}
.login-required-mark { color: #D36A55; margin-inline-start: 3px; }
.login-field input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 47px;
    padding: 10px 13px;
    border: 1px solid #E3E9DE;
    border-radius: 11px;
    outline: none;
    background: #FAFBF9;
    color: #344238;
    font: inherit;
    font-size: 13px;
    transition: border-color .2s, box-shadow .2s;
}
.login-field input:focus {
    border-color: #8DBD79;
    box-shadow: 0 0 0 3px rgba(102, 184, 63, .10);
}
.login-field input.input-validation-error { border-color: #D36A55; }
.login-field-error { display: block; margin-top: 4px; color: #C65345; font-size: 11px; }
.login-validation-summary { margin-bottom: 15px; color: #B64C3F; font-size: 12px; line-height: 1.8; }
.login-validation-summary:empty { display: none; }
.login-validation-summary ul { margin: 0; padding-inline-start: 20px; }
.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2px 0 20px;
    color: #737E70;
    font-size: 11px;
}
.login-remember { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.login-remember input { width: 15px; height: 15px; accent-color: #66B83F; }
.login-forgot-placeholder { color: #9AA296; }
.login-submit-button {
    width: 100%;
    min-height: 49px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 12px;
    background: #66B83F;
    color: #FFFFFF;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.login-submit-button:hover { background: #438D2C; transform: translateY(-1px); }
.login-register-link { margin: 21px 0 0; text-align: center; color: #858D82; font-size: 12px; }
.login-register-link a { margin-inline-start: 5px; color: #438D2C; font-weight: 900; }
html[dir="ltr"] .login-field label { text-align: left; }
html[dir="ltr"] .login-field-error { text-align: left; }
@media (max-width: 600px) {
    .login-page { min-height: 0; padding: 32px 14px 45px; }
    .login-card { padding: 28px 20px; border-radius: 19px; }
    .login-heading h1 { font-size: 20px; }
}

/* =========================================
   AUTHENTICATED HEADER ACTIONS
   ========================================= */
.header-logout-form {
    display: inline-flex;
    align-items: center;
    margin: 0;
}
.header-account-label {
    color: #667261;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.header-logout-button {
    font-family: inherit;
}
.header-register-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 7px 12px;
    border: 1px solid #DCE8D5;
    border-radius: 12px;
    color: #438D2C;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease;
}
.header-register-link:hover {
    background: #F1F7ED;
    border-color: #BFD8B3;
    color: #438D2C;
}

@media (max-width: 767px) {
    .header-account-label {
        display: none;
    }
    .header-actions {
        gap: 6px;
    }
    .header-register-link {
        min-height: 36px;
        padding: 6px 9px;
        font-size: 10px;
    }
}


/* Account-type entry selector */
.auth-select { display:block; width:100%; min-height:47px; padding:10px 13px; border:1px solid #E3E9DE; border-radius:11px; outline:none; background:#FAFBF9; color:#344238; font:inherit; font-size:13px; }
.auth-select:focus { border-color:#8DBD79; box-shadow:0 0 0 3px rgba(102,184,63,.10); }
.auth-switch-note { margin:16px 0 0; color:#899187; font-size:11px; line-height:1.9; text-align:center; }
.register-field [hidden] { display:none !important; }
