/*
 * CLEANED AND REFACTORED CSS (Orange Primary Theme)
 * =================================================
 * Table of Contents:
 * 1. Root Variables & Colors
 * 2. Global Utilities & Base Styles
 * 3. Buttons & CTAs
 * 4. Card & Hover Effects
 * 5. Sidebar Navigation
 * 6. Content Cards (Header & Body)
 * 7. Content Typography (Global)
 * 8. Ratings & Gallery
 * 9. Accordion & FAQ Styles
 * 10. Utilities & Specific Components
 * 11. Loader Overlay & Keyframes
 * 12. Responsive Design & Media Queries
 */

/* =========================================
 * 1. ROOT VARIABLES & COLORS 🎨
 * ========================================= */
:root {
    /* --- Primary Colors (Orange Palette) --- */
    --color-primary-orange: #fd7e14; /* Standard Orange */
    --color-dark-orange: #e86c0a; /* Darker Orange for Hover/Gradients */
    --color-light-orange: #ffe5d0; /* Lightest Orange for Backgrounds/Active states */
    --color-soft-orange: #fff4e6; /* Very soft orange for light backgrounds */
    --color-accent-gold: #fcb900; /* Gold Accent for Gallery/Ratings */
    --color-orange-legacy: #ff6600; /* Original legacy orange */

    /* --- Grayscale/Text Colors --- */
    --color-black: #000;
    --color-white: #fff;
    --color-text-dark: #212529; /* Strong text & Headings */
    --color-text-primary: #333; /* Main Body Text */
    --color-text-secondary: #495057; /* Secondary Text */
    --color-text-subtle: #6c757d; /* Muted Text */
    --color-light-gray: #f8f9fa; /* Soft backgrounds */
    --color-border-gray: #dee2e6; /* General borders */
    --color-border-subtle: #f0f0f0; /* Sidebar borders */

    /* --- Dimensions, Spacing & Transitions --- */
    --border-radius-base: 5px;
    --border-radius-large: 10px;
    --border-radius-extra-large: 1.5rem;
    --transition-speed: 0.3s;

    /* --- Shadows --- */
    --shadow-orange: rgba(253, 126, 20, 0.25);
    --shadow-soft: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-hover-card: rgba(0, 0, 0, 0.15);
    --shadow-lg-modern: 0 1rem 3rem rgba(0, 0, 0, 0.08);
}

/* =========================================
 * 2. GLOBAL UTILITIES & BASE STYLES 🌐
 * ========================================= */
.text-orange,
.text-primary-modern {
    color: var(--color-primary-orange) !important;
}
.bg-orange {
    background-color: var(--color-primary-orange) !important;
}
.border-orange {
    border: 1px solid var(--color-primary-orange) !important;
}
.bg-light-orange {
    background-color: #fff9f5;
}
.border-dashed-orange {
    border: 2px dashed var(--color-light-orange);
}
.badge.bg-orange {
    background-color: var(--color-primary-orange) !important;
    font-size: 0.75rem;
    font-weight: 600;
}
.z-2 {
    z-index: 2;
}
.shadow-lg {
    box-shadow: var(--shadow-lg-modern) !important;
}
.card {
    border-radius: var(--border-radius-large) !important;
}

/* Form Controls & Focus States */
.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: 2px solid #eee;
    border-radius: var(--border-radius-large);
    transition: all var(--transition-speed);
    height: auto;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary-orange);
    box-shadow: 0 0 0 4px var(--shadow-orange);
    outline: 0;
}
textarea.form-control {
    resize: none;
}
.input-group .form-control,
.input-group .btn {
    height: 48px;
}
#char-count {
    color: var(--color-orange-legacy);
    font-weight: 600;
}

/* Custom Search Input */
.custom-search-input {
    background-color: var(--color-soft-orange);
    border: 2px solid transparent;
    border-radius: 50rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    transition: all var(--transition-speed);
}
.custom-search-input:focus {
    background-color: var(--color-white);
    border-color: var(--color-primary-orange);
    box-shadow: 0 0 0 4px rgba(253, 126, 20, 0.1);
}

/* =========================================
 * 3. BUTTONS & CTAS 🖱️
 * ========================================= */
/* Base Orange Button (Solid) */
.btn-orange,
.btn-theme-orange,
.btn-primary-modern {
    background-color: var(--color-primary-orange);
    border-color: var(--color-primary-orange);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    transition: all var(--transition-speed) ease-in-out;
    border-radius: var(--border-radius-base);
    font-weight: 600;
}
.btn-orange:hover,
.btn-theme-orange:hover,
.btn-primary-modern:hover,
.btn-primary-modern:focus {
    background-color: var(--color-dark-orange);
    border-color: var(--color-dark-orange);
    color: var(--color-white);
    box-shadow: 0 5px 15px var(--shadow-orange);
    transform: translateY(-2px);
}

/* Outline Orange Button */
.btn-outline-orange,
.btn-outline-primary-modern {
    background-color: var(--color-white);
    color: var(--color-primary-orange);
    border: 1px solid var(--color-primary-orange);
    padding: 0.5rem 1rem;
    transition: all var(--transition-speed) ease-in-out;
    border-radius: var(--border-radius-base);
    font-weight: 600;
}
.btn-outline-orange:hover,
.btn-outline-primary-modern:hover {
    background-color: var(--color-primary-orange);
    color: var(--color-white);
}

/* Gradient Orange Button (Large CTAs) */
.btn-orange-gradient,
.btn-theme-primary {
    background: linear-gradient(45deg, var(--color-primary-orange), #ff9f43);
    color: var(--color-white);
    border: none;
    border-radius: 50rem;
    padding: 12px 35px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 15px var(--shadow-orange);
    display: inline-block;
}
.btn-orange-gradient:hover,
.btn-theme-primary:hover {
    background: linear-gradient(
        45deg,
        var(--color-dark-orange),
        var(--color-primary-orange)
    );
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(253, 126, 20, 0.4);
}

/* Text Link Button */
.btn-link-custom {
    color: var(--color-primary-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
    padding: 0;
    border: none;
    background: none;
}
.btn-link-custom:hover {
    color: var(--color-dark-orange);
}

/* Like Button & Nav Button */
.btn-like-custom {
    transition: all 0.3s ease;
    border-radius: 50px;
    font-weight: 600;
    min-width: 120px;
}
.btn-like-custom.liked {
    background-color: var(--color-primary-orange);
    border-color: var(--color-primary-orange);
    color: white;
}
.nav-btn-custom {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--color-primary-orange);
    color: var(--color-primary-orange);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.nav-btn-custom:hover {
    background: var(--color-primary-orange);
    color: white;
    transform: scale(1.1);
}

/* =========================================
 * 4. CARD & HOVER EFFECTS ✨
 * ========================================= */
.hover-card,
.gallery-card,
.news-card,
.content-card,
.fasilitas-card,
.file-card,
.video-card,
.info-box,
.testimoni-item-card {
    transition: all var(--transition-speed) ease-in-out;
    will-change: transform, box-shadow;
}
.hover-card:hover,
.gallery-card:hover,
.news-card:hover,
.content-card:hover,
.fasilitas-card:hover,
.file-card:hover,
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px var(--shadow-hover-card);
}
.info-box:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary-orange) !important;
    box-shadow: 0 5px 15px var(--shadow-soft);
    background-color: var(--color-light-gray);
    cursor: pointer;
}
.testimoni-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(253, 126, 20, 0.15);
    border-color: var(--color-light-orange);
}
.hover-shadow-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.1);
}

/* Base Styles for Cards */
.content-card,
.gallery-card,
.news-card,
.file-card,
.video-card {
    background: var(--color-white);
    border-radius: var(--border-radius-large);
    border: none;
    overflow: hidden;
}

/* =========================================
 * 5. SIDEBAR NAVIGATION 🧭
 * ========================================= */
.sidebar-nav-wrapper,
.sticky-sidebar {
    align-self: flex-start;
    position: sticky;
    top: 100px;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-extra-large);
    box-shadow: 0 8px 24px var(--shadow-soft);
    border: 2px solid var(--color-border-subtle);
}
.sticky-sidebar {
    top: 20px;
}

.nav-header {
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border-subtle);
}

.nav-link-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--color-light-gray);
    border: 2px solid transparent;
    border-radius: var(--border-radius-large);
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    text-align: left;
}
/* Left Orange Line Effect */
.nav-link-custom::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--color-primary-orange);
    transform: scaleY(0);
    transition: transform var(--transition-speed) ease;
}
.nav-link-custom:hover {
    background: var(--color-light-orange);
    border-color: var(--color-primary-orange);
    transform: translateX(5px);
}
.nav-link-custom:hover::before {
    transform: scaleY(1);
}
/* Active State */
.nav-link-custom.active {
    background: linear-gradient(
        135deg,
        var(--color-primary-orange) 0%,
        var(--color-dark-orange) 100%
    );
    color: var(--color-white);
    border-color: var(--color-primary-orange);
    box-shadow: 0 6px 20px var(--shadow-orange);
    transform: translateX(8px);
}
.nav-link-custom.active::before {
    transform: scaleY(1);
    background: var(--color-white);
}

/* Nav Icon */
.nav-link-custom .nav-icon {
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-speed) ease;
}
.nav-link-custom .nav-icon i {
    font-size: 1.25rem;
    color: var(--color-primary-orange);
    line-height: 1;
    display: block;
}
.nav-link-custom.active .nav-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
}
.nav-link-custom.active .nav-icon i {
    color: var(--color-white);
}

/* Nav Arrow */
.nav-link-custom .nav-arrow {
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    height: 100%;
}
.nav-link-custom:hover .nav-arrow,
.nav-link-custom.active .nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Tab Navigation Variant */
.custom-tab-nav .nav-link-custom {
    background-color: var(--color-white);
    color: var(--color-text-subtle);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 5px;
}
.custom-tab-nav .nav-link-custom:hover {
    background-color: var(--color-light-gray);
    color: var(--color-text-secondary);
    transform: none;
    border-color: transparent;
}
.custom-tab-nav .nav-link-custom.active {
    background-color: var(--color-primary-orange);
    color: var(--color-white);
    box-shadow: 0 4px 10px var(--shadow-orange);
    transform: none;
    border-color: var(--color-primary-orange);
}
.custom-tab-nav .nav-link-custom::before,
.custom-tab-nav .nav-link-custom.active::before {
    content: none;
}
.custom-tab-nav .nav-link-custom i {
    color: inherit;
}

/* =========================================
 * 6. CONTENT CARDS (Header & Body) 📄
 * ========================================= */
.content-card {
    box-shadow: 0 10px 30px var(--shadow-soft);
    animation: slideInUp 0.5s ease forwards;
    position: relative;
}

.content-card .card-header-custom {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-orange), #e36002);
    color: var(--color-white);
    padding: 2rem 2.5rem;
}
.content-card .card-header-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.content-card .card-body-custom {
    padding: 2.5rem;
    background: var(--color-white);
}

.content-card .card-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.content-card .card-icon i {
    font-size: 2rem;
    color: var(--color-white);
    opacity: 0.9;
    line-height: 1;
}

.single-section-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.tab-pane {
    animation: fadeIn 0.4s ease-in-out;
}

/* Header Specific Styles */
.divider-white {
    height: 4px;
    width: 80px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}
.header-bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 0;
}
.card-header-custom h2,
.card-header-custom p,
.card-header-custom .divider-white {
    position: relative;
    z-index: 1;
}

/* =========================================
 * 7. CONTENT TYPOGRAPHY (Global) 📖
 * ========================================= */
.content-wrapper {
    line-height: 1.8;
    color: var(--color-text-secondary);
}
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    color: var(--color-primary-orange);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.content-wrapper p {
    margin-bottom: 1.25rem;
    text-align: justify;
}
.content-wrapper ul,
.content-wrapper ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}
.content-wrapper li {
    margin-bottom: 0.75rem;
    position: relative;
}
/* Marker yang Keren */
.content-wrapper ul li::marker,
.content-wrapper ol li::marker {
    color: var(--color-primary-orange); /* Oranye! */
    font-weight: bold;
}
.content-wrapper strong {
    color: var(--color-text-dark);
    font-weight: 700;
}
.content-wrapper a {
    color: var(--color-primary-orange);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition-speed) ease;
}
.content-wrapper a:hover {
    border-bottom-color: var(--color-primary-orange);
}
.link-hover-orange:hover {
    color: var(--color-primary-orange) !important;
}
.content-wrapper blockquote {
    border-left: 4px solid var(--color-primary-orange);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-text-subtle);
    background: var(--color-light-gray);
    border-radius: 8px;
}
.content-wrapper table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}
.content-wrapper table th {
    background: var(--color-light-orange);
    color: var(--color-dark-orange);
    padding: 0.75rem;
    font-weight: 600;
    text-align: left;
}
.content-wrapper table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--color-border-gray);
}
.content-wrapper table tr:hover {
    background: var(--color-light-gray);
}

/* Content Body (Specific for Summernote/CMS output) */
.content-body {
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
    color: var(--color-text-primary);
}
.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--color-black);
}
.content-body a {
    color: var(--color-primary-orange);
    text-decoration: underline;
}
.content-body ul,
.content-body ol {
    list-style-type: inherit !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem;
}
.content-body li {
    margin-bottom: 0.5rem;
}
.content-body blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 1.1rem;
    border-left: 5px solid var(--color-primary-orange);
    background: #f9f9f9;
    font-style: italic;
}
.content-body img,
.content-body iframe,
.content-body video {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--border-radius-base);
    margin: 10px 0;
}
.content-body table {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse !important;
}
.content-body table th,
.content-body table td {
    padding: 0.75rem;
    vertical-align: top;
    border: 1px solid var(--color-border-gray);
}
/* Alignment Utilities */
.content-body .text-center {
    text-align: center !important;
}
.content-body .text-right {
    text-align: right !important;
}
.content-body .text-left {
    text-align: left !important;
}
.content-body .text-justify {
    text-align: justify !important;
}

/* =========================================
 * 8. RATINGS & GALLERY 🖼️
 * ========================================= */
.star-rating-wrapper {
    background: var(--color-white);
    border: 2px dashed var(--color-light-orange);
    border-radius: 12px;
    padding: 10px;
    display: inline-block;
}
.star-rating {
    font-size: 2rem;
    direction: rtl;
    unicode-bidi: bidi-override;
    display: inline-flex;
    gap: 0.5rem;
    line-height: 1;
}
.star-rating input {
    display: none;
}
.star-rating label {
    cursor: pointer;
    color: #e9ecef;
    transition: color 0.2s;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--color-accent-gold);
}
.stars-list i {
    color: #ffc107;
    margin-right: 2px;
}

/* Gallery Image/Wrapper */
.gallery-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}
.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.1);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Preview Icon/Buttons */
.preview-icon,
.overlay-btn {
    background-color: var(--color-accent-gold);
    color: var(--color-black);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-speed) ease-in-out;
    border: 2px solid var(--color-white);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.overlay-btn {
    width: 45px;
    height: 45px;
    margin: 0 5px;
    transform: translateY(20px);
    background: var(--color-white);
    color: var(--color-primary-orange);
    border: none;
}
.gallery-card:hover .overlay-btn {
    transform: translateY(0);
}
.preview-icon:hover,
.overlay-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 0 14px var(--color-black);
}
.fancybox-caption {
    max-width: 600px;
    text-align: left;
    padding: 20px;
}

/* =========================================
 * 9. ACCORDION & FAQ STYLES 💡
 * ========================================= */
.accordion-item-custom {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    margin-bottom: 10px;
}
.accordion-item-custom:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--color-light-orange);
}

.accordion-header-custom {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--color-white);
    border: none;
    text-align: left;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: all var(--transition-speed);
    cursor: pointer;
}
.accordion-header-custom .num {
    color: var(--color-primary-orange);
    font-weight: 800;
    font-size: 1.1rem;
}
.accordion-header-custom .icon-toggle {
    font-size: 0.9rem;
    color: #adb5bd;
    transition: transform var(--transition-speed) ease,
        color var(--transition-speed) ease;
}

/* Active State */
.accordion-header-custom:not(.collapsed) {
    background: #fff8f3;
    color: var(--color-primary-orange);
}
.accordion-header-custom:not(.collapsed) .icon-toggle {
    transform: rotate(45deg);
    color: var(--color-primary-orange);
}
.accordion-body-custom {
    padding: 0 1.25rem 1.25rem;
    background: #fff8f3;
}

/* Modern Accordion (Bootstrap Override) */
.custom-accordion-modern .accordion-item {
    border: 1px solid #e9ecef;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}
.custom-accordion-modern .accordion-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.custom-accordion-modern .accordion-button:not(.collapsed) {
    color: var(--color-primary-orange);
    background-color: var(--color-soft-orange);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}
.custom-accordion-modern .accordion-body {
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
}

/* =========================================
 * 10. UTILITIES & SPECIFIC COMPONENTS ⚙️
 * ========================================= */
/* Hero Section */
.hero-wrapper {
    background: var(--color-white);
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}
.hero-header {
    padding: 2rem 0;
}
.hero-header .divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--color-primary-orange),
        transparent
    );
    border-radius: 2px;
    margin-top: 1.5rem;
}
.hero-image-wrapper {
    transition: all var(--transition-speed) ease-in-out;
}
.hero-image-wrapper:hover {
    transform: scale(1.01);
}

/* Info Boxes */
.info-box {
    padding: 1.25rem;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.icon-circle-large,
.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}
.info-icon {
    width: 45px;
    height: 45px;
    background: var(--color-light-orange);
    color: var(--color-dark-orange);
    font-size: 1.25rem;
}
.info-box:hover .info-icon {
    background: var(--color-primary-orange);
    color: var(--color-white);
    padding: 0.8rem;
    border-radius: 8px;
    width: 45px;
    height: 45px;
}

/* Map */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 5px 15px var(--shadow-medium);
    height: 250px;
}

/* News/Blog */
.news-img-container {
    height: 220px;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    position: relative;
}
.news-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.news-card:hover .news-img-container img {
    transform: scale(1.08);
}
.category-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary-orange);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

/* File Card */
.file-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-soft-orange);
    transition: background var(--transition-speed);
}
.file-card:hover::before {
    background: var(--color-primary-orange);
}
.file-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--color-soft-orange);
    color: var(--color-primary-orange);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: transform var(--transition-speed);
}
.file-card:hover .file-icon-wrapper {
    transform: rotate(-10deg) scale(1.1);
    background: var(--color-primary-orange);
    color: var(--color-white);
}

/* Video Card */
.video-wrapper {
    position: relative;
    background: var(--color-black);
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
}
.video-wrapper iframe,
.video-wrapper video {
    border-radius: 1rem 1rem 0 0;
    transition: opacity 0.3s;
}
.video-title {
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* Team/Swiper */
.team-avatar-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(
        135deg,
        var(--color-primary-orange),
        var(--color-dark-orange)
    );
    box-shadow: 0 4px 15px var(--shadow-orange);
}
.team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--color-white);
    background-color: var(--color-white);
}
.team-position {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
}
.swiper-team {
    padding-bottom: 50px !important;
    padding-top: 20px !important;
    padding-left: 10px;
    padding-right: 10px;
}
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-primary-orange);
    background: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-primary-orange);
    color: var(--color-white);
    box-shadow: 0 6px 15px var(--shadow-orange);
}
.swiper-pagination-bullet-active {
    background-color: var(--color-primary-orange) !important;
}

/* Comments & Testimonials */
.comment-item {
    border-color: var(--color-light-gray) !important;
}
.delete-comment-btn:hover {
    text-decoration: underline !important;
}
.quote-badge {
    width: 35px;
    height: 35px;
    background: var(--color-light-orange);
    color: var(--color-dark-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimoni-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
}
.avatar-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-light-orange);
}
.avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Share Buttons */
.btn-share {
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-light-gray);
    color: var(--color-text-dark);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-share:hover {
    color: white;
    transform: scale(1.05);
}
.btn-share.whatsapp-color:hover {
    background-color: #25d366;
}
.btn-share.facebook-color:hover {
    background-color: #1877f2;
}
.btn-share.twitter-color:hover {
    background-color: #000;
}
.btn-share.telegram-color:hover {
    background-color: #0088cc;
}
.btn-share.linkedin-color:hover {
    background-color: #0a66c2;
}
.btn-share.primary-color:hover {
    background-color: var(--color-primary-orange);
}
.btn-share.instagram-color:hover {
    background-color: #e1306c;
    color: #fff;
}

.btn-share.tiktok-color:hover {
    background-color: #010101;
    color: #fff;
}

/* Contact List Styles */
.contact-list .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 10px;
    background-color: var(--color-light-gray);
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.contact-list .contact-item:hover {
    background-color: #e9ecef;
}

.contact-list .contact-item .icon-wrapper {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-list .contact-item.phone .icon-wrapper {
    background-color: #007bff;
}

.contact-list .contact-item.email .icon-wrapper {
    background-color: #dc3545;
}

.contact-list .contact-item.whatsapp .icon-wrapper {
    background-color: #25d366;
}

.contact-list .contact-item .btn-copy-contact {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-gray);
    cursor: pointer;
    opacity: 0;
    transition: var(--transition-fast);
    padding: 5px;
    font-size: 1.1rem;
}

.contact-list .contact-item:hover .btn-copy-contact,
.contact-list .contact-item .btn-copy-contact.copied {
    opacity: 1;
}

.contact-list .contact-item .btn-copy-contact.copied i {
    color: green;
}

/* =========================================
 * 11. LOADER OVERLAY & KEYFRAMES ⚙️
 * ========================================= */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity var(--transition-speed) ease,
        visibility var(--transition-speed);
}
.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-dots {
    display: flex;
    gap: 15px;
}
.loader-dots span {
    width: 15px;
    height: 15px;
    background-color: var(--color-primary-orange);
    border-radius: 50%;
    display: block;
    animation: bounce 0.6s infinite alternate;
}
.loader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}
.loader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
        opacity: 0.6;
    }
    100% {
        transform: translateY(-20px);
        opacity: 1;
    }
}
@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* =========================================
 * 12. RESPONSIVE DESIGN & MEDIA QUERIES 📱
 * ========================================= */

/* Tablet/Small Desktop (max-width: 991px) */
@media (max-width: 991px) {
    .sidebar-nav-wrapper,
    .sticky-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    .nav-link-custom {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    .nav-link-custom .nav-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }
    .nav-link-custom .nav-icon i {
        font-size: 1.1rem;
    }
}

/* Mobile Landscape/Small Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .hero-header h1 {
        font-size: 2rem;
    }
    .content-card .card-header-custom {
        padding: 1.5rem 1.5rem;
    }
    .content-card .card-body-custom {
        padding: 1.5rem;
    }
    .content-card .card-icon {
        width: 50px;
        height: 50px;
        top: 1.5rem;
        right: 1.5rem;
    }
    .content-card .card-icon i {
        font-size: 1.5rem;
    }
    .nav-link-custom {
        padding: 0.75rem;
    }

    /* ===============================
       FIX RESPONSIVE TABLE SUMMERNOTE
       =============================== */

    /* Bungkus tabel supaya tidak jebol card */
    .content-body,
    .content-wrapper {
        overflow-x: auto; /* scroll jika perlu */
        -webkit-overflow-scrolling: touch;
    }

    /* Tabel tampil sebagai block agar scroll horizontal aktif */
    .content-body table,
    .content-wrapper table {
        display: block;
        width: 100%;
        overflow-x: auto;
        border-collapse: collapse;
    }

    /* Sel tabel boleh membungkus teks, tidak meledak */
    .content-body table th,
    .content-body table td,
    .content-wrapper table th,
    .content-wrapper table td {
        white-space: normal; /* ❌ batal nowrap */
        word-break: break-word; /* ✔ teks panjang pecah rapi */
        padding: 8px;
    }
}

/* Mobile Portrait (max-width: 576px) */
@media (max-width: 576px) {
    .hero-header {
        padding: 1rem 0;
    }
    .sidebar-nav-wrapper,
    .sticky-sidebar {
        padding: 1rem;
    }
    .content-card .card-header-custom h3 {
        font-size: 1.25rem;
    }
    .content-wrapper {
        font-size: 0.95rem;
    }
}

/* Print Styles */
@media print {
    .sidebar-nav-wrapper,
    .sticky-sidebar {
        display: none;
    }
}
