@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.conferences-page {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body .main-content:has(.conferences-page) {
    padding: 0;
}

.main-content[b-0h9cb5uog7] {
    padding: 0;
    max-width: none;
    margin: 0;
    width: 100%;
    flex: 1 1 auto;


    .conf-hero {
        position: relative;
        height: 300px;
        background-image: url('/images/conf-banner.jpg');
        background-size: cover;
        background-position: center top;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .conf-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(10, 20, 55, 0.58);
        }

    .conf-hero-overlay {
        position: relative;
        z-index: 1;
        text-align: center;
    }

    .conf-hero-title {
        color: #ffffff;
        font-size: 2.6rem;
        font-weight: 800;
        letter-spacing: 3px;
        text-transform: uppercase;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    }


    .upcoming-section {
        background-color: #ffffff;
    }

    .conference-item {
        display: flex;
        align-items: flex-start;
        gap: 1.6rem;
        padding: 2.2rem 0;
    }

    .conf-date-badge {
        flex-shrink: 0;
        width: 78px;
        min-height: 78px;
        background-color: #F5C400;
        border-radius: 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 8px;
    }

    .conf-day {
        font-size: 2rem;
        font-weight: 800;
        color: #111;
        line-height: 1;
    }

    .conf-month {
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #111;
        margin-top: 3px;
        letter-spacing: 0.5px;
    }

    .conf-thumb {
        flex-shrink: 0;
        width: 190px;
    }

        .conf-thumb img {
            width: 100%;
            height: 135px;
            object-fit: cover;
            border-radius: 4px;
        }

    .conf-info {
        flex: 1;
    }

    .conf-title {
        font-size: 1.15rem;
        font-weight: 700;
        color: #1a2744;
        margin-bottom: 0.2rem;
    }

    .conf-subtitle {
        color: #C99A00;
        font-size: 0.83rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .conf-desc-heading {
        font-size: 0.88rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 0.45rem;
    }

    .conf-location {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.82rem;
        font-weight: 600;
        color: #1b2a52;
        margin-bottom: 0.6rem;
    }

        .conf-location i {
            color: #F5C400;
            font-size: 0.95rem;
        }

    .conf-desc-text {
        font-size: 0.87rem;
        color: #555;
        line-height: 1.65;
        margin-bottom: 1rem;
    }

    .conf-divider {
        border: 0;
        border-top: 1px solid #e0e4ea;
        margin: 0;
    }


    .btn-book {
        display: inline-block;
        padding: 0.48rem 1.9rem;
        border-radius: 50px;
        background-color: #0d790e;
        color: #ffffff;
        font-size: 0.88rem;
        font-weight: 600;
        border: 2px solid #0d790e;
        cursor: pointer;
        letter-spacing: 0.2px;
        transition: background-color 0.22s ease, color 0.22s ease, transform 0.15s ease, box-shadow 0.22s ease;
    }

        .btn-book:hover {
            background-color: transparent;
            color: #22c55e;
            box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
            transform: translateY(-2px);
        }

        .btn-book:active {
            transform: translateY(0);
            box-shadow: none;
        }
        
        .btn-book.btn-booked,
        .btn-book.btn-booked:hover {
            background-color: #22c55e;
            color: #ffffff;
            border-color: #22c55e;
            box-shadow: none;
            transform: none;
            cursor: default;
            opacity: 1;
        }


    .previous-tab {
        background-color: #1b2a52;
        padding: 4rem 0 4.5rem;
    }

    .previous-conf {
        color: #ffffff;
        font-size: 2.2rem;
        font-weight: 800;
        letter-spacing: 3px;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 2.5rem;
    }

    .prev-carousel-outer {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .prev-carousel-track {
        position: relative;
        flex: 1;
        height: 260px;
        overflow: hidden;
    }

    .prev-slide {
        position: absolute;
        top: 50%;
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

        .prev-slide img {
            display: block;
            width: 100%;
            object-fit: cover;
            border-radius: 10px;
        }

    .slide-center {
        width: 46%;
        left: 27%;
        transform: translateY(-50%);
        z-index: 3;
        opacity: 1;
    }

        .slide-center img {
            height: 240px;
            box-shadow: 0 14px 42px rgba(0, 0, 0, 0.55);
        }

    .slide-left {
        width: 30%;
        left: 1%;
        transform: translateY(-50%);
        z-index: 2;
        opacity: 0.5;
    }

        .slide-left img {
            height: 180px;
        }

    .slide-right {
        width: 30%;
        left: 69%;
        transform: translateY(-50%);
        z-index: 2;
        opacity: 0.5;
    }

        .slide-right img {
            height: 180px;
        }

    .slide-hidden {
        width: 30%;
        left: 35%;
        transform: translateY(-50%) scale(0.4);
        opacity: 0;
        z-index: 0;
        pointer-events: none;
    }

    .prev-slide-link {
        position: relative;
        display: block;
        text-decoration: none;
    }

    .prev-slide-overlay {
        position: absolute;
        inset: 0;
        border-radius: 10px;
        background: rgba(10, 18, 50, 0.88);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 1rem 0.85rem;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .prev-slide-link:hover .prev-slide-overlay {
        opacity: 1;
    }

    .prev-overlay-date {
        font-size: 0.72rem;
        font-weight: 700;
        color: #F5C400;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 0.4rem;
    }

    .prev-overlay-title {
        font-size: 0.92rem;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 0.45rem;
        line-height: 1.3;
    }

    .prev-overlay-desc {
        font-size: 0.76rem;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.45;
        margin: 0;
    }

    .carousel-arrow {
        flex-shrink: 0;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.35);
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease;
        z-index: 10;
    }

        .carousel-arrow:hover {
            background: rgba(255, 255, 255, 0.22);
            border-color: rgba(255, 255, 255, 0.7);
        }

    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 2rem;
    }

    .carousel-dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.28);
        cursor: pointer;
        transition: background 0.25s ease, transform 0.25s ease;
    }

        .carousel-dot.active {
            background: #ffffff;
            transform: scale(1.35);
        }


    @media (max-width: 992px) {
        .conf-hero-title {
            font-size: 2rem;
        }

        .previous-conf {
            font-size: 1.7rem;
        }

        .slide-center {
            width: 50%;
            left: 25%;
        }

        .slide-left {
            width: 28%;
            left: 1%;
        }

        .slide-right {
            width: 28%;
            left: 71%;
        }
    }

    @media (max-width: 768px) {
        .conf-hero {
            height: 220px;
        }

        .conf-hero-title {
            font-size: 1.6rem;
            letter-spacing: 2px;
        }

        .conference-item {
            flex-direction: column;
            gap: 1rem;
        }

        .conf-thumb {
            width: 100%;
        }

            .conf-thumb img {
                height: 200px;
            }

        .conf-date-badge {
            width: 70px;
            min-height: 70px;
        }

        .conf-day {
            font-size: 1.7rem;
        }

        .previous-conf {
            font-size: 1.4rem;
            letter-spacing: 1.5px;
        }

        .prev-carousel-track {
            height: 200px;
        }

        .slide-center {
            width: 58%;
            left: 21%;
        }

            .slide-center img {
                height: 180px;
            }

        .slide-left {
            width: 24%;
            left: 1%;
        }

            .slide-left img {
                height: 140px;
            }

        .slide-right {
            width: 24%;
            left: 75%;
        }

            .slide-right img {
                height: 140px;
            }

        .carousel-arrow {
            width: 34px;
            height: 34px;
            font-size: 0.85rem;
        }
    }


    .booking-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(10, 15, 40, 0.65);
        backdrop-filter: blur(3px);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .booking-modal {
        position: relative;
        background: #ffffff;
        border-radius: 16px;
        width: 100%;
        max-width: 560px;
        max-height: 90vh;
        overflow-y: auto;
        padding: 2rem;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    }

    .booking-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: #f3f4f5;
        border: none;
        border-radius: 50%;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 0.9rem;
        color: #555;
        transition: background 0.18s;
    }

        .booking-close:hover {
            background: #e5e7eb;
        }

    .booking-conf-summary {
        display: flex;
        gap: 1rem;
        align-items: center;
        margin-bottom: 1rem;
    }

    .booking-conf-img {
        width: 80px;
        height: 60px;
        object-fit: cover;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .booking-conf-title {
        font-size: 1.05rem;
        font-weight: 700;
        color: #1a2744;
        margin-bottom: 0.25rem;
    }

    .booking-conf-date,
    .booking-conf-cost {
        font-size: 0.82rem;
        color: #6c757d;
        margin: 0.15rem 0;
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

    .booking-conf-cost {
        color: #C99A00;
        font-weight: 600;
    }

    .booking-divider {
        border: 0;
        border-top: 1px solid #e5e7eb;
        margin: 1rem 0;
    }

    .booking-form-title {
        font-size: 1rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 1rem;
    }

    .booking-fields {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .booking-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }

    .booking-field {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

        .booking-field label {
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #777;
        }

        .booking-field .form-control {
            border: 1.5px solid #e5e7eb;
            border-radius: 8px;
            font-size: 0.88rem;
            padding: 0.55rem 0.8rem;
            background: #f9fafb;
            transition: border-color 0.18s, box-shadow 0.18s;
            outline: none;
        }

            .booking-field .form-control:focus {
                border-color: #1a2744;
                background: #fff;
                box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.08);
            }

    .booking-submit {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.7rem;
    }

    .booking-error {
        background: #fef2f2;
        border: 1px solid #fecaca;
        border-radius: 8px;
        padding: 0.6rem 0.85rem;
        font-size: 0.82rem;
        color: #b91c1c;
        margin-bottom: 0.85rem;
    }

    .booking-success {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 0;
        gap: 0.75rem;
    }

        .booking-success i {
            font-size: 2.5rem;
            color: #F5C400;
        }

        .booking-success h3 {
            font-size: 1.3rem;
            font-weight: 700;
            color: #333;
        }

        .booking-success p {
            font-size: 0.88rem;
            color: #6c757d;
            max-width: 380px;
        }

    @media (max-width: 480px) {
        .booking-modal {
            padding: 1.5rem 1.25rem;
        }

        .booking-row {
            grid-template-columns: 1fr;
        }

        .booking-conf-summary {
            flex-direction: column;
            align-items: flex-start;
        }
    }


    .booking-steps {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .booking-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .step-number {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #e5e7eb;
        color: #777;
        font-size: 0.78rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.25s, color 0.25s;
    }

    .step-label {
        font-size: 0.68rem;
        font-weight: 600;
        color: #777;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        transition: color 0.25s;
    }

    .step-active .step-number {
        background: #1a2744;
        color: #ffffff;
    }

    .step-active .step-label {
        color: #1a2744;
    }

    .step-connector {
        width: 50px;
        height: 2px;
        background: #e5e7eb;
        margin: 0 0.35rem 1.3rem;
    }


    .booking-order-summary {
        background: #f8f9fb;
        border-radius: 10px;
        padding: 0.85rem 1rem;
        margin-bottom: 1.25rem;
        border: 1px solid #eef0f4;
    }

    .order-row {
        display: flex;
        justify-content: space-between;
        font-size: 0.85rem;
        color: #555;
        padding: 0.3rem 0;
    }

    .order-total {
        font-weight: 700;
        color: #333;
        border-top: 1px solid #e5e7eb;
        margin-top: 0.3rem;
        padding-top: 0.5rem;
    }


    .payment-placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        padding: 2.5rem 1rem;
        border: 2px dashed #e5e7eb;
        border-radius: 10px;
        color: #9ca3af;
        text-align: center;
        margin-bottom: 1.25rem;
    }

        .payment-placeholder i {
            font-size: 2.2rem;
        }

        .payment-placeholder p {
            font-size: 0.9rem;
            font-weight: 600;
            margin: 0;
            color: #555;
        }

        .payment-placeholder span {
            font-size: 0.78rem;
        }


    .booking-nav-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
    }

    .btn-back {
        background: transparent;
        border: 1.5px solid #e5e7eb;
        border-radius: 8px;
        padding: 0.6rem 1.2rem;
        font-size: 0.88rem;
        font-weight: 600;
        font-family: inherit;
        color: #555;
        cursor: pointer;
        transition: background 0.18s;
    }

        .btn-back:hover {
            background: #f3f4f6;
        }


    .conf-title-link {
        color: inherit;
        text-decoration: none;
        transition: color 0.15s;
    }

        .conf-title-link:hover {
            color: #458a5e;
        }

    .conf-thumb a {
        display: block;
    }

    .conf-actions {
        display: flex;
        gap: 0.6rem;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 0.5rem;
    }

    .btn-details {
        display: inline-block;
        padding: 0.5rem 1.2rem;
        border-radius: 50px;
        border: 2px solid #0b2d5f;
        color: #0b2d5f;
        background: transparent;
        font-size: 0.85rem;
        font-weight: 600;
        text-decoration: none;
        transition: background 0.15s, color 0.15s;
    }

        .btn-details:hover {
            background: #0b2d5f;
            color: #fff;
        }