/* ================= ROOT VARIABLES ================= */
:root {
    --clr-primary: #6a11cb;
    --clr-secondary: #f4a300;
    --clr-dark: #140a28;
    --clr-light: #ffffff;

    --clr-text-dark: #220028;
    --clr-text-light: #ffffff;

    /* Glass */
    --glass-bg-dark: linear-gradient(135deg,
        rgba(20, 10, 40, 0.7),
        rgba(50, 20, 80, 0.6));

    --glass-bg-light: linear-gradient(135deg,
        rgba(255, 255, 255, 0.45),
        rgba(255, 255, 255, 0.25));

    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: 14px;

    /* Radius */
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;

    /* Shadow */
    --shadow-glow: 0 20px 40px rgba(106, 17, 203, 0.35);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.15);

    /* Transition */
    --transition-base: 0.4s ease;
}

/* ================= GLASS ================= */
.glass {
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
}

.glass--dark {
    background: var(--glass-bg-dark);
    color: var(--clr-text-light);
}

.glass--light {
    /* background: var(--glass-bg-light); */
    color: var(--clr-text-dark);
}

/* ================= SECTION TITLES ================= */
.section-title {
    font-weight: 800;
    font-size: clamp(22px, 3vw, 45-px);
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: clamp(14px, 1.5vw, 18px);
    opacity: 0.85;
    max-width: 720px;
}

.section-title--gradient {
    background: linear-gradient(135deg, #2665b0, #c80d00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= TABS ================= */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.tab-btn {
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.9);
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    color: var(--clr-text-dark);
    transition: var(--transition-base);
}

.tab-btn.active {
    background: linear-gradient(135deg,
        var(--clr-primary),
        var(--clr-secondary));
    color: var(--clr-text-light);
}

/* ================= TAB CONTENT ================= */
.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeUp .45s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= IMAGE GRID ================= */
.image-grid {
    display: grid;
    gap: 16px;
    max-height: 480px;
}

.image-grid--split {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.grid-large {
    grid-row: span 2;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg,
        rgba(106, 17, 203, .6),
        rgba(244, 163, 0, .55));
    opacity: 0;
    transition: .35s ease;
}

.grid-item:hover .grid-overlay {
    opacity: 1;
}

/* ================= ICON ================= */
.ui-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg,
        var(--clr-primary),
        var(--clr-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.ui-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

/* ================= CARD ================= */
.ui-card {
    height: 100%;
    padding: 28px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition-base);
}

.glass--light .ui-card {
    background: rgba(255, 255, 255, 0.65);
}

.ui-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.ui-card--highlight {
    background: linear-gradient(135deg,
        var(--clr-primary),
        var(--clr-secondary));
    color: var(--clr-text-light);
}

/* ================= LIST ================= */
.ui-list {
    list-style: none;
    padding-left: 0;
}

.ui-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
}

.ui-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--clr-secondary);
}

/* ================= TEXT ================= */
.text-justify {
    text-align: justify;
    line-height: 1.7;
}

/* ================= MOBILE ================= */
@media (max-width: 991px) {
    .glass {
        padding: 24px 20px;
    }

    .image-grid--split {
        grid-template-columns: 1fr;
    }

    .grid-overlay {
        opacity: 1;
    }
}
    /* =========================
   HERO BASE
========================= */
    /* .hero-section {
        position: relative;
        min-height: 100vh;
        padding: 150px 0 60px;
        background: #150046;
        color: #fff;
        display: flex;
        align-items: center;
        overflow: hidden;
        perspective: 1200px;
    } */

        .hero-section {
        position: relative;
        min-height: 100vh;
        padding: 150px 0 60px;
        color: #fff;
        display: flex;
        align-items: center;
        overflow: hidden;
        perspective: 1200px;
        background: linear-gradient(to bottom, rgb(21 0 70 / 70%) 0%, rgb(21 0 70 / 90%) 40%, rgb(21 0 70) 70%, rgb(21 0 70) 100%), url(../img/hero/banner.webp);
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
    }

/* =========================
   GRID BACKGROUND
========================= */
    .grid-bg {
        position: absolute;
        inset: 0;
        background:
            linear-gradient(rgba(106, 17, 203, 0.12) 1px, transparent 1px),
            linear-gradient(90deg, rgba(106, 17, 203, 0.12) 1px, transparent 1px);
        background-size: 50px 50px;
        opacity: 0;
    }

    /* =========================
   SPOTLIGHTS
========================= */
    .spotlight {
        position: absolute;
        width: 550px;
        height: 550px;
        border-radius: 50%;
        filter: blur(90px);
        opacity: 0;
        pointer-events: none;
    }

    .spotlight-1 {
        top: -25%;
        right: 15%;
        background: radial-gradient(circle, rgba(106, 17, 203, .35), transparent 70%);
    }

    .spotlight-2 {
        bottom: -30%;
        left: 10%;
        background: radial-gradient(circle, rgba(244, 163, 0, .25), transparent 70%);
    }

    /* =========================
   FLOATING GLASS CARDS
========================= */
    .float-card {
        position: absolute;
        background: linear-gradient(135deg,
                rgba(106, 17, 203, .18),
                rgba(244, 163, 0, .12));
        border: 1px solid rgba(255, 255, 255, .15);
        backdrop-filter: blur(12px);
        border-radius: 20px;
        opacity: 0;
    }

    .card-1 {
        width: 200px;
        height: 140px;
        top: 20%;
        left: 10%;
    }

    .card-2 {
        width: 180px;
        height: 130px;
        top: 60%;
        right: 8%;
    }

    .card-3 {
        width: 160px;
        height: 120px;
        bottom: 18%;
        left: 15%;
    }

    /* =========================
   CONTENT
========================= */
    .hero-content {
        position: relative;
        z-index: 10;
    }

    .hero-title {
        font-size: clamp(2.2rem, 4.5vw, 2.8rem);
        font-weight: 900;
        color: #fff;
   line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 10px;
        opacity: 0;
    }

    .title-line {
        display: block;
        overflow: hidden;
    }

    .title-word {
        display: inline-block;
        transform: translateY(110%);
    }

    .hero-acronym {
        display: inline-block;
        margin-top: 12px;
        font-size: clamp(1.8rem, 4vw, 3rem);
        font-weight: 900;
        background: linear-gradient(135deg, #6a11cb, #f4a300);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* =========================
   THEME BOX
========================= */
    .theme-box {
        display: inline-block;
        background: linear-gradient(135deg,
                rgba(106, 17, 203, .35),
                rgba(244, 163, 0, .25));
        padding: 18px 28px;
        border-radius: 15px;
        margin-bottom: 40px;
        opacity: 0;
        transform: translateX(-40px);
    }

    .theme-box strong {
        color: #f4a300;
    }

    /* =========================
   EVENT DETAILS
========================= */
    .event-details {
        display: flex;
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;
        margin-bottom: 50px;
    }

    .detail-item {
        display: flex;
        align-items: center;
        gap: 14px;
        opacity: 0;
        transform: translateY(30px);
    }

    .detail-icon {
        width: 68px;
        height: 68px;
        border-radius: 18px;
        background: linear-gradient(135deg, #6a11cb, #f4a300);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        box-shadow: 0 12px 30px rgba(106, 17, 203, .45);
        transition: .4s;
    }

    .detail-item:hover .detail-icon {
        transform: translateY(-8px) scale(1.1);
    }

    .detail-label {
        font-size: .8rem;
        color: #9ca3af;
        text-transform: uppercase;
    }

    .detail-value {
        font-size: 1.1rem;
        font-weight: 700;
    }

    /* =========================
   CTA BUTTONS
========================= */
    .cta-section-1 {
        display: flex;
        gap: 24px;
        justify-content: center;
        flex-wrap: wrap;
        opacity: 0;
    }

    .cta-btn {
        padding: 10px 30px;
        font-weight: 700;
        border-radius: 30px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        transition: .4s;
        position: relative;
        overflow: hidden;
    }

    .title-grident {
        background: linear-gradient(135deg, #6a11cb, #f4a300);
        padding: 2px 6px;
        border-radius: 10px;
        display: inline-block;
    }



    .btn-primary-cta {
        background: linear-gradient(135deg, #6a11cb, #f4a300);
        color: #fff;
        box-shadow: 0 12px 30px rgba(106, 17, 203, .45);
    }

    .btn-secondary-cta {
        border: 2px solid #6a11cb;
        color: #fff;
    }

    .cta-btn:hover {
        transform: translateY(-5px);
    }

    /* =========================
   MOBILE
========================= */
    @media (max-width:768px) {
        .float-card {
            display: none;
        }

        .cta-section-1 {
            flex-direction: column;
        }

        .cta-btn {
            width: 100%;
            justify-content: center;
        }

  
    }

    .brand-gradient {
        position: relative;
        overflow: hidden;
    }

    /* Left gradient */
    .brand-gradient::before,
    .brand-gradient::after {
        content: "";
        position: absolute;
        top: 0;
        width: 120px;
        height: 100%;
        z-index: 5;
        pointer-events: none;
    }

/*
    .brand-gradient::before {
        left: 0;
        background: linear-gradient(to right, rgb(21 0 70) 0%, rgb(23 1 69) 30%, rgba(10, 14, 39, 0) 100%);
    }

    .brand-gradient::after {
        right: 0;
        background: linear-gradient(to left, rgb(21 0 70) 0%, rgb(21 0 70 / 78%) 30%, rgba(10, 14, 39, 0) 100%);
    }
*/

    .gall-1 img {
        margin: 0 10px;
        height: 70px;
/*
        object-fit: contain;
        filter: grayscale(100%);
        opacity: 0.8;
        transition: 0.3s ease;
*/
    }

/*
    .gall-1 img:hover {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.05);
    }
*/





    /* ===== ICON ===== */
    .deadline-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 18px;
        border-radius: 16px;
        background: linear-gradient(135deg, #6a11cb, #f4a300);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: 0 10px 30px rgba(106, 17, 203, 0.45);
    }



    /* ===== GLASS BASE ===== */
    .deadline-glass-wrap {
        border-radius: 24px;
        padding: 40px 30px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(14px);
    }

    /* DARK GLASS */
    /* .glass-dark {
        background: linear-gradient(135deg,
                rgba(20, 10, 40, 0.7),
                rgba(50, 20, 80, 0.6));
    } */

    .glass-dark {
    background: linear-gradient(135deg, rgb(190 126 249 / 70%), rgb(80 55 20 / 60%));
}

/* .glass-dark-image {
    background:
        linear-gradient(
            135deg,
            rgba(190, 126, 249, 0.7),
            rgba(80, 55, 20, 0.6)
        ),
        url("../img/bg-date.jpg");

    background-size: cover;
    background-position: center;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
} */
.glass-dark-image {
    background: linear-gradient(
96deg, rgb(105 0 203 / 59%), rgb(163 95 0 / 81%)), url(../img/bg-date-1.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

    /* LIGHT GLASS */
    .glass-light {
        background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.45),
                rgba(255, 255, 255, 0.25));
        color: #222;
    }

    /* ===== CARD ===== */
.deadline-card {
    height: 100%;
    background: rgb(245 234 234 / 35%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 28px 20px;
    color: #fff;
    transition: 0.45s ease;
}

    .glass-light .deadline-card {
        background: rgba(255, 255, 255, 0.65);
        color: #222;
    }

    /* Hover */
    .deadline-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(106, 17, 203, 0.35);
    }

    /* Highlight */
    .deadline-card.highlight {
        background: linear-gradient(135deg, #6a11cb, #f4a300);
    }

    /* ===== ICON ===== */
    .deadline-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 18px;
        border-radius: 18px;
        background: linear-gradient(135deg, #6a11cb, #f4a300);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 12px 30px rgba(106, 17, 203, 0.45);
    }

    .deadline-icon svg {
        width: 28px;
        height: 28px;
        fill: none;
        stroke: #fff;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    /* ===== TEXT ===== */
    .deadline-card h6 {
        font-weight: 700;
        margin-bottom: 6px;
    }

    .deadline-card p {
        margin: 0;
        font-size: 0.95rem;
        opacity: 0.9;
    }

    /* image grid style  */

        .image-grid-masonry {
                            display: grid;
                            grid-template-columns: 1.2fr 1fr;
                            grid-auto-rows: 180px;
                            gap: 16px;
                        }

                        .masonry-item {
                            position: relative;
                            border-radius: 18px;
                            overflow: hidden;
                        }

                        .masonry-item.tall {
                            grid-row: span 2;
                        }

                        .masonry-item img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                        }

                        .masonry-item span {
                            position: absolute;
                            inset: 0;
                            padding: 12px;
                            display: flex;
                            align-items: flex-end;
                            font-weight: 600;
                            color: #fff;
                            background: linear-gradient(180deg,
                                    transparent,
                                    rgba(0, 0, 0, .7));
                        }
  


                            /* ================= GLASS CONTAINER ================= */
    .glass-tabs-custom {
        background: linear-gradient(135deg, rgba(106, 17, 203, .18), rgba(244, 163, 0, .12));
        border: 1px solid rgba(255, 255, 255, .15);
        backdrop-filter: blur(14px);

    }

    /* ================= TAB NAV ================= */
    .custom-tabs-nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 28px;
        list-style: none;
        padding: 0;
    }

    .tab-btn {
        background: rgb(223 223 223 / 68%);
        border: 1px solid rgb(255 255 255);
        color: #220028;
        padding: 10px 22px;
        line-height: 20px;
        border-radius: 30px;
        cursor: pointer;
        transition: .3s ease;
    }

    .tab-btn.active {
        background: linear-gradient(135deg, #6a11cb, #f4a300);
        color: #fff;
    }

    /* ================= TAB PANELS ================= */
    .custom-tabs-content {
        position: relative;
        min-height: 520px;
    }

    .custom-tab-panel {
        position: absolute;
        inset: 0;
        opacity: 0;
        visibility: hidden;
    }

    .custom-tab-panel.active {
        opacity: 1;
        visibility: visible;
    }

    /* ================= IMAGE GRID ================= */
    .image-grid {
        display: grid;
        gap: 16px;
        height: 100%;
        min-height: 480px;
    }

    /* Desktop grid */
    .grid-style-1 {
        grid-template-columns: 1.2fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .grid-style-1 .large {
        grid-row: span 2;
    }

    /* Image card */
    .grid-img {
        position: relative;
        overflow: hidden;
        border-radius: 18px;
    }

    .grid-img img {
        width: 100%;
        height: 100%;
        object-position: top;
        object-fit: cover;
        transition: transform .6s ease;
    }

    /* Overlay */
.grid-img span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(1deg, rgb(106 17 203 / 98%), rgb(247 226 183 / 0%));
    opacity: 0;
    transition: .35s ease;
}

    .grid-img:hover img {
        transform: scale(1.1);
    }

    .grid-img:hover span {
        opacity: 1;
    }

    /* ================= TEXT ================= */
    .custom-tab-panel h2,
    .custom-tab-panel h4 {
        font-weight: 700;
    }

    .custom-tab-panel p {
        line-height: 1.7;
    }

    /* ================= MOBILE OPTIMIZATION ================= */
    @media (max-width: 991px) {

        /* Disable absolute stacking */
        .custom-tabs-content {
            min-height: auto;
        }

        .custom-tab-panel {
            position: relative;
            opacity: 1;
            visibility: visible;
            display: none;
        }

        .custom-tab-panel.active {
            display: block;
        }

        /* Grid stacks */
        /* .image-grid {
            min-height: auto;
        } */

        .grid-style-1 {
            grid-template-columns: 1fr;
            grid-template-rows: auto;
        }

        .grid-style-1 .large {
            grid-row: auto;
        }

        /* Overlay always visible (no hover on touch) */
        .grid-img span {
            opacity: 1;
            font-size: 14px;
        }

        .grid-img:hover img {
            transform: none;
        }

        /* Reduce glass blur */
        .glass-tabs-custom {
            padding: 22px;
            backdrop-filter: blur(10px);
        }

        .custom-tab-panel h2 {
            font-size: 22px;
        }

        .custom-tab-panel h4 {
            font-size: 20px;
        }
    }

    .conference-objectives {
        padding-left: 1.2rem;
        margin-top: 20px;
    }

    .conference-objectives li {
        margin-bottom: 8px;
        line-height: 1.6;
        font-size: 14px;
        position: relative;
        list-style: none;
        padding-left: 22px;
    }

    .conference-objectives li::before {
        content: "●";
        position: absolute;
        left: 0;
        color: #f4a300;
        font-size: 14px;
        top: 4px;
    }

       .timeline-list {
                            display: grid;
                            grid-template-columns: 1fr 1fr;
                            grid-auto-rows: auto;

                        }

 @media (max-width: 768px) {
    .timeline-list {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
}
