
.berita-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.berita-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.berita-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.berita-body h1, .berita-body h2, .berita-body h3, 
.berita-body h4, .berita-body h5, .berita-body h6 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.berita-body p {
    margin-bottom: 1.5rem;
}

.berita-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.berita-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}

.berita-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

.share-buttons {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
}

/* Elegant & responsive share icons */
.share-icons {display:flex;gap:.5rem;flex-wrap:wrap}
.btn-share {width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid currentColor;transition:.2s ease;}
.btn-share i {font-size:1.1rem}
.btn-share:hover {transform:translateY(-2px)}
.btn-share.whatsapp {color:#25D366}
.btn-share.whatsapp:hover {background:#25D366;color:#fff}
.btn-share.facebook {color:#1877F2}
.btn-share.facebook:hover {background:#1877F2;color:#fff}
.btn-share.instagram {color:#E1306C}
.btn-share.instagram:hover {background:#E1306C;color:#fff}
@media (min-width:768px){.btn-share{width:44px;height:44px}.btn-share i{font-size:1.2rem}}


.download-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.file-icon {
    min-width: 60px;
}

.file-info {
    min-width: 0;
}

.download-action {
    min-width: 40px;
}


.gallery-item {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-image-container:hover .gallery-overlay {
    opacity: 1;
}

.gallery-image-container img {
    transition: all 0.3s ease;
}

.gallery-image-container:hover img {
    transform: scale(1.1);
}


        .main-header.scrolled {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
        }
        
        .lazy {
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .lazy.loaded {
            opacity: 1;
        }
        /* Dark dropdown text color adjustment */
        :root[data-theme="dark"] .dropdown-menu .dropdown-item { color: var(--text-dark); }
    

        :root {
            --primary-color: #1e3a8a;
            --secondary-color: #3b82f6;
            --accent-color: #f59e0b;
            --text-dark: #1f2937;
            --text-light: #6b7280;
            --bg-light: #f8fafc;
            --bg-body: #ffffff;
            --header-bg: #ffffff;
            --dropdown-bg: #ffffff;
            --dropdown-hover-bg: var(--bg-light);
            --nav-link-color: var(--text-dark);
        }
        :root[data-theme="dark"] {
            --primary-color: #0ea5e9;
            --secondary-color: #22d3ee;
            --accent-color: #fbbf24;
            --text-dark: #e5e7eb;
            --text-light: #9ca3af;
            --bg-light: #0f172a;
            --bg-body: #0b1220;
            --header-bg: #111827;
            --dropdown-bg: #0f172a;
            --dropdown-hover-bg: #0b1220;
            --nav-link-color: #e5e7eb;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--bg-body);
            overflow-x: hidden;
        }
        
        /* Header Styles */
        .top-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 0.5rem 0;
            font-size: 0.9rem;
        }
        
        .main-header {
            background: var(--header-bg);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--primary-color) !important;
        }
        
        .navbar-brand img {
            height: 50px;
            margin-right: 10px;
        }
        .navbar-brand .brand-text {
            display: flex;
            flex-direction: column;
            line-height: 1.1;
            min-width: 0;
        }
        .navbar-brand .brand-main {
            font-weight: 700;
            font-size: 1.35rem;
            color: var(--primary-color) !important;
            white-space: normal;
        }
        .navbar-brand .brand-sub {
            font-weight: 700;
            font-size: 1.35rem;
            color: var(--primary-color) !important;
            margin-top: 2px;
            white-space: normal;
        }
        @media (max-width: 576px) {
            .navbar-brand .brand-main { font-size: 1.1rem; }
            .navbar-brand .brand-sub { font-size: 1.1rem; }
            .navbar-brand img { height: 42px; }
        }
        
        .navbar-nav .nav-link {
            font-weight: 500;
            color: var(--nav-link-color) !important;
            padding: 0.75rem 1rem !important;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .navbar-nav .nav-link:hover {
            color: var(--secondary-color) !important;
            transform: translateY(-2px);
        }
        
        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background: var(--secondary-color);
            transition: all 0.3s ease;
        }
        
        .navbar-nav .nav-link:hover::after {
            width: 80%;
            left: 10%;
        }
        
        .dropdown-menu {
            border: none;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            padding: 0.5rem 0;
            background-color: var(--dropdown-bg);
        }
        
        .dropdown-item {
            padding: 0.75rem 1.5rem;
            transition: all 0.3s ease;
        }
        
        .dropdown-item:hover {
            background: var(--dropdown-hover-bg);
            color: var(--secondary-color);
            transform: translateX(5px);
        }

        /* Theme palette swatches */
        .palette-swatch {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            cursor: pointer;
            border: 2px solid rgba(0,0,0,0.08);
        }
        .palette-swatch:hover { transform: scale(1.05); }
        
        /* Button Styles */
        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            border: none;
            border-radius: 25px;
            padding: 0.75rem 2rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
        }
        
        .btn-outline-primary {
            border: 2px solid var(--secondary-color);
            color: var(--secondary-color);
            border-radius: 25px;
            padding: 0.75rem 2rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .btn-outline-primary:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
        }
        
        /* Section Styles */
        .section {
            padding: 4rem 0;
        }
        
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
            border-radius: 2px;
        }
        
        .section-subtitle {
            color: var(--text-light);
            font-size: 1.1rem;
            margin-bottom: 3rem;
        }
        
        /* Card Styles */
        .card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            overflow: hidden;
        }
        
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        
        .card-img-top {
            height: 200px;
            object-fit: cover;
            transition: all 0.3s ease;
        }
        
        .card:hover .card-img-top {
            transform: scale(1.05);
        }
        
        /* Footer Styles */
        .footer {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 3rem 0 1rem;
        }
        
        .footer h5 {
            font-weight: 600;
            margin-bottom: 1.5rem;
        }
        
        .footer a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .footer a:hover {
            color: white;
            transform: translateX(5px);
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 2rem;
            padding-top: 1rem;
            text-align: center;
        }

        /* Hero and Stats Styles */
        .hero-slider .hero-content .btn {
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
            border-radius: 10px;
        }
        .stats-strip {
            background: linear-gradient(135deg, rgba(30,58,138,0.05), rgba(59,130,246,0.05));
        }
        .stat-item {
            display: flex;
            align-items: center;
            gap: 12px;
            background: #fff;
            border-radius: 14px;
            padding: 14px 18px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.06);
        }
        .stat-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            display: grid;
            place-items: center;
            color: #fff;
            box-shadow: 0 8px 18px rgba(0,0,0,0.12);
        }
        .stat-value {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 2px;
            color: var(--primary-color);
            line-height: 1;
        }
        .stat-label {
            font-size: 0.9rem;
            color: var(--text-light);
        }

        /* Service Card Enhancements */
        .service-card .card-title { font-weight: 600; }
        .service-card__icon { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); }
        .service-card .btn { border-radius: 10px; }

        /* Responsive */
        @media (max-width: 768px) {
            .section-title {
                font-size: 2rem;
            }
            
            .navbar-brand {
                font-size: 1.2rem;
            }
        }
        
        /* Loading Animation */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
    

.leadership-card {
    padding: 8px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.leadership-image-wrapper {
    position: relative;
    width: 50px;
    height: auto;
    min-height: 70px; /* Dua kali lebih kecil dari sebelumnya */
    margin: 0 auto;
    border-radius: 5px;
    overflow: visible;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leadership-image {
    width: 100%;
    height: auto;
    max-width: 50px;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

.leadership-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 6px;
    line-height: 1.2;
}

.leadership-position {
    font-size: 0.6rem;
    font-weight: 500;
    line-height: 1.1;
}

/* Responsive - dua kali lebih kecil */
@media (max-width: 992px) {
    .leadership-image-wrapper {
        width: 45px;
        min-height: 65px;
    }
    
    .leadership-name {
        font-size: 0.65rem;
    }
    
    .leadership-position {
        font-size: 0.55rem;
    }
}

@media (max-width: 768px) {
    .leadership-card {
        padding: 6px;
    }
    
    .leadership-image-wrapper {
        width: 40px;
        min-height: 58px;
    }
    
    .leadership-name {
        font-size: 0.6rem;
    }
    
    .leadership-position {
        font-size: 0.5rem;
    }
}

@media (max-width: 576px) {
    .leadership-image-wrapper {
        width: 35px;
        min-height: 50px;
    }
    
    .leadership-card {
        padding: 5px;
    }
    
    .leadership-name {
        font-size: 0.55rem;
    }
    
    .leadership-position {
        font-size: 0.45rem;
    }
}


.hero-slider {
    margin-bottom: 0;
    padding: 20px 0;
}

.hero-slider-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-slider .carousel {
    max-height: 450px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-slider .carousel-inner {
    max-height: 450px;
    border-radius: 12px;
    overflow: hidden;
}

.hero-slider .carousel-item {
    max-height: 450px;
}

.hero-slider .carousel-item.active {
    border-radius: 12px;
}

.hero-slide {
    min-height: 400px;
    max-height: 450px;
    padding: 50px 20px;
    border-radius: 12px;
}

.hero-slide-title {
    font-size: 2rem;
    line-height: 1.3;
}

.hero-slide-desc {
    font-size: 1.1rem;
    line-height: 1.5;
}

.hero-slider .hero-content .btn {
    font-size: 0.95rem;
    padding: 10px 20px;
}

.hero-slider .carousel-indicators {
    margin-bottom: 15px;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.hero-slider .carousel-control-prev {
    left: 15px;
}

.hero-slider .carousel-control-next {
    right: 15px;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-slider-wrapper {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        padding: 15px 0;
    }
    
    .hero-slider-wrapper {
        padding: 0 15px;
    }
    
    .hero-slider .carousel {
        border-radius: 8px;
    }
    
    .hero-slider .carousel-inner {
        border-radius: 8px;
    }
    
    .hero-slider .carousel-item.active {
        border-radius: 8px;
    }
    
    .hero-slide {
        min-height: 300px;
        max-height: 350px;
        padding: 40px 15px;
        border-radius: 8px;
    }
    
    .hero-slide-title {
        font-size: 1.5rem;
    }
    
    .hero-slide-desc {
        font-size: 1rem;
    }
    
    .hero-slider .carousel {
        max-height: 350px;
    }
    
    .hero-slider .carousel-inner {
        max-height: 350px;
    }
    
    .hero-slider .carousel-item {
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        padding: 10px 0;
    }
    
    .hero-slider-wrapper {
        padding: 0 10px;
    }
    
    .hero-slider .carousel {
        border-radius: 6px;
    }
    
    .hero-slider .carousel-inner {
        border-radius: 6px;
    }
    
    .hero-slider .carousel-item.active {
        border-radius: 6px;
    }
    
    .hero-slide {
        min-height: 250px;
        max-height: 300px;
        padding: 30px 15px;
        border-radius: 6px;
    }
    
    .hero-slide-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    
    .hero-slide-desc {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .hero-slider .carousel {
        max-height: 300px;
    }
    
    .hero-slider .carousel-inner {
        max-height: 300px;
    }
    
    .hero-slider .carousel-item {
        max-height: 300px;
    }
    
    .hero-slider .hero-content .btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .hero-slider .carousel-control-prev {
        left: 10px;
    }
    
    .hero-slider .carousel-control-next {
        right: 10px;
    }
}


.layanan-utama-card {
    display: block;
    transition: all 0.3s ease;
}

.layanan-utama-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.layanan-utama-card:hover .layanan-utama-card-inner {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.layanan-utama-card-inner {
    min-height: 120px;
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
}

.layanan-utama-image-wrapper {
    background: #f8f9fa;
    min-height: 120px;
    border-radius: 8px 0 0 8px;
    padding: 0;
}

.layanan-utama-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 15px;
    display: block;
}

.layanan-utama-icon-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.layanan-utama-icon {
    font-size: 2.5rem;
}

.layanan-utama-text-wrapper {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    min-height: 120px;
    border-radius: 0 8px 8px 0;
    padding: 0;
}

.layanan-utama-card:hover .layanan-utama-text-wrapper {
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
}

/* Memastikan card body tidak overflow */
.layanan-utama-text-wrapper .card-body {
    padding: 15px 20px;
    height: 100%;
    display: flex;
    align-items: center;
}

.layanan-utama-text-wrapper .card-title {
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 992px) {
    .layanan-utama-card-inner {
        min-height: 110px;
    }
    .layanan-utama-image-wrapper,
    .layanan-utama-text-wrapper {
        min-height: 110px;
    }
    .layanan-utama-icon-wrapper {
        min-height: 110px;
    }
}

@media (max-width: 768px) {
    .layanan-utama-image {
        padding: 12px;
    }
    .layanan-utama-text-wrapper .card-body {
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .layanan-utama-card-inner {
        min-height: 100px;
        border-radius: 6px;
    }
    .layanan-utama-image-wrapper {
        min-height: 100px;
        border-radius: 6px 0 0 6px;
    }
    .layanan-utama-text-wrapper {
        min-height: 100px;
        border-radius: 0 6px 6px 0;
    }
    .layanan-utama-icon-wrapper {
        min-height: 100px;
    }
    .layanan-utama-icon {
        font-size: 2rem;
    }
    .layanan-utama-image {
        padding: 10px;
    }
    .layanan-utama-text-wrapper .card-body {
        padding: 10px 12px;
    }
    .layanan-utama-text-wrapper .card-title {
        font-size: 0.9rem;
    }
}


            .hs-container { position: relative; }
            .hs-scroll { display: flex; gap: 1rem; overflow-x: auto; scroll-behavior: smooth; padding: 0 3rem; }
            .hs-item { flex: 0 0 auto; width: 260px; }
            .hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
            .hs-arrow.left { left: 0.25rem; }
            .hs-arrow.right { right: 0.25rem; }
            @media (max-width: 576px) { .hs-item { width: 70vw; } }
            /* Ukuran logo tautan (diperkecil lagi) */
            .tautan-logo { height: 140px; object-fit: contain; }
            @media (max-width: 576px) { .tautan-logo { height: 100px; } }
        

/* Headline hero overlay styling */
.hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.0));
    color: #fff;
}
.hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
}
.hero-title a { color: #fff; }
.hero-title a:hover { text-decoration: underline; }


/* Sembunyikan scrollbar horizontal pada kontainer scroll untuk tampilan bersih */
#logoScroll { -ms-overflow-style: none; scrollbar-width: none; }
#logoScroll::-webkit-scrollbar { display: none; }


.contact-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.4);
}


 .requirements-list {
    padding-left: 1.25rem;
    margin: 0;
 }
 .requirements-list li {
    margin-bottom: 0.35rem;
    line-height: 1.6;
 }


.service-detail-image-wrapper {
    height: 240px;
    background: #ffffff;
    padding: 12px;
}
.service-detail-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
@media (max-width: 576px) {
    .service-detail-image-wrapper { height: 180px; padding: 10px; }
}
@media (min-width: 577px) and (max-width: 991.98px) {
    .service-detail-image-wrapper { height: 220px; }
}
@media (min-width: 992px) {
    .service-detail-image-wrapper { height: 240px; }
}


.service-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image-wrapper {
    height: 160px;
    background: #ffffff;
    padding: 12px;
}

.service-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Responsiveness for service image wrapper */
@media (max-width: 576px) {
    .service-image-wrapper { height: 120px; padding: 10px; }
}
@media (min-width: 577px) and (max-width: 991.98px) {
    .service-image-wrapper { height: 140px; }
}
@media (min-width: 992px) {
    .service-image-wrapper { height: 160px; }
}

.service-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}


.profil-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.profil-content h1, .profil-content h2, .profil-content h3, 
.profil-content h4, .profil-content h5, .profil-content h6 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.profil-content p {
    margin-bottom: 1.5rem;
}

.profil-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}

.profil-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

.profil-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.share-buttons {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
}

.list-group-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-color);
}

.card {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
}

.tautan-logo { height: 140px; object-fit: contain; }
.hero-overlay { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0)); color: #fff; }
.hero-title { font-size: 1.6rem; font-weight: 700; line-height: 1.3; }
.profil-content img, .berita-body img { max-width: 100%; height: auto; }

.navbar-nav .nav-link {
    font-size: 0.92rem;
    padding: 0.45rem 0.55rem;
}

.main-header .navbar-brand .brand-main,
.main-header .navbar-brand .brand-sub {
    font-size: 0.95rem;
    line-height: 1.15;
}

.nav-tools {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 0.15rem;
}

.nav-search-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #1e3a8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.nav-search-btn:hover,
.nav-search-btn:focus-visible {
    background: rgba(30, 58, 138, 0.08);
    color: #1e3a8a;
}

@media (min-width: 1400px) {
    .main-header .navbar-collapse {
        order: 1;
        flex-grow: 1;
    }

    .main-header .nav-tools {
        order: 2;
        margin-left: 0.35rem;
    }
}
