/* 
    Tamzis Landing Page - Astra UI Style Custom CSS
    Core: Typography, Colors, Spacing
*/

:root {
    --primary-color: #007236; /* Tamzis Green (menyesuaikan logo) */
    --secondary-color: #00bcd4; /* Accent color if needed */
    --text-color: #3a3a3a;
    --text-muted: #757575;
    --bg-light: #f9f9fb;
    --bg-white: #ffffff;
    --border-color: #eaeaea;
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6, .astra-title, .section-title {
    font-family: var(--font-heading);
}

a:hover {
    color: var(--secondary-color);
}

/* Utilities */
.py-5 { padding-top: 5rem; padding-bottom: 5rem; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.no-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* Header & Top Bar */
.astra-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-header {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
}

.logo img {
    max-height: 60px;
    width: auto;
}

.follow-us {
    margin: 0;
    padding-top: 15px;
}

.follow-us li a img {
    transition: transform var(--transition-fast);
}

.follow-us li a:hover img {
    transform: translateY(-2px);
}

/* Navbar */
.astra-navbar {
    background: transparent;
    border: none;
    margin-bottom: 0;
}

.astra-navbar .nav > li > a {
    color: var(--text-color);
    font-weight: 500;
    padding: 20px 15px;
    text-transform: capitalize;
    font-size: 15px;
    transition: color var(--transition-fast);
}

.astra-navbar .nav > li > a:hover,
.astra-navbar .nav > li.active > a,
.astra-navbar .nav > li.open > a {
    background: transparent !important;
    color: var(--primary-color) !important;
}

.astra-navbar .nav > li > a i {
    font-size: 11px;
    margin-left: 4px;
    color: var(--text-muted);
}

/* Dropdown */
@media (min-width: 768px) {
    .astra-navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeUp 0.3s ease;
    }
}

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

.dropdown-menu {
    border: none;
    border-radius: 0 0 4px 4px;
    box-shadow: var(--shadow-lg);
    padding: 0;
    min-width: 220px;
    border-top: 3px solid var(--primary-color);
}

.dropdown-menu > li {
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu > li:last-child {
    border-bottom: none;
}

.dropdown-menu > li > a {
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.dropdown-menu > li > a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Search Box */
.astra-search {
    margin-top: 12px;
    margin-right: 20px; /* Geser ke kiri sedikit agar tidak terlalu mepet layar */
}

.astra-search .form-control {
    border-radius: 4px 0 0 4px; /* Dibuat lebih lancip */
    border: 1px solid var(--border-color);
    box-shadow: none;
    padding: 10px 20px;
    height: 40px;
}

.astra-search .btn {
    border-radius: 0 4px 4px 0; /* Dibuat lebih lancip */
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    height: 40px;
    padding: 0 15px;
    transition: background var(--transition-fast);
}

.astra-search .btn:hover {
    background: #020340;
}

/* Sections General */
.section-header {
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 16px;
    margin-top: 15px;
    color: var(--text-muted);
}

.astra-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.astra-title span {
    font-weight: 300;
    color: var(--text-color);
}

.astra-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 3px;
}

/* Carousel / Slider */
.slider .container-fluid {
    padding: 0;
}

.slider .carousel-inner .item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.carousel-control.left, .carousel-control.right {
    background-image: none;
    width: 8%;
}

.carousel-control {
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.slider:hover .carousel-control {
    opacity: 1;
}

.carousel-control span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    background: transparent; /* Hilangkan bulatan background */
    color: var(--bg-white);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6)); /* Beri shadow agar icon tetap jelas walau gambar terang */
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.carousel-control:hover span {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1); /* Efek sedikit membesar saat di-hover */
}

.carousel-control.left span { left: 30px; }
.carousel-control.right span { right: 30px; }

/* Cards (Highlight) */
.astra-card {
    background: var(--bg-white);
    border-radius: 4px; /* Lebih lancip */
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    height: 100%;
    margin-bottom: 30px;
    border: 1px solid var(--border-color); /* Border tipis seperti kartu blog WordPress */
}

/* Hover effect dihapus sesuai permintaan */

.card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    aspect-ratio: 16 / 9; /* Layout gambar blog yang konsisten */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.astra-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
    /* Dihilangkan border-top tebal agar lebih clean layaknya Astra */
}

.card-meta {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    border-radius: 0; /* Ujung lancip tegas */
    z-index: 2;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-color);
    transition: color var(--transition-fast);
}

.astra-card:hover .card-title {
    color: var(--primary-color);
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform var(--transition-fast);
}

.astra-card:hover .read-more i {
    transform: translateX(5px);
}

/* Services (Layanan) Cards */
.astra-service-card {
    background: var(--bg-white);
    border-radius: 6px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 100%;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color); /* Aksen garis tebal di atas layaknya kartu layanan modern */
}

/* -------------------------------------
   NEW HOMEPAGE SECTIONS
-------------------------------------- */

/* Stats Bar */
.stats-bar {
    background: var(--primary-color);
    padding: 30px 0;
}
.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    color: #fff;
    padding: 16px 20px;
    border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #ffffff; /* Warna putih sesuai permintaan */
    display: block;
    line-height: 1;
}
.stat-label { font-size: 14px; opacity: .8; margin-top: 8px; }

/* General Section Utilities */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 24px;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-tag {
    display: inline-block;
    background: rgba(0, 114, 54, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 15px;
}
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.25;
    margin-bottom: 15px;
}
.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.divider-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin: 20px auto 0;
}

/* Services Grid (4 Column) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 114, 54, 0.3);
}
.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.service-card-body {
    padding: 20px;
    flex: 1;
}
.service-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.service-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
}
.card-link::after { content: '→'; transition: transform 0.2s; }
.service-card:hover .card-link::after { transform: translateX(5px); }

/* Why Tamzis Section */
.why-section {
    background: linear-gradient(135deg, #0f3c1e 0%, var(--primary-color) 60%, #10592e 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.why-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.why-text { color: #fff; }
.why-text .section-tag { background: rgba(249, 211, 66, 0.2); color: var(--secondary-color); }
.why-text .section-title { color: #fff; text-align: left; }
.why-text .section-sub { color: rgba(255,255,255,0.8); text-align: left; }
.why-text .divider-line { margin: 18px 0 0; }
.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 35px;
}
.why-feature { display: flex; gap: 15px; align-items: flex-start; }
.why-icon {
    width: 45px; height: 45px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.why-feature h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 5px; font-family: var(--font-main); }
.why-feature p { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.5; }
.why-visual { position: relative; }
.why-visual img {
    width: 100%; border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    aspect-ratio: 4/3; object-fit: cover;
}
.why-badge {
    position: absolute; bottom: -20px; left: -20px;
    background: var(--secondary-color); color: #333;
    padding: 20px; border-radius: 16px;
    box-shadow: 0 10px 30px rgba(249, 211, 66, 0.4);
}
.why-badge strong { display: block; font-family: var(--font-heading); font-size: 32px; font-weight: 900; line-height: 1; }
.why-badge span { font-size: 13px; font-weight: 500; }

/* Removed Custom Product Grid as we are using Astra Card style now */

/* Baitul Maal Grid */
.maal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.maal-card {
    background: var(--bg-white); border-radius: 12px; border: 1px solid var(--border-color);
    padding: 30px 20px; text-align: center; transition: all 0.3s; box-shadow: var(--shadow-sm);
}
.maal-card:hover { transform: translateY(-6px); border-color: var(--primary-color); box-shadow: var(--shadow-md); }
.maal-icon {
    width: 65px; height: 65px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #2d8a52); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 15px;
}
.maal-card h3 { font-size: 18px; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; }
.maal-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* News / Highlight */
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 25px; }
.news-featured {
    background: var(--bg-white); border-radius: 12px; overflow: hidden;
    border: 1px solid var(--border-color); box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; transition: all 0.3s;
}
.news-featured:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-featured img { width: 100%; height: 260px; object-fit: cover; }
.news-featured-body { padding: 25px; flex: 1; }
.news-tag {
    font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--primary-color); background: rgba(0, 114, 54, 0.08);
    padding: 5px 12px; border-radius: 50px; display: inline-block; margin-bottom: 15px;
}
.news-featured-body h3 { font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--text-color); margin-bottom: 12px; }
.news-featured-body p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

.news-list { display: flex; flex-direction: column; gap: 15px; }
.news-item {
    background: var(--bg-white); border-radius: 12px; border: 1px solid var(--border-color);
    padding: 20px; display: flex; gap: 15px; align-items: flex-start; transition: all 0.3s; box-shadow: var(--shadow-sm);
}
.news-item:hover { transform: translateX(5px); border-color: rgba(0, 114, 54, 0.4); }
.news-item-num { font-family: var(--font-heading); font-size: 30px; font-weight: 900; color: #ddd; line-height: 1; flex-shrink: 0; width: 40px; }
.news-item h4 { font-size: 15px; font-weight: 600; color: var(--text-color); line-height: 1.5; margin-bottom: 8px; font-family: var(--font-main); }
.news-item span { font-size: 13px; color: var(--text-muted); }

/* CTA Strip */
.cta-strip { background: var(--primary-color); padding: 50px 0; }
.cta-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-text h2 { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.cta-text p { color: rgba(255,255,255,0.8); font-size: 16px; }
.cta-actions { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
.btn-wa {
    display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff;
    font-weight: 700; font-size: 15px; padding: 14px 30px; border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3); transition: all 0.2s;
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); color: #fff; }
.btn-white {
    display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #333;
    font-weight: 700; font-size: 15px; padding: 14px 30px; border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: all 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); color: #333; }

/* -------------------------------------
   4. Slider (Keep Existing Astra Carousel UI)
-------------------------------------- */

/* Hover effect dihilangkan */

.service-img {
    margin-bottom: 25px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-img img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
}

.service-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-action {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.service-action i {
    margin-left: 5px;
}

/* Widget Container (Sosmed) */
.astra-widget-container {
    background: var(--bg-white);
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    margin: 0 auto;
    max-width: 1000px; /* Batasi lebar agar feed tidak terlalu melebar di layar besar */
}

/* Footer */
.astra-footer {
    background-color: #fcfcfd;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.astra-footer-top {
    margin-bottom: 40px;
}

.footer-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.contact-info {
    text-align: left;
}

.call-line {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.call-line span {
    font-weight: 600;
    margin-right: 15px;
    color: var(--text-muted);
    min-width: 80px;
}

.call-line a {
    font-size: 16px;
    font-weight: 700;
}

.call-line a img {
    margin-top: -5px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links-list a {
    color: var(--text-color);
    font-weight: 500;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-links-list a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 12px;
    color: var(--primary-color);
    opacity: 0.5;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

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

.footer-links-list a:hover::before {
    opacity: 1;
    transform: translateX(3px);
}

.astra-footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-color);
    margin-left: 10px;
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* Navbar Mobile Fixes - Offcanvas Sidebar Right to Left */
    .astra-navbar .navbar-collapse {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh !important;
        background-color: var(--bg-white);
        z-index: 9999;
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        padding-top: 0; /* Padding dihilangkan karena ada header sidebar */
        display: block !important;
        overflow-y: auto;
    }

    /* Ketika tombol Hamburger diklik, bootstrap menambah class .in */
    .astra-navbar .navbar-collapse.in {
        right: 0; /* Menu meluncur ke kiri (masuk layar) */
    }

    .astra-navbar .navbar-nav {
        margin: 0;
    }

    .astra-navbar .navbar-nav > li > a {
        padding: 15px 25px;
        border-bottom: 1px solid var(--border-color);
        font-size: 16px;
    }
    
    .astra-navbar .dropdown-menu {
        background-color: var(--bg-light);
        box-shadow: none;
        padding-left: 20px;
        margin-top: 0;
        border: none;
        position: static !important; /* Pastikan dropdown mobile tidak absolute */
    }
    
    .astra-navbar .dropdown-menu > li > a {
        padding: 12px 25px;
        border-bottom: 1px solid #f1f1f1;
    }
    
    /* Mobile Search Bar Styling */
    .astra-search {
        margin: 20px;
        padding: 0;
        border-bottom: none;
        width: calc(100% - 40px);
    }
    .astra-search .input-group {
        width: 100%;
        display: flex;
    }
    .astra-search input {
        border-radius: 6px 0 0 6px !important;
        background: #fcfcfd;
        border: 1px solid var(--border-color);
        border-right: none;
        height: 45px;
        box-shadow: none;
        font-size: 14px;
    }
    .astra-search button {
        border-radius: 0 6px 6px 0 !important;
        background: var(--primary-color);
        color: white;
        height: 45px;
        width: 50px;
        border: none;
    }

    /* Hamburger Menu Button */
    .navbar-toggle {
        margin-top: 15px;
        margin-right: 20px;
        border-radius: 4px;
        position: relative;
        z-index: 10; /* Biarkan tertutup sidebar */
        background: transparent !important;
        border: none;
        padding: 9px 10px;
    }
    
    .navbar-toggle .icon-bar {
        background-color: var(--primary-color) !important;
        height: 3px;
        width: 25px;
        border-radius: 3px;
    }
    
    /* Sidebar Mobile Header & Close Button */
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 10px;
    }
    .sidebar-title {
        font-size: 18px;
        font-weight: 700;
        color: var(--text-color);
    }
    .close-sidebar {
        background: transparent;
        border: none;
        font-size: 24px;
        color: var(--text-muted);
        outline: none;
    }
}

@media (max-width: 600px) {
    .services-grid, .products-grid, .maal-grid { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .why-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-header .logo img {
        max-height: 40px;
        margin-top: 10px;
    }

    /* Typography & Spacing */
    .astra-title {
        font-size: 26px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .py-5 { padding-top: 3rem; padding-bottom: 3rem; }
    
    /* Carousel Arrows */
    .carousel-control { opacity: 1; }
    .carousel-control span { font-size: 24px; }
    
    /* Layout stacking */
    .astra-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-icons {
        margin-top: 15px;
    }
    
    .social-icons a {
        margin: 0 5px;
    }
    
    /* NEW SECTIONS MOBILE STACKING */
    .services-grid, .products-grid, .maan-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .why-inner { grid-template-columns: 1fr; }
    .why-visual { display: none; }
    .stats-inner { grid-template-columns: 1fr 1fr; }
    
    /* Simulasi PKR Stacking Margin */
    .page-content-astra .col-md-5 > div {
        margin-top: 30px;
    }
    
    /* Karir Tabs */
    .astra-tabs-nav {
        flex-direction: column;
    }
    .astra-tabs-nav button {
        text-align: left;
    }
}

.intro-split {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.intro-text {
    position: relative;
    margin-bottom: 20px;
}

.intro-text h2, .section-heading {
    margin-top: 0;
    margin-bottom: 20px;
    padding: 8px 16px;
    background-color: rgba(0, 114, 54, 0.05);
    border-left: 5px solid var(--primary-color);
    border-radius: 0;
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
}

.intro-text p {
    text-align: justify;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin: 0;
}

/* Bento Grid System for Company Profile */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.bento-item {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 114, 54, 0.3);
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 114, 54, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 15px;
}

.bento-item h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bento-item p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
}

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

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