:root {
    --main-color: #FFFFFF;
    --old-gray: #2f2f2f;
    --orange: #FF7F11;
    --text-color: #333333;
    --text-muted: #777777;
    --orange-hover: #E06A00;
}

.navbar-light .navbar-brand {
    color: var(--old-gray) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--old-gray);
}

.navbar-expand-lg .navbar-nav .nav-item:hover>.nav-link:not(.disabled) {
    color: var(--orange);
}

.navbar-expand-lg .navbar-nav .nav-item.active>.nav-link:not(.disabled) {
    color: var(--main-color);
    font-weight: 800;
    background-color: var(--orange);
    border-radius: 8px;
}

.logo-jsf {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.dropdown-menu li>.dropdown-item {
    color: var(--old-gray);
}
.dropdown-menu li:hover>.dropdown-item {
    background-color: var(--orange);
    color: var(--main-color);
}


/* body {
    padding-top: 80px;
} */
/**************** NAVBAR ****************** */
/* Offcanvas menu */
/* .offcanvas-menu {
    position: fixed;
    top: 0;
    left: -500px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    padding: 20px;
    transition: left .3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,.15);
} */

/* .offcanvas-menu.show {
    left: 0;
    background-color: #ffffff;

} */

/* #offcanvasMenu.show {
    background-color: #2f2f2f;

} */
/* #offcanvasItems {
    background-color: #fff;
    color: #2f2f2f6b;
    z-index: 0 !important;
    width: 100%;
    position: relative;
}   */

/* Close button */
/* .close-btn {
    font-size: 30px;
    background: none;
    border: none;
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
} */

/* Overlay */
/* #offcanvasOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 1040;
} */

/* #offcanvasOverlay.show {
    opacity: 1;
    visibility: visible;
} */
/**************************** TITLE GRADIENT ANIMATION *******************************************/
.main-title {
    font-size: clamp(2rem, 3vw, 3.6rem);
    font-weight: 800;
    background: linear-gradient(90deg,
            #b8860b,
            #ffd700,
            #fff1a8,
            #ffd700,
            #b8860b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s linear infinite;
}

.title-theme {
    font-size: clamp(0.8rem, 1.5vw, 1.8rem);
    font-weight: 600;
}

.main-title span {
    background: linear-gradient(90deg,
        #b8860b,
        #ffd700,
        #fff1a8,
        #ffd700,
        #b8860b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientMove 6s linear infinite;
    display: inline-block;
}

.main-title .sup {
    font-size: 0.4em;
    vertical-align: super;
    margin-left: 2px;
}

@media screen and (max-width: 768px) {
    .title-theme {
        font-size: 1.5rem;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.btn-hero {
    margin: 0 20px;
    background-color: #ffffff;
    border-color: #ffffff;
    color: #2C2C2C !important;
}

.btn-hero:last-child {
    color: white;
    background-color: #FF7F11;
    border-color: #FF7F11;
}

.btn-hero:hover {
    color: #ffffff !important;
    background-color: #2c2c2c;
    border-color: #2c2c2c;
}

.btn-hero:last-child:hover {
    background-color: #2C2C2C;
    border-color: #2C2C2C;
}

.btn-gray {
    background-color: var(--old-gray) !important;
    color: var(--main-color) !important;
    border: none !important;
}
.btn-gray:hover {
    background-color: var(--text-muted) !important;
    color: var(--main-color) !important;
    border: none !important;
}

.btn-orange {
    background-color: var(--orange) !important;
    color: var(--main-color) !important;
    border: none !important;
}
.btn-orange:hover {
    background-color: var(--text-muted) !important;
    color: var(--main-color) !important;
    border: none !important;
}
.btn-proceed {
    white-space: normal;
    word-break: break-word;
    text-align: center;
    max-width: 90%;
    color: var(--text-color) !important;
    background-color: var(--main-color);
    border-color: var(--orange);
}
.btn-proceed:hover {
    background-color: var(--text-muted);
    color: var(--main-color) !important;
    font-weight: 600;
    border-color: var(--main-color);
}

@media screen and (max-width: 768px) {
    .btn-hero {
        margin: 5px 0;
    }
}

.hero-info h4 {
    font-size: clamp(0.6rem, 2vw, 1rem) !important;
}
.hero-info{
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
}

/**************************** STICKY HEADER *******************************************/
/* Header info (email & lokasi) */
.header-title {
  background-color: #0d6efd;
  font-size: 14px;
}

/* Header default */
.cs-header {
  position: relative;
  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease;
  will-change: transform;
}

/* Saat sticky */
.cs-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    animation: fadeTopBottom 0.2s ease-out;
}

@keyframes fadeTopBottom {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animasi awal (slide dari atas) */
.cs-header.is-sticky.animate {
  transform: translateY(-100%);
}

.cs-header.is-sticky.animate.show {
  transform: translateY(0);
}

/* Biar konten nggak loncat */
body.has-sticky {
  padding-top: 72px; /* sesuaikan tinggi navbar */
}



/*********************** HERO **********************************/
.hero {
    position: relative;
    color: #ffffff;
    min-height: 100vh !important;
    overflow: hidden;
}

.hero-title {
    min-height: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* dark overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    /* tingkat gelap */
    z-index: 1;
}

/* konten hero di atas overlay */
.hero>* {
    position: relative;
    z-index: 2;
}

.hero-title h3 {
    font-weight: 100;
}

@media screen and (max-width: 768px) {
    .hero {
        min-height: 100svh;
        align-items: flex-start;
}
    
}

/***************************** Important Dates *****************************/

.timeline-modern {
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

.timeline-row {
    display: flex;
    min-height: 100px;
    /* Jarak minimal antar item */
}

/* Kotak Tanggal */
.tm-date-side {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 15px;
}

.tm-date-card {
    background: #FF7F11;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: bold;
    height: fit-content;
    white-space: normal;
    text-align: end;
}
/* .tm-date-card {
    width: 120px;             
    min-height: 60px;          
    padding: 8px 10px;
    background: #f59e0b; 
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
} */
/* .tm-date-card { 
    background: #FF7F11;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: bold;

    width: 120px;
    min-height: 60px;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    white-space: normal;
    text-align: center;
    line-height: 1.3;
} */


/* Marker Tengah */
.tm-marker {
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tm-dot {
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid #2f2f2f;
    border-radius: 50%;
    margin-top: 12px;
    flex-shrink: 0;
}

.tm-line {
    width: 2px;
    background: #dee2e6;
    flex-grow: 1;
    /* Garis otomatis memanjang ke bawah */
}

/* Kotak Keterangan */
.tm-content-side {
    flex: 3;
    padding-left: 15px;
    padding-bottom: 40px;
    /* Jarak antar baris */
}

.tm-content-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 5px solid #2f2f2f;
    /* Aksen garis samping kotak */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 768px) {
    .tm-marker {
        width: 35px;
    }

    .tm-dot {
        width: 10px;
        height: 10px;
        border-width: 2px;
        margin-top: 8px;
    }

    .tm-line {
        width: 1.5px;
    }

    .tm-date-side {
        padding-right: 10px;
        flex: 0;
    }

    .tm-content-side {
        flex: 2;
        padding-left: 10px;
        padding-bottom: 30px;
    }

    .tm-date-card {
        padding: 6px 10px;
        font-size: 12px;
    }

    .tm-content-card {
        padding: 12px;
    }
}

#about {
    background-color: #2C2C2C !important;
}

.header-title {
    background-color: #2C2C2C;
    color: #fffff;
    font-size: 14px;
    z-index: 1000;
}

.icon-angles {
    color: #FF7F11;
}

#hero #countdown h2 {
    font-size: clamp(2rem, 3vw, 3rem) !important;
    color: #FF7F11 !important;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.44);
}

#countdown {
    --box-w: clamp(70px, 200px, 300px);
    --box-h: clamp(35px, 150px, 100px);
}

#countdown .cd-text {
    position: relative;
    display: grid;
    align-content: center;
    place-items: center;
    width: var(--box-w) !important;
    height: var(--box-h) !important;
    margin: 0;
    line-height: 1;
    z-index: 1;
    padding: 0;
}

@media screen and (max-width: 768px) {
    #countdown .cd-text {
        --box-w: clamp(50px, 150px, 200px) !important;
        --box-h: clamp(25px, 100px, 80px) !important;
    }
    
    #countdown {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

#countdown .cd-text::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background-color: #2c2c2c;
    z-index: -1;
}


.speakers-title {
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 18px !important;
}

.speakers-title::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    /* panjang garis */
    height: 3px;
    /* tebal garis */
    border-radius: 20px;
    background-color: #FF7F11;
    margin-top: 50px !important;
}

.section-title {
    font-size: clamp(30px, 6vw, 3.6rem) !important;
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 18px !important;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    /* panjang garis */
    height: 3px;
    /* tebal garis */
    border-radius: 20px;
    background-color: #FF7F11;
    margin-top: 50px !important;
}

.loc-icon {
    font-size: 50px !important;
    position: relative;
    color: #FF7F11;
}

.loc-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 75px;
    height: 75px;
    border: 2px solid #FF7F11;
    border-radius: 8px;
}

.journal-footer {
    color: var(--orange) !important;
    background-color: var(--text-color) !important;
}

.about-footer {
    background: #ffffff23;
    padding: 27px 30px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 12px -1px rgba(15, 15, 15, 0.1);
}

/* Toggle button */
.menu-toggle {
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Overlay */
.offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 998;
}

.offcanvas-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Offcanvas menu */
.offcanvas-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    background: #1f1f1f;
    color: #fff;
    padding: 24px 20px;
    transition: .3s ease;
    z-index: 999;
}

/* Show menu */
.offcanvas-menu.show {
    left: 0;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 32px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Nav list */
.offcanvas-nav {
    list-style: none;
    padding: 60px 0 0;
    margin: 0;
}

.offcanvas-nav li {
    margin-bottom: 12px;
}

/* Links */
.offcanvas-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: .2s;
}

.offcanvas-nav a:hover {
    background: rgba(255,255,255,.1);
}

.offcanvas-nav a.active {
    background: #ffffff;
    color: #1f1f1f;
    font-weight: 600;
}

.menu-toggle,
.offcanvas-menu,
.offcanvas-overlay {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .offcanvas-menu {
        display: block;
    }

    .offcanvas-overlay {
        display: block;
    }
}

/* Dropdown submenu (offcanvas) */
.offcanvas-submenu {
    list-style: none;
    padding-left: 12px;
    margin: 6px 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

/* Open state */
.offcanvas-dropdown.open .offcanvas-submenu {
    max-height: 300px;
}

/* Submenu links (inherit style utama) */
.offcanvas-submenu a {
    font-size: 15px;
    padding: 10px 16px;
    opacity: .9;
}


/* CUSTOM TEXT UNDERLINE */

.footer-title {
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 18px !important;
}

.footer-title::before {
    content: "";
    position: absolute;
    left: 8%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    /* panjang garis */
    height: 3px;
    /* tebal garis */
    border-radius: 20px;
    background-color: #FF7F11;
    margin-top: 50px !important;
}

.btn .btn-primary {
    background-color: #FF7F11 !important;
    border-color: #FF7F11 !important;
}

.hr {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--main-color), transparent);
    margin: 2rem 0;
    width: 100%;
}

.hr-light {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--old-gray), transparent);
    margin: 2rem 0;
    width: 100%;
}

/************ FOOTER *************/
.contact-list {
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    color: #f8f9fa;
    line-height: 1.5;
}

.contact-icon {
    color: var(--orange);
    font-size: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-item span {
    word-break: break-word;
}

.nav-link-style {
    color: #ffffff !important;
}

.nav-link-style:hover {
    color: var(--orange) !important;
}

/* Hyphen TEXT */
p.text-justify {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
}

/* Minor Fixes CSS */
.gsges-logo {
    fill: #36ae37;
}

.partners .co-organizer img {
    max-height: 90px;
}

.about-footer {
    height: fit-content;
}

.alert.alert-warning.alert-info.text-centers {
    font-size: 0.8rem;
}

.logo-jsf.logo-jsf-footer { 
    filter: brightness(0) invert(1); height: 70px !important;
    height: 70px;
}

