:root {
            --primary-color: #05654F;
            --secondary-color: #CF6105;
            --accent-color: #EC6B00;
            --light-color: #F8F9FA;
            --dark-color: #212529;
            --gradient-primary: linear-gradient(135deg, #05654F 0%, #0A8F6F 100%);
            --gradient-secondary: linear-gradient(135deg, #CF6105 0%, #EC6B00 100%);
        }

        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            overflow-x: hidden;
            color: var(--dark-color);
        }


        

        /* Navbar Styles */

        .navbar {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            background: rgba(255, 255, 255, 0.98) !important;
            box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
            padding: 12px 0;
        }
        

        .navbar.scrolled {
            padding: 8px 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .navbar-brand img {
            height: 40px;
            transition: all 0.3s;
        }

        .nav-link {
            font-weight: 500;
            color: var(--dark-color) !important;
            padding: 8px 16px !important;
            margin: 0 4px;
            border-radius: var(--card-radius);
            position: relative;
        }

        .nav-link:hover,
        .nav-link:focus {
            color: var(--primary-color) !important;
        }

        .nav-link.active {
            color: var(--primary-color) !important;
            font-weight: 600;
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 16px;
            width: calc(100% - 32px);
            height: 3px;
            background: var(--primary-color);
            border-radius: 3px;
        }

        .dropdown-menu {
            border: none;
            border-radius: 0.75rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            padding: 0.5rem;
        }

        .dropdown-item {
            border-radius: 0.5rem;
            padding: 0.5rem 1rem;
            transition: all 0.2s ease;
        }

        /* Hero Section */
        .hero {
            background: var(--gradient-primary),
                url('<?php echo base_url() ?>assets/admin/hero-bg.webp');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            min-height: 90vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            color: white;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
        }

        .hero-content {
            position: relative;
            z-index: 10;
        }

        .hero-title {
            font-weight: 800;
            font-size: clamp(2.5rem, 5vw, 4rem);
            line-height: 1.2;
            margin-bottom: 24px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .hero-subtitle {
            font-size: 1.25rem;
            opacity: 0.9;
            margin-bottom: 2rem;
            max-width: 600px;
        }

        /* Login Card */
        .login-card {
            border: none;
            border-radius: var(--card-radius);
            box-shadow: var(--shadow-md);
            overflow: hidden;
            transition: transform 0.4s, box-shadow 0.4s;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
        }

        .login-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .login-card-header {
            background: var(--gradient-primary);
            color: white;
            padding: 1.5rem;
            text-align: center;
            position: relative;
        }

        .login-card-header::after {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            border-top: 20px solid var(--primary-color);
        }

        .login-card-body {
            padding: 2rem;
        }

        .form-control {
            border-radius: 0.5rem;
            padding: 0.75rem 1rem;
            border: 1px solid #dee2e6;
        }

        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(5, 101, 79, 0.25);
        }

        .btn-primary {
            background: var(--gradient-primary);
            border: none;
            padding: 0.75rem;
            font-weight: 500;
            border-radius: 0.5rem;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(5, 101, 79, 0.4);
        }

        /* Stats Section */
        .stats-section {
            background: url('<?php echo base_url() ?>assets/web/stats-bg.webp');
            background-size: cover;
            background-attachment: fixed;
            padding: 5rem 0;
            position: relative;
            color: white;
        }

        .stats-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.9);
        }

        .stat-card {
            text-align: center;
            padding: 2rem;
            position: relative;
            z-index: 2;
            border-radius: var(--card-radius);
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .stat-card:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
        }

        /* Effect on Icons */
        .stat-card i {
            font-size: 4rem;
            transition: transform 0.3s, color 0.3s;
            color: rgb(11, 113, 75);
            /* Default Icon Color */
        }

        .stat-card i:hover {
            transform: scale(1.2);
            /* Icon scaling on hover */
            color: rgb(10, 96, 50);
            /* Darker blue on hover */
        }

        /* Counter Text */
        .counter {
            font-size: 3.5rem;
            font-weight: 700;
            color: rgb(13, 86, 45);
            font-family: 'Inter', sans-serif;
            margin: 1rem 0;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .stat-card {
                padding: 1.5rem;
            }

            .stat-card i {
                font-size: 3.5rem;
            }

            .counter {
                font-size: 2.5rem;
            }
        }

        /* News Section */
        .news-section {
            padding: 5rem 0;
            background-color: white;
        }

        .section-title {
            font-weight: 700;
            margin-bottom: 3rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--gradient-primary);
        }

        .news-card {
            border: none;
            border-radius: var(--card-radius);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: all 0.4s;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .news-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }

        .news-img {
            height: 200px;
            object-fit: cover;
            width: 100%;
        }

        .news-date {
            font-size: 0.875rem;
            color: #6c757d;
        }

        .news-title {
            font-weight: 600;
            margin: 0.5rem 0;
            color: var(--dark-color);
        }

        .news-excerpt {
            color: #6c757d;
            margin-bottom: 1rem;
            flex-grow: 1;
        }

        .news-btn {
            border-radius: 2rem;
            padding: 0.5rem 1.5rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        /* Teacher Carousel */
        .teachers-section {
            padding: 3rem 0;
            background-color: var(--light-color);
        }

        .teacher-carousel {
            padding: 2rem 0;
        }

        .teacher-img {
            height: 120px;
            width: 120px;
            object-fit: cover;
            border-radius: 50%;
            border: 3px solid white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin: 0 auto;
            transition: all 0.3s ease;
        }

        .teacher-img:hover {
            transform: scale(1.1);
        }


        /* Enhanced Toast Styles */
        #toast-container>.toast {
            border-radius: 12px !important;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
            border: none !important;
            background-image: none !important;
            opacity: 1 !important;
            padding: 15px !important;
        }

        #toast-container>.toast-success {
            background-color: #05654F !important;
            /* Warna primary Anda */
        }

        #toast-container>.toast-error {
            background-color: #F44336 !important;
            /* Warna error */
        }

        .toast-title {
            font-weight: 600 !important;
            font-size: 1rem !important;
            color: white !important;
            margin-bottom: 5px !important;
        }

        .toast-message {
            font-size: 0.9rem !important;
            color: rgba(255, 255, 255, 0.9) !important;
            line-height: 1.4 !important;
        }

        .toast-close-button {
            color: white !important;
            opacity: 0.8 !important;
            font-size: 1.2rem !important;
            position: relative !important;
            top: -2px !important;
            right: -5px !important;
        }

        .toast-progress {
            height: 3px !important;
            background: rgba(255, 255, 255, 0.3) !important;
        }

        /* Footer */
        .footer {
            background: var(--gradient-primary);
            color: white;
            padding: 4rem 0 2rem;
            position: relative;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 20px;
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
        }

        .footer-logo {
            height: 50px;
            margin-bottom: 1.5rem;
        }

        .footer-links h5 {
            font-weight: 600;
            margin-bottom: 1.5rem;
            position: relative;
        }

        .footer-links h5::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 40px;
            height: 2px;
            background: white;
        }

        .footer-links ul {
            list-style: none;
            padding-left: 0;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            margin-right: 0.75rem;
            color: white;
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            background-color: white;
            color: var(--primary-color);
            transform: translateY(-3px);
        }

        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 1.5rem;
            margin-top: 2rem;
            font-size: 0.875rem;
            opacity: 0.8;
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .hero {
                min-height: auto;
                padding: 5rem 0;
            }

            .hero-title {
                font-size: 2rem;
            }

            .login-card {
                margin-top: 2rem;
            }
        }

        @media (max-width: 576px) {
            .navbar-brand img {
                height: 30px;
            }

            .hero-title {
                font-size: 1.75rem;
            }

            .counter {
                font-size: 2rem;
            }
        }

        /* Animations */
        .fade-in {
            animation: fadeIn 1s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        .float {
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-15px);
            }

            100% {
                transform: translateY(0px);
            }
        }

/* Book Section Styles */
.book-section {
    padding: 60px 0;
    background: var(--light-color);
}

.book-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.book-header {
    text-align: center;
    margin-bottom: 40px;
}

.book-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.book-subtitle {
    color: var(--dark-color);
    font-size: 1rem;
    opacity: 0.7;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.book-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.book-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.book-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    z-index: 0;
    opacity: 0;
    border-radius: 14px;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.book-card:hover .book-glow {
    opacity: 0.2;
}

.book-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.book-cover {
    background: var(--gradient-primary);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.book-icon {
    width: 72px;
    height: 72px;
}

.book-icon svg {
    width: 100%;
    height: 100%;
}

.download-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.book-actions {
    position: absolute;
    bottom: 8px;
    right: 8px;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--dark-color);
}

.book-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}
.book-info {
    margin-top: auto;
}

.book-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    opacity: 0.7;
}

.book-format {
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
}

.book-meta svg {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.book-year {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Pagination Styles */
.pagination-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background: rgba(0, 132, 255, 0.1);
    color: #0084ff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 132, 255, 0.2);
}

.page-link:hover {
    background: rgba(0, 132, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.1);
}

.page-link.current {
    background: linear-gradient(135deg, #00f0ff, #0084ff);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.2);
}

.page-link.dots {
    background: transparent;
    border: none;
    width: auto;
    color: #666;
}

.page-link.prev,
.page-link.next {
    width: auto;
    padding: 0 1rem;
}

.page-link.prev svg,
.page-link.next svg {
    width: 1.2rem;
    height: 1.2rem;
}

        