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


body{

    font-family: PingFangSC-light, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "WenQuanYi Micro Hei", "Heiti SC", 冬青黑, "Microsoft YaHei", 微软正黑体, "Microsoft JhengHei", 微软雅黑, 宋体, STHeiti, "LiHei Pro", 华文黑体, "Open Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    overflow-x: hidden;
}


/*General style*/


a {
    text-decoration: none;
    color: #1b46ce;
    outline: none;
}

a:hover,
a:focus {
    color: #164eff;
    font-weight: bold;
    text-decoration: none;
}

h1 {
    font-size: 2.4rem;
    margin: 0 0 20px;
    font-weight: bold;
}

h1,
h3,
h4 {
    color: #020202;
    font-weight: bold;
}

h5 {
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: bold;
    color: #020202;
    padding: 1.2rem;
    text-align: justify;
}

p { font-size:18px; }

ul,
ol {
    color: #013e66;
}

p {
    color: #020202;
    text-align: left;
}

section {
    margin: 0;
    padding: 2em 0em;
}

.no-padding {
    padding: 0px;
}

.desktop-view {
    display: block;
}

.mobile-view {
    display: none;
}


.header-logo {
    width: 320px;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 50px;
}


.hide {
    opacity: 0;

}

.show {
    opacity: 1;

}


/* Top right */

#topbar {
    position: absolute;
    top: 2rem;
    right: 50px;
    white-space: nowrap;
    z-index: 100000;
}

#topbar .fa-2x {
    font-size: 1.3em;
}

.social-icons {
    width: 40px;
    margin-left: .5em;
    background: #ec6d17;
    padding: .5em 0 .5em .1em;
    color: #ffffff;
    float: left;
    text-align: center;
    border-radius: 100px;
    line-height: 1.5em;
}

.red-book img{
    width: 100%;
    margin:0 auto;
    text-align: center;
    border-radius: 100px;
    line-height: unset !important;
}


.social-icons-main {
}

.lang-btn {
    background-color: #db4b2f;
    border-radius: 50px;
    color: #ffecdf;
    height: 40px;
    width: 40px;
    margin-right: 5px;
    padding: 0px 8px;
    font-size: 1em;
}

.btn.lang-btn:hover {
    background-color: #048ea5;
    color: #ffecdf;
}

.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);

}

/* End of Top right */


/* Sections Background */


.first-section-bg-3 {
    background-image: url("https://microfilm.zaobao.com/preview/assets/img/sharing-bg.jpg"); 
    background-repeat: no-repeat; 
    background-size: cover; 
    max-width: 100%;
    margin: 0;
    padding-bottom: 0;
    display: block;
}


/* End of Sections Background */


/* Navigation Menu */

        .navbar-toggle-btn {
            position: fixed;
            top: 2rem;
            left: 50px;
            background-color: rgba(27, 70, 206, 0.9);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: none;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 1050;
            color: #ffffff !important;
        }

        .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
            color: #ffffff;
            background-color: #c04545;
        }

        .offcanvas {
            background-color: rgba(33, 43, 53);
        }

        .offcanvas-header {
            border-bottom: 0px solid #dee2e6;
        }

        .offcanvas-body .nav-link {
            font-size: 1.2rem;
            font-weight: 500;
            color: #ebc378;
            padding: 1rem 1.5rem;
            border-radius: 0.5rem;
            transition: background-color 0.2s, color 0.2s;
        }
        
        .offcanvas-body .nav-link:hover {
            background-color: #ebc378;
            color: rgba(33, 43, 53);
        }

        .offcanvas-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1040;
            width: 100vw;
            height: 100vh;
            background-color: transparent !important;

        }

        .offcanvas.hiding, .offcanvas.show, .offcanvas.showing {
            visibility: visible;
            z-index: 10000;
        }

        .offcanvas.offcanvas-start {
            top: 0;
            left: 0;
            width: auto;
            border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
            transform: translateX(-100%);
        }

        .btn-close {
            --bs-btn-close-color: #ffffff !important;
        }

/* End of Navigation Menu */


/* Key Visual */


.sharing-key-visual {
    width: 100vw;  /* Sets width to 100% of the viewport width */
    height: auto;  
    padding: 0;
    object-fit: cover; /* Ensures the image covers the entire area, cropping if necessary */
    object-position: center;
    display: block;

}





/* End of Key Visual */





/* Sharing Session page */


 /* Custom Tailwind Configuration (Optional but ensures Inter font and rounded corners) */
       
/* Custom Styles to match the mock aesthetics */
.page-container {
    min-height: 100vh;
    padding: 2rem 0;
}

.left-panel {
    background-color: #ffe8b1;
    padding: 6em 2rem;
    border-radius: 30px;
}

.right-panel {
    background-color: rgba(255, 232, 177, 0.5); 
    padding: 0rem 2rem 2rem 2rem;
    border-radius: 30px;
}
        
/* NEW STYLES FOR SMALLER SIDE NAVIGATION CIRCLES */
.speaker-circle-nav { 
    width: 80px; /* Smaller size */
    height: 80px;
    background-color: #4A90E2; 
    border-radius: 50%;
    margin: 0 auto;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-left: 12px;
    margin-right: 12px;
}

.speaker-circle-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 1);
}
        
.speaker-circle-nav.active {
    border-color: #FF5A5F; /* Active/selected indicator color */
    box-shadow: 0 0 0 6px rgba(255, 90, 95, 0.6);
}

.speaker-circle-nav img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name-badge {
    padding: 1rem;
    background-color: #6a85e6;
    display: block;
    font-weight: bold;
    color: #fff;
    text-align: center;
    width: 35%;
    margin: 0 auto;
    border-radius: 0;
    font-size: 1.2rem;
    margin-top: -1.5rem;
}


.speaker-name-badge2 {
    padding: 1rem;
    background-color: #6a85e6;
    display: block;
    font-weight: bold;
    color: #fff;
    text-align: center;
    width: 35%;
    margin: 0 auto;
    border-radius: 0;
    font-size: 1.2rem;
    margin-top: -7.5rem;
}

.speaker-title-badge {
    background-color: #724A9B; /* Title color */
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    display: inline-block;
}

p.speaker-para {
    text-align: justify;
}

/* Content Toggling */
.content-item {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.content-item.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


img.speaker-image {
    width: 40%;
    margin: 0 auto;
    margin-top: 2rem;
}

.content-panel-bg{
            background-color: #bfccfa;
            width: 40%;
            margin: 0 auto;
            border-radius: 300px;
            margin-bottom: 2rem;
            margin-top: -2.5rem;
            position: relative;
            z-index: 40;
        
        }


        .content-panel-title {
            font-size: 25px;
            font-weight: 700;
            margin-top: .5rem;
            margin-bottom: 0.05rem;
        }
        
        .content-panel-subtitle {
            font-size: 18px;
            font-weight: 500;
            margin-bottom: .5rem;
        }


.embed-responsive2 {
    position: relative;
    display: block;
    left:2.5rem;
    width: 100%;
    padding: 0;
    overflow: hidden;
    margin: 0 auto;
    text-align: left;
}

.height-increase {
    line-height: 3rem;
}


/* Sharing Session page */





footer {
    font-size: 16px;
    color: #f3d3af;
    margin-top: 4rem;
    padding: 3rem;
    background-color: rgba(255, 255, 255, .4);
}



.copyright {
    margin-top: 0px;
    font-size: .9em;
    padding: 22px 0px;
    background-color: #213269;
    color: #ffede0;
    margin-top: 0px;
    padding-top: 19px;
    z-index: 1003;
}

.copyright p {
    margin-bottom: 0;
}



.social-icons3 {
    margin-left: .8em;
    background: #ec6d17;
    padding: .4em .7em .5em 1em;
    color: #ffffff;
    text-align: center;
    border-radius: 100px;
    line-height: 1.5em;
}



@media screen and (max-width: 1400px) {


.sharing-key-visual {
    width: 120vw;  /* Sets width to 100% of the viewport width */
    height: auto;  
    padding: 0;
    object-fit: cover; /* Ensures the image covers the entire area, cropping if necessary */
    object-position: center;
    display: block;
    position:relative;
    left: 50%; /* Moves the image 50% from the left side of the screen */
    transform: translateX(-48%); 

}


.embed-responsive2 {
    position: relative;
    display: block;
    left:0;
    width: 100%;
    padding: 0;
    overflow: hidden;
    margin: 0 auto;
    text-align: left;
}

}



@media screen and (max-width: 990px) {


.desktop-view {display: none;}

.mobile-view {display: block;}

.red-book img{
    width: 55px;
    margin:0 auto;
    text-align: center;
    border-radius: 100px;
    line-height: unset !important;
}

.social-icons4 {
    margin-left: .8em;
    background: #ec6d17;
    padding: .4em .6em .5em .6em;
    color: #ffffff;
    text-align: center;
    border-radius: 100px;
    line-height: 1.5em;
}



.sharing-key-visual {
    width: 150vw;  /* Sets width to 100% of the viewport width */
    height: auto;  
    padding: 0;
    object-fit: cover; /* Ensures the image covers the entire area, cropping if necessary */
    object-position: center;
    display: block;
    position:relative;
    left: 50%; /* Moves the image 50% from the left side of the screen */
    transform: translateX(-49%); 

}

.right-panel {
    background-color: rgba(255, 232, 177, 0.5); 
    padding: 0rem 2rem 2rem 2rem;
    border-radius: 30px;
    margin-top: 3rem;
}



}


@media screen and (max-width: 768px) {


.sharing-key-visual {
    width: 220vw;  /* Sets width to 100% of the viewport width */
    height: auto;  
    padding: 0;
    object-fit: cover; /* Ensures the image covers the entire area, cropping if necessary */
    object-position: center;
    display: block;
    position:relative;
    left: 58%; /* Moves the image 50% from the left side of the screen */
    transform: translateX(-55%); 

}


img.speaker-image {
    width: 60%;
    margin: 0 auto;
    margin-top: 2rem;
}


.content-panel-bg{
            background-color: #bfccfa;
            width: 50%;
            margin: 0 auto;
            border-radius: 300px;
            margin-bottom: 2rem;
            margin-top: -2.5rem;
            position: relative;
            z-index: 40;
        
        }


}



@media screen and (max-width: 600px) {

.content-panel-bg{
            background-color: #bfccfa;
            width: 90%;
            margin: 0 auto;
            border-radius: 300px;
            margin-bottom: 2rem;
            margin-top: -2.5rem;
            position: relative;
            z-index: 40;
        
        }


}
