﻿@font-face {
    font-family: "Cairo";
    src: url("Cairo/Cairo-Regular.woff") format("woff"), url("Cairo/Cairo-Bold.woff") format("woff"), url("Cairo/Cairo-Black.woff") format("woff"), url("Cairo/Cairo-ExtraLight.woff") format("woff"), url("Cairo/Cairo-Light.woff") format("woff"), url("Cairo/Cairo-SemiBold.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    /*font-display: swap;*/
}


* {
    font-family: 'Cairo' !important;
}


:root {
    --brand: #0082c1;
    --brand-2: #0082c1;
    --ink: #222;
    --line: #ddd;
    --shadow: 0 2px 6px rgba(0,0,0,.15);
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
}

/*.navbar {
    box-shadow: var(--shadow);
}*/

.nav-link {
    font-weight: 600;
    color: #ffffff;
}

/* Header icon buttons */
.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--ink);
    padding: 0;
    line-height: 1
}

    .icon-btn:hover {
        background: var(--brand);
        color: #fff;
        border-color: var(--brand)
    }

.navbar .icon-btn {
    box-shadow: var(--shadow)
}

/* Accessibility mode */
body.a11y {
    font-size: 112.5%
}

    body.a11y *:focus {
        outline: 3px solid var(--brand-2) !important;
        outline-offset: 2px
    }

/* Hero section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

    .hero video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.45);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-align: center;
        padding: 1rem;
    }

    .hero h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

.btn {
    min-width: 150px;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    border-radius: 999px;
}
#a11yPanel .btn-outline-primary, #a11yPanel .btn-outline-secondary {
    min-width: auto;
    padding: 5px 0 !important;
}

.btn-brand {
    background: var(--brand);
    color: #fff;
    border: none;
}

    .btn-brand:hover {
        background: var(--brand-2);
    }

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    background: var(--brand);
    color: #fff;
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
}

    .btn-outline-light:hover {
        background: #fff;
        color: var(--ink);
    }

.navbar.scrolled {
    background-color: #ffffff; /* change to your desired color */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* optional shadow */
    transition: background-color 0.3s, box-shadow 0.3s;
}
    .navbar.scrolled #mainNav ul li a{

        color: #000 !important;
    }

.logo img {
    height: 50px;
}

.text-primary {
    color: var(--brand) !important;
}

/* News Ticker Styles */

#FutureThinking {
    /*background-image: linear-gradient(to left top, #ffccff, #fbd3ff, #f9d9ff, #f6dfff, #f5e5ff, #f5e9ff, #f6edff, #f7f1ff, #f8f5ff, #faf8ff, #fcfcff, #ffffff);*/
}

.news-ticker {
    position: relative;
    background: var(--brand, #007bff);
    color: #fff;
    overflow: hidden;
    height: 50px;
    display: flex;
    /*line-height: normal;*/
    font-weight: bold;
    font-size: 1.1rem;
}

    .news-ticker .ticker-content {
        display: inline-block;
        white-space: nowrap;
        padding-right: 100%;
        animation: ticker-ltr 25s linear infinite;
    }

html[dir="ltr"] .news-ticker .ticker-content {
    padding-left: 100%;
    padding-right: 0;
    animation: ticker-rtl 25s linear infinite;
}

@keyframes ticker-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes ticker-ltr {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Ticker items */
.ticker-item {
    margin: 0 10px;
    display: inline-block;
}

.ticker-separator {
    margin: 0 20px;
    color: #fff; /* White arrows */
    font-weight: bold;
    font-size: 2rem !important; /* Larger size */
    display: inline-block;
}

.news-ticker:hover .ticker-content {
    animation-play-state: paused;
    cursor: pointer;
}

html[dir="ltr"] .news-ticker:hover .ticker-content {
    animation-play-state: paused;
    cursor: pointer;
}
/* Optional: responsive font */
@media (max-width: 576px) {
    .news-ticker {
        font-size: 1rem;
    }

    .ticker-separator {
        font-size: 1.3rem;
    }
}

<!-- Body first Section-- >
/* Section padding top and bottom */
.news-section {
    background: #f9f9f9;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Header spacing */
.section-header {
    margin-bottom: 60px;
}

/* Title enhancements */
.news-section .sec-title {
    font-size: 2.5rem; /* larger */
    font-weight: 700; /* bolder */
    color: #222;
}

/* Subheading */
.news-section .muted {
    color: #666;
}

/* Card styling */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .feature-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

/*Agenda section*/

.session-box {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.session-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .session-date .day {
        font-size: 2rem;
        font-weight: bold;
        color: var(--brand);
    }

    .session-date .month {
        font-size: 1rem;
        font-weight: 600;
        color: #333;
    }

    .session-date .time {
        font-size: 0.85rem;
        color: #888;
        margin-top: 0.25rem;
    }

.session-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.session-speaker img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.session-toggle i {
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.session-toggle.collapsed i {
    transform: rotate(180deg);
}

.session-description {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
    text-align: initial;
}

.bi-chevron-down::before {
    vertical-align: -1.53em !important;
}
.custom-tab-wrapper {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50px;
    padding: 10px;
    display: inline-flex;
    gap: 20px;
}

    /* Keep tabs centered */


    /* RTL support without breaking center alignment */


    .custom-tab-wrapper .nav-link {
        border-radius: 50px;
        padding: 10px 24px;
        color: #000;
        font-weight: bold;
        transition: 0.3s ease-in-out;
        white-space: nowrap;
    }

        .custom-tab-wrapper .nav-link.active {
            background-color: var(--brand);
            color: #fff;
        }


/*
Speaker Section
change arrow colors to brand
*/

#speakerSection {
    /*background-image: linear-gradient(to left top, #ffccff, #fbd3ff, #f9d9ff, #f6dfff, #f5e5ff, #f5e9ff, #f6edff, #f7f1ff, #f8f5ff, #faf8ff, #fcfcff, #ffffff);*/
    background-image: repeating-linear-gradient(45deg, transparent, transparent 200px, #fefaf6 400px, #fefaf6 200px);
    background-color: #fbfbfb;
}



.carousel-control-prev:focus .carousel-control-prev-icon,
.carousel-control-prev:active .carousel-control-prev-icon,
.carousel-control-next:focus .carousel-control-next-icon,
.carousel-control-next:active .carousel-control-next-icon {
    background-color: var(--brand) !important; /* Bootstrap primary blue or change as needed */
}

/*Sponsors Section*/

/*.sponsors-section .nav-pills .nav-link {
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}*/

.sponsors-section .nav-pills .nav-link.active {
    background-color: #007dc5;
    color: #fff;
}

.sponsors-section .bg-white {
    transition: transform 0.3s ease;
}

    .sponsors-section .bg-white:hover {
        transform: scale(1.03);
    }


/* Custom Dropdown Design */
.custom-dropdown .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    padding: 0.5rem 0;
    background-color: #ffffff;
}

.custom-dropdown .dropdown-item {
    font-weight: 500;
    color: #333;
    padding: 12px 20px;
    transition: all 0.2s ease-in-out;
}

    .custom-dropdown .dropdown-item:hover {
        background-color: #f1f1f1;
        color: var(--brand);
    }

.custom-dropdown .dropdown-toggle::after {
    margin-inline-start: 0.5rem;
}


/*News Section*/

.newsSwiper {
    padding-bottom: 40px;
    position: relative;
}

.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
    bottom: 0;
    top: auto;
    transform: translateY(100%);
}

.swiper-button-prev {
    left: 45%;
}

.swiper-button-next {
    right: 45%;
}

.card-body {
    text-align: initial !important;
}


#agenda {
    background-color: #fafafa !important;
}

#sponsors {
    background-color: #ffffff !important;
}

#media {
    background-color: #fafafa !important;
}
/*FAQ*/
#faqs {
    background-color: #ffffff !important;
}

.accordion-item {
	border: 1px solid #eeeeee !important;
	box-shadow: none !important;
}
/*Footer*/

#footer {
    background-color: var(--brand)
}

.btn-white {
    background-color: #fff;
    color: #000;
    border: none;
    transition: 0.3s;
}

    .btn-white:hover {
        background-color: #fff;
        color: var(--brand);
    }
.nav-link:focus, .nav-link:hover {
    color: #1DB6D1 !important;
}
/* ====== Accessibility Panel Styling ====== */
#a11yPanel.a11y-panel {
    position: fixed;
    top: 70px;
    width: 300px;
    max-width: 90%;
    z-index: 9999;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid #ddd;
    padding: 1rem;
    display: none; /* hide by default */
}

    /* Show panel when active */
    #a11yPanel.a11y-panel.active {
        display: block;
    }

/* === ✅ LTR: Slide in from RIGHT (default for English) === */
html[dir="ltr"] #a11yPanel.a11y-panel {
    left: auto;
    right: -320px; /* Hidden off-screen to the right */
}

html[dir="ltr"] #a11yPanel.a11y-panel.active {
    right: 20px; /* Slide in */
}

/* === ✅ RTL: Slide in from LEFT (default for Arabic) === */
html[dir="rtl"] #a11yPanel.a11y-panel {
    right: auto;
    left: -320px; /* Hidden off-screen to the left */
}

    html[dir="rtl"] #a11yPanel.a11y-panel.active {
        left: 20px; /* Slide in */
    }

.panel-inner h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.panel-section {
    margin-bottom: 1rem;
}

    .panel-section label {
        display: block;
        margin-bottom: 0.5rem;
    }

    .panel-section button {
        margin: 3px 3px 3px 0;
    }

/* Smooth scroll + highlight */
.section-focus {
    outline: 3px dashed orange;
    outline-offset: 4px;
    transition: outline 0.4s ease;
}

    #a11yPanel.active {
        display: block;
    }

    #a11yPanel button {
        margin: 4px 4px 4px 0;
    }

/* ====== Font Size Transition ====== */
body {
    transition: background 0.3s ease, color 0.3s ease, font-size 0.2s ease;
}

    /* ====== Color Themes ====== */
    body.theme-dark {
        background: #121212 !important;
        color: #eee !important;
    }

    body.theme-light {
        background: #fff !important;
        color: #000 !important;
    }

    body.theme-sepia {
        background: #f4ecd8 !important;
        color: #5b4636 !important;
    }

    /* ====== High Contrast Theme ====== */
    body.high-contrast {
        background: #000 !important;
        color: #fff !important;
    }
    /* ===== Theme: DARK ===== */
    body.theme-dark #agenda,
    body.theme-dark #sponsors,
    body.theme-dark #faqs,
    body.theme-dark #media,
    body.theme-dark #FutureThinking,
    body.theme-dark #speakerSection {
        background: #000 !important;
        color: #fff !important;
        background-image: none;
    }

        body.theme-dark #agenda *,
        body.theme-dark #sponsors *,
        body.theme-dark #faqs *,
        body.theme-dark #media *,
        body.theme-dark #FutureThinking *,
        body.theme-dark #speakerSection * {
            background: #000 !important;
            color: #fff !important;
        }


    /* ===== Theme: LIGHT ===== */
    body.theme-light #agenda,
    body.theme-light #sponsors,
    body.theme-light #faqs,
    body.theme-light #media,
    body.theme-light #FutureThinking,
    body.theme-light #speakerSection {
        background: #ffffff !important;
        color: #000 !important;
        background-image: none;
    }

        body.theme-light #agenda *,
        body.theme-light #sponsors *,
        body.theme-light #faqs *,
        body.theme-light #media *,
        body.theme-light #FutureThinking *,
        body.theme-light #speakerSection * {
            background: #ffffff !important;
            color: #000 !important;
        }


    /* ===== Theme: SEPIA ===== */
    body.theme-sepia #agenda,
    body.theme-sepia #sponsors,
    body.theme-sepia #faqs,
    body.theme-sepia #media,
    body.theme-sepia #FutureThinking,
    body.theme-sepia #speakerSection {
        background: #f4ecd8 !important;
        color: #5b4636 !important;
        background-image: none;
    }

        body.theme-sepia #agenda *,
        body.theme-sepia #sponsors *,
        body.theme-sepia #faqs *,
        body.theme-sepia #media *,
        body.theme-sepia #FutureThinking *,
        body.theme-sepia #speakerSection * {
            background: #f4ecd8 !important;
            color: #5b4636 !important;
        }
/* ====== Section Highlight on Jump ====== */
.section-focus {
    outline: 3px dashed orange;
    outline-offset: 4px;
    transition: outline 0.4s ease;
}


/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}
section {
scroll-margin-top: 80px;	
}