:root {
    --primary-color: #0ea5e9;
    --primary-hover: #0284c7;
    --secondary-color: #f59e0b;
    --secondary-hover: #d97706;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --text-color: #334155;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: #f1f5f9;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark-color);
}

/* Navbar Premium Glassmorphism */
.navbar {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--dark-color) !important;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Slide20.JPG') no-repeat center center;
    background-size: cover;
    z-index: -2;
    transform: scale(1.05);
    animation: zoomOut 15s ease-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: -1;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 span {
    color: var(--secondary-color);
    background: -webkit-linear-gradient(#f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 400;
    color: #e2e8f0;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease-out;
    max-width: 600px;
}

.hero-btns {
    animation: fadeInUp 1.4s ease-out;
}

.btn-hero-primary {
    background: var(--secondary-color);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.5);
    color: #fff;
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 35px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: #fff;
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    transition: transform 0.5s ease;
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.icon-box {
    background: var(--light-color);
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(14, 165, 233, 0.2);
}

.icon-box i {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Blog Section */
.blog {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-align: center;
}

.blog-card {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.blog-img-wrapper {
    overflow: hidden;
    position: relative;
}

.blog-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-color);
}

.blog-card .card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.blog-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.blog-card .card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-read-more {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-read-more:hover {
    color: var(--primary-hover);
    gap: 12px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #e2e8f0;
    padding: 70px 0 30px;
    position: relative;
}

footer .text-muted {
    color: #a0aec0 !important;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

footer h5 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 12px;
    color: #94a3b8;
}

.footer-contact i {
    width: 25px;
    display: inline-block;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Article Styles (Proportional & Reading Optimized) */
.article-header {
    padding: 150px 0 60px;
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
    text-align: center;
}

.article-header h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.article-content {
    padding: 40px 0 80px;
    background: #ffffff;
    border-radius: 20px;
    margin-top: -30px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 10;
}

.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #1e293b;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body h2 {
    font-size: 2rem;
    margin: 50px 0 25px;
    font-weight: 800;
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 35px 0 20px;
    font-weight: 700;
}

.article-main-img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 20px;
    max-height: 550px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.img-caption {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-style: italic;
}

/* TOC Dynamic Array */
.toc-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.toc-list {
    margin-top: 20px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.toc-list.active {
    display: block;
}

.toc-list ul {
    list-style-type: none;
    padding-left: 10px;
    margin-bottom: 0;
}

.toc-list li {
    margin-bottom: 12px;
}

.toc-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.toc-list a::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

.toc-list a:hover {
    color: var(--primary-color);
}

blockquote {
    border-left: 5px solid var(--primary-color);
    padding: 25px 30px;
    background: #f0f9ff;
    font-style: italic;
    font-size: 1.25rem;
    margin: 45px 0;
    border-radius: 0 15px 15px 0;
    color: #0c4a6e;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.05);
}

.promo-gif {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 50px auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Baca Juga */
.baca-juga {
    background: #fffbeb;
    padding: 25px;
    border-left: 5px solid var(--secondary-color);
    margin: 40px 0;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.05);
}

.baca-juga strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: #92400e;
    margin-bottom: 10px;
    display: block;
}

.baca-juga ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.baca-juga li {
    margin-bottom: 8px;
}

.baca-juga a {
    color: #b45309;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.baca-juga a:hover {
    color: #92400e;
    text-decoration: underline;
}

/* Accordion FAQ */
.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.accordion-button {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-color);
    background-color: #f8fafc;
    padding: 20px 25px;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #f0f9ff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-body {
    padding: 20px 25px;
    line-height: 1.7;
}

/* Author Profile */
.author-profile {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 30px;
    border-radius: 15px;
    margin: 60px 0 40px;
    border-left: 5px solid var(--dark-color);
}

.author-profile img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-right: 25px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.author-profile h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 40px;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 50px;
    color: white !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.share-fb {
    background: linear-gradient(135deg, #1877f2, #0c56b8);
}

.share-tw {
    background: linear-gradient(135deg, #1da1f2, #0d8bd6);
}

.share-wa {
    background: linear-gradient(135deg, #25d366, #1da851);
}

/* Floating Actions */
.fab-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white !important;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.fab:hover {
    transform: scale(1.1) translateY(-5px);
}

.fab-wa {
    background: linear-gradient(135deg, #25d366, #1da851);
}

.fab-wa:hover {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.fab-top {
    background: linear-gradient(135deg, var(--dark-color), #334155);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.fab-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-top.show:hover {
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomOut {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1);
    }
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 991px) {
    .navbar {
        background: rgba(255, 255, 255, 0.95) !important;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .article-header {
        padding: 120px 0 40px;
    }

    .article-header h1 {
        font-size: 2.2rem;
    }

    .article-body {
        font-size: 1.05rem;
    }

    .article-body h2 {
        font-size: 1.6rem;
    }

    .article-body h3 {
        font-size: 1.3rem;
    }

    blockquote {
        font-size: 1.1rem;
        padding: 20px;
    }

    .fab-container {
        bottom: 20px;
        right: 20px;
    }

    .fab {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        text-align: center;
    }

    .author-profile {
        flex-direction: column;
        text-align: center;
    }

    .author-profile img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}