﻿/**
 * 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;
}

: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;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.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;
}

.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;
}

.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;
}

.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;
}

.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);
}

.carousel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.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;
    }
}
