/**
 * Klik Farmasi - Main CSS
 * File CSS utama yang menggabungkan semua style dengan optimasi Bootstrap
 */

/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #0b5e91;
    --secondary-color: #baa971;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --muted-color: #6c757d;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0b5e91 0%, #1a6fa0 100%);
    --gradient-secondary: linear-gradient(135deg, #baa971 0%, #d4c589 100%);
    --gradient-success: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background-color: var(--light-color);
    font-family: 'Open Sans', sans-serif;
    position: relative;
}

* {
    box-sizing: border-box;
}

.row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

.col, [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
:root {
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
}

/* Base Typography */
h1, h2, h3 {
    font-family: 'El Messiri', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: var(--text-4xl);
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

/* Paragraph Styles - Consistent across all pages */
p {
    font-family: 'Open Sans', sans-serif;
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: justify;
}

.lead {
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--muted-color);
    line-height: 1.6;
    text-align: center;
}

.text-muted {
    color: var(--muted-color) !important;
}

.text-dark {
    color: var(--dark-color) !important;
}

/* Mobile Typography */
@media (max-width: 768px) {
    h1 {
        font-size: var(--text-3xl);
    }

    h2 {
        font-size: var(--text-2xl);
    }

    h3 {
        font-size: var(--text-xl);
    }

    p, .lead {
        font-size: var(--text-sm);
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .display-5 {
        font-size: 1.75rem !important;
    }
}

/* Custom Button */
.btn-khusus {
    background: var(--gradient-primary);
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-khusus:hover {
    background: linear-gradient(135deg, #094d7a 0%, #155a8a 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Card Hover Effects */
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

/* ===== BERANDA STYLES ===== */
.revolutionary-hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background-new {
    background: linear-gradient(135deg, #0b5e91 50%, #1a6fa0 50%, #2c7bb8 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-overlay-new {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-visual-section {
    position: relative;
    z-index: 3;
}

.clean-carousel-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    padding: 0.3rem;
    width: 100%;
    max-width: 100%;
}

/* Bootstrap ratio handles carousel responsiveness */

.clean-carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #094d7a;
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--muted-color);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    margin-top: 1.5rem;
}

/* Feature Cards */
.enhanced-feature-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(11, 94, 145, 0.1);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.enhanced-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 94, 145, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    background: var(--gradient-primary);
    transition: var(--transition);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--muted-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    text-align: justify;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.feature-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* ===== ARTIKEL STYLES ===== */
.article-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: none;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.article-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.article-category span {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

.article-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--muted-color);
}

.article-excerpt {
    color: var(--muted-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-top: auto;
    transition: var(--transition);
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more:hover i {
    transform: translateX(4px);
}



.news-source i,
.news-date i {
    color: var(--primary-color);
}

.news-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-summary {
    color: var(--muted-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    padding: 0 1.5rem 1.5rem;
    margin-top: auto;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* ===== FAQ STYLES ===== */
.faq-section {
    background-color: var(--light-color);
}

.faq-search .input-group {
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-search .form-control {
    border: none;
    padding: 0.75rem 1rem;
    font-size: var(--text-base);
}

.faq-search .input-group-text {
    border: none;
    background: var(--white);
    color: var(--muted-color);
}

.custom-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.custom-accordion .accordion-button {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--text-base);
    padding: 1.25rem 1.5rem;
    border: none;
    border-radius: 0;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.custom-accordion .accordion-body {
    padding: 1.5rem;
    background: var(--white);
}

.custom-accordion .accordion-body p {
    margin-bottom: 0;
    color: var(--dark-color);
    line-height: 1.7;
}

/* ===== GUIDE/PETUNJUK STYLES ===== */
.guide-section {
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
}

.guide-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
    overflow: hidden;
}

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

.featured-card {
    border-left: 5px solid var(--primary-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: var(--text-xl);
}

.step-description {
    color: var(--muted-color);
    font-size: var(--text-base);
    line-height: 1.6;
}

.step-list {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.step-list li {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    line-height: 1.6;
}

.info-badge {
    background: rgba(11, 94, 145, 0.1);
    color: var(--primary-color);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: var(--text-sm);
    margin-top: 1rem;
}

/* ===== TEAM STYLES ===== */
.team-section {
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
}

.team-title {
    color: var(--primary-color);
    font-size: var(--text-4xl);
    margin-bottom: 1rem;
}

.team-subtitle {
    color: var(--muted-color);
    font-size: var(--text-lg);
    max-width: 600px;
    line-height: 1.6;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.supervisor-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: none;
    overflow: hidden;
    transition: var(--transition);
}

.supervisor-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.supervisor-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--text-sm);
    font-weight: 600;
}

.supervisor-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.supervisor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supervisor-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: var(--text-xl);
    margin-bottom: 0.5rem;
}

.supervisor-position {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: var(--text-base);
    margin-bottom: 1rem;
}

.supervisor-description {
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-member-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: none;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.member-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}

.member-id {
    color: var(--muted-color);
    font-size: var(--text-sm);
    margin-bottom: 1rem;
    text-align: center;
}

.member-description {
    color: var(--dark-color);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: 1rem;
}

.role-badge.leader {
    background: var(--gradient-primary);
    color: var(--white);
}

.role-badge.member {
    background: var(--gradient-secondary);
    color: var(--white);
}

.role-badge.programmer {
    background: var(--gradient-success);
    color: var(--white);
}

/* ===== DOWNLOAD STYLES ===== */
.download-section {
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
}

.download-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.download-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.download-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.download-card:hover .download-card-image img {
    transform: scale(1.05);
}

.download-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 94, 145, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.download-card:hover .download-overlay {
    opacity: 1;
}

.download-btn {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.download-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

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

.download-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: var(--text-lg);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.download-description {
    color: var(--muted-color);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    align-self: flex-start;
}

.btn-download:hover {
    background: linear-gradient(135deg, #094d7a 0%, #155a8a 100%);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .section-subtitle {
        font-size: var(--text-base);
    }

    .card-body {
        padding: 1.5rem 1rem;
    }

    .team-member-card {
        padding: 1.5rem;
    }

    .supervisor-card .card-body {
        padding: 1.5rem;
    }

    .guide-card .card-body {
        padding: 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-title {
        font-size: var(--text-lg);
    }
}

@media (max-width: 576px) {
    .enhanced-feature-card {
        padding: 1.5rem;
    }

    .article-content {
        padding: 1.25rem;
    }

    .news-card-header,
    .news-card-body,
    .news-card-footer {
        padding: 1rem;
    }

    .download-card-content {
        padding: 1.25rem;
    }
}

/* ===== ARTICLE SPECIFIC STYLES ===== */
.article-image-fixed {
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.article-image-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category-new {
    margin-bottom: 1rem;
}

.article-category-new span {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 600;
    display: inline-block;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-image-fixed {
        height: 250px;
    }
}

/* ===== SOCIAL ICONS ===== */
.social-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gradient-secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ===== PAGINATION ===== */
.pagination-wrapper .pagination {
    gap: 0.5rem;
}

.pagination-wrapper .page-link {
    border: none;
    border-radius: var(--border-radius);
    color: var(--primary-color);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.pagination-wrapper .page-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.pagination-wrapper .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== TESTIMONIAL STYLES ===== */
.testimonial-section {
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
}

.testimonial-card-desktop,
.testimonial-card-mobile {
    height: 100%;
}

.testimonial-card-desktop .card,
.testimonial-card-mobile .card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.testimonial-card-desktop:hover .card {
    transform: translateY(-5px);
}

.quote-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-color);
    line-height: 1.6;
    font-size: var(--text-base);
    text-align: center;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: var(--muted-color);
    font-size: var(--text-sm);
}

.testimonial-stars {
    margin-top: 0.5rem;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 0.75rem;
}

.testimonial-carousel-controls {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-carousel-controls:hover {
    background: #094d7a;
    transform: scale(1.1);
}

.testimonial-carousel-controls .carousel-control-prev-icon,
.testimonial-carousel-controls .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.testimonial-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: none;
    margin: 0 5px;
    opacity: 0.5;
    transition: var(--transition);
}

.testimonial-indicators button.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .testimonial-text {
        font-size: var(--text-sm);
    }

    .quote-icon {
        width: 40px;
        height: 40px;
    }
}

/* ===== EMPTY STATES ===== */
.empty-state {
    padding: 3rem 1rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--muted-color);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--muted-color);
    font-size: var(--text-lg);
    margin: 0;
}

--primary-color);
}

.news-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-summary {
    color: var(--muted-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.news-card-footer {
    padding: 0 1.5rem 1.5rem;
    margin-top: auto;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--secondary-color);
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(3px);
}

/* ===== TANYA JAWAB STYLES ===== */
.faq-section {
    background-color: var(--light-color);
    background-image: radial-gradient(#0d6efd10 1px, transparent 1px);
    background-size: 20px 20px;
}

.faq-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
}

.faq-group {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.custom-accordion .accordion-item {
    border: none;
    background-color: transparent;
    margin-bottom: 1rem;
}

.custom-accordion .accordion-button {
    background-color: var(--light-color);
    border-radius: 8px !important;
    font-weight: 600;
    padding: 1.25rem;
    color: #212529;
    box-shadow: none;
    font-size: 1.2rem;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
}

.custom-accordion .accordion-body {
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 0 0 8px 8px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted-color) !important;
}

/* ===== UNDUHAN STYLES ===== */
.download-section {
    background-color: var(--light-color);
    background-image: radial-gradient(#0d6efd10 1px, transparent 1px);
    background-size: 20px 20px;
}

.download-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
}

.download-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.download-card-image {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.download-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.download-card:hover .download-card-image img {
    transform: scale(1.05);
}

.download-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 94, 145, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card:hover .download-overlay {
    opacity: 1;
}

.download-btn {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.download-card:hover .download-btn {
    transform: scale(1);
    opacity: 1;
}

.download-card-content {
    padding: 1.5rem;
}

.download-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.download-description {
    color: var(--muted-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-download {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-download:hover {
    background-color: #084c75;
    color: var(--white);
}

/* ===== PENGINGAT STYLES ===== */
.main-card {
    border-radius: var(--border-radius-lg) !important;
    overflow: hidden;
    box-shadow: var(--shadow-md) !important;
}

.header-custom {
    background: var(--gradient-primary) !important;
    position: relative;
    overflow: hidden;
}

.section-header {
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.section-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(11, 94, 145, 0.25);
}

.btn-submit {
    background: var(--gradient-success);
    border: none;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    transition: var(--transition);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4);
}

/* ===== TIM PENGELOLA STYLES ===== */
.team-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-color) 100%);
}

/* Text alignment for team page */
.team-section .card-body p,
.team-section .supervisor-description {
    text-align: justify;
}

.team-section .section-subtitle,
.team-section .team-subtitle,
.team-section .member-description {
    text-align: center;
}

.team-header-icon,
.team-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(11, 94, 145, 0.3);
}

.team-header-icon i,
.team-icon i {
    font-size: 2rem;
    color: var(--white);
}

.team-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
}

.team-subtitle {
    color: var(--muted-color);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Supervisor Styles */
.supervisor-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(11, 94, 145, 0.1);
}

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

.supervisor-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.supervisor-badge span {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.supervisor-photo {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.supervisor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 94, 145, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.supervisor-photo:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    color: var(--white);
    font-size: 2rem;
}

.supervisor-info {
    padding: 0;
}

.supervisor-name {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.supervisor-position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.supervisor-description {
    color: var(--muted-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.supervisor-credentials {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.credential-badge {
    background: rgba(11, 94, 145, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.supervisor-contact {
    display: flex;
    gap: 0.75rem;
}

.contact-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.contact-btn.linkedin {
    background-color: #0077b5;
    color: var(--white);
}

.contact-btn.email {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Team Member Styles */
.team-member-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    position: relative;
    border: 1px solid rgba(11, 94, 145, 0.1);
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.member-photo-container {
    text-align: center;
    padding: 1.5rem 1.5rem 0;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.team-member-card:hover .member-photo {
    transform: scale(1.05);
}

.member-info {
    padding: 1rem 1.5rem 1.5rem;
    text-align: center;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.role-badge.leader {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #b8860b;
}

.role-badge.member {
    background: rgba(11, 94, 145, 0.1);
    color: var(--primary-color);
}

.role-badge.programmer {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: var(--white);
}

.member-name {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.member-id {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.member-description {
    color: var(--muted-color);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    text-align: center;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.social-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #e4405f, #f77737);
    color: var(--white);
}

.social-btn.email {
    background-color: var(--primary-color);
    color: var(--white);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ===== FLOATING BUTTONS ===== */
#backToTop {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1050;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background-color: #0b5684;
    transform: scale(1.1);
}

#whatsappButton {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

#whatsappButton:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
}

/* ===== MOBILE OVERFLOW FIXES ===== */
@media (max-width: 991.98px) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }

    .navbar-brand img {
        max-width: 140px !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .col, [class*="col-"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .revolutionary-hero-title {
        font-size: 2.5rem;
    }

    /* Bootstrap ratio handles mobile responsiveness */

    .section-title {
        font-size: 2rem;
    }

    .enhanced-feature-card {
        padding: 1.5rem;
    }

    .article-container {
        padding: 1.5rem !important;
    }

    .team-title {
        font-size: 2rem;
    }

    .supervisor-photo {
        width: 120px;
        height: 120px;
    }

    .member-photo {
        width: 100px !important;
        height: 100px !important;
    }

    #whatsappButton,
    #backToTop {
        right: 15px;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    #backToTop {
        bottom: 75px;
    }

    #whatsappButton {
        bottom: 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .navbar-brand img {
        max-width: 120px !important;
    }

    .revolutionary-hero-title {
        font-size: 2rem;
    }

    /* Bootstrap ratio handles small screen responsiveness */

    .section-title {
        font-size: 1.8rem;
    }

    .enhanced-feature-card {
        padding: 1rem;
    }

    .member-photo {
        width: 90px !important;
        height: 90px !important;
    }

    .col, [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ===== PETUNJUK STYLES ===== */
.guide-section {
    background: linear-gradient(135deg, var(--light-color) 0%, #e9ecef 100%);
    min-height: 100vh;
}

.guide-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: none;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.featured-card {
    border-left: 4px solid var(--primary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    box-shadow: 0 3px 10px rgba(11, 94, 145, 0.3);
}

.step-number span {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.step-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.step-description {
    color: var(--muted-color);
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.5;
    background: rgba(11, 94, 145, 0.05);
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
}

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

.step-list li {
    padding: 0.4rem 0;
    color: #495057;
    font-size: 0.85rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
}

.step-list.numbered {
    counter-reset: step-counter;
}

.step-list.numbered li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 1.75rem;
}

.step-list.numbered li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 18px;
    height: 18px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.info-badge {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--primary-color);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-top: 0.75rem;
    border: 1px solid rgba(11, 94, 145, 0.2);
}

/* ===== ARTIKEL GRID STYLES ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.article-item {
    display: flex;
    flex-direction: column;
}

.article-image-fixed {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-category-new {
    padding-bottom: 10px;
    z-index: 2;
}

.article-category-new span {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

/* ===== FAQ STYLES ===== */
.faq-search .input-group {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    overflow: hidden;
}

.faq-search .input-group-text,
.faq-search .form-control {
    border-color: #e9ecef;
    padding: 0.75rem 1.25rem;
}

.faq-search .form-control:focus {
    box-shadow: none;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-link {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--light-color);
    border-radius: 8px;
    color: #212529;
    text-decoration: none;
    transition: var(--transition);
}

.quick-link:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.still-have-questions {
    background-color: #e9f2ff;
    border-left: 5px solid var(--primary-color);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    /* color: var(--primary-color); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== PAGINATION STYLES ===== */
.pagination-wrapper {
    margin: 2rem 0;
}

.pagination-wrapper .pagination {
    margin: 0;
    gap: 0.25rem;
}

.pagination-wrapper .page-link {
    border: 2px solid #e9ecef;
    color: var(--primary-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.pagination-wrapper .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.pagination-wrapper .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11, 94, 145, 0.3);
}

.pagination-wrapper .page-item.disabled .page-link {
    color: var(--muted-color);
    background-color: var(--light-color);
    border-color: #e9ecef;
    cursor: not-allowed;
}

.pagination-wrapper .page-item.disabled .page-link:hover {
    transform: none;
    background-color: var(--light-color);
    border-color: #e9ecef;
    color: var(--muted-color);
}

/* ===== EMPTY STATE STYLES ===== */
.empty-state {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #094d7a;
    border-color: #094d7a;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ===== LAZY LOADING STYLES ===== */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: var(--light-color);
}

.lazy-image.loaded {
    opacity: 1;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.fonts-loaded h1,
.fonts-loaded h2,
.fonts-loaded h3 {
    font-family: 'El Messiri', sans-serif;
}

.fonts-loaded h4,
.fonts-loaded h5,
.fonts-loaded p,
.fonts-loaded .btn-khusus {
    font-family: 'Open Sans', sans-serif;
}

img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

section:not(:first-of-type) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px;
}

.card,
.article-image img {
    will-change: transform;
}

/* ===== PRINT STYLES ===== */
@media print {

    .navbar,
    .footer,
    .btn,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators,
    #backToTop,
    #whatsappButton {
        display: none !important;
    }

    body {
        font-size: 12pt !important;
        line-height: 1.4 !important;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }

    .card {
        border: 1px solid #000 !important;
        page-break-inside: avoid;
    }
}