/**
 * Indonesia Legal Resource Center - Main Stylesheet
 * Primary: #ED1C24
 * Secondary: #C9A14A
 * Footer BG: #341212
 * Accent: #9C4C8C
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary: #ED1C24;
    --secondary: #C9A14A;
    --footer-bg: #341212;
    --accent: #9C4C8C;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray: #666666;
    --light-gray: #F5F5F5;
    --font-headline: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headline);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 92.5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c91820;
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #a8843d;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Mobile Nav Overlay Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: #fff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.18);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-nav-overlay.open {
    right: 0;
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-nav-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--black);
    transition: all 0.2s ease;
    z-index: 1;
    flex-shrink: 0;
}

.mobile-nav-close:hover {
    background: var(--primary);
    color: #fff;
}

.mobile-nav-logo {
    padding: 32px 28px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    margin-top: 8px;
}

.mobile-nav-logo img {
    height: 80px;
    width: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    flex: 1;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.mobile-nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
    border-radius: 0 2px 2px 0;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--primary);
    background: rgba(237, 28, 36, 0.04);
    padding-left: 36px;
}

.mobile-nav-links a:hover::before,
.mobile-nav-links a.active::before {
    transform: scaleY(1);
}

.mobile-nav-links a svg {
    opacity: 0.35;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.mobile-nav-links a:hover svg,
.mobile-nav-links a.active svg {
    opacity: 1;
    transform: translateX(3px);
    color: var(--primary);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Header & Navigation Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.header {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    max-width: 1200px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0 32px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 110px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dd-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.has-dropdown:hover .dd-chevron,
.has-dropdown.open .dd-chevron {
    transform: rotate(180deg);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    outline: none;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--black);
    transition: all 0.3s ease;
    display: block;
}

/* Header on scroll - more solid background */
.header.scrolled .header-wrapper {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    padding: 120px 0 80px;
}

.hero-content {
    color: var(--white);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-subheadline {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 17px;
    opacity: 0.88;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 480px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    color: var(--black);
    margin-bottom: 20px;
}

.section-description {
    font-size: 16px;
    color: var(--gray);
}

/* About Section */
.about-section {
    background-color: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
}

/* Vision Mission */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vm-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
}

.vm-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary);
}

.vm-card p {
    color: var(--gray);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-info h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.team-info p {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
}

/* Publications */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.publications-list.fading {
    opacity: 0;
    transform: translateY(8px);
}

.publication-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    background-color: var(--white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    align-items: start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.publication-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    border-color: rgba(237, 28, 36, 0.2);
}

.publication-cover {
    width: 100%;
    height: 300px;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.publication-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.publication-item:hover .publication-cover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.publication-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.no-cover {
    text-align: center;
    color: var(--gray);
}

.no-cover svg {
    margin-bottom: 10px;
}

.no-cover p {
    font-size: 14px;
}

.publication-cover embed,
.publication-cover object,
.publication-cover iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    object-fit: contain;
}

.publication-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.publication-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    line-height: 1.3;
}

.publication-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gray);
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 15px;
    color: var(--text);
}

.publication-synopsis {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.publication-synopsis h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--primary);
}

.publication-synopsis p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

.publication-actions {
    display: flex;
    gap: 15px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: var(--white);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-link.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

@media (max-width: 480px) {
    .pagination {
        gap: 6px;
    }

    .pagination-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    .pagination-link svg {
        width: 14px;
        height: 14px;
    }
}


/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--primary);
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background-color: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--gray);
}

.contact-item-content p {
    font-size: 16px;
    font-weight: 500;
}

/* Partners */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.partner-logo {
    height: 60px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 120px;
    width: auto;
}

.footer-brand h3 {
    font-size: 20px;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.footer-address {
    opacity: 0.8;
    line-height: 1.8;
    font-size: 14px;
}

.footer-column h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 16px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary);
    padding-left: 4px;
}

/* Footer Contact Section */
.footer-contact-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    opacity: 0.9;
}

.footer-contact-info svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--secondary);
}

.footer-contact-info a {
    opacity: 1;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    opacity: 0.6;
    font-size: 14px;
}

/* Page Hero */
.page-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    padding: 120px 0 80px;
    width: 100%;
}

.page-hero-content .section-subtitle {
    color: var(--secondary);
}

.page-hero-content .section-title {
    color: var(--white);
}

.page-hero-content .section-description {
    max-width: 600px;
    margin: 0 auto;
}

/* About Hero Grid - Text left, Vision-Mission right */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 120px 0 80px;
    width: 100%;
}

.about-hero-left .section-title {
    color: var(--white);
}

.about-hero-left {
    text-align: left;
}

.about-hero-right {
    display: flex;
    justify-content: flex-end;
}

/* Vision-Mission Vertical Layout */
.vm-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    width: 100%;
}

.vm-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
}

/* Paragraph Content for Contact Hero */
.paragraph-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 100%;
}

.paragraph-content p {
    color: var(--white);
    line-height: 1.6;
    margin: 0;
}

.vm-box h3 {
    color: var(--secondary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vm-box p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-family: var(--font-body);
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.team-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.team-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.team-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: rgba(237, 28, 36, 0.15);
}

.team-item:hover:before {
    transform: scaleY(1);
}

.team-image-left {
    width: 300px;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

.team-item:hover .team-image-left {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    transform: scale(1.02);
}

.team-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-item:hover .team-image-left img {
    transform: scale(1.05);
}

.team-info-right {
    padding-top: 10px;
}

.team-info-right h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.team-position {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(237, 28, 36, 0.08);
    border-radius: 20px;
}

.team-profile {
    background: var(--light-gray);
    padding: 24px;
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.team-profile h4 {
    font-size: 13px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-weight: 600;
}

.team-profile p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

/* Address Vertical Layout (Hero) */
.address-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
}

.address-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
}

.address-box h3 {
    color: var(--secondary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.address-box p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Address List Section */
.address-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.address-item {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.address-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.address-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    font-weight: 600;
}

.address-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.address-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* Contact CTA Section */
.contact-cta-section {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.contact-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.contact-cta-section>* {
    position: relative;
    z-index: 2;
}

/* Partners Infinite Carousel */
.partners-carousel-section {
    overflow: hidden;
}

.partner-carousel-row {
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.partner-carousel-row::before,
.partner-carousel-row::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partner-carousel-row::before {
    left: 0;
    background: linear-gradient(to right, var(--light-gray), transparent);
}

.partner-carousel-row::after {
    right: 0;
    background: linear-gradient(to left, var(--light-gray), transparent);
}

.partner-carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

.partner-carousel-left {
    animation: scroll-left 25s linear infinite;
}

.partner-carousel-right {
    animation: scroll-right 25s linear infinite;
}

.partner-carousel-track:hover {
    animation-play-state: paused;
}

.partner-carousel-item {
    flex-shrink: 0;
    width: 160px;
    height: 100px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.partner-carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.partner-logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-carousel-item:hover .partner-logo-wrapper img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* â”€â”€ Section Navigation Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section-nav {
    position: fixed;
    right: 28px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 998;
}

.section-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.section-nav-btn svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.section-nav-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(237, 28, 36, 0.35);
}

.section-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(237, 28, 36, 0.4);
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #c4121a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(237, 28, 36, 0.5);
}

/* Scroll Down Button for Sections */
.scroll-down-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.scroll-down-btn:hover {
    background: var(--white);
    color: var(--primary);
}

.scroll-down-btn svg {
    animation: bounce 1.5s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* Responsive */
@media (max-width: 1024px) {

    .about-grid,
    .vm-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-hero-left {
        text-align: center;
    }

    .about-hero-right {
        justify-content: center;
    }

    .vm-vertical,
    .address-vertical {
        max-width: 100%;
        width: 100%;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-item {
        grid-template-columns: 220px 1fr;
        gap: 24px;
        padding: 24px;
    }

    .team-image-left {
        width: 220px;
        height: 260px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Hero tetap full height, image lebih kecil */
    .hero-title {
        font-size: 38px;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero-image img {
        max-height: 320px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Nav menu desktop tetap tersembunyi di mobile, mobile nav pakai overlay terpisah */
    .nav-menu {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 100;
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Header */
    .header {
        width: 92%;
        top: 10px;
    }

    .header-wrapper {
        padding: 0 20px;
    }

    .header-inner {
        height: 60px;
    }

    .logo img {
        height: 70px;
    }

    /* Hero Ã¢â‚¬â€ tetap full height di mobile */
    .hero {
        min-height: 100vh;
        background-attachment: scroll;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 120px 0 60px;
        text-align: center;
    }

    .hero-image {
        display: flex;
        justify-content: center;
    }

    .hero-image img {
        max-height: 220px;
        border-radius: 12px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-description {
        font-size: 16px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Page Hero */
    .page-hero {
        min-height: 100vh;
        padding: 0;
    }

    .page-hero-content {
        padding: 100px 0 60px;
        text-align: center;
    }

    .page-hero-content .section-title,
    .page-hero-content .section-description {
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 100px 0 60px;
    }

    .about-hero-left {
        text-align: center;
    }

    .about-hero-left .section-description {
        margin: 0 auto 24px;
        max-width: 500px;
    }

    .about-hero-right {
        justify-content: center;
    }

    .vm-vertical,
    .address-vertical {
        max-width: 100%;
    }

    /* Section */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .section-header {
        margin-bottom: 36px;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .about-image {
        display: flex;
        justify-content: center;
    }

    .about-image img {
        max-height: 260px;
    }

    .about-content {
        text-align: center;
    }

    /* Team */
    .team-grid,
    .publications-grid {
        grid-template-columns: 1fr;
    }

    .team-item {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

    .team-image-left {
        width: 100%;
        max-width: 240px;
        height: 280px;
        margin: 0 auto;
    }

    .team-info-right h3 {
        font-size: 22px;
    }

    .team-profile {
        text-align: left;
    }

    /* Partner Carousel */
    .partner-carousel-item {
        width: 120px;
        height: 80px;
        padding: 10px;
    }

    .partner-carousel-left,
    .partner-carousel-right {
        animation-duration: 20s;
    }

    /* Publications */
    .publication-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .publication-cover {
        height: 260px;
        max-width: 200px;
        margin: 0 auto;
    }

    .publication-title {
        font-size: 20px;
    }

    .publication-meta {
        grid-template-columns: 1fr 1fr;
    }

    .publication-actions {
        flex-direction: column;
    }

    .publication-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* FAQ */
    .faq-question {
        font-size: 15px;
        padding: 18px 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }

    /* Address */
    .address-item {
        flex-direction: row;
        gap: 16px;
        padding: 20px;
    }

    .address-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
        flex-shrink: 0;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-logo img {
        height: 80px;
    }

    .footer-brand h3 {
        font-size: 16px;
    }

    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer-links a {
        font-size: 14px;
    }

    /* Scroll to top & section nav */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .section-nav {
        right: 20px;
        bottom: 76px;
    }

    .section-nav-btn {
        width: 40px;
        height: 40px;
    }

    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .section {
        padding: 48px 0;
    }

    .publication-cover {
        height: 220px;
        max-width: 160px;
    }

    .publication-title {
        font-size: 18px;
    }

    .publication-meta {
        grid-template-columns: 1fr;
    }

    .team-image-left {
        height: 240px;
    }

    .vm-box,
    .address-box {
        padding: 16px;
    }

    .vm-box h3,
    .address-box h3 {
        font-size: 15px;
    }

    .page-hero {
        min-height: 100vh;
        padding: 0;
    }

    .footer-contact-section {
        padding: 16px;
    }

    .partner-carousel-item {
        width: 100px;
        height: 70px;
    }
}

/* Carousel */
.carousel-section {
    overflow: hidden;
}

.carousel-section .container {
    max-width: 100%;
    padding: 0;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 92.5px;
}

.carousel-track-wrapper {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.carousel-card {
    flex: 0 0 300px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.carousel-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
    transform: translateY(-4px);
}

.carousel-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 5px solid var(--primary);
    background: #f0f0f0;
}

.carousel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    transform: translateZ(0);
    will-change: transform;
}

.carousel-card:hover .carousel-card-image img {
    transform: scale(1.05);
}

.carousel-card-logo {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    z-index: 2;
}

.carousel-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    color: #aaa;
}

.carousel-card:hover .carousel-card-placeholder {
    background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);
}

.carousel-card-content {
    padding: 20px;
    flex: 1;
}

.carousel-card-link {
    display: inline-block;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.carousel-card-link:hover {
    color: var(--primary);
}

.carousel-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black);
    line-height: 1.4;
}

.carousel-card-desc {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
}

.carousel-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: var(--secondary);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 161, 74, 0.4);
    flex-shrink: 0;
}

.carousel-nav:hover {
    background-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(237, 28, 36, 0.4);
}

.carousel-nav:active {
    transform: scale(0.95);
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .carousel-container {
        padding: 0 40px;
    }

    .carousel-card {
        flex: 0 0 260px;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 8px;
        gap: 6px;
    }

    .carousel-nav {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .carousel-nav svg {
        width: 16px;
        height: 16px;
    }

    .carousel-card {
        flex: 0 0 100% !important;
        max-width: none;
    }

    .carousel-card-image {
        height: 180px;
    }

    .carousel-card-title {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 6px;
        gap: 4px;
    }

    .carousel-nav {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .carousel-card {
        flex: 0 0 100% !important;
    }

    .carousel-card-image {
        height: 160px;
    }
}

/* â”€â”€ Navbar Dropdown â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav-menu li {
    position: relative;
    list-style: none;
}

/* Dropdown wrapper tidak ubah tinggi/lebar link sama sekali */
.nav-menu li.has-dropdown {
    display: flex;
    align-items: center;
}

.nav-menu li.has-dropdown>a {
    display: flex;
    align-items: center;
}

/* Underline tetap normal, tidak diubah */

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 220px;
    padding: 8px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14), 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.07);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 2000;
    pointer-events: none;
    margin-top: 0;
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    background: #fff;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.nav-menu li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(237, 28, 36, 0.07);
    color: var(--primary);
    transform: translateX(3px);
}

.dropdown-menu li a::after,
.dropdown-menu li a::before {
    display: none !important;
}

.dd-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(237, 28, 36, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    transition: background 0.15s ease;
}

.dropdown-menu li a:hover .dd-icon {
    background: rgba(237, 28, 36, 0.15);
}

/* â”€â”€ Mobile Nav Submenu â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.mobile-nav-group {
    display: flex;
    flex-direction: column;
}

.mobile-nav-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
    position: relative;
}

.mobile-nav-main::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
    border-radius: 0 2px 2px 0;
}

.mobile-nav-main:hover,
.mobile-nav-main.active {
    color: var(--primary);
    background: rgba(237, 28, 36, 0.04);
    padding-left: 36px;
}

.mobile-nav-main:hover::before,
.mobile-nav-main.active::before {
    transform: scaleY(1);
}

.mobile-submenu-toggle {
    flex-shrink: 0;
    width: 52px;
    background: none;
    border: none;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: color 0.2s ease, background 0.2s ease;
}

.mobile-submenu-toggle:hover {
    background: rgba(237, 28, 36, 0.04);
    color: var(--primary);
}

.mobile-submenu-toggle svg {
    transition: transform 0.25s ease;
}

.mobile-nav-group.open .mobile-submenu-toggle svg {
    transform: rotate(90deg);
}

.mobile-submenu {
    display: none;
    flex-direction: column;
    background: rgba(237, 28, 36, 0.03);
    border-left: 3px solid var(--primary);
}

.mobile-nav-group.open .mobile-submenu {
    display: flex;
}

.mobile-submenu a {
    padding: 13px 28px 13px 36px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--gray) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    text-decoration: none;
    transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease !important;
}

.mobile-submenu a:hover {
    color: var(--primary) !important;
    background: rgba(237, 28, 36, 0.06) !important;
    padding-left: 44px !important;
}

.mobile-submenu a::before,
.mobile-submenu a::after {
    display: none !important;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
    padding: 8px 0;
    min-width: 210px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    transform: translateX(-50%) translateY(-6px);
    z-index: 9999;
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    transition: all 0.18s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(237, 28, 36, 0.06);
    color: var(--primary);
    padding-left: 22px;
}

.dropdown-menu li a::after {
    display: none;
}

.dd-icon {
    display: flex;
    align-items: center;
    color: var(--gray);
    flex-shrink: 0;
    transition: color 0.18s ease;
}

.dropdown-menu li a:hover .dd-icon {
    color: var(--primary);
}

/* Filter Chips */
.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 24px;
    background: white;
    border: 2px solid #e0e0e0;
    color: var(--black);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-chip:hover {
    border-color: var(--primary);
    background: rgba(237, 28, 36, 0.05);
    color: var(--primary);
}

.filter-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.chip-count {
    margin-left: 8px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.filter-chip.active .chip-count {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .filter-chip {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ── Photo Detail Page ─────────────────────────────────── */
.photo-detail-section {
    padding: 60px 0 80px;
    background: var(--light-gray);
    min-height: 70vh;
}

.photo-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 32px;
    transition: gap 0.2s ease;
}

.photo-detail-back:hover {
    gap: 12px;
}

.photo-detail-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.photo-detail-img-wrap {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-detail-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 520px;
}

.photo-detail-info {
    padding: 36px 40px;
}

.photo-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.3;
}

.photo-detail-desc {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 28px;
}

@media (max-width: 768px) {
    .photo-detail-info {
        padding: 24px 20px;
    }

    .photo-detail-title {
        font-size: 20px;
    }

    .photo-detail-img-wrap {
        max-height: 280px;
    }
}

/* ── Carousel Card Image Link ──────────────────────────── */
.carousel-card-img-link {
    display: block;
    text-decoration: none;
}

.carousel-card-img-link .carousel-card-image {
    transition: opacity 0.2s ease;
}

.carousel-card-img-link:hover .carousel-card-image {
    opacity: 0.88;
}

/* ── Team Carousel (Organization) ─────────────────────── */
.team-carousel-auto {
    --team-gap: 30px;
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    min-width: max-content;
    animation: teamScrollLeft 28s linear infinite;
    will-change: transform;
}

@keyframes teamScrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - (var(--team-gap) / 2)));
    }
}

.partner-carousel-row:hover .team-carousel-auto {
    animation-play-state: paused;
}

.team-carousel-item {
    flex-shrink: 0;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
}

.team-carousel-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary);
    flex-shrink: 0;
}

.team-carousel-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-carousel-info {
    text-align: center;
}

.team-carousel-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    margin: 0 0 2px;
    line-height: 1.3;
}

.team-carousel-pos {
    font-size: 11px;
    color: var(--gray);
    margin: 0;
}

/* ── Proposal Embed Section ────────────────────────────── */
.proposal-embed-section {
    margin: 40px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    scroll-margin-top: 100px;
}

.proposal-embed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: var(--primary);
    flex-wrap: wrap;
}

.proposal-embed-header h3 {
    color: white;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    flex: 1;
}

/* ── Home Gallery Carousel (Beranda) ──────────────────── */
.home-gallery-carousel-row {
    overflow: hidden;
    position: relative;
    padding: 8px 0 16px;
}

.home-gallery-carousel-row::before,
.home-gallery-carousel-row::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.home-gallery-carousel-row::before {
    left: 0;
    background: linear-gradient(to right, var(--light-gray), transparent);
}

/* section 2 bg putih */
#carousel-section-2 .home-gallery-carousel-row::before {
    background: linear-gradient(to right, var(--white), transparent);
}

#carousel-section-2 .home-gallery-carousel-row::after {
    background: linear-gradient(to left, var(--white), transparent);
}

.home-gallery-carousel-row::after {
    right: 0;
    background: linear-gradient(to left, var(--light-gray), transparent);
}

.home-gallery-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.home-gallery-left {
    animation: scroll-left 30s linear infinite;
}

.home-gallery-right {
    animation: scroll-right 30s linear infinite;
}

.home-gallery-track:hover,
.home-gallery-carousel-row:hover {
    animation-play-state: paused;
}

/* Fix: card clickable - stop animation on card hover */
.home-gallery-card-wrap {
    cursor: pointer;
}

.home-gallery-card-wrap:hover {
    animation-play-state: paused;
}

/* Pastikan parent track juga pause saat child card di-hover */
.home-gallery-track:has(.home-gallery-card-wrap:hover) {
    animation-play-state: paused !important;
}

.home-gallery-card {
    flex-shrink: 0;
    width: 260px;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.home-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.home-gallery-img {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: var(--light-gray);
    flex-shrink: 0;
}

.home-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.home-gallery-card:hover .home-gallery-img img {
    transform: scale(1.05);
}

.home-gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.home-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(237, 28, 36, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-gallery-overlay span {
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.home-gallery-card:hover .home-gallery-overlay {
    opacity: 1;
}

.home-gallery-caption {
    padding: 14px 16px;
    flex: 1;
}

.home-gallery-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin: 0 0 6px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-gallery-desc {
    font-size: 12px;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Foto Detail Page ──────────────────────────────────── */
.foto-detail-hero {
    min-height: 220px;
}

.foto-detail-section {
    padding: 48px 0 80px;
    background: var(--light-gray);
}

.foto-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 36px;
    transition: gap 0.2s ease;
    padding: 8px 16px 8px 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.foto-detail-back:hover {
    gap: 12px;
    color: var(--primary);
}

.foto-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.foto-detail-left {
    position: sticky;
    top: 100px;
}

.foto-detail-img-wrap {
    width: 100%;
    min-height: 400px;
    max-height: 600px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.foto-detail-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    max-height: 600px;
}

.foto-detail-img-empty {
    flex-direction: column;
    gap: 12px;
    color: var(--gray);
    font-size: 14px;
}

.foto-detail-right {
    padding: 48px 40px 48px 0;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.foto-detail-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.35;
    margin: 0 0 20px;
}

.foto-detail-divider {
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 24px;
}

.foto-detail-desc-wrap {
    flex: 1;
}

.foto-detail-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .foto-detail-layout {
        grid-template-columns: 1fr;
    }

    .foto-detail-left {
        position: static;
    }

    .foto-detail-img-wrap,
    .foto-detail-img-wrap img {
        min-height: 240px;
        max-height: 300px;
    }

    .foto-detail-right {
        padding: 28px 24px;
    }

    .foto-detail-title {
        font-size: 20px;
    }

    .home-gallery-card {
        width: 220px;
    }

    .home-gallery-img {
        height: 140px;
    }
}

/* ── Home Gallery: card wrapper & overlay link ─────────── */
.home-gallery-card-wrap {
    flex: 0 0 280px !important;
    width: 280px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* Overlay link di atas gambar */
.home-gallery-overlay-link {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(237, 28, 36, 0.0);
    transition: background 0.3s ease;
    text-decoration: none;
    z-index: 3;
    pointer-events: none;
}

.home-gallery-overlay-link span {
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-gallery-card-wrap:hover .home-gallery-overlay-link {
    background: rgba(237, 28, 36, 0.6);
}

.home-gallery-card-wrap:hover .home-gallery-overlay-link span {
    opacity: 1;
}

/* Card carousel beranda sebagai link — jaga warna teks */
a.carousel-card.home-gallery-card-wrap .carousel-card-title,
a.carousel-card.home-gallery-card-wrap .carousel-card-desc {
    color: inherit;
}

a.carousel-card.home-gallery-card-wrap:hover .carousel-card-title {
    color: var(--primary);
}

/* ── Mobile: carousel beranda 1 card per view ─────────── */
@media (max-width: 768px) {
    .home-gallery-carousel-row {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        display: flex;
        padding: 8px 16px 16px;
        gap: 0;
        /* Matikan CSS animation di mobile, pakai native scroll */
        animation: none !important;
    }

    .home-gallery-track {
        animation: none !important;
        display: flex;
        gap: 14px;
        width: auto;
        /* Reset transform dari animasi */
        transform: none !important;
    }

    .carousel-card.home-gallery-card-wrap {
        flex: 0 0 82vw !important;
        width: 82vw !important;
        max-width: 320px;
        scroll-snap-align: start;
    }

    .carousel-card.home-gallery-card-wrap .carousel-card-image {
        height: 200px;
    }

    /* Sembunyikan fade overlay kiri/kanan di mobile */
    .home-gallery-carousel-row::before,
    .home-gallery-carousel-row::after {
        display: none;
    }

    /* foto-detail mobile: stack vertikal */
    .foto-detail-layout {
        grid-template-columns: 1fr !important;
    }

    .foto-detail-left {
        position: static !important;
    }

    .foto-detail-img-wrap,
    .foto-detail-img-wrap img {
        min-height: 220px !important;
        max-height: 320px !important;
    }

    .foto-detail-right {
        padding: 24px 20px !important;
    }

    .foto-detail-title {
        font-size: 20px !important;
    }
}


/* ══════════════════════════════════════════════════════════
   FOTO DETAIL PAGE - Layout 2 Kolom (Gambar Kiri, Info Kanan)
   ══════════════════════════════════════════════════════════ */
.foto-detail-section {
    padding: 60px 0 100px;
    background: var(--light-gray);
    min-height: calc(100vh - 400px);
}

.foto-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

/* Image Left */
.foto-detail-image {
    width: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.foto-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.foto-detail-wrapper:hover .foto-detail-image img {
    transform: scale(1.02);
}

.foto-detail-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--gray);
    padding: 40px;
    text-align: center;
}

.foto-detail-placeholder p {
    font-size: 15px;
    margin: 0;
}

/* Info Right */
.foto-detail-info {
    padding: 48px 48px 48px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.foto-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.foto-detail-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 4px;
    margin-bottom: 28px;
}

.foto-detail-description {
    flex: 1;
    margin-bottom: 40px;
}

.foto-detail-description p {
    font-size: 16px;
    color: #555;
    line-height: 1.9;
    margin: 0;
}

.foto-detail-back-btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Responsive Tablet */
@media (max-width: 1024px) {
    .foto-detail-wrapper {
        gap: 32px;
    }

    .foto-detail-info {
        padding: 40px 32px 40px 0;
    }

    .foto-detail-title {
        font-size: 26px;
    }

    .foto-detail-description p {
        font-size: 15px;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .foto-detail-section {
        padding: 40px 0 60px;
    }

    .foto-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
        border-radius: 12px;
    }

    .foto-detail-image {
        min-height: 300px;
        max-height: 400px;
    }

    .foto-detail-info {
        padding: 32px 24px;
        min-height: auto;
    }

    .foto-detail-title {
        font-size: 22px;
    }

    .foto-detail-divider {
        width: 48px;
        height: 3px;
        margin-bottom: 20px;
    }

    .foto-detail-description {
        margin-bottom: 32px;
    }

    .foto-detail-description p {
        font-size: 15px;
        line-height: 1.75;
    }

    .foto-detail-back-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .foto-detail-image {
        min-height: 240px;
        max-height: 320px;
    }

    .foto-detail-info {
        padding: 24px 20px;
    }

    .foto-detail-title {
        font-size: 20px;
    }

    .foto-detail-description p {
        font-size: 14px;
    }
}


/* ══════════════════════════════════════════════════════════
   FIX: Carousel Beranda - Ensure Links are Clickable
   ══════════════════════════════════════════════════════════ */

/* Pastikan link card bisa diklik dengan z-index dan pointer-events */
a.carousel-card.home-gallery-card-wrap {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

/* Stop animation ketika hover pada link card */
a.carousel-card.home-gallery-card-wrap:hover {
    animation-play-state: paused !important;
}

/* Jika browser support :has(), pause parent track saat child card di-hover */
@supports selector(:has(*)) {
    .home-gallery-track:has(a.carousel-card.home-gallery-card-wrap:hover) {
        animation-play-state: paused !important;
    }
}

/* Fallback jika :has() tidak support - pause saat hover track */
.home-gallery-track:hover {
    animation-play-state: paused !important;
}

/* Extra: pause animation saat active/focus untuk accessibility */
a.carousel-card.home-gallery-card-wrap:active,
a.carousel-card.home-gallery-card-wrap:focus {
    animation-play-state: paused !important;
}