/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 15px 30px;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

a.nav-logo {
    text-decoration: none;
    color: inherit;
}

a.nav-logo:hover {
    color: inherit;
}

.logo-container {
    max-width: 100%;
    display: flex;
    align-items: center;
}

.logo-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 42px;
    object-fit: contain;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
    border-radius: 4px;
}

.logo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.company-name {
    color: #1f2937;
    font-weight: 600;
    font-size: 1.0rem;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.nav-item-special {
    margin-left: auto;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 12px;
    border-radius: 25px;
    white-space: nowrap;
}

.nav-link:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.nav-link-special {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    font-size: 0.9rem;
}

.nav-link-special:hover {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
    margin-left: 2rem;
    padding-left: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
}

.btn-secondary:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.distribution-network {
    position: relative;
    width: 400px;
    height: 400px;
}

.network-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.network-center i {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.network-center span {
    font-size: 0.7rem;
}

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, #dc2626, transparent);
    height: 2px;
    top: 50%;
    left: 50%;
    transform-origin: left center;
    animation: drawLine 2s ease-in-out infinite;
}

.line-1 { transform: translate(-50%, -50%) rotate(0deg); width: 120px; animation-delay: 0s; }
.line-2 { transform: translate(-50%, -50%) rotate(90deg); width: 120px; animation-delay: 0.5s; }
.line-3 { transform: translate(-50%, -50%) rotate(180deg); width: 120px; animation-delay: 1s; }
.line-4 { transform: translate(-50%, -50%) rotate(270deg); width: 120px; animation-delay: 1.5s; }

@keyframes drawLine {
    0% { width: 0; }
    100% { width: 120px; }
}

.network-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid #dc2626;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
    animation: float 3s ease-in-out infinite;
}

.node-1 { top: 20%; left: 20%; animation-delay: 0s; }
.node-2 { top: 20%; right: 20%; animation-delay: 0.5s; }
.node-3 { bottom: 20%; left: 20%; animation-delay: 1s; }
.node-4 { bottom: 20%; right: 20%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.node i {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.node span {
    font-size: 0.6rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0 auto;
}

.section-header .about-prakata {
    font-size: 1.1rem;
    color: #64748b;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    text-align: left;
}

.section-header .about-prakata p {
    max-width: none;
    margin-bottom: 0.75em;
}

.section-header .about-prakata p:last-child {
    margin-bottom: 0;
}

.section-header .about-prakata strong {
    font-weight: 700;
}

.section-header .about-prakata ul,
.section-header .about-prakata ol {
    margin: 0.5em 0;
    padding-left: 1.5em;
}

.section-header .branch-prakata {
    font-size: 1.1rem;
    color: #64748b;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    text-align: left;
}

.section-header .branch-prakata p {
    max-width: none;
    margin-bottom: 0.75em;
}

.section-header .branch-prakata p:last-child {
    margin-bottom: 0;
}

.section-header .branch-prakata strong {
    font-weight: 700;
}

.section-header .branch-prakata ul,
.section-header .branch-prakata ol {
    margin: 0.5em 0;
    padding-left: 1.5em;
}

/* Garis pemisah section: di akhir section sebagai penutup */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    width: 40px;
    height: 2px;
    background: #dc2626;
    opacity: 0.6;
}

.section-divider i {
    font-size: 0.5rem;
    color: #dc2626;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #dc2626;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.feature i {
    font-size: 1.5rem;
    color: #dc2626;
    margin-top: 0.2rem;
}

.feature h4 {
    font-size: 1.1rem;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    border: 2px dashed #1e40af;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* About section banner (below title, same width as MVV cards) */
.about-banner {
    width: 100%;
    margin-bottom: 2.5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.about-banner img {
    display: block;
    width: 100%;
    max-height: 400px;
    height: auto;
    object-fit: cover;
    vertical-align: middle;
}

/* Mission Vision Values */
.mvv-section {
    margin-bottom: 3rem;
    padding-top: 2.5rem;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.mvv-card-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.mvv-card {
    position: relative;
}

.mvv-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35);
    border: 3px solid #fff;
    color: white;
    font-size: 1.75rem;
}

.mvv-icon i {
    color: #fff;
}

.mvv-card {
    min-height: 420px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: visible;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mvv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #dc2626;
}

.mvv-card.mission {
    background-color: #fee2e2;
    background-image: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.mvv-card.vision {
    background-color: #e0f2fe;
    background-image: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.mvv-card.values {
    background-color: #dcfce7;
    background-image: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.mvv-card.has-bg-image {
    position: relative;
}

.mvv-card.has-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.25) 50%, transparent 100%);
    border-radius: inherit;
    pointer-events: none;
}

.mvv-card-content {
    position: relative;
    z-index: 1;
    text-align: left;
    padding: 1.5rem 1.5rem 1.75rem;
    border-radius: 0 0 20px 20px;
}

.mvv-card.has-bg-image .mvv-card-content {
    background: linear-gradient(to top, rgba(220, 38, 38, 0.95) 0%, rgba(220, 38, 38, 0.5) 50%, transparent 100%);
    color: #fff;
}

.mvv-card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.mvv-card:not(.has-bg-image) .mvv-card-content h3 {
    color: #dc2626;
}

.mvv-card.has-bg-image .mvv-card-content h3 {
    color: #fff;
}

.mvv-card-body {
    font-size: 0.95rem;
    line-height: 1.65;
}

.mvv-card:not(.has-bg-image) .mvv-card-body {
    color: #64748b;
}

.mvv-card.has-bg-image .mvv-card-body {
    color: rgba(255,255,255,0.95);
}

.mvv-card-body p {
    margin-bottom: 0.5em;
}

.mvv-card-body p:last-child {
    margin-bottom: 0;
}

.mvv-card-body ul,
.mvv-card-body ol {
    margin: 0.4em 0;
    padding-left: 1.25em;
}

/* Company Story (Perjalanan Kami) - tampilan selaras section lain, tanpa box */
.company-story {
    margin-top: 4rem;
    margin-bottom: 4rem;
}
/* Agar saat scroll ke #our_journey (menu Perjalanan Kami) judul tidak tertutup navbar fixed */
#our_journey {
    scroll-margin-top: 90px;
}
.company-story .section-header {
    margin-bottom: 2.5rem;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.story-text {
    margin-bottom: 2rem;
}

.story-text p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.story-text p:last-of-type {
    margin-bottom: 0;
}

.story-highlights {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* Story highlight cards: estetik minimalis, font proporsional */
.story-highlight-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: 0 auto 2.5rem;
    max-width: 100%;
    align-items: start;
}

.highlight-card {
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.highlight-card .highlight-card-icon {
    flex-shrink: 0;
}
.highlight-card .highlight-card-title {
    flex-shrink: 0;
}
.highlight-card .highlight-card-desc {
    flex: 0 1 auto;
    max-width: 100%;
}

.highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(220, 38, 38, 0.15);
}

.highlight-card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-card-icon i {
    font-size: 1.35rem;
    color: #dc2626;
    opacity: 0.9;
}

.highlight-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.4rem 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.highlight-card-desc {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.story-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
}
.story-image .story-image-img {
    max-width: 100%;
    width: 100%;
    max-height: 420px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}
.story-image .image-placeholder {
    max-width: 100%;
    width: 100%;
    max-height: 320px;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .company-story .section-header {
        margin-bottom: 2rem;
    }
    .story-text {
        margin-bottom: 1.75rem;
    }
    .story-highlight-cards {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .about-banner {
        margin-bottom: 2rem;
        border-radius: 16px;
    }
    .about-banner img {
        max-height: 280px;
    }
    .company-story {
        margin-top: 3rem;
    }
    .company-story .section-header {
        margin-bottom: 1.75rem;
    }
    .story-text {
        margin-bottom: 1.5rem;
    }
    .story-highlights {
        margin-top: 0;
    }
    .story-highlight-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .highlight-card {
        padding: 1.35rem 1.15rem;
    }
    .highlight-card-icon {
        width: 2.25rem;
        height: 2.25rem;
        margin-bottom: 0.85rem;
    }
    .highlight-card-icon i {
        font-size: 1.25rem;
    }
    .highlight-card-title {
        font-size: 0.9rem;
    }
    .highlight-card-desc {
        font-size: 0.75rem;
    }
}

/* Why Choose Us */
.why-choose-us {
    margin-top: 4rem;
}

.why-choose-us h3 {
    font-size: 2.5rem;
    color: #dc2626;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* Why Choose Us: 4 cards grid */
.why-choose-cards .why-choose-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}
.why-choose-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #f0f0f0;
}
.why-choose-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.why-choose-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
}
.why-choose-card-icon i {
    font-size: 1.4rem;
}
.why-choose-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.why-choose-card-body {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
    text-align: left;
}
.why-choose-card-body p:last-child {
    margin-bottom: 0;
}
@media (max-width: 992px) {
    .why-choose-cards .why-choose-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .why-choose-cards .why-choose-cards-grid {
        grid-template-columns: 1fr;
    }
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #dc2626;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.advantage-item h4 {
    font-size: 1.2rem;
    color: #dc2626;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-item p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Branches Map Section */
.branches {
    padding: 100px 0;
    background: #f8fafc;
}

/* Section Cabang - daftar lengkap dari backend */
#branch.branch {
    padding: 100px 0;
    background: #fafafa;
}

.branch-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
    background: #f8fafc;
    border-radius: 16px;
}

.branch-map-wrap {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

/* Satu baris horizontal: Jabodetabek | Jawa | Sumatera | … */
.branch-region-wrap {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.branch-region-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.branch-region-toolbar .branch-region-label {
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: min(100%, 12rem);
}

.branch-region-search {
    position: relative;
    flex: 0 1 16rem;
    min-width: min(100%, 11.25rem);
}

.branch-region-search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
    pointer-events: none;
}

.branch-region-search-input {
    width: 100%;
    padding: 0.55rem 0.75rem 0.55rem 2.35rem;
    font-size: 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.branch-region-search-input::placeholder {
    color: #94a3b8;
}

.branch-region-search-input:hover {
    border-color: #cbd5e1;
}

.branch-region-search-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

.branch-region-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.branch-region-row--filtered-out {
    display: none !important;
}

.branch-region-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 100%;
    align-items: stretch;
}

.branch-region-row {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.65rem 0.5rem;
    font-size: 0.9rem;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-region-row:hover {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.branch-region-row:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.25);
}

.branch-region-row.active {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
    font-weight: 600;
}

.branch-region-row.active:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #fff;
}

/* Dropdown: sembunyi di desktop */
.branch-region-select {
    display: none;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23475569' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.branch-region-select:hover,
.branch-region-select:focus {
    border-color: #dc2626;
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

/* Responsif: layar sempit pakai dropdown, sembunyikan baris horizontal */
@media (max-width: 900px) {
    .branch-region-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .branch-region-toolbar .branch-region-label {
        flex: none;
        min-width: 0;
    }

    .branch-region-search {
        flex: 1 1 auto;
        max-width: none;
        min-width: 0;
    }

    .branch-region-grid {
        display: none !important;
    }
    .branch-region-select {
        display: block;
    }
}

/* Container daftar cabang (card) */
.branch-cards-container {
    min-height: 80px;
    margin-top: 0.5rem;
}

.branch-cards-hint,
.branch-cards-loading,
.branch-cards-empty {
    color: #64748b;
    padding: 1rem 0;
    margin: 0;
    font-size: 0.95rem;
}

.branch-cards-loading {
    font-style: italic;
}

/* Grid card lokasi cabang */
.branch-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.branch-location-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.branch-location-card:hover {
    box-shadow: 0 8px 28px rgba(220, 38, 38, 0.12);
    border-color: rgba(220, 38, 38, 0.25);
    transform: translateY(-2px);
}

.branch-location-card-inner {
    padding: 1.25rem 1.35rem;
}

.branch-location-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #dc2626;
    margin: 0 0 1rem 0;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid #fef2f2;
    line-height: 1.3;
}

.branch-location-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: #475569;
}

.branch-location-row:last-child {
    margin-bottom: 0;
}

.branch-location-icon {
    flex-shrink: 0;
    width: 1.25rem;
    color: #dc2626;
    margin-top: 0.15rem;
}

.branch-location-icon i {
    font-size: 0.9rem;
}

.branch-location-addr {
    line-height: 1.5;
}

.branch-location-link {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s;
}

.branch-location-link:hover {
    color: #dc2626;
}

.branch-location-wa:hover {
    color: #25d366;
}

.branch-location-maps {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.branch-location-maps-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: #dc2626;
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.branch-location-maps-btn:hover {
    background: #b91c1c;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .branch-cards-grid {
        grid-template-columns: 1fr;
    }
}

.map-container {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.indonesia-map {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.svg-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 800px;
    overflow-x: auto;
    border: 1px solid #eee;
    padding: 8px;
    overflow-y: hidden; /* opsional */
    white-space: nowrap;
}

.map-svg {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

/* Region hover effects */
.region {
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0 transparent);
}

.region:hover {
    fill: #dc2626 !important;
    stroke: #ef4444 !important;
    stroke-width: 3 !important;
    filter: drop-shadow(0 0 15px rgba(220, 38, 38, 0.6)) drop-shadow(0 0 30px rgba(220, 38, 38, 0.4));
    transform: scale(1.02);
    transform-origin: center;
}

/* Special hover effects for regions with branches */
.region[data-region="sumatra"]:hover {
    fill: #dc2626 !important;
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.8)) drop-shadow(0 0 40px rgba(220, 38, 38, 0.5));
}

.region[data-region="java"]:hover {
    fill: #dc2626 !important;
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.8)) drop-shadow(0 0 40px rgba(220, 38, 38, 0.5));
}

.region[data-region="sulawesi"]:hover {
    fill: #dc2626 !important;
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.8)) drop-shadow(0 0 40px rgba(220, 38, 38, 0.5));
}

/* Regions without branches - subtle hover */
.region[data-region="kalimantan"]:hover,
.region[data-region="papua"]:hover {
    fill: #fef2f2 !important;
    stroke: #dc2626 !important;
    stroke-width: 3 !important;
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.3));
}

/* Ensure SVG elements are interactive */
svg {
    pointer-events: auto;
}

svg path {
    pointer-events: auto;
}

/* Loading spinner */
.map-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 500px;
    color: #64748b;
}

/* Ensure map SVG is visible */
.map-svg {
    display: block !important;
    width: 100% !important;
    height: 500px !important;
    max-width: 100%;
    background: #e3f2fd;
}

/* Ensure container is visible */
.svg-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: #e3f2fd;
    border-radius: 15px;
    /*overflow: hidden;*/
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #dc2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility and Screen Reader Support */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #dc2626;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .region {
        stroke-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.hotspot {
    width: 24px;
    height: 24px;
    background-image: url('../../../images/marker.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    cursor: pointer;
    filter: drop-shadow(0 0 6px red);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

/*.hotspot:hover {
    fill: #ef4444;
    stroke: #dc2626;
    stroke-width: 4;
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(220, 38, 38, 0.4));
}*/

.branch-popup {
    position: absolute;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid #e2e8f0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    min-width: 300px;
    max-width: 400px;
}

.branch-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: #f1f5f9;
    color: #dc2626;
}

.popup-body {
    padding: 0 1.5rem 1.5rem;
}

.branch-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    color: #dc2626;
    width: 20px;
    text-align: center;
}

.info-item span {
    color: #64748b;
    font-size: 0.95rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.branch-popup {
    position: absolute;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid #e2e8f0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    min-width: 300px;
    max-width: 400px;
}

.branch-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/*.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.popup-header h3 {
    color: #dc2626;
    font-size: 1.3rem;
    margin: 0;
}*/

.popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: #f1f5f9;
    color: #dc2626;
}

.popup-body {
    padding: 0 1.5rem 1.5rem;
}

.branch-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #64748b;
}

.info-item i {
    color: #dc2626;
    width: 20px;
    text-align: center;
}

.info-item span {
    font-size: 0.95rem;
}

/* News Section */
.news {
    padding: 100px 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-date {
    color: #64748b;
    font-size: 0.9rem;
}

.news-category {
    background: #dc2626;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-content h3 {
    color: #dc2626;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-content p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #ef4444;
}

/* Contact Section - Professional theme */
.contact {
    padding: 100px 0 120px;
    background: #fafafa;
}

#contact .section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* Contact info card */
.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 2rem 2.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(220, 38, 38, 0.06);
    border-top: 3px solid #dc2626;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: #fff;
    border-radius: 14px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.35rem;
}

.contact-info-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.contact-info-item:last-of-type {
    border-bottom: none;
}

.contact-info-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
    border-radius: 10px;
    font-size: 0.95rem;
}

.contact-info-item-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info-item-body strong {
    font-size: 0.8rem;
    font-weight: 600;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-info-item-body span {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.contact-social-block {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.contact-social-block strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.contact-social-links {
    display: flex;
    gap: 0.75rem;
}

.contact-social-link {
    width: 42px;
    height: 42px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.contact-social-link:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: #fff;
    transform: translateY(-2px);
}

.contact-social-link .contact-social-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.contact-social-link-placeholder {
    cursor: default;
    opacity: 0.85;
}
.contact-social-link-placeholder:hover {
    transform: none;
}

/* Contact form card - struktur & padding selaras contact-info-card */
.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 2rem 2.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(220, 38, 38, 0.06);
    border-top: 3px solid #dc2626;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Form card header: sejajar dengan contact-info-header (icon + title + deskripsi) */
.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.contact-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: #fff;
    border-radius: 14px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.contact-form-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.35rem;
}

.contact-form-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.contact-form-fields .form-row {
    display: grid;
    gap: 1.25rem;
}

.form-row-half {
    grid-template-columns: 1fr 1fr;
}

.contact-form-fields .form-group {
    margin-bottom: 1.25rem;
}

.contact-form-fields .form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.contact-form-fields input,
.contact-form-fields select,
.contact-form-fields textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-fields input:focus,
.contact-form-fields select:focus,
.contact-form-fields textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.contact-form-fields textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 0.75rem;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
}

/* Legacy form-group (used elsewhere) */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #dc2626;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logo-image:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.footer-logo .company-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.footer-contact i {
    color: #fca5a5;
    width: 20px;
}

/* Partner section & logo carousel */
.partner-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
}

.partner-section .section-header h2 {
    color: #1f2937;
}

.partner-section .section-header p {
    color: #6b7280;
}

/* Partner list: static responsive grid (below title + description) */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-grid--static-four {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Partner statis: 3 kolom, 6 gambar default, responsive */
.partner-grid--static-three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.partner-item {
    width: 100%;
    max-width: 220px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.partner-item--dummy {
    background: #f3f4f6;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
}

.partner-dummy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #9ca3af;
    font-size: 2rem;
}

.partner-dummy-icon i {
    font-size: 2rem;
}

.partner-item img {
    max-width: 220px;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: grayscale(0.4);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 992px) {
    .partner-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 992px) {
    .partner-grid--static-three {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .partner-grid--static-four {
        grid-template-columns: repeat(2, 1fr);
    }
    .partner-grid--static-three {
        grid-template-columns: 1fr;
    }
    .partner-item {
        max-width: 160px;
        height: 90px;
        padding: 0.5rem;
    }
    .partner-item img {
        max-width: 140px;
        max-height: 80px;
    }
    .partner-dummy-icon,
    .partner-dummy-icon i {
        font-size: 1.5rem;
    }
}

/* 2. Partner section: Tersedia di ecommerce + icon */
.partner-ecommerce-title {
    margin: 4.5rem 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    line-height: 1.4;
    border-bottom: none;
}

.partner-ecommerce {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: none;
}

.partner-ecommerce-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2rem;
}

.partner-ecommerce-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.partner-ecommerce-item:hover {
    color: #dc2626;
    transform: translateY(-2px);
}

.partner-ecommerce-item i {
    font-size: 1.75rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 8px;
    color: #6b7280;
    transition: background 0.2s, color 0.2s;
}

.partner-ecommerce-item:hover i {
    background: #fee2e2;
    color: #dc2626;
}

.partner-ecommerce-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .partner-ecommerce-inner {
        gap: 1rem 1.25rem;
    }
    .partner-ecommerce-item {
        font-size: 0.8rem;
    }
    .partner-ecommerce-item i {
        font-size: 1.5rem;
        width: 2.25rem;
        height: 2.25rem;
    }
    .partner-ecommerce-item img {
        width: 36px;
        height: 36px;
    }
}

/* 3. Partner section: "Tersedia di toko berikut" = slider logo toko (seperti slider logo partner) */
.partner-stores-title {
    margin: 4.5rem 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    line-height: 1.4;
}

.partner-stores-carousel-wrap {
    overflow: hidden;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.partner-stores-carousel {
    width: 100%;
    overflow: hidden;
}

.partner-stores-track {
    display: flex;
    width: max-content;
    animation: partnerStoresScroll 35s linear infinite;
}

.partner-stores-carousel-wrap:hover .partner-stores-track {
    animation-play-state: paused;
}

.partner-stores-item {
    flex-shrink: 0;
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.25rem;
    margin: 0 0.5rem;
}

.partner-stores-item img {
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: grayscale(0.35);
    opacity: 0.9;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-stores-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes partnerStoresScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .partner-stores-item {
        width: 140px;
        height: 70px;
        padding: 0 0.75rem;
    }
    .partner-stores-item img {
        max-width: 120px;
        max-height: 60px;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        z-index: 1001;
        position: relative;
    }

    .navbar {
        top: 0;
        width: 100%;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    .nav-container {
        max-width: none;
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 70px;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(220, 38, 38, 0.1);
        padding: 2rem 0;
        opacity: 0;
        visibility: hidden;
        z-index: 999;
        display: flex;
        pointer-events: none;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu li {
        margin: 0.8rem 0;
        display: block;
    }

    .nav-item-special {
        margin-left: 0;
        margin-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 1rem;
    }

    .nav-link-special {
        display: block;
        text-align: center;
        margin: 0 auto;
        width: fit-content;
        padding: 12px 28px;
    }

    .nav-logo {
        flex-direction: row;
        gap: 8px;
        text-align: center;
    }

    .company-name {
        display: none;
    }

    .logo-image {
        max-height: 40px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 50px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .distribution-network {
        width: 300px;
        height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row-half {
        grid-template-columns: 1fr;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact p {
        display: flex;
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        padding: 1rem;
    }

    .indonesia-map {
        height: 400px;
    }
    
}

@media (max-width: 480px) {
    .navbar {
        width: 100%;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    .nav-container {
        height: 55px;
        max-width: none;
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-menu.active {
        top: 75px;
        width: calc(100% - 20px);
        max-width: 350px;
    }

    .logo-image {
        max-height: 35px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .section-header p {
        font-size: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .mvv-card-content h3 {
        font-size: 0.95rem;
    }

    .mvv-card-body {
        font-size: 0.75rem;
    }

    .story-text p {
        font-size: 0.9rem;
    }

    .highlight-card-title {
        font-size: 0.85rem;
    }

    .highlight-card-desc {
        font-size: 0.7rem;
    }

    .distribution-network {
        width: 250px;
        height: 250px;
    }

    .map-container {
        padding: 0.5rem;
    }

    .indonesia-map {
        height: 300px;
    }

    .branch-popup {
        min-width: 250px;
        max-width: 300px;
    }

    /* Gallery Responsive */
    .gallery-title {
        font-size: 1.5rem;
    }

    .gallery-subtitle {
        font-size: 0.875rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-image {
        height: 200px;
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* About Section Responsive */
    .about-banner {
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }
    .about-banner img {
        max-height: 200px;
    }
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mvv-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .mvv-card {
        min-height: 340px;
    }

    .mvv-card-content {
        padding: 1.2rem 1.25rem 1.5rem;
    }

    .mvv-card-content h3 {
        font-size: 1.05rem;
    }

    .mvv-card-body {
        font-size: 0.8rem;
    }

    .story-highlights {
        flex-direction: column;
        gap: 1rem;
    }
    .story-highlight-cards {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-choose-us h3 {
        font-size: 2rem;
    }
    
    .svg-container {
        overflow-x: auto;
    }
}

/* Gallery Styles */
.gallery-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    text-align: center;
}

.gallery-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gallery-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-filter {
    padding: 2rem 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #dc2626;
    background: transparent;
    color: #dc2626;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.gallery-section {
    padding: 4rem 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    height: 250px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.gallery-stats {
    padding: 4rem 0;
    background: #f8fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Gallery Modal / Lightbox Styles
   ============================================ */

.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.gallery-modal-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-modal.active .gallery-modal-content {
    transform: scale(1);
}

.gallery-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    color: #333;
    font-size: 1.2rem;
}

.gallery-modal-close:hover {
    background: #dc2626;
    color: white;
    transform: rotate(90deg);
}

.gallery-modal-prev,
.gallery-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    color: #333;
    font-size: 1.2rem;
}

.gallery-modal-prev {
    left: 15px;
}

.gallery-modal-next {
    right: 15px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-prev:disabled,
.gallery-modal-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-modal-prev:disabled:hover,
.gallery-modal-next:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.gallery-modal-image-container {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-modal-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8rem;
    animation: fadeIn 0.3s ease;
}

.gallery-modal-info {
    padding: 2rem;
    background: white;
    max-height: calc(90vh - 400px);
    overflow-y: auto;
}

.gallery-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.gallery-modal-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* Responsive Gallery Modal */
@media (max-width: 768px) {
    .gallery-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .gallery-modal-image-container {
        height: 300px;
    }

    .gallery-modal-image {
        font-size: 5rem;
    }

    .gallery-modal-info {
        padding: 1.5rem;
        max-height: calc(95vh - 300px);
    }

    .gallery-modal-title {
        font-size: 1.5rem;
    }

    .gallery-modal-description {
        font-size: 0.95rem;
    }

    .gallery-modal-prev,
    .gallery-modal-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .gallery-modal-prev {
        left: 10px;
    }

    .gallery-modal-next {
        right: 10px;
    }

    .gallery-modal-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .gallery-modal-image-container {
        height: 250px;
    }

    .gallery-modal-image {
        font-size: 4rem;
    }

    .gallery-modal-info {
        padding: 1rem;
        max-height: calc(100vh - 250px);
    }

    .gallery-modal-title {
        font-size: 1.1rem;
    }

    .gallery-modal-description {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .gallery-modal-prev,
    .gallery-modal-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

/* Active navigation link */
.nav-link.active {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-content,
.news-grid,
.contact-content {
    animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   News Page Styles
   ============================================ */

.news-section {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.news-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: #dc2626;
    color: white;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #999;
    flex-wrap: wrap;
}

.news-card-date,
.news-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results i {
    font-size: 4rem;
    color: #dc2626;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.pagination-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination-info {
    color: #666;
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 40px;
}

.pagination-btn:hover:not(:disabled) {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

.pagination-btn.active {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* News Detail Page */
.news-detail-section {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #dc2626;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.news-detail-article {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.news-detail-header {
    margin-bottom: 2rem;
}

.news-detail-category {
    display: inline-block;
    padding: 6px 16px;
    background: #dc2626;
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.news-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.news-detail-meta {
    display: flex;
    gap: 2rem;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.news-detail-date,
.news-detail-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-detail-image {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
}

.news-image-placeholder-large {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
}

.news-detail-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.news-detail-body p {
    margin-bottom: 1.5rem;
}

.news-detail-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.news-detail-share h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Related News */
.related-news {
    margin-top: 3rem;
}

.related-news h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.related-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-news-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.news-image-placeholder-small {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.related-news-content {
    padding: 1rem;
}

.related-news-category {
    display: inline-block;
    padding: 4px 12px;
    background: #dc2626;
    color: white;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.related-news-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-news-date {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive News Styles */
@media (max-width: 768px) {
    .news-section {
        padding: 100px 0 60px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-detail-section {
        padding: 100px 0 60px;
    }

    .news-detail-article {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .news-detail-title {
        font-size: 1.75rem;
    }

    .news-detail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .news-image-placeholder-large {
        height: 250px;
        font-size: 3rem;
    }

    .news-detail-body {
        font-size: 1rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding: 80px 0 40px;
    }

    .news-detail-article {
        padding: 1.5rem 1rem;
    }

    .news-detail-title {
        font-size: 1.25rem;
    }

    .news-image-placeholder-large {
        height: 200px;
        font-size: 2.5rem;
    }

    .pagination {
        gap: 0.25rem;
    }

    .pagination-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
        min-width: 35px;
    }
}