/* ==============================
   IMPORTS
============================== */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

/* ==============================
   ROOT VARIABLES
   Colors, Typography, Spacing, Radius, Shadow
============================== */
:root {
    /* Colors */
    --primary: #005ec8;
    --info: #3799c7;
    --dark: #0f172a;
    --gray: #6c757d;
    --light-gray: #f8fafc;
    --light-blue: #f3f6f9;
    --info-blue: #3799c7;
    --white: #ffffff;
    --primary-blue: #0056b3;
    --primary-light: #e5eff9;
    --success-light: #eef6e9;
    --warning-light: #fffbe5;
    --info-light: #e5f7f8;
    /* --light-blue: #4da3d4; */
    --teal: #00a19c;
    --dark-navy: #1d3557;
    --green: #58a62e;
    --yellow: #ffcd00;
    --gold: #dfb85c;
    --border-color: #dee2e6;
    /* Typography */
    --font-main: "Plus Jakarta Sans", sans-serif;
    --heading-weight: 700;
    /* Spacing */
    --section-padding: 80px;
    /* Border radius */
    --radius-lg: 16px;
    --radius-md: 10px;
    /* Shadows */
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* ==============================
   GLOBAL LAYOUT
============================== */
body {
    font-family: var(--font-main);
    background-color: var(--light-gray);
}

h2.fw-bold {
    color: #2c3e50;
    font-size: 2rem;
}

.icon-sm {
    width: 15px;
    height: 15px;
    stroke-width: 2;
    vertical-align: -2px;
}

.modal {
    z-index: 99999;
}

.modal-backdrop {
    z-index: 9999;
}

.text-primary {
    color: var(--primary) !important;
}

.text-gray {
    color: var(--gray) !important;
}

.btn {
    font-size: small !important;
}

hr {
    border-color: var(--gray);
}

a {
    text-decoration: none !important;
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.bg-light-gray-2 {
    background-color: #f4f6f9;
}

.bg-light-blue {
    background-color: var(--light-blue);
}

.bg-gold {
    background-color: var(--gold) !important;
}

.bg-info {
    background-color: var(--info) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-red {
    background-color: #E72935 !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.bg-success-light {
    background-color: var(--success-light) !important;
}

.bg-red-light {
    background-color: #EAD7D8 !important;
}

.bg-warning-light {
    background-color: var(--warning-light) !important;
}

.bg-info-light {
    background-color: var(--info-light) !important;
}

.text-justify {
    text-align: justify;
}

.badge {
    padding-bottom: 6px;
}

.border-light {
    border-color: #e5eaf0 !important;
}

.border-strip-horizontal {
    height: 1px;
    background: repeating-linear-gradient(to right, #ececec 0 8px, transparent 8px 12px);
}

/* ==============================
   HEADER & NAVBAR
============================== */
.main-header {
    background: #fff;
}

.navbar {
    border-bottom: 1px solid #eee;
}

.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Sticky scroll effect */
.main-navbar.scrolled {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Nav links */
.nav-link {
    position: relative;
    font-size: 13px;
    font-weight: 500;
    color: #222 !important;
    padding: 8px 10px !important;
    display: inline-block;
}

.nav-link span {
    position: relative;
    display: inline-block;
}

/* Underline hover effect */
.nav-link span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover span {
    color: var(--primary);
}

.nav-link:hover span::after,
.nav-link.active span::after {
    width: 100%;
}

.nav-link.active span {
    color: var(--primary);
}

.custom-dropdown {
    border-radius: 12px;
    padding: 10px 0;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 220px;
}

.custom-dropdown .dropdown-item {
    padding: 5px 15px;
    font-size: 13px;
    color: #555;
    transition: all 0.2s ease;
}

.custom-dropdown .dropdown-item:hover {
    background-color: #f5f5f5;
    color: #000;
}

.custom-dropdown .dropdown-item.active {
    color: var(--primary);
    background-color: transparent;
    font-weight: 500;
    border-left: 2px solid var(--primary);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.custom-dropdown-btn .dropdown-toggle::after {
    display: none;
}

/* Login button */
.btn-login {
    background: var(--primary);
    color: #fff;
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
}

.btn-login:hover {
    background: #0b5ed7;
}

/* ==============================
   BREADCRUMB
============================== */
.breadcrumb-wrapper {
    background: var(--light-gray);
    padding: 17px 0;
    font-size: 13px;
}

.breadcrumb-wrapper a {
    text-decoration: none;
    color: var(--primary);
}

.breadcrumb-wrapper span {
    color: #6ba4f1;
}

/* ==============================
   HERO SECTION
============================== */
.hero {
    position: relative;
    height: 500px;
    background: url("../images/hero.jpg") center/cover no-repeat;
    /* transition: background 0.5s ease; */
}

.hero-detail {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position-y: center;
    background-position-x: center;
}

.hero.faq {
    background: url("../images/faq.jpg") center/cover no-repeat;
}

.hero.about {
    background: url("../images/faq.jpg") center/cover no-repeat;
}

.hero.contact {
    background: url("../images/contact.png") center/cover no-repeat;
}

.hero.opportunity {
    background: url("../images/opportunities.jpeg") center/cover no-repeat;
}

.hero.apaec {
    background: url("../images/apeac-1.png") center/cover no-repeat;
}

.hero.ogcss {
    background: url("../images/programme-areas.png") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    margin-bottom: 5%;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.7;
    max-width: 600px;
}

.hero-title-center {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 350px;
}

.hero-desc-center {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 640px;
}

/* HERO BACKGROUND */
.hero-section {
    position: relative;
    height: 280px;
    background: url("bg-worker.jpg") center/cover no-repeat;
    border-bottom: 4px solid #1e5bb8;
    border-radius: 6px;
    overflow: hidden;
}

/* OVERLAY */
.hero-overlay-2 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.85);
}

.hero-brand {
    font-size: 14px;
    font-weight: 600;
    color: #1e5bb8;
}

/* LOGO */
.hero-logo {
    height: 45px;
    object-fit: contain;
}

/* FLAG */
.hero-flag {
    height: 90px;
    object-fit: cover;
    border-radius: 2px;
    margin-top: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-section {
        height: 220px;
    }

    .hero-overlay {
        height: auto;
        padding: 15px 0;
    }

    .hero-title {
        font-size: 14px;
    }
}

/* ==============================
   BODY SECTIONS
============================== */
.body-section {
    background: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

/* ==============================
   FOOTER
============================== */
.footer {
    background: var(--light-gray);
    padding: 60px 0 30px;
    font-size: 13px;
    color: #555;
}

/* Footer logo & title */
.footer-logo {
    height: 45px;
}

.footer-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

.footer-heading {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-heading::after {
    content: "";
    width: 35px;
    height: 2px;
    background: var(--primary);
    position: absolute;
    left: 0;
    bottom: -8px;
}

.footer-text {
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: #555;
    transition: 0.3s;
}

.footer-links a:hover,
.active-link {
    color: var(--primary) !important;
}

.footer-divider {
    margin: 40px 0 20px;
    border-color: #ddd;
}

.footer-bottom {
    font-size: 13px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background: #e9ecef;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: #555;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    color: #fff;
}

/* Footer badges & wbs capsule */
.footer-badges {
    flex-wrap: wrap;
}

.badge-135 {
    height: 50px;
}

.wbs-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f1f3f5;
    border-radius: 40px;
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    transition: 0.3s ease;
    color: #333;
}

.wbs-badge:hover {
    background: #e9ecef;
}

.wbs-icon {
    width: 34px;
    height: 34px;
    background: #8bc34a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.wbs-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.wbs-text small {
    font-size: 11px;
    color: #777;
}

/* ==============================
   BUTTONS
============================== */
.btn-primary {
    background: var(--primary);
    border-radius: var(--radius-md);
}

.btn-custom {
    border-radius: 0;
    padding: 10px 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-custom-light {
    border-color: var(--light-gray);
    color: var(--light-gray);
    border-radius: 0;
    padding: 10px 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-custom-yellow {
    border-color: #ffc107;
    color: #ffc107;
    border-radius: 0;
    padding: 10px 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-custom-yellow:hover {
    background-color: #ffc107;
    color: #000;
}

/* ==============================
   FORM / SEARCH
============================== */
.search-input {
    padding-left: 50px;
    height: 48px;
    border-radius: 50px;
}

.search-icon {
    position: absolute;
    top: 52%;
    left: 19px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #888;
    pointer-events: none;
}

.search-input:focus {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
    border-color: var(--primary);
}

/* ==============================
   ACCORDION
============================== */
.accordion-item {
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    border: none;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--light-gray);
    box-shadow: none;
}

.accordion-body {
    background: var(--light-gray);
    padding-left: 35px;
}

/* ==============================
   CONTACT SECTION
============================== */
.contact-label {
    color: #0066cc;
    font-weight: 600;
    border-left: 3px solid #0066cc;
    padding-left: 15px;
    font-size: 0.95rem;
    height: fit-content;
    padding-top: 10px;
    padding-bottom: 10px;
}

.office-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a1a1a;
}

.info-row {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:first-child {
    border-top: none;
}

.label-field {
    font-weight: 700;
    color: #333;
    font-size: 1rem;
}

.content-field {
    color: #777;
    line-height: 1.6;
    font-size: 1rem;
}

.contact-link {
    color: #0066cc;
    text-decoration: none;
    transition: 0.3s;
}

.contact-link:hover {
    text-decoration: underline;
    color: #004d99;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.profile-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f8f9fa;
}

.profile-img-taks {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f8f9fa;
}

.badge-position {
    background-color: #3498db;
    font-weight: 400;
    padding: 5px 8px;
    border-radius: 6px;
}

.email-link {
    font-size: 0.85rem;
    color: #3498db;
    text-decoration: none;
    word-break: break-all;
}

.email-link:hover {
    text-decoration: underline;
}

/* ==============================
   HERO / INDEX / SLIDER
============================== */
.carousel#ascopeHero {
    /* Fill the first viewport completely (no "about" peeking) */
    height: 100vh;
    height: 100svh;
    height: 100dvh;
}

.carousel#ascopeHero .carousel-inner,
.carousel#ascopeHero .carousel-item {
    height: 100%;
}

.carousel#ascopeHero .hero-img {
    height: 100%;
    object-fit: cover;
}

.carousel#ascopeHero .carousel-caption {
    /* Keep caption visible across viewport sizes */
    bottom: clamp(80px, 18vh, 180px);
}

.hero-img {
    height: 85vh;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 30%, transparent 100%);
    z-index: 1;
}

.hero-overlay-50 {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 100%, transparent 100%);
    z-index: 1;
}

.hero-overlay-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 100%, transparent 100%);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 20%;
    left: 7.5%;
    max-width: 600px;
}

/* ==============================
   CUSTOM INDICATORS
============================== */
.custom-indicators {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0 7.5%;
    display: flex;
    justify-content: space-between;
    z-index: 15;
}

.custom-indicators button {
    width: 23% !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    text-indent: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.indicator-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.indicator-bullet {
    width: 10px;
    height: 10px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.indicator-text {
    display: block;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.custom-indicators button.active .indicator-bullet {
    background-color: #ffc107;
    border-color: #ffc107;
}

.custom-indicators button.active .indicator-text {
    opacity: 1;
}

.progress-container {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.progress-line {
    width: 0%;
    height: 100%;
    background-color: #ffc107;
}

.active .progress-line {
    animation: progressAnimation 6s linear forwards;
}

@keyframes progressAnimation {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
}

/* ==============================
   ABOUT SECTION
============================== */
.about-section-prow {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.about-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding-left: 8% !important;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.689) 0%, rgba(0, 0, 0, 0.689) 100%, transparent 100%, transparent 100%);
}

.about-content {
    max-width: 100%;
    color: #ffffff;
    margin-top: 100px;
}

.about-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* ==============================
   WELCOME SECTION
============================== */
.welcome-section {
    background-color: #ffffff;
    overflow: hidden;
    padding-top: 8em;
    padding-bottom: 5em;
}

.profile-image-container img {
    max-height: 1000px;
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.1));
    margin-top: -80px;
}

.welcome-title {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.5rem;
}

.quote-container {
    display: flex;
    gap: 20px;
    position: relative;
}

.accent-line {
    width: 5px;
    background: linear-gradient(to bottom, #0056b3 0%, #0056b3 33%, #28a745 33%, #28a745 66%, #ffc107 66%, #ffc107 100%);
    flex-shrink: 0;
    border-radius: 2px;
}

.quote-text {
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: justify;
    text-justify: inter-word;
}

.welcome-description p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: justify;
}

.signature-name {
    font-size: 1.2rem;
    margin-top: 5px;
    color: #1a1a1a;
}

.signature-position {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* NEWS  */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-weight: 600;
    font-size: 28px;
}

.news-title {
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 15px;
}

.news-text {
    /* font-size: 14px; */
    /* color: var(--gray); */
    line-height: 1.7;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.news-image {
    width: 100%;
    /* border-radius: 12px; */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* END NEWS  */

/* PUBLICATION  */
.publication-img {
    width: 100%;
    max-width: 260px;
    /* border-radius: 16px; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.publication-img:hover {
    transform: translateY(-6px);
}

.publication-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.publication-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* END PUBLICATION  */

/* PARTNER  */
.partnership-section {
    background-color: #f4f6f9;
}

.partnership-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
}

.partner-logo {
    max-height: 70px;
    max-width: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.partner-logo:hover {
    transform: scale(1.08);
    opacity: 1;
}

/* END PARTNER  */

/* EVENT  */
.event-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.event-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-body {
    padding: 15px;
}

.event-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.event-meta {
    font-size: 11px;
    color: var(--gray);
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.event-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0px;
}

/* END EVENT  */

/* MEMBER */
.member-section {
    background-color: #f4f6f9;
}

.member-logo {
    max-height: 60px;
    max-width: 140px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.member-logo:hover {
    transform: scale(1.08);
    opacity: 1;
}

.member-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
}

.member-logo-task {
    max-height: 30px !important;
}

/* END MEMBER  */

/* Career at ASCOPE  */
.career-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.section-desc {
    max-width: 686px;
    margin: auto;
    color: var(--gray);
    margin-bottom: 50px;
}

.career-card {
    background: var(--light-blue);
    padding: 35px 25px;
    border-radius: 14px;
    border: 1px solid #e9ecef;
    text-align: center;
    height: 100%;
}

.career-card h5 {
    font-weight: 600;
    margin-top: 10px;
}

.career-card p {
    font-size: 14px;
    color: #6c757d;
}

.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

/* END Career at ASCOPE */

/* JOBS  */
.cbl-section {
    padding: 80px 0;
    background: #fff;
}

.cbl-title {
    font-weight: 600;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.cbl-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -20px;
    width: 60%;
    height: 3px;
    background: var(--primary);
}

.cbl-card {
    background: #fff;
    padding: 25px;
    border-radius: 25px;
    border-left: 6px solid var(--primary);
    border: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .cbl-card .kms-detail-btn {
        margin-top: auto;
    }

.cbl-border-left-primary {
    border-left: 6px solid var(--primary);
}

.cbl-border-left-danger {
    border-left: 6px solid red;
}

.cbl-border-left-green {
    border-left: 6px solid green;
}

.cbl-position {
    font-weight: 600;
}

.cbl-location {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 10px;
}

.cbl-desc {
    font-size: 14px;
    color: #6c757d;
}

.cbl-tags {
    margin-top: 10px;
}

.cbl-tags span {
    background: #eef4ff;
    color: #1f6ed4;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 5px;
}

.cbl-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.cbl-footer small {
    color: #6c757d;
}

.cbl-footer .btn {
    font-size: 13px;
}

/* END JOBS */

/* TALENT */
.talent-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.talent-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.talent-desc {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 14px;
}

.talent-list {
    list-style: none;
    padding: 0;
}

.talent-list li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 10px;
}

.talent-img {
    max-width: 490px;
}

/* END TALENT */

/* VIDEO  */
.video-section {
    padding: 80px 0;
    background: #fff;
}

.video-banner {
    position: relative;
    overflow: hidden;
    /* border-radius: 8px; */
}

.video-banner img {
    width: 100%;
    transition: transform 0.6s ease;
}

.video-banner:hover img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.video-overlay h4 {
    font-weight: 600;
}

/* PLAY BUTTON */

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

/* pulse animation */

.play-btn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.6);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* play triangle */

.play-icon {
    width: 0;
    height: 0;
    border-left: 20px solid #1f6ed4;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

/* END VIDEO  */

/* APAEC */
.apaec .hero-title {
    width: 50%;
}

.icon-circle-apaec {
    background: var(--primary);
    padding: 10px;
    border-radius: 50%;
}

.card-ogcss {
    max-width: 560px;
}

.hero-title-ogcss {
    bottom: 0;
    position: absolute;
}

/* -- slide apaec  */
.publication-slider .card {
    transition: transform 0.3s ease;
}

.publication-slider .card-img-top {
    object-fit: cover;
    height: 400px;
}

.publication-slider .card-title {
    font-size: 0.9rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Badge Custom */
.bg-light.text-primary {
    background-color: #e7f1ff !important;
    font-size: 0.75rem;
}

.bg-light.text-success {
    background-color: #e8f5e9 !important;
    font-size: 0.75rem;
}

.swiper-button-next-custom,
.swiper-button-prev-custom {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray);
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #212529;
}

.swiper-button-next-custom:hover,
.swiper-button-prev-custom:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

    .swiper-button-next-custom svg,
    .swiper-button-prev-custom svg {
        width: 18px;
        height: 18px;
        stroke: currentColor;
    }

.slider-offset-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 12px;
}

.publication-slider {
    overflow: hidden !important;
}

/* END APAEC  */

/* ABOUT ORGANIZATION  */

/* Top Tabs */
.top-tabs {
    padding-top: 40px;
}

.top-tabs .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 1000;
}

.top-tabs-scroll {
    padding-top: 72px;
    padding-bottom: 10px;
}

.top-tabs .nav-link {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    /* width: 23%; */
}

.top-tabs .nav-link.active {
    background: #0d6efd;
    color: #fff !important;
}

.stack {
    min-height: 500px;
}

.image-stack {
    position: relative;
    height: 360px;
}

.card-img-back {
    position: absolute;
    left: 80px;
    top: 20px;
}

.card-img-front {
    position: absolute;
    left: 370px;
    top: 105px;
}

.img-back {
    width: 300px;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.img-front {
    width: 300px;
    z-index: 2;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Members */
.members-header {
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
    background-color: #4caf50;
    color: white;
    font-weight: bold;
    font-size: 20px;
    padding-left: 30px;
    overflow: hidden;
    margin-top: 60px;
}

.header-text {
    position: relative;
    z-index: 3;
}

.members-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 35%;
    background-color: #0062cc;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.members-header::after {
    content: "";
    position: absolute;
    left: 28%;
    top: 0;
    height: 100%;
    width: 45%;
    background-color: #ffd700;
    z-index: 1;
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
}

/* Card */
.member-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 15px;
    border: 1px solid #e5e7eb;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.member-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg) no-repeat center;
    background-size: cover;
    opacity: 0.3;
}

.country {
    font-weight: 600;
    font-size: 14px;
    color: #0d6efd;
    position: relative;
    z-index: 2;
}

.country img {
    width: 18px;
    margin-right: 6px;
}

.company {
    font-size: 12px;
    font-weight: 600;
    font-style: italic;
    color: #777;
    margin-top: 30px;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.logo img {
    max-height: 45px;
    position: relative;
    z-index: 2;
}

/* LOGO  */
.logo-meaning {
    width: 85%;
}

.content-wrapper {
    background-image: url("../img/meaning-logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.blue-label {
    font-size: 0.9rem;
    background-color: #0056b3 !important;
    border-radius: 12px !important;
    padding: 13px 16px;
}

.pointer-line {
    display: inline-block;
    width: 50px;
    height: 1px;
    background-color: #0056b3;
    position: relative;
    vertical-align: middle;
    margin-left: 10px;
}

.pointer-line-horizontal {
    width: 130px;
    height: 1px;
    background-color: #0056b3;
    position: absolute;
    right: -142px;
    top: 50%;
    transform: translateY(-50%);
}

.pointer-line-horizontal::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 6px solid #0056b3;
}

.icon-box,
.color-box {
    position: relative;
    width: 100px;
    flex-shrink: 0;
    margin-right: 142px;
}

.color-box-color {
    height: 80px;
    width: 50px;
    border-radius: 10px;
}

.color-yellow {
    background-color: #fed700;
}

.color-green {
    background-color: #61a823;
}

.color-blue {
    background-color: #0056b3;
}

/* BAGAN  */
.chart-wrapper {
    overflow-x: auto;
    padding: 20px;
    min-width: 900px;
}

.chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.node {
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-weight: bold;
    width: 70%;
    position: relative;
}

.node small {
    display: block;
    font-weight: normal;
    font-size: 0.8rem;
    margin-top: 5px;
}

.bg-summit {
    background-color: var(--primary-blue);
    width: 60%;
}

.bg-ministers {
    background-color: var(--info-blue);
    width: 60%;
}

.bg-council {
    background-color: var(--teal);
    width: 60%;
}

.bg-asic {
    background-color: var(--primary-blue);
    width: 40%;
}

.bg-navy {
    background-color: var(--dark-navy);
    width: 100%;
    margin-bottom: 10px;
}

.bg-asic-office {
    background-color: var(--info-blue);
    width: 100%;
}

.line-v {
    width: 2px;
    background-color: var(--border-color);
    height: 30px;
    margin: -30px auto 0;
}

.middle-section {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
}

.special-team {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    background: white;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.special-team h6 {
    background-color: #e8f1f8;
    color: #437bb1;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
}

/* Task Force Grid (Bottom) */
.line-horizontal-wide {
    width: 76.4%;
    height: 2px;
    background-color: #dee2e6;
    margin: 0 auto;
    position: relative;
}

.line-vertical-main {
    width: 2px;
    height: 40px;
    background-color: #dee2e6;
    margin: 0 auto;
}

.task-force-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    position: relative;
    padding-top: 30px;
}

.tf-node {
    padding: 15px 10px;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.tf-blue {
    background-color: var(--primary-blue);
}

.tf-green {
    background-color: var(--green);
}

.tf-red {
    background-color: #E72935;
}

.tf-yellow {
    background-color: var(--yellow);
    color: #333;
}

.tf-teal {
    background-color: var(--teal);
}

.asic-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 7px;
}

.asic-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12%;
    right: 12%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
}

.bg-asic {
    background-color: var(--primary-blue);
    width: 40%;
    margin-bottom: 0;
    z-index: 1;
}

.line-v-short {
    width: 2px;
    background-color: var(--border-color);
    height: 20px;
    margin: 0 auto;
}

.line-center {
    border-left: 2px solid #dee2e6;
    height: 132%;
    margin: 0 auto;
    margin-top: -8px;
}

/* END ABOUT ORGANIZATION  */

/* TASK FORCE  */
.icon-circle-task {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 10px;
}

.icon-circle-strategic {
    padding: 15px 20px;
}

/* MEMBER  */

.card-member {
    min-height: 187px;
    transition: transform 0.3s ease;
}

.card-member:hover {
    background-color: var(--light-blue);
    border-radius: 1rem;
    transform: translateY(-5px);
}

.card-member h6:hover {
    color: var(--primary);
}

.org-logo {
    width: auto;
    height: 40px;
    object-fit: contain;
}

.flag {
    height: 60px;
    margin-top: -12px;
    margin-right: -15px;
    border-radius: 3px;
}

.impact-box {
    border-radius: 16px;
    padding: 30px;
    gap: 30px;
    border: 1px solid #e5e7eb;
}

/* LEFT */
.impact-left {
    max-width: 70%;
}

.impact-title {
    margin-bottom: 12px;
}

.impact-text {
    line-height: 1.6;
    margin-bottom: 10px;
}

/* RIGHT BOX */
.impact-right {
    background: var(--light-gray);
    padding: 25px 20px;
    border-radius: 14px;
    min-width: 200px;
}

.impact-number {
    font-size: 64px;
    font-weight: 700;
    color: #1e5bb8;
    line-height: 1;
}

.impact-subtitle {
    font-weight: 600;
    margin-top: 10px;
}

.impact-desc {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 8px;
}

/* BADGE */
.badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: 500;
}

.badge-blue {
    background: #1e5bb8;
    color: #fff;
}

.badge-green {
    background: #28a745;
    color: #fff;
}

.coordinate-flag {
    margin-right: -16px;
}

.desc-task {
    min-height: 235px;
}


/* START PARTNERHSHIP*/

/* ================= INTRO ================= */
.partnership-intro {
    background: #f4f6f8;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.intro-title {
    font-size: 32px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.intro-desc {
    font-size: 16px;
    color: #6b7280;
    max-width: 720px;
    margin: 0 auto;
}

/* ================= HERO ================= */
.hero-bg-img {
    /*width: 1920px !important;*/
    height: 600px;
    object-fit: cover;
}

/* ================= DESCRIPTION ================= */
.partnership-desc-section {
    background: #f3f4f6;
    padding-top: 120px;
    padding-bottom: 20px;
}

/* TITLE */
.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    margin-top: 20px;
}

.section-desc {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    /*max-width: 400px;*/
}

/* ================= PARTNER SECTION ================= */
.partners-section {
    padding: 60px 0;
}

/* ================= CARD ================= */
.partner-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    /* equal height */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ================= HEADER ================= */
.partner-header {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

/* HEADER COLORS */
.bg-blue {
    background: #eef3f8;
}

.bg-green {
    background: #eef8f2;
}

.bg-yellow {
    background: #f8f5e8;
}

/* ================= LOGO FIX ================= */
.logo-wrapper {
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ================= BODY ================= */
.partner-body {
    padding: 20px;
    flex-grow: 1;
}

.partner-body h6 {
    font-weight: 600;
    margin-bottom: 10px;
}

.partner-body p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* ================= CTA ================= */
.cta-section {
    padding: 40px 0 60px;
}

.cta-box {
    background: #eef6ef;
    border-radius: 16px;
    padding: 40px;
}

.cta-box h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.cta-box p {
    color: #6b7280;
    margin-bottom: 20px;
}

/* END PARTNERHSHIP */


/* START EVENT */

/* ================= EVENT SECTION ================= */
.event-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.event-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ================= CALENDAR ================= */
#calendar {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
}

/* CLEAN BORDER */
.fc-theme-standard td,
.fc-theme-standard th {
    border-color: #f1f1f1;
}

/* HEADER */
.fc-toolbar-title {
    font-size: 16px;
    font-weight: 600;
}

/* BUTTON STYLE */
.fc-button {
    background: #f3f4f6 !important;
    border: none !important;
    color: #374151 !important;
    border-radius: 6px !important;
}

.fc-button-active {
    background: #0d6efd !important;
    color: #fff !important;
}

/* EVENT BOX */
.fc-daygrid-event {
    border-radius: 6px;
    padding: 2px 4px;
    font-size: 12px;
}

/* RIGHT PANEL */
.event-empty {
    background: #f9fafb;
    padding: 15px;
    border-radius: 10px;
}

/* ================= CALENDAR TEXT STYLE ================= */

/* Day header (Sun, Mon, Tue...) */
.fc-col-header-cell-cushion {
    color: #9ca3af !important;
    /* grey */
    text-decoration: none !important;
    font-weight: 500;
}

/* Date numbers (1, 2, 3...) */
.fc-daygrid-day-number {
    color: #9ca3af !important;
    /* grey */
    text-decoration: none !important;
    font-weight: 500;
}

/* Remove underline from ALL calendar links */
.fc a {
    text-decoration: none !important;
}

/* Optional: hover effect (clean UX) */
.fc-daygrid-day-number:hover {
    color: #374151 !important;
}

/* softer background for header */
.fc-col-header {
    background: #f9fafb;
}

/* spacing tweak */
.fc-daygrid-day-top {
    justify-content: center;
}

.margin-details-bottom {
    margin-bottom: 10px;
}

.event-content h6 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

/* UPCOMING EVENTS */
.event-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.event-content {
    padding: 15px;
}

/* NEWS */
.news-section {
    margin-top: 40px;
    background-color: #ffffff;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.news-body {
    padding: 12px;
}

/* make column stretch */
.upcoming-section .row>div {
    display: flex;
}

/* card full height */
.event-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* image fixed height */
.event-item img {
    /*height: 200px;*/
    object-fit: cover;
}

/* content grows evenly */
.event-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    flex-grow: 1;
}

.event-content h6 {
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.event-content p:last-child {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* max 4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* remove default margin */
.event-content p {
    margin: 0;
}

/* END EVENT */


/* START PUBLICATION */

/* ================= SECTION ================= */
.pub-section {
    padding: 40px 0 60px;
    background-color: #ffffff;
}

/* ================= CARD ================= */
/* CARD */
.pub-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: 0.25s ease;
    height: 100%;
}

/* BODY FLEX FIX */
.pub-body {
    padding: 16px;
    /*display: flex;*/
    flex-direction: column;
    flex-grow: 1;
}

/* PUSH BUTTONS TO BOTTOM */
.pub-actions {
    margin-top: auto;
}

.pub-card:hover {
    transform: translateY(-6px);
}

/* ================= IMAGE ================= */
.pub-image img {
    width: 100%;
    object-fit: cover;
}

/* TITLE */
.pub-title-item {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* ================= TAG ================= */
.pub-tag {
    display: inline-block;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.pub-tag.member {
    background: #e7f1ff;
    color: #0d6efd;
}

.pub-tag.public {
    background: #e6f7ee;
    color: #28a745;
}

/* ================= ACTION ================= */
.pub-actions {
    margin-top: 5px;
}

/* BUTTON */
.pub-btn-download {
    background: #0d6efd;
    color: #fff;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    text-transform: capitalize;
}

.pub-btn-download:hover {
    background: #0b5ed7;
    color: #fff;
}

.pub-btn-preview {
    background: #e6f7ee;
    color: #28a745;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
}

.pub-btn-preview:hover {
    background: #d1f2df;
}

/* END PUBLICATION */


/* START KMS */

.kms-section {
    background: #ffffff;
}

/* ================= HEADER ================= */
.kms-intro {
    padding: 20px 0;
}

.kms-title {
    font-weight: 600;
}

/* ================= FILTER ================= */
.kms-filter-section {
    background: #ffffff;
    padding: 10px 0 20px;
}

.kms-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kms-filter {
    border: 1px solid #ddd;
    background: #f8f9fa;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
}

.kms-filter.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

/* ================= CARD ================= */
.kms-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* IMAGE */
.kms-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* BODY */
.kms-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

/* BADGE */
.kms-badge {
    display: inline-flex;
    /* important */
    align-items: center;
    width: fit-content;
    /* key fix */
    max-width: 100%;
    /* prevent overflow */

    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.kms-badge.conferences {
    background: #e7f1ff;
    color: #0d6efd;
}

.kms-badge.workshops {
    background: #e8f7ff;
    color: #17a2b8;
}

.kms-badge.webinars {
    background: #f0e8ff;
    color: #6f42c1;
}

.kms-badge.meeting {
    background: #e6f7ee;
    color: #28a745;
}

.kms-badge.training {
    background: #fff3cd;
    color: #FFD700;
}

/* TITLE */
.kms-card-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
}

/* META */
.kms-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

/* DESC */
.kms-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

/* FILE LIST */
.kms-files {
    margin-top: auto;
}

.kms-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 13px;
}

/* BUTTON */
.kms-btn-download {
    background: #0d6efd;
    color: #fff;
    font-size: 12px;
    border-radius: 12px;
    padding: 4px 10px;
}

.kms-btn-view {
    background: #dc3545;
    color: #fff;
    font-size: 12px;
    border-radius: 12px;
    padding: 4px 10px;
}

/* ================= HEADER ================= */
.kms-detail-header {
    padding: 30px 0;
}

.kms-detail-title {
    font-weight: 600;
    line-height: 1.4;
}

.kms-detail-banner {
    border-radius: 10px;
    width: 100%;
}

/* ================= SECTION ================= */
.kms-detail-section {
    padding: 20px 0 50px;
    background: #ffffff;
}

/* ================= SIDEBAR ================= */
/* SIDEBAR */
.kms-detail-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* ITEM */
.kms-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

/* ICON */
.kms-detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
}

/* TEXT */
.kms-detail-item strong {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 2px;
}

.kms-detail-item p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* ================= CONTENT ================= */
.kms-detail-subtitle {
    font-weight: 600;
    margin-bottom: 10px;
}

.kms-detail-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.kms-detail-desc ul {
    padding-left: 18px;
}

/* ================= RESOURCE ================= */
.kms-detail-resource {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.kms-detail-resource h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.kms-detail-resource small {
    color: #777;
}

/* ================= BUTTON ================= */
.kms-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    border-radius: 28px;
    padding: 0 15px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

    .kms-detail-btn:hover {
        transform: translateY(-1px);
    }

.kms-detail-btn-download {
    background: #0d6efd;
    color: #fff;
}

    .kms-detail-btn-download:hover {
        background-color: #4e9bff;
        color: #fff;
    }

.kms-detail-btn-view {
    background: #dc3545;
    color: #fff;
}

    .kms-detail-btn-view:hover {
        background-color: #ff6c7a;
        color: #fff;
    }

.kms-detail-btn-info {
    background: #198754;
    color: #fff;
}

    .kms-detail-btn-info:hover {
        background-color: #37b46b;
        color: #fff;
    }

.resource-card-danger {
    background: rgba(220, 53, 69, 0.08);
}

.resource-card-primary {
    background: rgba(13, 110, 253, 0.08);
}

.resource-card-info {
    background: rgba(25, 135, 84, 0.08);
}

.btn-info:hover {
    background-color: #4bc0ff;
    color: #fff;
}


/* END KMS */


/* START NEWS */

/* ================= INTRO ================= */
.news-intro {
    padding: 25px 0 10px;
}

.news-title {
    font-size: 28px;
    font-weight: 600;
}

/* ================= FILTER ================= */
.news-filter {
    padding: 15px 0 25px;
}

.news-search {
    position: relative;
}

.news-search input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.news-search i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.news-select {
    border-radius: 10px;
    height: 42px;
}

.news-clear {
    font-size: 14px;
    color: #dc3545;
    text-decoration: none;
}

.news-btn-apply {
    background: #0d6efd;
    color: #fff;
    border-radius: 10px;
    padding: 8px 20px;
}

/* ================= CARD ================= */
.news-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.3s;
    height: 100%;
}

/* .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }*/

/* IMAGE */
.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* BODY */
.news-body {
    padding: 16px;
    border: 1px solid #e5e7eb;
    /* soft grey */
    border-top: none;
    /* avoid double line with image */
    border-radius: 0 0 14px 14px;
    /* match card bottom */
    margin-bottom: 20px;
    background: #fff;
}

/* TAG */
.news-tag {
    display: inline-block;
    font-size: 12px;
    background: #e6f4ea;
    color: #2e7d32;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.news-tag-group {
    display: inline-block;
    font-size: 12px;
    background: #1565c0;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.news-tag-Exploration {
    display: inline-block;
    font-size: 12px;
    background: var(--success-light);
    color: #1565c0;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.news-tag-Clean {
    display: inline-block;
    font-size: 12px;
    background: var(--warning-light);
    color: #1565c0;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.news-tag-Gas {
    display: inline-block;
    font-size: 12px;
    background: #EAD7D8 !important;
    color: #1565c0;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.news-tag-Policy {
    display: inline-block;
    font-size: 12px;
    background: var(--primary-light);
    color: #1565c0;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.news-tag.blue {
    background: #e3f2fd;
    color: #1565c0;
}

.news-tag.outline {
    background: transparent;
    border: 1px solid #0d6efd;
    color: #0d6efd;
}

/* TITLE */
.news-title-item {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
}

/* DATE */
.news-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

/* DESC */
.news-desc {
    font-size: 14px;
    color: #666;
}

.news-item {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-link:hover {
    color: inherit;
}

.dropdown-item {
    font-size: 13px !important;
}

/* END NEWS */

/* START NEWS DETAILS */


/* ================= HEADER ================= */
.news-detail-header {
    padding: 30px 0 10px;
}

.news-detail-tag {
    display: inline-block;
    background: #e6f4ea;
    color: #2e7d32;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-detail-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-detail-date {
    color: #888;
    font-size: 14px;
}

/* ================= IMAGE ================= */
.news-detail-image {
    margin: 25px 0;
}

.news-detail-image img {
    width: 100%;
    border-radius: 8px;
}

/* ================= ARTICLE ================= */
.news-detail-article {
    margin: auto;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.news-detail-article p {
    margin-bottom: 15px;
}

.news-detail-article ul {
    padding-left: 18px;
}

/* ================= GALLERY ================= */
.news-detail-gallery {
    margin-top: 40px;
}

.news-detail-gallery-title {
    font-weight: 600;
}

.news-detail-gallery-count {
    font-size: 14px;
    color: #888;
}

.news-detail-thumb {
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.news-detail-thumb:hover {
    transform: scale(1.05);
}

/* ================= MORE ================= */
.news-detail-more {
    background: #f7f9fc;
    padding: 40px 0;
    margin-top: 40px;
}

.news-detail-more-title {
    font-weight: 600;
    margin-bottom: 20px;
}

.news-detail-more-item {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-detail-more-item img {
    border-radius: 8px;
    margin-bottom: 10px;
}

.news-detail-more-item h6 {
    font-size: 14px;
    font-weight: 600;
}

.news-detail-more-item:hover h6 {
    color: #0d6efd;
}

.news-detail-thumb-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.news-detail-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* IMPORTANT */
    transition: 0.3s;
}

.news-detail-thumb-wrapper:hover img {
    transform: scale(1.05);
}

.news-detail-content {
    background-color: #ffffff;
}

.news-detail-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.news-detail-thumb:hover {
    transform: scale(1.05);
}

/* MODAL STYLE */
.news-detail-modal {
    background: transparent;
    border: none;
}

.news-detail-modal img {
    border-radius: 10px;
}

.news-detail-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
}

/* END NEWS DETAILS */
.hero-detail-partnership-ASEAN {
    background-image: url('../images/Banner_ACE.png') !important;
}

.hero-detail-partnership-International {
    background-image: url('../images/Banner_IOGP.png') !important;
}

.hero-detail-partnership-HAPUA {
    background-image: url('../images/Banner_HAPUA.png') !important;
}

.hero-detail-partnership-Ipieca {
    background-image: url('../images/Banner_IPIECA.png') !important;
}

.hero-detail-partnership-SPE {
    background-image: url('../images/Banner_SPE.png') !important;
}


.Global {
    background-image: url('../images/Banner_S&P.png') !important;
}

.hero-detail-member {
    background-image: url('../images/pertamina.png') !important;
}

.hero-detail-member-Brunei {
    background-image: url('../images/Banner_Brunei.png') !important;
}

.Darussalam {
    background-image: url('../images/Banner_Brunei.png') !important;
}

.hero-detail-member-Indonesia {
    background-image: url('../images/pertamina.png') !important;
}

.hero-detail-member-Lao {
    background-image: url('../images/Banner_Laos\ 01.jpg') !important;
}

.hero-detail-member-Cambodia {
    background-image: url('../images/Banner_Cambodia\ 01.webp') !important;
}

.hero-detail-member-Myanmar {
    background-image: url('../images/Banner_Myanmar\ \(MOGE\).jpg') !important;
}

.hero-detail-member-Malaysia {
    background-image: url('../images/Banner_Petronas.jpg') !important;
}

.hero-detail-member-Singapore {
    background-image: url('../images/Banner_Singapore.jpg') !important;
}

.hero-detail-member-Phillippines {
    background-image: url('../images/Banner_PNOC.jpg') !important;
}

.hero-detail-member-Thailand {
    background-image: url('../images/Banner_PTT\ 01.jpg') !important;
}

.hero-detail-member-Vietnam {
    background-image: url('../images/Banner_Petrovietnam.jpg') !important;
}

.no-pointer {
    cursor: default;
}
.max-2-line{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limits text to exactly 5 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Hides the text that exceeds 5 lines */
    line-height: 1.5;
    /* Controls the spacing between lines */
    /* Optional: Set a max-height based on line-height * lines (1.5 * 5 = 7.5em) */
    max-height: 7.5em;
}
.max-5-line {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    /* Limits text to exactly 5 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Hides the text that exceeds 5 lines */
    line-height: 1.5;
    /* Controls the spacing between lines */
    /* Optional: Set a max-height based on line-height * lines (1.5 * 5 = 7.5em) */
    max-height: 7.5em;
}

.max-10-line {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    /* Limits text to exactly 5 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Hides the text that exceeds 5 lines */
    line-height: 1.5;
    /* Controls the spacing between lines */
    /* Optional: Set a max-height based on line-height * lines (1.5 * 5 = 7.5em) */
    max-height: 7.5em;
}