* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #C41E3A;
    --dark-red: #8B0000;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-dark: #2C3E50;
    --text-gray: #6C757D;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(196, 30, 58, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.nav-link .arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .arrow {
    transform: rotate(180deg);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: 0.5rem;
}

.dropdown-item {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-red);
    padding-left: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== SLIDER ========== */
.slider-container {
    margin-top: 80px;
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.85) 0%, rgba(70, 0, 0, 0.90) 50%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: var(--white);
    max-width: 1000px;
    padding: 3rem;
    animation: slideContentFade 0.8s ease;
    margin-left: 5%;
}

.slide-content h2 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    letter-spacing: -2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.slide-content h2::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    width: 6px;
    height: 100%;
    background: var(--white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.8;
    font-weight: 300;
    max-width: 700px;
    opacity: 0.95;
}

.slide-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--white);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--white);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.slide-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-red);
    transition: left 0.4s ease;
    z-index: -1;
}

.slide-button:hover::before {
    left: 0;
}

.slide-button:hover {
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-nav:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 2rem;
}

.slider-nav.next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    width: 35px;
    border-radius: 10px;
}

.dot:hover {
    background: var(--white);
    transform: scale(1.2);
}

/* ========== BREADCRUMB (Detail Page) ========== */
.breadcrumb {
    margin-top: 100px;
    padding: 1rem 2rem;
    background: var(--white);
    border-bottom: 1px solid #E0E0E0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-red);
}

.breadcrumb span {
    color: var(--text-gray);
}

.breadcrumb .current {
    color: var(--primary-red);
    font-weight: 600;
}

/* ========== SECTIONS ========== */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

/* ========== PRODI GRID ========== */
.prodi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.prodi-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.prodi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.prodi-card:hover::before {
    transform: scaleX(1);
}

.prodi-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(196, 30, 58, 0.15);
    border-color: rgba(196, 30, 58, 0.2);
}

.prodi-featured {
    border: 2px solid var(--primary-red);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
}

.prodi-featured::before {
    transform: scaleX(1);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}
.prodi-featured .featured-badge {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.prodi-featured:hover .featured-badge {
    opacity: 1;
    transform: translateY(0);
}

.prodi-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(196, 30, 58, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.prodi-card:hover .prodi-icon {
    transform: rotateY(180deg) scale(1.1);
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
}

.prodi-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.prodi-card:hover .prodi-title {
    color: var(--primary-red);
}

.prodi-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.prodi-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.prodi-features li {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.prodi-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--white);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-red);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-align: center;
}

.prodi-button:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.3);
}

.prodi-featured .prodi-button {
    background: var(--primary-red);
    color: var(--white);
}

.prodi-featured .prodi-button:hover {
    background: var(--dark-red);
    transform: translateX(5px) scale(1.05);
}

.prodi-cta-button {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.prodi-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(90, 0, 0, 0.9),
            rgba(196, 30, 58, 0.9));
    transition: left 0.4s ease;
    z-index: 1;
}

.prodi-cta-button:hover::before {
    left: 0;
}

.prodi-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.5);
}

.prodi-cta-button span {
    position: relative;
    z-index: 2;
    color: var(--white);
}

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

.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid #F0F0F0;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-hover);
    z-index: 10;
    border-color: rgba(196, 30, 58, 0.3);
}

.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--light-gray), #E8E8E8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-red);
    overflow: hidden;
    transition: all 0.4s ease;
    border-bottom: 3px solid #F0F0F0;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover .card-image::after {
    opacity: 1;
}

.card:hover .card-image {
    transform: scale(1.1);
    border-bottom-color: rgba(196, 30, 58, 0.2);
}

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

.card-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-red);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: var(--primary-red);
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.read-more {
    color: #222;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.read-more::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #c0392b;
    transition: width 0.3s ease;
}

.read-more:hover {
    color: #c0392b;
}

.read-more:hover::after {
    width: 100%;
}

/* ========== ARTICLE CONTAINER (Detail Page) ========== */
.article-container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.article-header {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.article-category {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-gray);
    color: var(--text-gray);
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-icon {
    color: var(--primary-red);
    font-size: 1.1rem;
}

.featured-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #E0E0E0, #F0F0F0);
    border-radius: 15px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

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

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary-red);
}

.article-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 2rem 0 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-red);
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem 0;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    color: var(--text-dark);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.article-content blockquote {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-red);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-gray);
    border-radius: 5px;
}

.highlight-box {
    background: rgba(196, 30, 58, 0.05);
    border: 2px solid var(--primary-red);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: var(--primary-red);
    margin-top: 0;
}

.share-section {
    background: var(--white);
    padding: 2rem 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.share-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-btn.facebook {
    background: #1877F2;
    color: white;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.email {
    background: var(--text-gray);
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.related-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.related-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}


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

}

.related-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.related-card-category {
    font-size: 0.75rem;
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.related-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-card-title:hover {
    color: var(--primary-red);
}

.related-card-date {
    font-size: 0.85rem;
    color: var(--text-gray);
}



/* ========== BERITA PAGE ========== */
.berita-section {
    padding: 3rem 2rem 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.berita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.berita-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid #F0F0F0;
    position: relative;
    text-decoration: none;
}

.berita-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.berita-card:hover::before {
    transform: scaleX(1);
}

.berita-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(196, 30, 58, 0.3);
}

.berita-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--light-gray), #E8E8E8);
}

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

.berita-card:hover .berita-card-image img {
    transform: scale(1.1);
}

.berita-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-red);
    background: linear-gradient(135deg, var(--light-gray), #E8E8E8);
}

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

.berita-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-red);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.berita-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.berita-card:hover .berita-title {
    color: var(--primary-red);
}

.berita-excerpt {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.berita-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #F0F0F0;
}

.berita-date {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.berita-read-more {
    font-size: 0.9rem;
    color: var(--primary-red);
    font-weight: 600;
    transition: transform 0.3s ease;
}

.berita-card:hover .berita-read-more {
    transform: translateX(5px);
}

.no-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination-wrapper .pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.pagination-wrapper .page-item {
    margin: 0;
}

.pagination-wrapper .page-link {
    padding: 0.6rem 1rem;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
}

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

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

.pagination-wrapper .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--light-gray);
}

.pagination-wrapper .page-item.disabled .page-link:hover {
    background: var(--light-gray);
    color: var(--text-dark);
    transform: none;
}

/* ========== SECTION KERJA SAMA ========== */

/* ========== KERJA SAMA SECTION ========== */
.kerjasama-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Tab Navigation */
.kerjasama-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.kerjasama-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid #E0E0E0;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.kerjasama-tab i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.kerjasama-tab:hover {
    background: rgba(196, 30, 58, 0.1);
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.kerjasama-tab:hover i {
    transform: scale(1.2);
}

.kerjasama-tab.active {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    border-color: var(--primary-red);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.3);
}

.kerjasama-tab.active:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.partner-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.15);
    border-color: rgba(196, 30, 58, 0.2);
}

.partner-card.hidden {
    display: none;
}

.partner-logo {
    width: 120px;
    height: 120px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 3px solid #F0F0F0;
}

.partner-card:hover .partner-logo {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-info {
    width: 100%;
}

.partner-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: var(--primary-red);
}

.partner-type {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-red);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Statistics Section */
.kerjasama-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.05), rgba(196, 30, 58, 0.02));
    border-radius: 20px;
    padding: 3rem;
    margin-top: 2rem;
    border: 2px solid rgba(196, 30, 58, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.15);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.1), rgba(196, 30, 58, 0.05));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    transform: rotateY(180deg);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin: 0;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 968px) {
    .kerjasama-tabs {
        gap: 0.8rem;
    }

    .kerjasama-tab {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .kerjasama-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .kerjasama-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .kerjasama-tab {
        justify-content: center;
        width: 100%;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .kerjasama-stats {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .kerjasama-tab span {
        font-size: 0.85rem;
    }

    .partner-logo {
        width: 100px;
        height: 100px;
    }

    .partner-name {
        font-size: 1.1rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* ========== SECTION DIVIDER ========== */
.section-divider {
    position: relative;
    margin: 80px 0;
    text-align: center;
}

.section-divider::before,
.section-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 35%;
    height: 2px;
    background: linear-gradient(to right, transparent, #6b0f1a, transparent);
}

.section-divider::before {
    left: 0;
}

.section-divider::after {
    right: 0;
}

.divider-icon {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 50%;
    background: #6b0f1a;
    color: #f5d6d6;
    font-size: 20px;
    box-shadow: 0 0 0 6px rgba(107, 15, 26, 0.15);
}

/* ========== FOOTER ========== */
/* ========== FOOTER ========== */
footer {
    background: linear-gradient(135deg, var(--dark-red) 0%, #6b0f1a 100%);
    color: var(--white);
    padding: 4rem 2rem 0 2rem;
    margin-top: 4rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            transparent,
            var(--primary-red),
            var(--white),
            var(--primary-red),
            transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

/* Kolom 1: Info Kontak */
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.1rem;
    color: var(--white);
    margin-top: 0.2rem;
    min-width: 20px;
}

.info-item p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.info-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--white);
    text-decoration: underline;
}

.social-media {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.social-link i {
    font-size: 1rem;
}

/* Kolom 2: Link Terkait */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Kolom 3: Jam Operasional & Newsletter */
.operating-hours {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .day {
    font-weight: 600;
    color: var(--white);
}

.hours-item .time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hours-item.closed .time {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.newsletter {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.newsletter-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-red);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.4);
}

/* ========== RESPONSIVE FOOTER ========== */
@media (max-width: 968px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 1.5rem 0 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column:last-child {
        grid-column: auto;
    }

    .operating-hours {
        margin-bottom: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
        border-radius: 25px;
        height: 45px;
    }

    .footer-bottom {
        padding: 1.5rem 0;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-bottom-links span {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 1.1rem;
    }

    .social-media {
        gap: 0.8rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .operating-hours,
    .newsletter {
        padding: 1.2rem;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes slideContentFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
        align-items: stretch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 1rem 2rem;
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        background: rgba(196, 30, 58, 0.05);
        margin: 0;
        padding: 0;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 0.8rem 2.5rem;
        font-size: 0.9rem;
    }

    .slider-container {
        height: 500px;
    }

    .slide-content {
        margin-left: 0;
        text-align: center;
        padding: 2rem;
    }

    .slide-content h2 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .slide-content h2::before {
        display: none;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-nav.prev {
        left: 1rem;
    }

    .slider-nav.next {
        right: 1rem;
    }

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

    .prodi-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .prodi-card {
        padding: 2rem;
    }

    .prodi-title {
        font-size: 1.3rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .berita-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .berita-section {
        padding: 2rem 1.5rem 4rem 1.5rem;
    }

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

    .article-header,
    .article-content,
    .share-section,
    .related-section {
        padding: 2rem 1.5rem;
    }

    .featured-image {
        height: 300px;
    }

    .article-meta {
        gap: 1rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 0.95rem;
    }

    .slide-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .article-container {
        padding: 0 1rem;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .article-header,
    .article-content,
    .share-section,
    .related-section {
        padding: 1.5rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
        width: 100%;
    }

    .berita-grid {
        grid-template-columns: 1fr;
    }

    .berita-card-image {
        height: 200px;
    }

    .pagination-wrapper .page-link {
        padding: 0.5rem 0.8rem;
        min-width: 40px;
        font-size: 0.9rem;
    }
}