/* Font Face - Menggunakan font dari public/font sesuai stylesheet.css */
@font-face {
    font-family: 'Frutiger';
    src: url('/font/Frutiger-Light.woff2') format('woff2'),
         url('/font/Frutiger-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Global Styles */
:root {
    --primary-color: #006EB5;
    --primary-dark: #005A94;
    --primary-light: #0084D6;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --undp-blue: #006EB5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Frutiger', sans-serif;
    overflow-x: hidden;
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings use Frutiger */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Frutiger', sans-serif;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 18px 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(4, 104, 177, 0.1);
    z-index: 1030;
}
.navbar-brand {
    position: relative; 
}
.navbar-logo {
    width: 140px; 
}

.navbar-toggler i.bi-list {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.nav-link {
    margin: 0 0.5rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem !important;
    border-radius: 0;
    color: var(--text-dark) !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0468B1, var(--primary-light));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 110, 181, 0.08);
    border-radius: 0;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:hover::after {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover {
    color: #0468B1 !important;
    transform: translateY(-2px);
}

/* Hero Section - Parallax */
.hero-parallax {
    position: relative;
    height: 100vh;
    background-image: url('/mha/image/a7c01400.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    z-index: 1;
}

.hero-parallax .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hero Title - Home Page (Parallax Hero) */
.hero-parallax .hero-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: none;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-parallax .hero-title .text-primary,
.hero-title .text-primary {
    color: #0468B1 !important;
    -webkit-text-fill-color: #0468B1 !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    text-shadow: none;
    display: inline-block;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.hero-parallax .hero-title.animate-text .text-primary,
.hero-title.animate-text .text-primary {
    opacity: 1 !important;
    visibility: visible !important;
}

.hero-parallax .hero-subtitle {
    font-size: 1.35rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 1 !important;
    letter-spacing: 0.3px;
    text-shadow: none;
}

/* Modern Button Styles */
.hero-buttons .btn,
.btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #0468B1 0%, #006EB5 100%);
    color: white;
    border-color: #0468B1;
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #005A94 0%, #0468B1 100%);
    transform: translateY(-2px);
    border-color: #005A94;
}

.hero-buttons .btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: white;
    transform: translateY(-2px);
    color: #000000;
    text-shadow: none;
}

.hero-buttons .btn:active {
    transform: translateY(0);
}

/* General Button Improvements */
.btn-primary {
    background: linear-gradient(135deg, #0468B1 0%, #006EB5 100%);
    border: 2px solid #0468B1;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #005A94 0%, #0468B1 100%);
    border-color: #005A94;
    transform: translateY(-2px);
    color: white;
}

.btn-outline-primary {
    border: 2px solid #0468B1;
    color: #0468B1;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover {
    background: #0468B1;
    color: white;
    transform: translateY(-2px);
    border-color: #0468B1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 0;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 0;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.arrow span {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: -6px auto;
    animation: scroll-arrow 1.5s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scroll-arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Section Styles - Consistent Padding */
.section-padding {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

/* Modern Section Label */
.section-label {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 110, 181, 0.1);
    border-radius: 0;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 1.75rem);
    font-weight: 500;
    margin: 1rem 0;
    color: var(--text-dark);
    letter-spacing: -0.3px;
    line-height: 1.4;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0468B1 0%, #006EB5 100%);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    position: relative;
    overflow: visible;
}

.title-underline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #0468B1 0%, #006EB5 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(4, 104, 177, 0.1);
}

.section-header {
    margin-bottom: 3rem;
}

/* Text Animations */
.animate-text {
    opacity: 1 !important;
    animation: none !important;
}

.animate-text-delay {
    opacity: 1 !important;
    animation: none !important;
}

.animate-text-delay-2 {
    opacity: 1 !important;
    animation: none !important;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.2s;
}

.fade-in-delay.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out 0.4s;
}

.fade-in-delay-2.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Parallax Sections */
.parallax-section {
    position: relative;
    height: 600px;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    margin: 0 !important;
    padding: 0;
}

.parallax-img-2 {
    position: relative;
    height: 600px;
    background-image: url('/mha/image/a7c01042.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    margin: 0 !important;
    padding: 0;
}

.parallax-img-3 {
    position: relative;
    height: 600px;
    background-image: url('/mha/image/a7c02002.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    margin: 0 !important;
    padding: 0;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 110, 181, 0.3);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Remove margin from section before parallax */
section:has(+ .parallax-section) {
    margin-bottom: 0 !important;
}


.parallax-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.parallax-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.parallax-text-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.3s;
}

.parallax-text-delay.visible {
    opacity: 1;
    transform: translateY(0);
}

.parallax-slow {
    transition: transform 0.3s ease-out;
}

/* Portfolio Cards */
.portfolio-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 110, 181, 0.08);
    position: relative;
}

.portfolio-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0;
    padding: 2px;
    background: linear-gradient(135deg, var(--undp-blue), var(--primary-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
}

.portfolio-card:hover::after {
    opacity: 1;
}

.portfolio-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: none;
}

.portfolio-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 110, 181, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.sdg-number {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-shadow: none;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    color: white;
    font-size: 2rem;
    transform: scale(0);
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-link {
    transform: scale(1);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.portfolio-content p {
    color: var(--text-light);
    margin: 0;
}


/* Footer */
.footer {
    background: #0468B1;
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}


.footer .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0468B1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

/* Carousel with Parallax Styling */
.carousel-parallax {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.carousel-parallax .carousel-inner {
    height: 100vh;
    width: 100vw;
}

.parallax-slide {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    width: 100vw;
}

.parallax-slide .parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
    will-change: transform;
}

.parallax-slide .parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 104, 177, 0.85) 0%, rgba(0, 110, 181, 0.75) 100%);
    z-index: 1;
}

.parallax-slide .parallax-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    width: 100%;
}

.carousel-content-card {
    background: rgba(255, 255, 255, 0.95);
    background-image: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, transparent 10px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.95) 0%, transparent 10px);
    background-attachment: local, local;
    background-position: top, bottom;
    background-repeat: no-repeat;
    background-size: 100% 20px, 100% 20px;
    padding: 3rem;
    color: var(--text-dark);
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #0468B1 rgba(4, 104, 177, 0.1);
    position: relative;
}

/* Modern Custom Scrollbar for Webkit Browsers (Chrome, Safari, Edge) */
.carousel-content-card::-webkit-scrollbar {
    width: 10px;
}

.carousel-content-card::-webkit-scrollbar-track {
    background: rgba(4, 104, 177, 0.08);
    border-radius: 10px;
    margin: 1rem 0;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.carousel-content-card::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0468B1 0%, #006EB5 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 40px;
}

.carousel-content-card::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #005A94 0%, #0468B1 100%);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 10px rgba(4, 104, 177, 0.4);
    transform: scale(1.1);
}

.carousel-content-card::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #004d7a 0%, #005A94 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}


.carousel-content-card h2 {
    color: #0468B1;
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.carousel-content-card p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.carousel-content-card strong {
    color: #0468B1;
    font-weight: 600;
}

/* Modern Carousel Controls */
.carousel-parallax .carousel-control-prev,
.carousel-parallax .carousel-control-next {
    width: 56px;
    height: 56px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    opacity: 1;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-parallax .carousel-control-prev {
    left: 2rem;
}

.carousel-parallax .carousel-control-next {
    right: 2rem;
}

.carousel-parallax .carousel-control-prev:hover,
.carousel-parallax .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.carousel-parallax .carousel-control-prev:active,
.carousel-parallax .carousel-control-next:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-parallax .carousel-control-prev-icon,
.carousel-parallax .carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.carousel-parallax .carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-parallax .carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(0.2);
    transform: scale(1.1);
}

/* Carousel Content Styles */
.carousel-content-card .highlight-box {
    background: linear-gradient(135deg, #0468B1 0%, #006EB5 100%);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-content-card .highlight-box h4,
.carousel-content-card .highlight-box p,
.carousel-content-card .highlight-box strong {
    color: white;
}

.carousel-content-card .stat-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-content-card .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-content-card .stat-card {
    background: linear-gradient(135deg, rgba(4, 104, 177, 0.1) 0%, rgba(0, 110, 181, 0.08) 100%);
    padding: 1.5rem;
    text-align: center;
    border: 2px solid rgba(4, 104, 177, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.carousel-content-card .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(4, 104, 177, 0.1), transparent);
    transition: left 0.5s ease;
}

.carousel-content-card .stat-card:hover::before {
    left: 100%;
}

.carousel-content-card .stat-card:hover {
    background: linear-gradient(135deg, rgba(4, 104, 177, 0.15) 0%, rgba(0, 110, 181, 0.12) 100%);
    border-color: #0468B1;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(4, 104, 177, 0.2);
}

.carousel-content-card .stat-card i {
    color: #0468B1;
    transition: all 0.3s ease;
}

.carousel-content-card .stat-card:hover i {
    transform: scale(1.1);
    color: #005A94;
}

.carousel-content-card .stat-card h3 {
    color: #0468B1;
    transition: all 0.3s ease;
}

.carousel-content-card .stat-card:hover h3 {
    color: #005A94;
}

.carousel-content-card .stat-card p {
    color: #0468B1;
    font-weight: 500;
    margin-bottom: 0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-content-card .stat-card:hover p {
    opacity: 1;
    color: #005A94;
}

.carousel-content-card .definition-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border: 1px solid rgba(4, 104, 177, 0.2);
    border-left: 4px solid #0468B1;
}

.carousel-content-card .definition-box h4 {
    color: #0468B1;
    font-weight: 600;
}

.carousel-content-card .definition-box p,
.carousel-content-card .definition-box .text-white-50 {
    color: var(--text-dark) !important;
}

.carousel-content-card .definition-box .lead {
    color: rgba(4, 104, 177, 0.8) !important;
}

.carousel-content-card .achievement-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border: 1px solid rgba(4, 104, 177, 0.2);
}

.carousel-content-card .achievement-box h4 {
    color: #0468B1;
    font-weight: 600;
}

.carousel-content-card .achievement-box h5,
.carousel-content-card .achievement-box .text-white {
    color: var(--text-dark) !important;
}

.carousel-content-card .achievement-box .text-white-50 {
    color: var(--text-light) !important;
}

.carousel-content-card .achievement-box p {
    color: var(--text-dark) !important;
}

.carousel-content-card .achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.carousel-content-card .achievement-icon {
    width: 50px;
    height: 50px;
    background: #0468B1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.carousel-content-card .achievement-content h5 {
    color: #0468B1;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.carousel-content-card .partnership-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border: 1px solid rgba(4, 104, 177, 0.2);
}

.carousel-content-card .partnership-box h4 {
    color: #0468B1;
    font-weight: 600;
}

.carousel-content-card .partnership-box .text-white-50 {
    color: var(--text-dark) !important;
}

.carousel-content-card .partnership-box p,
.carousel-content-card .partnership-box ul li {
    color: var(--text-dark) !important;
}

.carousel-content-card .partnership-box ul li strong {
    color: #0468B1;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .carousel-content-card {
        padding: 2rem 1.5rem;
        max-height: 85vh;
    }
    
    .carousel-content-card h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .carousel-parallax .carousel-control-prev,
    .carousel-parallax .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-parallax .carousel-control-prev {
        left: 1rem;
    }
    
    .carousel-parallax .carousel-control-next {
        right: 1rem;
    }
    
    .carousel-content-card .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.info-card {
    background: linear-gradient(135deg, var(--undp-blue), var(--primary-dark));
    border-radius: 0;
    padding: 3rem;
    text-align: center;
    color: white;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid var(--undp-blue);
    border-radius: 0;
    padding: 2.5rem;
    box-shadow: none;
}

.highlight-box h4 {
    color: var(--text-dark);
    font-weight: 600;
}

.highlight-box p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.stat-box {
    background: white;
    border-radius: 0;
    padding: 2rem;
    box-shadow: none;
}

.stat-box h2 {
    font-size: 3rem;
    font-weight: 700;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 0;
    padding: 2rem;
    text-align: center;
    box-shadow: none;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.stat-card p {
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* Definition Box */
.definition-box {
    background: white;
    border-left: 5px solid var(--undp-blue);
    border-radius: 0;
    padding: 2.5rem;
    box-shadow: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 110, 181, 0.1);
    border-left-width: 5px;
}

.definition-box:hover {
    box-shadow: none;
    transform: translateX(5px);
}

.definition-box h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.definition-box p {
    line-height: 1.8;
    color: var(--text-dark);
}

/* Achievement Box */
.achievement-box {
    background: white;
    border-radius: 0;
    padding: 2.5rem;
    box-shadow: none;
    border: 1px solid rgba(0, 110, 181, 0.1);
    transition: all 0.4s ease;
}

.achievement-box:hover {
    box-shadow: none;
    transform: translateY(-5px);
}

.achievement-box h4 {
    color: var(--text-dark);
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--undp-blue), var(--primary-dark));
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.achievement-content h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.achievement-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Partnership Box */
.partnership-box {
    background: linear-gradient(135deg, rgba(0, 110, 181, 0.05) 0%, rgba(0, 132, 214, 0.03) 100%);
    border-radius: 0;
    padding: 2.5rem;
    box-shadow: none;
    border: 1px solid rgba(0, 110, 181, 0.1);
    transition: all 0.4s ease;
}

.partnership-box:hover {
    box-shadow: none;
    transform: translateY(-3px);
}

.partnership-box h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.partnership-box ul {
    list-style: none;
    padding-left: 0;
}

.partnership-box ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.partnership-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--undp-blue);
    font-weight: bold;
}

.partnership-logos {
    text-align: center;
}

.partner-logo {
    background: white;
    border-radius: 0;
    padding: 2rem;
    box-shadow: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 110, 181, 0.1);
}

.partner-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: none;
    border-color: var(--undp-blue);
}

.partner-logo p {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* Intro Content */
.intro-content {
    background: white;
    border-radius: 0;
    padding: 3rem;
    box-shadow: none;
}

.key-info-box {
    background: linear-gradient(135deg, rgba(0, 110, 181, 0.05) 0%, rgba(0, 132, 214, 0.03) 100%);
    border-radius: 0;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.key-info-box:hover {
    box-shadow: none;
    transform: translateX(5px);
}

.key-info-box h4 {
    color: var(--text-dark);
    font-weight: 600;
}

.key-info-box p {
    line-height: 1.8;
    color: var(--text-dark);
}

.target-box {
    background: linear-gradient(135deg, rgba(4, 104, 177, 0.05) 0%, rgba(0, 110, 181, 0.03) 100%);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(4, 104, 177, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(4, 104, 177, 0.15);
    position: relative;
    overflow: hidden;
}

.target-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0468B1, #006EB5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.target-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(4, 104, 177, 0.15);
    border-color: rgba(4, 104, 177, 0.3);
    background: linear-gradient(135deg, rgba(4, 104, 177, 0.08) 0%, rgba(0, 110, 181, 0.05) 100%);
}

.target-box:hover::before {
    transform: scaleX(1);
}

.target-icon {
    font-size: 4rem;
    color: #0468B1;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.target-box:hover .target-icon {
    transform: scale(1.1) rotate(5deg);
    color: #006EB5;
}

.target-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #002d4d;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #002d4d 0%, #003366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #002d4d;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@supports (-webkit-background-clip: text) {
    .target-number {
        -webkit-text-fill-color: transparent;
    }
}

.target-box:hover .target-number {
    transform: scale(1.05);
}

.target-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.target-year {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.target-subtitle {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(4, 104, 177, 0.45);
    color: #001a2e;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.target-box:hover .target-subtitle {
    background: linear-gradient(135deg, #0468B1 0%, #006EB5 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 104, 177, 0.2);
}

/* Theme Icon - Custom color untuk mengganti text-primary Bootstrap */
.theme-icon {
    color: #0468B1 !important;
}

.partnership-note {
    background: rgba(0, 110, 181, 0.1);
    border-radius: 0;
    padding: 1.5rem;
    border-left: 4px solid var(--undp-blue);
}

.partnership-note p {
    color: var(--text-dark);
    line-height: 1.8;
}


/* Responsive */
@media (max-width: 768px) {
    .hero-parallax .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        font-weight: 600;
        line-height: 1.3;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: clamp(1.375rem, 4vw, 1.625rem);
    }
    
    .parallax-section {
        background-attachment: scroll;
    }
    
    .hero-parallax {
        background-attachment: scroll;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .carousel-indicators button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .carousel-indicators button span {
        display: none;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .carousel-item {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-box h2 {
        font-size: 2rem;
    }
    
    .tab-content {
        min-height: auto;
    }
    
    .achievement-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Map Section */
.map-container {
    background: white;
    border-radius: 0;
    padding: 1.5rem;
    box-shadow: none;
    overflow: hidden;
    border: 1px solid rgba(0, 110, 181, 0.1);
    transition: all 0.4s ease;
}

.map-container:hover {
    box-shadow: none;
    transform: translateY(-5px);
}

.map-wrapper {
    width: 100%;
    height: 600px;
    border-radius: 0;
    overflow: hidden;
}

.map-popup {
    min-width: 200px;
}

.map-popup h6 {
    color: var(--undp-blue);
    font-size: 1.1rem;
}

.map-popup p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Table Section - Modern Bootstrap Styling */
.data-table {
    background: white;
    border: 1px solid rgba(0, 110, 181, 0.1);
    width: 100%;
    margin-bottom: 0;
}

.data-table thead {
    background: linear-gradient(135deg, var(--undp-blue) 0%, #006EB5 100%);
    color: white;
}

.data-table thead th {
    border: none;
    padding: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.data-table thead th:first-child {
    text-align: center;
    width: 80px;
}

.data-table tbody tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.data-table tbody tr:hover {
    background-color: rgba(4, 104, 177, 0.05);
}

.data-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-color: rgba(0, 110, 181, 0.1);
}

.data-table tbody td:first-child {
    text-align: center;
    font-weight: 600;
    color: var(--undp-blue);
    width: 80px;
}

/* Table Container Enhancements */
.table-responsive {
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

.table-responsive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(4, 104, 177, 0.2), transparent);
    z-index: 1;
}

/* Modern Badge Styles */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge.bg-primary {
    background: linear-gradient(135deg, #0468B1 0%, #006EB5 100%) !important;
    color: white;
}

.badge.bg-success {
    background: linear-gradient(135deg, #1e7e34 0%, #28a745 100%) !important;
    color: #ffffff;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    color: #212529;
}

.badge.bg-info {
    background: linear-gradient(135deg, #117a8b 0%, #17a2b8 100%) !important;
    color: #ffffff;
}

.badge.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: white;
}
 

/* Documents Section */
.document-card {
    background: #fff;
    border: 1px solid rgba(4, 104, 177, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.document-image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}

.document-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
}

.document-card:hover .document-image {
    transform: scale(1.05);
}

.document-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.document-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.document-description {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.document-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(4, 104, 177, 0.15);
    border-color: rgba(4, 104, 177, 0.3);
}

.document-cover {
    background: linear-gradient(135deg, #0468B1 0%, #006EB5 100%);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.document-cover::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-25%, -25%) rotate(45deg);
    }
}

.document-icon {
    position: relative;
    z-index: 1;
}

.document-icon i {
    font-size: 4rem;
    color: #fff;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.document-card:hover .document-icon i {
    transform: scale(1.1);
    opacity: 1;
}

.document-actions .btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.document-actions .btn-primary {
    background: linear-gradient(135deg, #0468B1 0%, #006EB5 100%);
    border: none;
}

.document-actions .btn-primary:hover {
    background: linear-gradient(135deg, #005A94 0%, #0468B1 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 104, 177, 0.3);
}

.document-actions .btn-outline-primary {
    border-color: #0468B1;
    color: #0468B1;
}

.document-actions .btn-outline-primary:hover {
    background: #0468B1;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive Documents */
@media (max-width: 768px) {
    .document-cover {
        padding: 2rem 1.5rem;
    }

    .document-icon i {
        font-size: 3rem;
    }

    .document-title {
        font-size: 1.1rem;
    }

    .document-description {
        font-size: 0.9rem;
    }

    .document-actions {
        flex-direction: column;
    }

    .document-actions .btn {
        width: 100%;
    }
}

/* Index.html - Landing Hero Styles */
.landing-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/mha/image/indonesia_forest.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 104, 177, 0.65) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    display: block;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 104, 177, 0.65) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
}

.hero-logo {
    margin-bottom: 3rem;
    opacity: 0;
}

.hero-logo img {
    width: 200px;
    height: auto;
}

/* Hero Title - Landing Page (Index) */
.landing-hero .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #fff;
}

.landing-hero .hero-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
}

.landing-hero .hero-title .highlight,
.landing-hero .hero-title .text-primary {
    color: #0468B1 !important;
    -webkit-text-fill-color: #0468B1 !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
}

.landing-hero .hero-title .highlight {
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
}

.scroll-instruction {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    opacity: 0;
}

.scroll-instruction-text {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin: 0 auto;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    animation: scroll-down 1.5s infinite;
}

@keyframes scroll-down {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Final CTA Section - Index Page */
.final-section {
    background: linear-gradient(135deg, rgba(4, 104, 177, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
    padding: 10rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/mha/image/shutterstock_2013599315.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.final-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.final-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
}

.final-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.final-title span {
    display: inline-block;
    color: #fff !important;
}

.final-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 3rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #0468B1 0%, #006EB5 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #0468B1;
    box-shadow: 0 4px 15px rgba(4, 104, 177, 0.4);
}

.cta-button:hover {
    background: #fff;
    color: #0468B1;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(4, 104, 177, 0.6);
    border-color: #fff;
}

.section-page{
    padding: 140px 0 60px 0;
}
/* Document Detail Page Styles */
.document-detail-hero {
    background: linear-gradient(135deg, #0468B1 0%, #006EB5 100%);
    padding: 140px 0 60px 0;
    color: #fff;
}

.document-detail-content {
    padding: 4rem 0;
}

.document-info-card {
    background: #fff;
    border: 1px solid rgba(4, 104, 177, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.document-info-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(4, 104, 177, 0.1);
}

.document-info-item:last-child {
    border-bottom: none;
}

.document-info-item i {
    width: 30px;
    color: #0468B1;
    margin-right: 1rem;
}

.document-description-full {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.document-preview {
    background: #f8f9fa;
    border: 1px solid rgba(4, 104, 177, 0.1);
    padding: 2rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-preview-placeholder {
    color: var(--text-light);
}

.document-preview-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #0468B1;
    opacity: 0.5;
}

.document-actions-sticky {
    position: sticky;
    top: 100px;
}

.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-custom .breadcrumb-item a {
    color: #0468B1;
    text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: var(--text-light);
}

.related-documents {
    background: #f8f9fa;
    padding: 3rem 0;
}

/* Responsive - Index & Document Detail */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .final-title {
        font-size: 1.6rem;
    }

    .final-subtitle {
        font-size: 1rem;
    }  
}

/* Smooth Scroll Behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Gallery Masonry Section */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 10px;
    gap: 15px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    grid-row-end: span var(--row-span, 25);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(4, 104, 177, 0.3);
}

.gallery-item:nth-child(1) { --row-span: 22; }
.gallery-item:nth-child(2) { --row-span: 20; }
.gallery-item:nth-child(3) { --row-span: 24; }
.gallery-item:nth-child(4) { --row-span: 18; }
.gallery-item:nth-child(5) { --row-span: 21; }
.gallery-item:nth-child(6) { --row-span: 23; }
.gallery-item:nth-child(7) { --row-span: 19; }
.gallery-item:nth-child(8) { --row-span: 25; }

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 104, 177, 0.85) 0%, rgba(0, 110, 181, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: #fff;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal-content {
    position: relative;
    margin: auto;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-modal-caption {
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 1.1rem;
    margin-top: 20px;
}

.gallery-modal-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #ffffff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.gallery-modal-close:hover {
    color: #0468B1;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(4, 104, 177, 0.8);
    color: #fff;
    border: none;
    padding: 20px 25px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.gallery-modal-prev {
    left: 30px;
}

.gallery-modal-next {
    right: 30px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: #0468B1;
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-prev:active,
.gallery-modal-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-masonry {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        padding: 15px 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #0468B1 rgba(4, 104, 177, 0.1);
    }

    .gallery-masonry::-webkit-scrollbar {
        height: 6px;
    }

    .gallery-masonry::-webkit-scrollbar-track {
        background: rgba(4, 104, 177, 0.1);
    }

    .gallery-masonry::-webkit-scrollbar-thumb {
        background: #0468B1;
        border-radius: 3px;
    }

    .gallery-item {
        flex: 0 0 75%;
        max-width: 75%;
        height: 280px;
        scroll-snap-align: start;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(7),
    .gallery-item:nth-child(8) {
        --row-span: auto;
    }

    .gallery-modal-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
        width: 40px;
        height: 40px;
    }

    .gallery-modal-prev,
    .gallery-modal-next {
        padding: 15px 20px;
        font-size: 20px;
    }

    .gallery-modal-prev {
        left: 10px;
    }

    .gallery-modal-next {
        right: 10px;
    }
}



/* Siena Accessibility Widget - Position to Right */
.asw-menu-btn {
    left: auto !important;
    right: 30px !important;
    bottom: 30px !important;
}

/* Also target the widget container if needed */
.asw-widget {
    left: auto !important;
    right: 30px !important;
}

/* Position the menu to the right when opened */
.asw-menu {
    left: auto !important;
    right: 0px !important;
    bottom: 100px !important;
    transform-origin: bottom right !important;
}
.asw-footer{
    display: none !important;
}

/* Language Switcher Styles */
.modern-lang-dropdown {
    position: relative;
    z-index: 1050;
}

/* Ensure dropdown container doesn't hide overflow */
.modern-lang-dropdown,
.navbar-nav .nav-item {
    overflow: visible;
}

.modern-lang-toggle {
    background: rgba(4, 104, 177, 0.1);
    border: 1px solid rgba(4, 104, 177, 0.2);
    color: var(--undp-blue);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    cursor: pointer;
}

.modern-lang-toggle:hover {
    background: rgba(4, 104, 177, 0.15);
    border-color: var(--undp-blue);
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(4, 104, 177, 0.2);
}

.modern-lang-toggle:focus {
    box-shadow: 0 0 0 3px rgba(4, 104, 177, 0.2);
    outline: none;
}

.modern-lang-toggle .bi-chevron-down {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.modern-lang-dropdown.show .modern-lang-toggle .bi-chevron-down {
    transform: rotate(180deg);
}

.modern-lang-menu {
    min-width: 160px;
    padding: 0.375rem;
    border: 1px solid rgba(4, 104, 177, 0.15);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: white;
    margin-top: 0.5rem !important;
    font-size: 0.875rem;
    z-index: 1051 !important;
}

/* Ensure dropdown menu is visible when shown */
.modern-lang-dropdown.show .modern-lang-menu,
.modern-lang-menu.show,
.modern-lang-dropdown .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fix for Bootstrap dropdown positioning in navbar */
.navbar-nav .dropdown-menu {
    position: absolute;
}

/* Ensure dropdown is positioned correctly */
.navbar-nav .modern-lang-dropdown .dropdown-menu {
    right: 0;
    left: auto;
}

/* Override any display:none from Bootstrap */
.modern-lang-dropdown .dropdown-menu {
    display: none;
}

.modern-lang-dropdown.show .dropdown-menu,
.modern-lang-dropdown .dropdown-menu.show {
    display: block !important;
}

.modern-lang-item {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.125rem;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.modern-lang-item .flex-grow-1 {
    font-size: 0.875rem;
    font-weight: 500;
}

.modern-lang-item:last-child {
    margin-bottom: 0;
}

.modern-lang-item:hover {
    background: rgba(4, 104, 177, 0.08);
    color: var(--undp-blue);
    transform: translateX(4px);
}

.modern-lang-item.active {
    background: linear-gradient(135deg, rgba(4, 104, 177, 0.1), rgba(0, 90, 148, 0.1));
    color: var(--undp-blue);
    font-weight: 600;
    border-left: 3px solid var(--undp-blue);
}

.modern-lang-item .lang-flag {
    width: 18px !important;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.modern-lang-item.active .lang-flag {
    box-shadow: 0 2px 6px rgba(4, 104, 177, 0.3);
}

/* Responsive Language Switcher */
@media (max-width: 768px) {
    .modern-lang-toggle {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .modern-lang-toggle .d-none.d-md-inline {
        display: none !important;
    }
}

/* Mobile Offcanvas Menu Styles */
.modern-offcanvas {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-left: none;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    width: 320px !important;
}

.modern-offcanvas-header {
    background: linear-gradient(135deg, var(--undp-blue) 0%, var(--primary-dark) 100%);
    padding: 1.5rem;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.modern-offcanvas-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(4, 104, 177, 0.15), transparent 55%);
    pointer-events: none;
}

.modern-offcanvas-header .offcanvas-title {
    position: relative;
    z-index: 1;
}

.modern-offcanvas-header .offcanvas-title img {
    filter: brightness(0) invert(1);
}

.modern-offcanvas-body {
    padding: 1rem 0;
    overflow-y: auto;
}

.modern-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-nav-item {
    margin: 0.25rem 0;
    opacity: 0;
    animation: slideInRight 0.4s ease-out forwards;
}

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

.modern-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-left: 3px solid transparent;
    background: transparent;
}

.modern-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--undp-blue), var(--primary-light));
    transition: width 0.3s ease;
    border-radius: 0 8px 8px 0;
}

.modern-nav-link:hover,
.modern-nav-link:focus {
    color: var(--undp-blue);
    background: rgba(4, 104, 177, 0.05);
    border-left-color: var(--undp-blue);
    padding-left: 1.75rem;
    transform: translateX(4px);
}

.modern-nav-link:hover::before {
    width: 4px;
}

.modern-nav-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 104, 177, 0.1);
    border-radius: 10px;
    color: var(--undp-blue);
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.modern-nav-link:hover .modern-nav-icon {
    background: linear-gradient(135deg, var(--undp-blue), var(--primary-light));
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(4, 104, 177, 0.3);
}

.modern-nav-text {
    flex: 1;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-nav-link:hover .modern-nav-text {
    font-weight: 600;
}

.modern-nav-arrow {
    color: var(--text-light);
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
}

.modern-nav-link:hover .modern-nav-arrow {
    color: var(--undp-blue);
    opacity: 1;
    transform: translateX(4px);
}

/* Language Switcher in Offcanvas */
.modern-language-switcher {
    border-top: 1px solid rgba(4, 104, 177, 0.1);
}

.modern-lang-btn {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(4, 104, 177, 0.2);
    border-radius: 10px;
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-lang-btn:hover {
    border-color: var(--undp-blue);
    background: rgba(4, 104, 177, 0.05);
    color: var(--undp-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 104, 177, 0.15);
}

.modern-lang-btn.active {
    border-color: var(--undp-blue);
    background: linear-gradient(135deg, var(--undp-blue), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(4, 104, 177, 0.3);
}

.modern-lang-btn.active:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--undp-blue));
    transform: translateY(-2px) scale(1.02);
}

.modern-lang-btn img {
    flex-shrink: 0;
}

.modern-lang-btn.active img {
    filter: brightness(0) invert(1);
}

.modern-lang-btn .bi-check-circle-fill {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #006EB5 0%, #005A94 100%);
    margin-top: 76px;
}

.contact-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info-card h2 {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: #e6f2f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    background: #006EB5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.5rem;
}

.contact-info-content h5 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-content p {
    color: #666;
    line-height: 1.6;
}

.contact-info-content a {
    color: #006EB5;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info-content a:hover {
    color: #005A94;
    text-decoration: underline !important;
}

@media (max-width: 768px) {
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-hero {
        margin-top: 70px;
        padding: 3rem 0 !important;
    }
    
    .contact-info-item {
        padding: 1rem;
    }
    
    .contact-info-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}