:root {
    --primary: #F97316;
    --primary-light: #fb923c;
    --primary-dark: #ea580c;
    --secondary: #0F172A;
    --text: #0F172A;
    --text-light: #475569;
    --background: #ffffff;
    --bg-alt: #f5f6f8;
    --white: #ffffff;
    --danger: #e11d48;
    --success: #10b981;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

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

/* Background Alt */
.bg-alt {
    background-color: #f5f6f8 !important;
}

/* Header */
.header {
    transition: all 0.5s;
    z-index: 997;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header.sticked {
    background: var(--white);
    padding: 15px 5%;
    box-shadow: 0px 2px 20px rgba(72, 86, 100, 0.1);
}

.header .logo h1 {
    font-size: 30px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 1px;
}
.header .logo h1 span {
    color: var(--primary);
}

/* Navbar JJT Style */
.navbar {
    padding: 0;
}
.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}
.navbar li {
    position: relative;
}
.navbar a, .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
}
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
    color: var(--primary);
}

.navbar > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -2px;
    left: 30px;
    background-color: var(--primary);
    visibility: hidden;
    width: 0;
    transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before, .navbar li:hover > a:before, .navbar .active:before {
    visibility: visible;
    width: calc(100% - 30px);
}

.btn-contact {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    margin-left: 30px;
}
.btn-contact:hover {
    background-color: var(--primary-dark) !important;
    box-shadow: var(--shadow);
}
.btn-contact:before {
    display: none !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #091e42 100%);
    color: var(--white);
    padding: 6rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.05)" stroke-width="2" fill="none"/></svg>') repeat;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: #dfe1e6;
    margin-bottom: 2rem;
}

/* Pillars Section */
.pillars-section {
    padding: 5rem 5%;
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 3rem;
    font-weight: 700;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    background: var(--white);
    border: 1px solid #ebecf0;
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    background: var(--primary);
    color: var(--white);
}

.pillar-card h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Blog Page */
.page-header {
    background-color: var(--secondary);
    color: var(--white);
    padding: 4rem 5%;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.blog-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #eee;
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.blog-title {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: #dfe1e6;
    padding: 3rem 5% 1.5rem;
    text-align: center;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-content h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
}

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
    color: var(--secondary);
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

/* Close Button Desktop */
.mobile-nav-close {
    display: none;
}

/* Base Responsive Elements */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Tablet / Medium Screens */
@media (max-width: 1024px) {
    .header {
        padding: 15px 3%;
    }
    .hero {
        padding: 5rem 3%;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .pillars-section {
        padding: 4rem 3%;
    }
    .pillars-grid {
        gap: 1.5rem;
    }
}

/* Mobile & Tablet Screens */
@media (max-width: 992px) {
    /* Header & Mobile Nav */
    .mobile-nav-toggle {
        display: block;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        transition: 0.3s;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        padding: 60px 20px 20px;
    }

    .navbar-mobile {
        right: 0;
    }

    .navbar ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .navbar a, .navbar a:focus {
        padding: 15px 0;
        font-size: 16px;
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .navbar > ul > li > a:before {
        display: none;
    }

    .btn-contact {
        margin: 20px 0 0 0;
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    /* Mobile Overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.6);
        z-index: 9998;
        display: none;
        opacity: 0;
        transition: 0.3s;
    }

    .mobile-nav-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Close Button inside Nav */
    .mobile-nav-close {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 24px;
        color: var(--secondary);
        cursor: pointer;
    }

    /* Hero adjustments */
    .hero {
        padding: 6rem 5% 4rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Footer adjustments */
    footer > div {
        flex-direction: column;
        gap: 2rem !important;
        text-align: center;
    }
    
    footer .map-container {
        width: 100% !important;
    }

    /* Blog / Katalog grids */
    .pillars-grid, .blog-container {
        grid-template-columns: 1fr;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-item .page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.85rem;
    color: var(--primary);
    text-decoration: none;
    background-color: var(--white);
    border: 1px solid #dfe1e6;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.page-item.active .page-link {
    z-index: 3;
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
}

.page-item.disabled .page-link {
    color: #a5adba;
    pointer-events: none;
    background-color: #fafbfc;
    border-color: #dfe1e6;
}

.page-item .page-link:hover {
    z-index: 2;
    color: var(--primary-dark);
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
