/* 
   SATRIA FORKLIFT - BLUE & WHITE THEME
   Design Principles: Professional, Trustworthy, Clean, Industrial
*/

:root {
    --primary: #2D3436;
    /* Dark Industrial Gray */
    --primary-dark: #1E272E;
    /* Lebih gelap */
    --primary-light: #F5F6F7;
    /* Light Natural Gray */
    --accent: #C0392B;
    /* Merah Industrial (tidak terlalu cerah) */
    --bg-light: #ffffff;
    --bg-alt: #F5F6F7;
    --text-main: #1E272E;
    --text-muted: #636E72;
    --border: #DFE6E9;
    --radius: 8px;
    /* Lebih kecil, tidak terlalu bulat */
    --radius-lg: 16px;
    --font-main: 'Inter', sans-serif;
    --container-width: 1100px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Components */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

section {
    padding: 65px 0;
}

#about {
    padding: 65px 0 160px;
}

h1,
h2,
h3 {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Header */
header {
    height: 90px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

main {
    padding-top: 90px; /* Offset for fixed header */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent);
}

.logo svg, .footer-logo svg {
    width: 28px;
    height: 28px;
    fill: var(--accent);
    flex-shrink: 0;
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.15s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #A93226;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-visual img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border: none;
    box-shadow: none;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.05));
    display: block;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero h1, .hero-title {
        font-size: 2.5rem;
    }
}

/* Hero Content Enhancements */
.hero-subtitle {
    display: inline-block;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.diesel-badge {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(192, 57, 43, 0.08);
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.1);
}

/* Stats Section */
.stats {
    background: white;
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    display: flex;
    justify-content: center;
    gap: 80px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    margin-top: -120px;
    /* Overlap with about section */
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.stat-item {
    flex: 1;
    max-width: 300px;
}

.stat-item h3 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    margin-bottom: 10px;
    font-weight: 900;
    transition: transform 0.1s ease-out;
    /* For JS scroll animation */
}

/* Individual Colors for Numbers */
.stat-item:nth-child(1) h3 {
    color: var(--accent);
}

.stat-item:nth-child(2) h3 {
    color: var(--primary);
}

.stat-item p {
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        gap: 40px;
        margin-top: 0;
        padding: 40px;
    }
}

/* New Tabbed Unit Styles */
.section-header-tabs {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.section-title-alt h2 {
    font-size: 2.5rem;
    margin-top: 5px;
}

.section-subtitle {
    color: #3B82F6;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.unit-tabs {
    display: flex;
    background: #F1F5F9;
    padding: 6px;
    border-radius: 12px;
}

.tab-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    color: #64748B;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: white;
    color: #3B82F6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.unit-tabs-container {
    position: relative;
}

.unit-tab-content {
    display: none;
}

.unit-tab-content.active {
    display: block;
}



.unit-detailed-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #F1F5F9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.unit-detailed-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(192, 57, 43, 0.3);
}

.unit-card-visual {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.unit-img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.unit-img-wrapper img {
    max-width: 100%;
    max-height: 320px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.unit-detailed-card:hover .unit-img-wrapper img {
    transform: scale(1.12);
}

.unit-badge-ton {
    position: absolute;
    bottom: -15px;
    background: var(--accent);
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(192, 57, 43, 0.25);
    border: 3px solid white;
}

/* Specification Comparison Table */
.spec-matrix-container {
    margin-top: 80px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.spec-matrix-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.spec-matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.spec-matrix-table th {
    background: var(--primary-dark);
    color: white;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 3px solid var(--accent);
}

.spec-matrix-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
}

.spec-matrix-table tr:last-child td {
    border-bottom: none;
}

.spec-matrix-table tr:nth-child(even) {
    background: var(--bg-alt);
}

.spec-matrix-table td strong {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .spec-matrix-container {
        padding: 20px;
        margin-top: 50px;
    }
    .spec-matrix-table th, .spec-matrix-table td {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
}

.unit-card-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
}

.unit-card-header {
    margin-bottom: 40px;
}

.unit-card-title {
    font-size: 4rem;
    line-height: 1;
    color: #3B82F6;
    margin-bottom: 10px;
}

.unit-card-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 15px;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ECFDF5;
    color: #059669;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #A7F3D0;
}

.availability-badge i {
    font-size: 0.5rem;
}

.unit-card-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.spec-card {
    background: #F8FAFC;
    padding: 20px;
    border-radius: 12px;
}

.spec-card-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.spec-card-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1E293B;
}

.status-ready {
    color: #059669;
}

.btn-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #3B82F6;
    color: white;
    text-decoration: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-card-cta:hover {
    background: #2563EB;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.other-units-cta {
    text-align: center;
    margin-top: 50px;
}

.other-units-cta p {
    color: #64748B;
}

.other-units-cta a {
    color: #3B82F6;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 992px) {
    .unit-detailed-card {
        grid-template-columns: 1fr;
    }
    .unit-card-info {
        padding: 40px;
    }
    .unit-card-title {
        font-size: 3rem;
    }
}

/* Tentang Kami Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--primary);
}

.about-feature-item i {
    color: var(--accent);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: white;
    padding: 25px 35px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 15px 35px rgba(192, 57, 43, 0.3);
    z-index: 5;
    border: 4px solid white;
}

.about-badge span {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.about-badge p {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-badge {
        position: static;
        margin-top: 20px;
    }
}

/* Kenapa Memilih Kami (Features Section) */
#features {
    background: var(--bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 35px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(192, 57, 43, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--accent);
    color: white;
    transform: rotateY(360deg);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonial Slider System */
.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

.testimonial-card {
    min-width: calc(33.333% - 20px);
    /* Tampil 3 di desktop */
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .testimonial-card {
        min-width: calc(50% - 15px);
    }

    /* Tampil 2 di tablet */
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 100%;
    }

    /* Tampil 1 di mobile */
}

.testimonial-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.quote-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.8;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-meta h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.author-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Slider Controls */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 30px;
    border-radius: 10px;
    background: var(--primary);
}

/* Sticky CTA */
.sticky-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    text-decoration: none;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 2000;
    transition: all 0.2s ease;
}

.sticky-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary);
    text-transform: uppercase;
}

.footer-logo span {
    color: var(--accent);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 5px;
}

.lang-dropdown-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.lang-dropdown-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 0, 0, 0.02);
}

.lang-dropdown-btn .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 5px);
    background-color: white;
    min-width: 160px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    z-index: 1000;
    overflow: hidden;
    animation: dropdownFadeIn 0.2s ease;
}

.lang-dropdown-content a,
.lang-dropdown-content span {
    color: var(--text-main);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    transition: all 0.2s ease;
}

.lang-dropdown-content a:hover {
    background-color: var(--bg-alt);
    color: var(--primary);
}

.lang-dropdown-content .active {
    background-color: rgba(192, 57, 43, 0.05);
    color: var(--accent);
    cursor: default;
}

/* Hover & Active triggers */
.lang-dropdown:hover .lang-dropdown-content,
.lang-dropdown.active .lang-dropdown-content {
    display: block;
}

.lang-dropdown:hover .lang-dropdown-btn .dropdown-arrow,
.lang-dropdown.active .lang-dropdown-btn .dropdown-arrow {
    transform: rotate(180deg);
}

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

/* Hamburger Menu */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Gallery Bento Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* Logo Hover Micro-Interaction */
.logo svg, .footer-logo svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
}
.logo:hover svg, .footer-logo:hover svg {
    transform: rotate(-10deg) scale(1.1);
    filter: drop-shadow(0 4px 10px rgba(192, 57, 43, 0.4));
}

/* Bento Gallery CTA Tile Widget */
.gallery-item.cta-tile {
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border: 2px solid var(--accent);
    color: white;
    position: relative;
    overflow: hidden;
}

.gallery-item.cta-tile::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.gallery-cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-tile-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 5px;
    animation: pulse-icon 2s infinite;
}

.gallery-cta-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.05em;
    margin: 0;
}

.gallery-cta-content p {
    font-size: 0.85rem;
    color: var(--border);
    margin: 0 0 5px;
}

.btn-tile-wa {
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25);
}

.btn-tile-wa:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

@keyframes pulse-icon {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.4) contrast(1.1);
    transition: all 0.6s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(30, 39, 46, 0.8) 0%, rgba(30, 39, 46, 0) 100%);
    opacity: 0.85;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.gallery-item:hover::after {
    opacity: 0.5;
}

.gallery-item:hover img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 5px 0 var(--accent);
    z-index: 2;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .gallery-item.large,
    .gallery-item.tall,
    .gallery-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Modern Area Layout (Badge System) */
.area-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.area-group {
    padding: 40px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
}

.area-group h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.area-group h3::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--accent);
}

.area-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.area-tag {
    padding: 10px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.area-tag:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.area-tag.priority {
    background: rgba(192, 57, 43, 0.05);
    border-color: var(--accent);
    color: var(--accent);
}

.area-tag.priority:hover {
    background: var(--accent);
    color: white;
}

/* Redesigned Area Layout */
.area-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.area-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.area-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.area-card h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

.area-card h3 i {
    color: var(--accent);
}

.area-list-modern {
    list-style: none;
}

.area-list-modern li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.area-list-modern li:last-child {
    border-bottom: none;
}

.area-list-modern li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
}

@media (max-width: 992px) {
    .area-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Link Style */
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    nav.active {
        transform: translateY(0);
    }

    nav a {
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
    }

    .header-actions .btn {
        display: none;
    }

    .stats {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .area-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Styles */
#faq {
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-container-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-column .faq-item {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .faq-container-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.faq-item {
    background: var(--bg-alt);
    border-radius: var(--radius);
    margin-bottom: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Diperbesar untuk menampung teks FAQ yang lebih panjang */
}

/* Pulse Animation for WhatsApp */
@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.sticky-wa {
    animation: pulse-wa 2s infinite;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* Clients Section */
.clients-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0.6;
}

.client-logo {
    height: 40px;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .clients-grid {
        justify-content: center;
    }

    .client-logo {
        height: 30px;
    }
}

/* ==========================================
   MOBILE RESPONSIVE COMPACTION OVERRIDES
   ========================================== */
@media (max-width: 768px) {
    /* Global Compact spacings */
    section {
        padding: 35px 0 !important;
    }
    
    #about {
        padding: 35px 0 !important;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title h2::after {
        bottom: -6px;
        width: 40px;
        height: 3px;
    }

    /* Hero section compaction */
    .hero {
        padding: 50px 0 30px !important;
        background: radial-gradient(circle at center, rgba(192, 57, 43, 0.04) 0%, rgba(255, 255, 255, 0) 70%) !important;
    }
    
    .hero-title {
        font-size: 1.85rem !important;
        margin-bottom: 15px;
    }
    
    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-visual {
        display: none !important;
    }
    
    /* Stats section - row layout to save vertical space */
    .stats {
        flex-direction: row !important;
        gap: 15px;
        padding: 20px 10px !important;
        margin-top: 0 !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    }
    
    .stat-item {
        max-width: 50%;
        margin: 0;
    }
    
    .stat-item h3 {
        font-size: 2.2rem !important;
        margin-bottom: 3px;
    }
    
    .stat-item p {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    /* About section image and badge */
    .about-image {
        position: relative !important;
        z-index: 1 !important;
    }

    .about-image img {
        max-height: 200px;
        object-fit: cover;
    }
    
    .about-badge {
        position: absolute !important;
        bottom: 15px !important;
        left: 15px !important;
        right: auto !important;
        margin-top: 0 !important;
        padding: 10px 18px !important;
        border: 3px solid white !important;
        border-radius: var(--radius) !important;
        z-index: 10 !important;
        box-shadow: 0 10px 25px rgba(192, 57, 43, 0.3) !important;
        display: inline-block !important;
    }
    
    .about-badge span {
        font-size: 1.6rem !important;
        line-height: 1 !important;
    }
    
    .about-badge p {
        font-size: 0.7rem !important;
        margin-top: 2px !important;
    }

    /* Features section 2x2 grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .feature-card {
        padding: 20px 10px !important;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Unit card compaction */
    .unit-card-info {
        padding: 20px !important;
    }
    
    .unit-card-title {
        font-size: 2.2rem !important;
    }
    
    .unit-card-subtitle {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .unit-card-specs {
        grid-template-columns: 1fr 1fr;
        gap: 8px !important;
        margin-bottom: 20px !important;
    }
    
    .spec-card {
        padding: 10px !important;
    }
    
    .spec-card-label {
        font-size: 0.65rem;
        margin-bottom: 4px;
    }
    
    .spec-card-value {
        font-size: 0.85rem;
    }
    
    .btn-card-cta {
        padding: 12px !important;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    /* Gallery bento grid for mobile (2 columns, shorter rows) */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 110px !important;
        gap: 8px !important;
    }
    
    .gallery-item.large,
    .gallery-item.tall,
    .gallery-item.wide {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    /* Make two items span to keep layout interesting but compact */
    .gallery-item:nth-child(1) {
        grid-column: span 2 !important;
    }
    .gallery-item:nth-child(4) {
        grid-column: span 2 !important;
    }
    .gallery-item.cta-tile {
        grid-column: span 2 !important;
    }
    
    .gallery-caption {
        bottom: 10px;
        left: 10px;
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    /* Wilayah Layanan - Mobile Swipe Grid */
    .area-grid-modern {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 10px 10px 25px !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .area-card {
        flex: 0 0 85% !important;
        scroll-snap-align: start !important;
        margin-bottom: 0 !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
    }
    
    .area-grid-modern::-webkit-scrollbar {
        height: 5px;
    }
    .area-grid-modern::-webkit-scrollbar-track {
        background: var(--border);
        border-radius: 10px;
    }
    .area-grid-modern::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 10px;
    }

    /* FAQ accordion padding reduction */
    .faq-question {
        padding: 15px 20px !important;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 20px !important;
    }
    
    .faq-answer p {
        padding-bottom: 15px;
        font-size: 0.85rem;
    }
    
    .faq-item.active .faq-answer {
        max-height: 250px;
    }

    /* Testimonial slider card compaction */
    .testimonial-card {
        padding: 20px !important;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }
    
    .quote-icon {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    /* Footer layouts */
    footer {
        padding: 40px 0 20px !important;
    }
    
    .footer-grid {
        gap: 25px !important;
        margin-bottom: 30px !important;
    }
    
    .footer-title {
        margin-bottom: 12px;
    }
    
    .footer-map {
        height: 120px !important;
    }
}

@media (max-width: 576px) {
    /* Extra tiny screens padding */
    .hero-title {
        font-size: 1.65rem !important;
    }
    
    .about-content h2 {
        font-size: 1.75rem !important;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .spec-matrix-table th, .spec-matrix-table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        z-index: 1500;
    }
    
    .sticky-wa {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        z-index: 2000;
    }
}