/* Dropdown Menu Show/Hide on Hover/Click */
.dropdown .dropdown-menu {
    display: none;
}
.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu {
    display: flex;
}
/* Dropdown Menu Custom */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    z-index: 1001;
    flex-direction: column;
    gap: 0;
}

.dropdown.open > .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    display: block;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 900px) {
    .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
    }
}
/* Root Variables */
:root {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    text-decoration: none;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    height: 45px;
    width: auto;
    display: block;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: none;
}

@media (min-width: 768px) {
    .brand-logo {
        height: 50px;
    }
    
    .brand-text {
        display: block;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.nav-admin {
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.3s, transform 0.3s;
}

.nav-link.nav-admin:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.nav-link.nav-cta {
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
}

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: var(--bg-white);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Code Card */
.hero-slideshow {
    position: relative;
}

.slideshow-container {
    background: #1e293b;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    height: 400px;
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.project-hero-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: #fff;
    background: linear-gradient(145deg, #1e293b, #334155);
}

.project-hero-card strong {
    font-size: 2rem;
}

.project-hero-card span {
    color: #cbd5e1;
}

.project-hero-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    color: #a5b4fc;
    font-size: 2rem;
}

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s;
    z-index: 10;
}

.slide-prev:hover,
.slide-next:hover {
    background: rgba(0,0,0,0.8);
}

.slide-prev {
    left: 1rem;
    border-radius: 0 8px 8px 0;
}

.slide-next {
    right: 1rem;
    border-radius: 8px 0 0 8px;
}

.slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover,
.dot.active {
    background: white;
    transform: scale(1.2);
}

.code-card {
    background: #1e293b;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: #0f172a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.status {
    margin-left: auto;
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
}

.code-content {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-content code {
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.125rem;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 3rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 2rem;
    color: white;
}

.cta-icon {
    font-size: 4rem;
}

.cta-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cta-content .btn {
    background: white;
    color: var(--primary);
}

.cta-content .btn:hover {
    background: var(--bg-light);
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: var(--bg-white);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.view-all {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.blog-read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-status {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-status-copy {
    max-width: 560px;
}

.footer-kicker {
    display: block;
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.footer-status-copy h2 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.1;
}

.footer-status-copy p,
.footer-status-panel > p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.8;
}

.footer-status-panel {
    padding: 1.5rem;
    border: 1px solid #263449;
    border-radius: 12px;
    background: #111d31;
}

.footer-status-panel .availability {
    margin-bottom: 0.75rem;
}

.footer-status-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-status-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-weight: 600;
}

.footer-text-link:hover {
    color: #25d366;
}

.footer-col h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 35px;
    width: auto;
}

.footer-col h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.social-links {
    margin-top: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .slide-prev,
    .slide-next {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-status {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-status-panel {
        padding: 1.25rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Project Detail Page */
.project-detail {
    padding: 4rem 0;
    background: var(--bg-light);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.75rem;
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

.project-header {
    margin-bottom: 2rem;
}

.project-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.project-status {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.project-price-box {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.project-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-stats {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.project-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-price-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-price {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: bold;
    display: block;
    margin-top: 0.5rem;
}

.project-image-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Gallery Slideshow Styles */
.project-gallery-slideshow {
    margin-bottom: 3rem;
}

.project-gallery-slideshow h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.gallery-slideshow-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.gallery-slide {
    display: none;
    width: 100%;
    aspect-ratio: 16/10;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.25rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

.slide-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

.gallery-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.gallery-dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

/* Responsive Gallery Slideshow */
@media (max-width: 768px) {
    .gallery-prev,
    .gallery-next {
        width: 35px;
        height: 35px;
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .gallery-prev {
        left: 0.5rem;
    }
    
    .gallery-next {
        right: 0.5rem;
    }
    
    .slide-counter {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .gallery-dot {
        width: 8px;
        height: 8px;
    }
    
    .gallery-dot.active {
        width: 24px;
    }
}

/* Project Gallery Styles */
.project-gallery {
    margin-bottom: 3rem;
}

.project-gallery h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 16/10;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--primary);
}

.project-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin-bottom: 4rem;
}

.project-main-content {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.project-main-content h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.project-main-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.project-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.project-technologies {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.btn-youtube {
    background: #ff0000;
    color: white;
}

.btn-youtube:hover {
    background: #cc0000;
}

.btn-preview {
    background: #10b981;
    color: white;
}

.btn-preview:hover {
    background: #059669;
}

.btn-download {
    background: #22c55e;
    color: white;
}

.btn-download:hover {
    background: #16a34a;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.sidebar-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
    margin: 0;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
}

.related-projects {
    margin-top: 4rem;
}

.related-projects h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-card a {
    text-decoration: none;
    color: inherit;
}

/* Project Card Slideshow */
.project-image-slideshow {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f5f5f5;
}

.project-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.project-slide.active {
    display: block;
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-slide img {
    transform: scale(1.05);
}

.project-slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.project-card:hover .project-slide-nav {
    opacity: 1;
}

.project-prev,
.project-next {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.project-prev:hover,
.project-next:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.project-slide-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 2;
}

.project-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.project-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.project-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(79, 70, 229, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-harga {
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 0.75rem 1.25rem;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.project-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-card:hover .project-link {
    gap: 0.75rem;
}

/* Projects Section on Homepage */
.projects {
    padding: 5rem 0;
    background: var(--bg-white);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.projects-header .view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.projects-header .view-all:hover {
    text-decoration: underline;
}

/* Contact Page */
.contact-page {
    padding: 4rem 0;
    background: var(--bg-light);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-icon i {
    font-size: 2rem;
    color: white;
}

.info-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.info-card a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-large {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.alert i {
    font-size: 1.25rem;
}

/* Responsive for Contact Page */
@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 1.75rem;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .contact-form-wrapper h2 {
        font-size: 1.5rem;
    }
}

/* Responsive for Project Detail */
@media (max-width: 768px) {
    .project-header h1 {
        font-size: 1.75rem;
    }

    .project-image-container {
        height: 250px;
    }

    .project-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-actions {
        flex-direction: column;
    }

    .project-actions .btn {
        width: 100%;
        text-align: center;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Projects Section */
.projects {
    padding: 4rem 0;
    background: var(--bg-white);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-card a {
    text-decoration: none;
    color: inherit;
}

.project-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.project-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-badge {
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.project-card:hover .project-link {
    gap: 0.5rem;
}

/* Project Detail Page */
.project-detail {
    padding: 2rem 0 4rem;
    background: var(--bg-light);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.75rem;
}

.project-header {
    text-align: center;
    margin-bottom: 2rem;
}

.project-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: var(--text-gray);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-image-container {
    margin-bottom: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.project-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-main-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.project-main-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-main-content h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--text-dark);
}

.project-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.project-technologies {
    margin-bottom: 2rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-youtube {
    background: #ff0000;
    color: white;
}

.btn-youtube:hover {
    background: #cc0000;
}

.btn-preview {
    background: #10b981;
    color: white;
}

.btn-preview:hover {
    background: #059669;
}

.btn-download {
    background: var(--primary);
    color: white;
}

.btn-download:hover {
    background: var(--primary-dark);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.sidebar-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
}

.related-projects {
    margin-top: 4rem;
}

.related-projects h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

/* Admin Styles for Projects */
.table-image {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.badge-tech {
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    display: inline-block;
    margin: 0.1rem;
}

.link-badges {
    display: flex;
    gap: 0.25rem;
}

.badge-youtube {
    background: #ff0000;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.badge-preview {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.badge-download {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Responsive for Projects */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .project-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .project-header h1 {
        font-size: 1.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }

    .project-image-container {
        height: 250px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }

    .lightbox-content {
        max-width: 95%;
    }
}

/* Project Showcase (PRD) */
.showcase-header {
    padding: 60px 0 20px;
    background: var(--bg-white);
    text-align: center;
}

.showcase-header .badge {
    margin-bottom: 1.25rem;
}

.showcase-header .hero-title {
    font-size: 2.5rem;
}

.showcase-header .hero-description {
    max-width: 700px;
    margin: 0 auto;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-pill {
    border: 2px solid var(--border);
    background: var(--bg-white);
    color: var(--text-gray);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.category-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .showcase-header .hero-title {
        font-size: 1.75rem;
    }
}
/* ===== Business identity + policy links (partials/site-footer.php) ===== */
.site-legal {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.45fr) minmax(0, 1.05fr) minmax(0, 1.05fr);
    gap: 2rem;
    padding: 2.5rem 0 2rem;
    border-top: 1px solid #1e293b;
    margin-top: 2.5rem;
    font-size: 0.9rem;
}
.site-legal-col h4 {
    color: #f1f5f9; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    margin: 0 0 1rem; padding-bottom: 0.6rem; position: relative;
}
.site-legal-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--primary); }
.site-legal-logo { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.site-legal-logo img { height: 46px; width: auto; max-width: 100%; border-radius: 8px; background: #fff; padding: 4px 8px; }
.site-legal-logo strong { color: #fff; font-size: 1.1rem; line-height: 1.3; }
.site-legal-about {
    color: #94a3b8; line-height: 1.6; margin: 0 0 1rem; font-size: 0.875rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.site-legal-row { display: flex; align-items: flex-start; gap: 0.65rem; margin: 0 0 0.7rem; color: #94a3b8; line-height: 1.55; }
.site-legal-row i { width: 16px; flex-shrink: 0; margin-top: 0.2rem; text-align: center; color: var(--primary); }
.site-legal-row a, .site-legal-row span { overflow-wrap: break-word; min-width: 0; }
.site-legal-col a { color: #cbd5e1; text-decoration: none; transition: color 0.2s; }
.site-legal-col a:hover { color: #fff; }
.site-legal-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.site-legal-links a { display: inline-flex; align-items: center; gap: 0.45rem; }
.site-legal-links a::before { content: '›'; color: var(--primary); font-weight: 700; }
.site-legal-pay { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.9rem; }
.site-legal-pay span {
    display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.65rem; border-radius: 8px;
    background: #1e293b; border: 1px solid #334155; color: #e2e8f0; font-size: 0.78rem; font-weight: 600;
}
.site-legal-pay i { color: var(--primary); }
.site-legal-muted { font-size: 0.8rem; }
@media (max-width: 992px) { .site-legal { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-legal { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ===== Policy pages (page.php) ===== */
.legal-page { padding: 2.5rem 0 4rem; background: var(--bg-light); }
.legal-card {
    max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 20px;
    padding: 2.25rem 2.5rem; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.legal-card h1 { font-size: 1.9rem; font-weight: 800; color: var(--text-dark); margin: 0 0 0.35rem; }
.legal-updated { color: var(--text-gray); font-size: 0.85rem; margin: 0 0 1.75rem; }
.legal-body { color: #334155; line-height: 1.8; }
.legal-body h2 { font-size: 1.15rem; color: var(--text-dark); margin: 1.75rem 0 0.6rem; }
.legal-body p { margin: 0 0 1rem; }
.legal-body ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal-body li { margin-bottom: 0.35rem; }
.legal-nav { max-width: 820px; margin: 1.25rem auto 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.legal-nav a {
    padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid #e5e7eb; background: #fff;
    color: var(--text-dark); font-size: 0.85rem; font-weight: 600; text-decoration: none;
}
.legal-nav a.active, .legal-nav a:hover { border-color: var(--primary); color: var(--primary); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }
.contact-item { border: 1px solid #e5e7eb; border-radius: 14px; padding: 1.1rem 1.2rem; }
.contact-item i { color: var(--primary); font-size: 1.25rem; margin-bottom: 0.5rem; display: block; }
.contact-item strong { display: block; color: var(--text-dark); margin-bottom: 0.25rem; }
.contact-item a, .contact-item span { color: #475569; text-decoration: none; overflow-wrap: break-word; }
@media (max-width: 600px) { .legal-card { padding: 1.5rem 1.25rem; } .legal-card h1 { font-size: 1.5rem; } }

/* ===== Project cards: price + link pinned to the bottom ===== */
.project-card { display: flex; flex-direction: column; }
.project-card > a { display: flex; flex-direction: column; flex: 1; }
.project-card .project-content { display: flex; flex-direction: column; flex: 1; }
.project-card .project-content > .category-badge { align-self: flex-start; }
.project-card-footer {
    margin-top: auto; padding-top: 1rem; border-top: 1px solid #eef2f7;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem;
}
.project-card .project-tech { margin-bottom: 1.1rem; }
.project-price-tag { display: flex; flex-direction: column; justify-content: flex-end; gap: 0.15rem; min-width: 0; min-height: 2.9rem; }
.project-price-tag strong { color: var(--primary); font-size: 1.2rem; font-weight: 800; line-height: 1.2; }
.project-price-old { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; }
.project-price-old s { color: #94a3b8; }
.project-price-old em { font-style: normal; font-weight: 700; color: #dc2626; background: #fee2e2; padding: 0.05rem 0.4rem; border-radius: 6px; font-size: 0.72rem; }
.project-price-ask { color: var(--text-gray); font-size: 0.85rem; font-weight: 600; }
.project-card-footer .project-link { white-space: nowrap; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.2s; }
.project-card-footer .project-link i { font-size: 0.8rem; }
.project-card:hover .project-card-footer .project-link { gap: 0.65rem; }
/* Pages without the "Dari Ide. Menjadi Solusi." block: the legal footer is the first thing, so no divider on top */
.footer .container > .site-legal:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
/* One card per row on phones: no need to reserve space for a strike-through price */
@media (max-width: 768px) { .project-price-tag { min-height: 0; } }
/* Policy page tabs above the content */
.legal-nav.legal-nav-top { margin: 0 auto 1.25rem; }