/* Pro Service Dynamic - Custom Design System */
/* Google Fonts loaded via <link> in HTML head for non-blocking performance */

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --accent: #f59e0b;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --font-sans: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-y: none;
}

/* Native Mobile Smooth Scrolling & Touch App Feel */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

button, a, .btn, .service-card, .layout-card-option {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

button:active, a.btn:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease !important;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    h1 {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
    }
    h2 {
        font-size: 1.75rem !important;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--border-color);
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary-light);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0.75rem;
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    text-decoration: none !important;
    border-bottom: none !important;
}

.nav-link::after {
    display: none !important;
}



.nav-action {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Slideshow Banner */
.hero-slider {
    position: relative;
    height: 550px;
    width: 100%;
    overflow: hidden;
    background-color: var(--secondary);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 650px;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
}

.slide-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.slide-content .slide-actions {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary);
    width: 30px;
    border-radius: 6px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Section (Filtering) */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem 2.25rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 102, 102, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(0, 102, 102, 0.06);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: white;
    transform: scale(1.05) rotate(5deg);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--primary-hover);
    gap: 0.75rem;
}

/* Features/CTA Area */
.cta-section {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-text p {
    color: #94a3b8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.feature-item p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 0;
}

/* Blog/Article List & Cards */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 102, 102, 0.15);
}

.article-img {
    height: 220px;
    background-color: #e2e8f0;
    background-image: linear-gradient(135deg, #cbd5e1, #94a3b8);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.article-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.article-card:hover .article-title {
    color: var(--primary);
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Breadcrumbs (SEO style) */
.breadcrumb-container {
    background-color: #f1f5f9;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--primary);
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
}

/* Detail Pages */
.page-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.main-content {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.main-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.main-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-light);
    margin: 2rem 0 1rem 0;
}

.main-content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #334155;
}

.main-content ul, .main-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.main-content li {
    margin-bottom: 0.5rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.widget-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.widget-links a {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.widget-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 4rem 0 2rem 0;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-col p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Response for Mobile & Tablet Optimization */
@media (max-width: 992px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .page-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .nav-action {
        display: flex !important;
        align-items: center !important;
    }

    .hero-slider {
        height: 460px !important;
        position: relative !important;
        overflow: hidden !important;
    }
    .hero-slider .slide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: auto !important;
        padding: 2.5rem 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    .hero-content {
        max-width: 100% !important;
    }
    .hero-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.75rem !important;
    }
    .hero-content p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.25rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-btns {
        flex-direction: row !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }
    .hero-btns .btn {
        flex: 1 !important;
        padding: 0.65rem 0.75rem !important;
        font-size: 0.8rem !important;
        text-align: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }
    .slider-nav {
        bottom: 0.75rem !important;
    }

    .filter-tabs {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }
    .filter-tabs .filter-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 0.6rem 0.5rem !important;
        font-size: 0.85rem !important;
    }
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .about-img-box {
        display: none !important; /* Hilangkan foto Tentang Kami di versi Mobile */
    }
    .about-checklist {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }

    .about-img-box img {
        height: auto !important;
        max-height: 280px !important;
        width: 100% !important;
        object-fit: cover !important;
    }


    .section-padding {
        padding: 2.5rem 0 !important;
    }
    .about-section-padding {
        padding: 2.5rem 0 !important;
    }
    .article-section-padding {
        padding: 2.5rem 0 !important;
    }
    .section-title {
        margin-bottom: 2rem !important;
    }
    .filter-tabs {
        margin-bottom: 2rem !important;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    .article-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    footer {
        padding: 3rem 0 5rem 0 !important; /* Space for bottom mobile nav */
    }
    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        display: none !important; /* Sembunyikan Menu Cepat & Layanan Kami di Mobile */
    }
}



/* Bottom Mobile Navigation (App-like Feel) */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    gap: 3px;
    flex: 1;
    height: 100%;
}

.mobile-nav-item i {
    font-size: 1.2rem;
}

.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px; /* Space for bottom nav */
    }
    .mobile-bottom-nav {
        display: flex;
    }
    .nav-action {
        display: none; /* Hide header CTA on mobile */
    }
    /* Sticky Top Header on Mobile */
    header {
        position: sticky;
        top: 0;
        z-index: 999;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        background-color: var(--bg-white);
    }
}

/* Touch active micro-interactions */
.mobile-nav-item:active {
    transform: scale(0.9);
    transition: transform 0.1s ease;
}

/* Bottom Sheet Style */
.bottom-sheet-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1001;
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
}

.bottom-sheet-overlay.active {
    display: block;
}

.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
    z-index: 1002;
    transition: bottom 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-height: 80%;
    overflow-y: auto;
    padding-bottom: 20px;
}

/* Global Dark Mode CSS Styles */
body.dark-mode {
    --bg-white: #0f172a !important;
    --bg-light: #1e293b !important;
    --text-dark: #f8fafc !important;
    --text-muted: #cbd5e1 !important;
    --secondary: #f8fafc !important;
    --border-color: #334155 !important;
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

body.dark-mode section:not(.hero-slider),
body.dark-mode div[style*="background-color: var(--bg-white)"],
body.dark-mode div[style*="background: #ffffff"] {
    background: #0f172a !important;
    background-color: #0f172a !important;
    border-color: #334155 !important;
}

body.dark-mode .breadcrumb-container {
    background-color: #0b1120 !important;
    border-bottom: 1px solid #1e293b !important;
}

body.dark-mode .breadcrumb-container a {
    color: #38bdf8 !important;
}

body.dark-mode .breadcrumb-container .breadcrumb-item.active {
    color: #94a3b8 !important;
}

body.dark-mode footer {
    background-color: #090d16 !important;
    color: #cbd5e1 !important;
    border-top: 1px solid #1e293b !important;
}


body.dark-mode footer a {
    color: #cbd5e1 !important;
}

body.dark-mode footer a:hover {
    color: #38bdf8 !important;
}

body.dark-mode .hero-slider,
body.dark-mode .hero-slider .slide,
body.dark-mode .hero-slider .slide-overlay {
    background: transparent !important;
}

body.dark-mode .service-card,
body.dark-mode .article-card,
body.dark-mode .filter-tabs .filter-btn,
body.dark-mode div.service-card,
body.dark-mode div.article-card {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

body.dark-mode header {
    background-color: rgba(15, 23, 42, 0.95) !important;
    border-bottom-color: #334155 !important;
}

body.dark-mode .nav-link {
    color: #cbd5e1 !important;
}

body.dark-mode .nav-link:hover, body.dark-mode .nav-link.active {
    color: #38bdf8 !important;
}

body.dark-mode #theme-toggle-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #f59e0b !important;
}

body.dark-mode .kasip-feature-box,
body.dark-mode div[style*="background: #ffffff"],
body.dark-mode div[style*="background: #f8fafc"],
body.dark-mode div[style*="background-color: #ffffff"],
body.dark-mode div[style*="background-color: var(--bg-white)"] {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5,
body.dark-mode .kasip-feature-box h3,
body.dark-mode div[style*="color: #0f172a"] {
    color: #ffffff !important;
}

body.dark-mode p, body.dark-mode span:not(.badge), body.dark-mode li,
body.dark-mode .kasip-feature-box p,
body.dark-mode div[style*="color: #64748b"],
body.dark-mode div[style*="color: #475569"] {
    color: #cbd5e1 !important;
}

body.dark-mode div[style*="background: linear-gradient"],
body.dark-mode div[style*="background: #e2e8f0"] {
    background: #1e293b !important;
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
}

body.dark-mode div[style*="color: rgba(255,255,255,0.7)"],
body.dark-mode div[style*="color: #94a3b8"] {
    color: #cbd5e1 !important;
}

body.dark-mode .mobile-bottom-nav,
body.dark-mode .bottom-sheet {
    background-color: #0f172a !important;
    border-top-color: #334155 !important;
}


body.dark-mode .about-value-card,
body.dark-mode div.about-value-card {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

body.dark-mode .about-value-card h3,
body.dark-mode .about-value-card h2,
body.dark-mode div.about-value-card h3 {
    color: #ffffff !important;
}

body.dark-mode .about-value-card p,
body.dark-mode div.about-value-card p {
    color: #cbd5e1 !important;
}

body.dark-mode input[type="text"],
body.dark-mode input[type="email"],
body.dark-mode input[type="tel"],
body.dark-mode textarea,
body.dark-mode select,
body.dark-mode .form-control {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #ffffff !important;
}


body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #94a3b8 !important;
}

body.dark-mode label {
    color: #f8fafc !important;
}

body.dark-mode .mobile-nav-item {
    color: #94a3b8 !important;
}

body.dark-mode .mobile-nav-item.active {
    color: #38bdf8 !important;
}





.bottom-sheet.active {
    bottom: 0;
}

.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background-color: #cbd5e1;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}

.bottom-sheet-header span {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
}

.bottom-sheet-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
}

.bottom-sheet-content {
    padding: 1.5rem;
}

.bottom-sheet-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.bottom-sheet-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 8px;
    padding: 0.9rem 0.5rem;
    border-radius: 12px;
    background-color: #f8fafc;
    transition: all 0.2s ease;
    border: 1px solid #f1f5f9;
}

.bottom-sheet-link:active {
    transform: scale(0.92);
    background-color: #f1f5f9;
}

.bottom-sheet-link i {
    font-size: 1.5rem;
}

/* Mobile-first compact 2-column service card layout overrides */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .service-card {
        padding: 1.25rem 1rem !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
    }
    
    .service-card p {
        display: none !important; /* Hide long summary on mobile to prevent stretching */
    }
    
    .service-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.25rem !important;
        margin-bottom: 1rem !important;
        border-radius: 10px !important;
    }
    
    .service-card h3 {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }
    
    .service-link {
        font-size: 0.75rem !important;
        margin-top: auto;
    }
}
