/* Global Styles */
:root {
    --primary-color: #2c786c;
    --secondary-color: #004445;
    --accent-color: #f8b400;
    --light-color: #faf5e4;
    --dark-color: #333;
    --gray-color: #777;
    --light-gray: #f5f5f5;
    --white: #fff;
    --black: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    /* align-items: center; */
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 15px;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: #e0a800;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info a {
    margin-right: 20px;
    color: var(--white);
}

.contact-info i {
    margin-right: 5px;
    color: var(--white);
}

.auth-links a {
    color: var(--white);
}

nav {
    padding: 15px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 5px;
}

.navbar-brand img {
        height: 90px;
    }
    
.logo h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

/*.nav-links {*/
/*    display: flex;*/
/*    list-style: none;*/
/*}*/

/*.nav-links li {*/
/*    margin-left: 30px;*/
/*}*/

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Ganti semua style untuk hamburger dan nav-links dengan ini */

/* Style default untuk desktop - sembunyikan hamburger */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

/* Style untuk tampilan mobile/tablet */
@media (max-width: 992px) {
    /* Tampilkan hamburger */
    .logo h1 {
        color: var(--primary-color);
        font-size: 16px;
        font-weight: 700;
    }
    
    .navbar-brand img {
        height: 70px;
    }
    .hamburger {
        display: block;
        font-size: 24px;
        cursor: pointer;
        z-index: 1002;
    }
    
    /* Style untuk nav-links */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 60px;
        transition: right 0.4s ease-in-out;
        z-index: 1001;
        box-shadow: -3px 0 10px rgba(0,0,0,0.15);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
    }
    
    .nav-links li a {
        display: block;
        padding: 15px 30px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Style untuk overlay saat menu terbuka */
    .nav-links.active::before {
        /*content: '';*/
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    /* Style untuk tombol close */
    .close-btn-container {
        display: block;
        position: absolute;
        top: 15px;
        right: 25px;
    }
    .close-btn {
        display: block;
        font-size: 36px;
        color: #333;
        cursor: pointer;
        line-height: 1;
        background: none;
        border: none;
        padding: 0;
    }

    /* Style untuk overlay */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0s 0.4s;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.4s ease;
    }
}

/* Dropdown Menu Styles */
.nav-links li {
    position: relative;
}

/* Style untuk dropdown */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-links .dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Submenu styles */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    padding: 10px 0;
}

.nav-links .dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu li {
    margin: 0;
    padding: 0;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.submenu a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Responsive styles untuk dropdown di mobile */
@media (max-width: 992px) {
    .nav-links .dropdown > a::after {
        position: absolute;
        right: 90px;
    }
    
    .submenu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-left: 20px;
        background-color: rgba(0,0,0,0.02);
    }
    
    .nav-links .dropdown:hover .submenu,
    .nav-links .dropdown.active .submenu {
        display: block;
    }
    
    .submenu a {
        padding: 10px 30px;
    }
    
    .submenu a:hover {
        padding-left: 35px;
    }
}

/* Mencegah body scroll saat menu terbuka */
body.nav-open {
    overflow: hidden;
}


/* Style untuk tampilan desktop */
/*@media (max-width: 576px) {*/
/*    .hamburger {*/
/*        display: block ;*/
/*    }*/
    
/*    .nav-links {*/
/*        display: flex;*/
/*        justify-content: space-around;*/
/*        align-items: center;*/
/*        width: 50%;*/
/*    }*/
/*}*/

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 68, 69, 0.8), rgba(0, 68, 69, 0.8)), url('../images/masjid-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Programs Section */
.programs {
    padding: 80px 0;
    background-color: var(--white);
}

.programs h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--secondary-color);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.program-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Scholarship Section */
.scholarship {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.scholarship h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.scholarship p {
    margin-bottom: 30px;
    font-size: 18px;
}

/* Events Section */
.featured-events {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.featured-events h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 28px;
    color: var(--secondary-color);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.event-btn a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    alignment-baseline: center;
}

.event-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.event-card .speaker {
    color: var(--gray-color);
    font-style: italic;
    margin-bottom: 15px;
}

.event-card .date, .event-card .location {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.event-card i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Events Page */
.events-page .events-header {
    background: linear-gradient(rgba(0, 68, 69, 0.8), rgba(0, 68, 69, 0.8)), url('../images/event-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.events-page .events-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.events-filter {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.events-filter form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.events-filter select, .events-filter input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    flex: 1;
    min-width: 200px;
}

.event-card-large {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.event-card-large .event-info {
    padding: 30px;
    flex: 1;
    min-width: 300px;
}

.event-card-large .event-actions {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    background-color: var(--light-gray);
    min-width: 200px;
}

.event-card-large h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.event-card-large .speaker {
    color: var(--gray-color);
    font-style: italic;
    margin-bottom: 15px;
}

.event-card-large .description {
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.event-meta span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--gray-color);
}

.event-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.no-results {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: var(--gray-color);
}

/* Registration Page */
.registration-page .registration-header {
    background: linear-gradient(rgba(0, 68, 69, 0.8), rgba(0, 68, 69, 0.8)), url('../images/scholarship-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.registration-page .registration-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.registration-page .registration-header p {
    font-size: 18px;
}

.registration-form {
    padding: 60px 0;
}

.registration-form .container {
    max-width: 800px;
}

.alert {
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 0;
    text-align: justify;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--light-color);
    text-align: left;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-contact a {
    margin-right: 10px;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* Responsive Styles */
/*@media (max-width: 992px) {*/
/*    .nav-links {*/
/*        display: none;*/
/*    }*/
    
/*    .hamburger {*/
/*        display: block;*/
/*    }*/
    
/*    .hero h1 {*/
/*        font-size: 36px;*/
/*    }*/
    
/*    .hero p {*/
/*        font-size: 18px;*/
/*    }*/
/*}*/

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info {
        text-align: left;
    }
    
    .event-card-large {
        flex-direction: column;
    }
    
    .event-card-large .event-actions {
        flex-direction: row;
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .event-grid {
        grid-template-columns: 1fr;
    }
}
/* About Page Styles */

.about-layout {
    display: flex;
    gap: 40px;
}

.about-content {
    flex: 1;
}

.teachers-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* .about-header h1 {
    color: var(--secondary-color);
    font-size: 32px;
    margin-bottom: 10px;
}

.about-header .tagline {
    font-size: 18px;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 30px;
} */

.about-description p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-section {
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-info-tentang p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info-tentang i {
    margin-right: 10px;
    /*color: var(--white);*/
}

/* Untuk Tentang Page */
.about-page .about-header {
    background: linear-gradient(rgba(0, 68, 69, 0.8), rgba(0, 68, 69, 0.8)), url('../images/Bagian Tentang.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0; /* Ini yang membuat tinggi sama dengan kajian-header */
    margin-bottom: 40px;
    min-height: 300px; /* Tambahkan ini untuk memastikan tinggi minimum */
    display: flex;
    align-items: center;
    height: 400px;
}

.about-page .about-header h1,
.about-page .about-header .tagline {
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.about-page .about-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-page .about-header .tagline {
    font-size: 1.2rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .kajian-header, 
    .about-page .about-header {
        padding: 60px 0;
        height: auto;
        min-height: 300px;
    }
    
    .about-page .about-header h1 {
        font-size: 2rem;
    }
    
    .about-page .about-header .tagline {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .kajian-header, 
    .about-page .about-header {
        padding: 60px 0;
    }
    
    .about-page .about-header h1 {
        font-size: 1.8rem;
    }
}

/* Horizontal Teacher List */
.teacher-list-horizontal {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.teacher-list-horizontal .teacher-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    text-align: left;
    padding: 15px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.teacher-list-horizontal .teacher-photo {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
    flex-shrink: 0;
    border-radius: 5%;
    object-fit: cover;
    border: 3px solid #ddd;
}

.teacher-list-horizontal .teacher-info {
    flex: 1;
}

.teacher-list-horizontal .teacher-item h4 {
    margin-bottom: 5px;
    font-size: 16px;
    color: var(--secondary-color);
}

.teacher-list-horizontal .teacher-item .title,
.teacher-list-horizontal .teacher-item .specialization {
    font-size: 13px;
    margin-bottom: 3px;
}

.teacher-list-horizontal .teacher-item .specialization {
    background-color: transparent;
    padding: 0;
    color: var(--primary-color);
}

/* Hover effect */
.teacher-list-horizontal .teacher-item:hover {
    transform: translateX(5px);
    background-color: var(--primary-color);
}

.teacher-list-horizontal .teacher-item:hover h4,
.teacher-list-horizontal .teacher-item:hover .title,
.teacher-list-horizontal .teacher-item:hover .specialization {
    color: white;
}

/* Teachers Sidebar */
.teachers-sidebar h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.teachers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.teacher-item {
    /* width: 200px;
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.teacher-photo {
    width: 100px;
    height: 100px;
    border-radius: 5%;
    object-fit: cover;
    border: 3px solid #ddd;
    margin-bottom: 15px;
    /* overflow: hidden; */
}

.teacher-item:hover {
    background-color: var(--primary-color);
    transform: translateX(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.teacher-item:hover h4,
.teacher-item:hover .title,
.teacher-item:hover .specialization {
    color: white;
}

.teacher-item a {
    color: inherit;
}

.teacher-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.teacher-item .title {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 8px;
    font-style: italic;
}

.teacher-item .specialization {
    font-size: 14px;
    color: var(--primary-color);
    background-color: rgba(44, 120, 108, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Leadership Section */
.leadership-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.leadership-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.leader-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.leader-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.leader-card .position {
    color: var(--gray-color);
    font-style: italic;
}

/* Guru Page Styles */
.guru-page {
    padding: 60px 0;
}

.guru-layout {
    display: flex;
    gap: 40px;
}

.guru-content {
    flex: 1;
}

.guru-header h1 {
    color: var(--secondary-color);
    font-size: 28px;
    margin-bottom: 10px;
}

.guru-header .title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-style: italic;
}

.guru-header .position {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.guru-image {
    float: left;
    margin: 0 30px 20px 0;
    width: 250px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.guru-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guru-bio, .guru-detail, .guru-specialization {
    margin-bottom: 30px;
}

.guru-bio h2, .guru-detail h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.guru-bio p, .guru-detail p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.guru-specialization {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 10px;
}

.guru-specialization h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-layout, .guru-layout {
        flex-direction: column;
    }
    
    .teachers-sidebar {
        width: 100%;
        margin-top: 40px;
    }

    .teachers-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .teacher-list-horizontal .teacher-item {
        /* width: 570px; */
        width: auto;
    }
}

@media (max-width: 768px) {
    .guru-image {
        float: none;
        margin: 0 auto 30px;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .teachers-list {
        grid-template-columns: 1fr;
    }
    
    .teacher-photo {
        width: 100px;
        height: 100px;
    }
}


/* Teachers Grid Layout */
/* .teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
} */

/* .teacher-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
} */

.teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* .teacher-card:hover .teacher-photo img {
    transform: scale(1.05);
} */

/* .teacher-info {
    padding: 15px;
    text-align: center;
}

.teacher-info h4 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 5px;
} */

.teacher-title {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 500;
}

.teacher-spec {
    color: var(--gray-color);
    font-size: 13px;
    font-style: italic;
}

/* Responsive */
/* @media (max-width: 768px) {
    .teachers-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .teachers-grid {
        grid-template-columns: 1fr;
    }
} */



/* Kajian Page Styles */
.kajian-page {
    padding-bottom: 60px;
}

.kajian-header {
   background: linear-gradient(rgba(0, 68, 69, 0.8), rgba(0, 68, 69, 0.8)), url('../images/Bagian Kajian.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.kajian-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.kajian-header p {
    font-size: 18px;
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.kajian-header .description {
    font-style: italic;
    opacity: 0.9;
}

.kajian-filter {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.kajian-filter form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.kajian-filter select, 
.kajian-filter input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    flex: 1;
    min-width: 200px;
}

.kajian-list div {
    margin-top: 30px;
}

.kajian-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.kajian-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    /* margin-bottom: 30px; */
}

.kajian-card:hover {
    transform: translateY(-5px);
}

.kajian-tags {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.kajian-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.kajian-card .speaker {
    color: var(--gray-color);
    font-style: italic;
    margin-bottom: 15px;
}

.kajian-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    font-size: 14px;
}

.kajian-meta span {
    display: flex;
    align-items: center;
}

.kajian-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.no-results {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: var(--gray-color);
    grid-column: 1 / -1;
}

/* Detail Kajian Page */
.detail-kajian-page {
    padding: 60px 0;
}

.detail-kajian-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    grid-column: 1 / -1;
}

.detail-kajian-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

.kajian-main-content {
    display: grid;
    /* gap: 30px; */
}

/* Video Container Styles */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Sidebar Alignment */
.kajian-sidebar {
    position: sticky;
    top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .detail-kajian-layout {
        grid-template-columns: 1fr;
    }
    
    .kajian-sidebar {
        position: static;
        margin-top: 40px;
    }
}

/* Kajian Tags Centering */
.kajian-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.detail-kajian-header h1 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.detail-kajian-header .speaker {
    color: var(--gray-color);
    font-style: italic;
    font-size: 18px;
    margin-bottom: 20px;
}

.kajian-description {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--dark-color);
}

.kajian-description h2, 
.kajian-description h3, 
.kajian-description h4 {
    color: var(--secondary-color);
    /* margin-bottom: 20px; */
    font-size: 22px;
    margin: 1.5em 0 0.8em;
}

.kajian-description p {
    line-height: 1.8;
    margin-bottom: 1.2em;
}

.kajian-description strong, 
.kajian-description b {
    font-weight: 600;
    color: var(--secondary-color);
}

.kajian-description em, 
.kajian-description i {
    font-style: italic;
}

.kajian-description ul, 
.kajian-description ol {
    margin: 1em 0;
    padding-left: 2em;
}

.kajian-description li {
    margin-bottom: 0.5em;
}

.kajian-description a {
    color: var(--primary-color);
    text-decoration: underline;
}

.kajian-description a:hover {
    text-decoration: none;
}

.kajian-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1em 0;
}

.kajian-description blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1em;
    margin: 1.5em 0;
    color: var(--gray-color);
    font-style: italic;
}

.kajian-description hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 2em 0;
}

.kajian-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.kajian-description table th,
.kajian-description table td {
    padding: 0.75em;
    border: 1px solid #ddd;
    text-align: left;
}

.kajian-description table th {
    background-color: var(--light-gray);
    color: var(--secondary-color);
}

.kajian-schedule {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.kajian-schedule h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.kajian-schedule p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.kajian-schedule i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Video Playlist */
.kajian-videos {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.kajian-videos h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 22px;
}

.video-playlist {
    display: grid;
    gap: 15px;
    max-height: calc(100% - 50px); /* Tinggi maksimal dikurangi judul */
    overflow-y: auto;
    scroll-behavior: smooth;
}

.video-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.video-item:hover {
    background-color: #e0e0e0;
}

.video-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.video-info .meta {
    font-size: 14px;
    color: var(--gray-color);
}

.play-btn {
    /*width: 40px;*/
    /*height: 40px;*/
    /*background-color: var(--primary-color);*/
    /*color: white;*/
    /*border-radius: 50%;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    /*transition: all 0.3s ease;*/
    width: 40px; /* Lebar tetap */
    height: 40px; /* Tinggi tetap (harus sama dengan width untuk bentuk bulat) */
    min-width: 40px; /* Mencegah penyusutan */
    min-height: 40px; /* Mencegah penyusutan */
    flex-shrink: 0; /* Mencegah penyusutan saat konten disebelahnya panjang */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Ini yang membuatnya bulat */
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
    text-decoration: none; /* Menghilangkan underline jika berupa link */
}

.play-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Auth Section */
.auth-section {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.auth-section h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .kajian-header h1 {
        font-size: 32px;
    }
    
    .detail-kajian-header h1 {
        font-size: 24px;
    }
    
    .auth-buttons {
        flex-direction: column;
    }
    
    .auth-buttons .btn {
        width: 100%;
    }
}
/* Detail Kajian Layout */
.detail-kajian-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
    position: relative;
}

.kajian-main-content {
    flex: 1;
    min-width: 0; /* Untuk mencegah overflow */
}

.kajian-sidebar {
    width: 350px;
    /* position: sticky; */
    top: 100px; /* Sesuaikan dengan tinggi header Anda */
    height: calc(100vh - 120px); /* Tinggi viewport dikurangi offset */
    overflow-y: auto; /* Enable scroll jika konten melebihi tinggi */
    padding-bottom: 20px;
}

.sidebar-video-playlist {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-video-playlist h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* Video Playlist di Sidebar */
.sidebar-video-playlist .video-playlist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-video-playlist .video-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-video-playlist .video-item:hover {
    background-color: #e0e0e0;
}

.sidebar-video-playlist .video-info h4 {
    font-size: 15px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.sidebar-video-playlist .video-info .meta {
    font-size: 13px;
    color: var(--gray-color);
}

.sidebar-video-playlist .play-btn {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-video-playlist .play-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    .detail-kajian-layout {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    
    .kajian-sidebar {
        width: 100%;
        /* position: static; */
        /* margin-top: 40px; */
        position: static;
        height: auto;
        overflow-y: visible;
        margin-top: 40px;
    }
}

/* News and Videos Section */
.news-videos {
    display: flex;
    flex-direction: row;
}
.news-section, .videos-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.videos-section {
    background-color: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.8rem;
    color: #333;
}

.see-all {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.see-all:hover {
    text-decoration: underline;
}

.news-grid, .videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card, .video-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover, .video-card:hover {
    transform: translateY(-5px);
}

.news-card h3, .video-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.news-date, .video-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.news-source {
    font-size: 0.9rem;
    color: #1a73e8;
    margin-bottom: 1rem;
    font-weight: 500;
}

.news-excerpt, .video-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.video-thumbnail {
    position: relative;
    background-color: #eee;
    height: 180px;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail i {
    font-size: 2.5rem;
    color: #1a73e8;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .news-grid, .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Articles Section */
.articles-section {
    padding: 4rem 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.article-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.read-more:hover {
    text-decoration: underline;
}

.read-more i {
    font-size: 0.8rem;
}

/* News and Articles Side by Side */
.news-articles {
    /* padding: 4rem 0; */
    padding: 3rem 0;
    background: #f9f9f9;
}

.dual-column {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.news-column, .articles-column {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.news-list, .articles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    /* min-height: 100%; */
}

/* News Item Styling */
.news-item, .article-item{
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px; /* Sesuaikan nilai sesuai kebutuhan */
}

.news-image img, .article-image  {
    height: 180px;
    overflow: hidden;
    margin: 0;
}

.news-image img, .article-image  img {
    width: 100%;
    height: 100%;
    /* width: 1px; */
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.news-item:hover .news-image img,
.article-item:hover .article-image img {
    transform: scale(1.05);
}

/* Tambahkan ini untuk memastikan tinggi konsisten */
.news-item h3, .article-item h3 {
    min-height: 3.5em; /* Sesuaikan sesuai kebutuhan */
    margin-bottom: 0.5rem;
}

.news-excerpt, .article-excerpt {
    flex-grow: 1; /* Isi sisa ruang */
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .dual-column {
        flex-direction: column;
    }
    
    .news-column, .articles-column {
        width: 100%;
    }
}

.news-content, .article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 10px;
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.news-content .read-more:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.news-content .read-more i {
    font-size: 0.8rem;
}

/* Article Item Styling */
.article-item {
    background: #2e7d32;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-image {
    height: 180px;
    overflow: hidden;
    margin: 0;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.article-item:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-content .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 10px;
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.article-content .read-more:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.article-content .read-more i {
    font-size: 0.8rem;
}

/* Typography */
.news-item h3, .article-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.news-meta, .article-meta {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.news-meta {
    color: #666;
}

.article-meta {
    color: rgba(255,255,255,0.8);
}

.news-excerpt, .article-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.news-excerpt {
    color: #555;
}

.article-excerpt {
    color: rgba(255,255,255,0.9);
}

.read-more {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: rgba(255,255,255,0.2);
}

.read-more i {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .dual-column {
        flex-direction: column;
    }
    
    .news-column, .articles-column {
        width: 100%;
    }
    
    .articles-column {
        margin-top: 2rem;
    }

    .news-item, .article-item {
        height: auto;
    }
}







/* News and Articles Side by Side - Equal Height */
.news-articles {
    padding: 3rem 0;
    background: #f9f9f9;
}

.dual-column {
    display: flex;
    gap: 2rem;
    align-items: stretch; /* Memastikan kolom sama tinggi */
}

.news-column, .articles-column {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.section-header h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 0;
}

.see-all {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.see-all:hover {
    text-decoration: underline;
}

.news-list, .articles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1; /* Mengisi sisa space */
}

.news-item, .article-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex: 1; /* Membuat item sama tinggi */
    display: flex;
    flex-direction: column;
}



.news-item h3, .article-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-meta, .article-meta {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-bottom: 0.8rem;
}

.news-excerpt, .article-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1; /* Mengisi sisa space */
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto; /* Posisikan di bagian bawah */
    align-self: flex-start; /* Rata kiri */
}

.read-more:hover {
    text-decoration: underline;
}

.read-more i {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .dual-column {
        flex-direction: column;
    }
    
    .news-column, .articles-column {
        width: 100%;
    }
    
    .news-list, .articles-list {
        gap: 1rem;
    }
}


/* News & Article Detail Page */
.news-detail-page, .article-detail-page {
    padding: 60px 0;
}

.news-layout, .article-layout {
    display: flex;
    gap: 40px;
}

.news-sidebar, .article-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.news-content, .article-content {
    flex: 1;
}

.news-content1, .article-content1 {
    flex: 1;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
}

.search-box {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-box h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 18px;
}

.search-box input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.search-box button {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-box button:hover {
    background-color: var(--secondary-color);
}

.recent-news, .recent-articles {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.recent-news h3, .recent-articles h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 18px;
}

.recent-news ul, .recent-articles ul {
    list-style: none;
}

.recent-news li, .recent-articles li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.recent-news li:last-child, .recent-articles li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-news a, .recent-articles a {
    color: var(--dark-color);
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.recent-news a:hover, .recent-articles a:hover {
    color: var(--primary-color);
}

.recent-news span, .recent-articles span {
    font-size: 13px;
    color: var(--gray-color);
    display: block;
}

.news-content h1, .article-content h1 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 28px;
    text-align: center;
}

.news-meta, .article-meta {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--gray-color);
}

.news-meta i, .article-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.news-image, .article-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.news-detail-image img, .article-detail-image img {
    width: 100%;
    height: 450px; /* Tinggi yang diinginkan */
    object-fit: cover; /* Memastikan gambar mengisi area tanpa distorsi */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-body, .article-body {
    line-height: 1.8;
    color: var(--dark-color);
    text-align: justify;
}

.news-body p, .article-body p {
    line-height: 1.8;
    margin-bottom: 1.2em;
}

.kalam-content h1 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 28px;
    text-align: center;
}

.kalam-meta {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--gray-color);
}

.kalam-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.kalam-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.kalam-image img {
    width: 100%;
    height: 450px; /* Tinggi yang diinginkan */
    object-fit: cover; /* Memastikan gambar mengisi area tanpa distorsi */
    /*border-radius: 10px;*/
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.kalam-body {
    line-height: 1.8;
    color: var(--dark-color);
    text-align: justify;
}

.kalam-body p {
    line-height: 1.8;
    margin-bottom: 1.2em;
}

/* News & Articles Grid */
.news-articles {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.dual-column {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.news-column, .articles-column {
    flex: 1;
}

.section-header {
    display: flex;
    justify-content: space-betweenr;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.section-header-quotes {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.section-header h2 {
    font-size: 24px;
    color: var(--secondary-color);
    margin: 0;
}

.see-all {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.see-all:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.see-all i {
    font-size: 12px;
}

.news-list, .articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item, .article-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: block;
    color: inherit;
    text-decoration: none;
}

.news-item:hover, .article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.news-image, .article-image {
    height: 180px;
    overflow: hidden;
}

.news-image img, .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img, 
.article-item:hover .article-image img {
    transform: scale(1.05);
}

.news-content, .article-content {
    padding: 20px;
}

.news-content h3, .article-content h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-meta, .article-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--gray-color);
    margin-bottom: 12px;
}

.news-meta i, .article-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.news-excerpt, .article-excerpt {
    font-size: 14px;
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
}

.news-item:hover .read-more,
.article-item:hover .read-more {
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .dual-column {
        flex-direction: column;
        gap: 40px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .news-image, .article-image {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .news-articles {
        padding: 40px 0;
    }
    
    .news-content, .article-content {
        padding: 15px;
    }
    
    .news-content h3, .article-content h3 {
        font-size: 16px;
    }
    
    .news-meta, .article-meta {
        flex-direction: column;
        gap: 5px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .news-layout, .article-layout {
        flex-direction: column;
    }
    
    .news-sidebar, .article-sidebar {
        width: 100%;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .article-detail-image img, 
    .news-detail-image img {
        height: 300px; /* Lebih rendah di mobile */
    }
}


/* News & Articles Archive Page */
/* .news-page, .articles-page {
    padding: 60px 0;
} */

.news-grid, .articles-grid, .kalam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-card, .article-card, .kalam-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.news-card:hover, .article-card:hover, .kalam-card:hover {
    transform: translateY(-5px);
}

.news-card .news-image, .article-card .article-image, .kalam-card .kalam-image {
    height: 200px;
    overflow: hidden;
}

.news-card img, .article-card img, .kalam-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover img, .article-card:hover img, .kalam-card:hover img {
    transform: scale(1.05);
}

.news-info, .article-info, .kalam-info {
    padding: 20px;
}

.news-info h3, .article-info h3, .kalam-info h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.news-meta, .article-meta {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.news-excerpt, .article-excerpt {
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--gray-color);
}


@media (max-width: 992px) {
    .news-card, .article-card {
        background-color: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
        /*margin-right: 15px;*/
        align-items: center;
    }
}

@media (max-width: 768px) {
    .news-grid, .articles-grid {
        grid-template-columns: 1fr;
        padding: 0 15px; /* Memberikan padding agar tidak terlalu tepi */
        justify-items: center; /* Memastikan item di tengah */
        width: 100%;
        padding: 0;
    }
    
    .news-card, .article-card {
        width: 100%;
        /*max-width: 450px;*/
        max-width: 100%;
        /*margin: 0 auto 20px;*/
        margin-left: 0;
        margin-right: 0;
    }
    
    .news-list .news-item, 
    .articles-list .article-item {
        width: 100%;
        max-width: 100%;
    }
    
    .news-card .news-image img,
    .article-card .article-image img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .news-image img, .article-image img {
        width: 100%;
        height: auto;
        max-height: 200px;
    }
    
    .news-info, .article-info {
        padding: 15px;
    }
    .news-content h1, .article-content h1 {
    text-align: center;
    margin-bottom: 30px;
}
}

@media (max-width: 768px) {
    .berita-header, .artikel-header {
        padding: 60px 0;
        height: auto;
    }
    
    .berita-header h1, .artikel-header h1 {
        font-size: 28px;
        padding: 0 15px;
    }
    
    .berita-header p, .artikel-header p {
        font-size: 16px;
        padding: 0 15px;
    }
}


/* Hapus duplikasi .hero-slider jika ada */
/* Hero Slider */
/* Hero Slider */
.hero-slider {
    position: relative;
    height: 70vh;
    max-height: 800px;
    min-height: 500px;
    overflow: hidden;
    margin: 0;
}

.hero-slider .swiper {
    height: 100%;
    width: 100%;
}

.hero-slider .swiper-slide {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--secondary-color) 30%, transparent 100%);
    /*background: linear-gradient(rgba(0, 68, 69, 0.8), rgba(0, 68, 69, 0.8));*/
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 70%;
    left: 35%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: left;
    /*max-width: 600px;*/
    max-width: 800px;
    width: 100%;
    z-index: 2;
    padding: 2rem;
}

.slide-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-content .btn {
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 5px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

/* Navigation */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 1.5rem;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: white;
    opacity: 0.6;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--accent-color);
}

/* Responsive */
/* Perbaikan Responsif untuk Hero Slider */
/*@media (max-width: 992px) {*/
/*  .hero-slider {*/
/*    height: auto;*/
/*    min-height: 300px;*/
/*    max-height: 400px;*/
/*  }*/
  
/*  .hero-slider .swiper-slide img {*/
/*    object-fit: cover;*/
/*    height: 100%;*/
/*    width: 100%;*/
/*  }*/
  
/*  .slide-content {*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    width: 90%;*/
/*    text-align: center;*/
/*    padding: 1rem;*/
/*  }*/
  
/*  .slide-content h1 {*/
/*    font-size: 1.8rem;*/
/*    margin-bottom: 0.8rem;*/
/*    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);*/
/*  }*/
  
/*  .slide-content p {*/
/*    font-size: 1rem;*/
/*    margin-bottom: 1.2rem;*/
/*  }*/
  
/*  .slide-content .btn {*/
/*    padding: 10px 20px;*/
/*    font-size: 0.9rem;*/
/*  }*/
  
  /* Penyesuaian Navigation Button */
/*  .swiper-button-prev, */
/*  .swiper-button-next {*/
/*    width: 40px !important;*/
/*    height: 40px !important;*/
/*  }*/
  
/*  .swiper-button-prev::after, */
/*  .swiper-button-next::after {*/
/*    font-size: 1.2rem !important;*/
/*  }*/
  
  /* Penyesuaian Pagination */
/*  .swiper-pagination {*/
/*    bottom: 10px !important;*/
/*  }*/
  
/*  .swiper-pagination-bullet {*/
/*    width: 10px !important;*/
/*    height: 10px !important;*/
/*    margin: 0 5px !important;*/
/*  }*/
/*}*/

/*@media (max-width: 576px) {*/
/*  .slide-content h1 {*/
/*    font-size: 1.5rem;*/
/*  }*/
  
/*  .slide-content p {*/
/*    font-size: 0.9rem;*/
/*  }*/
  
/*  .swiper-button-prev, */
/*  .swiper-button-next {*/
    /*display: none !important;*/
/*  }*/
/*}*/

@media (max-width: 992px) {
    .hero-slider {
        height: 60vh;
    }
    
    .slide-content {
        left: 5%;
        max-width: 80%;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 50vh;
        min-height: 400px;
    }
    
    .slide-content {
        left: 5%;
        max-width: 90%;
        padding: 1.5rem;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 60vh;
    }
    
    .slide-content {
        text-align: center;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        padding: 1rem;
    }
    
    .slide-content h1 {
        font-size: 1.6rem;
    }
    
    .slide-content .btn {
        padding: 10px 20px;
    }
}


/* Quotes Carousel Section */
.quotes-carousel {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.quotes-carousel .section-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--white);
    text-align: center;
}

.quotes-carousel .section-header p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.8;
}

.quotesSwiper {
    width: 100%;
    height: 500px;
    /*padding: 20px 0 50px;*/
}

.quote-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quote-slide img {
    width: auto;
    max-width: 100%;
    max-height: 350px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.quote-caption {
    max-width: 600px;
    margin: 0 auto;
}

.quote-caption p {
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 10px;
}

.quote-caption span {
    font-size: 16px;
    opacity: 0.9;
}

.quotes-carousel .swiper-pagination-bullet {
    background-color: var(--white);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.quotes-carousel .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--accent-color);
}

.quotes-carousel .swiper-button-prev,
.quotes-carousel .swiper-button-next {
    color: var(--white);
    background-color: rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.quotes-carousel .swiper-button-prev:hover,
.quotes-carousel .swiper-button-next:hover {
    background-color: rgba(255,255,255,0.4);
}

.quotes-carousel .swiper-button-prev::after,
.quotes-carousel .swiper-button-next::after {
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .quotesSwiper {
        height: 450px;
    }
    
    .quote-slide img {
        max-height: 250px;
    }
    
    .quote-caption p {
        font-size: 18px;
    }
    
    .quotes-carousel .section-header h2 {
        font-size: 28px;
        margin-bottom: 5px;
        color: var(--white);
        text-align: center;
    }
}

@media (max-width: 576px) {
    .quotesSwiper {
        height: 400px;
    }
    
    .quote-slide img {
        max-height: 200px;
    }
    
    .quote-caption p {
        font-size: 16px;
    }
    
    .quote-caption span {
        font-size: 14px;
    }
    
    .quotes-carousel .section-header h2 {
        font-size: 20px;
        margin-bottom: 5px;
        color: var(--white);
        text-align: center;
    }
}


/* Greeting Section */
.greeting-section {
    padding: 80px 0;
    background-color: var(--white);
}

.greeting-card {
    display: flex;
    background-color: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 68, 69, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.greeting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 68, 69, 0.15);
}

.greeting-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.greeting-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.greeting-card:hover .greeting-image img {
    transform: scale(1.05);
}

.greeting-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.greeting-header {
    margin-bottom: 30px;
}

.greeting-header h2 {
    color: var(--secondary-color);
    font-size: 28px;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}

.greeting-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.greeting-title {
    color: var(--gray-color);
    font-style: italic;
    font-size: 16px;
}

.greeting-text {
    flex: 1;
    margin-bottom: 30px;
}

.greeting-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--dark-color);
    font-size: 16px;
    text-align: justify;
}

.greeting-text p:first-child {
    font-weight: 500;
    color: var(--dark-color);
}

.greeting-signature {
    text-align: right;
    margin-top: 20px;
}

.signature-name {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 18px;
}

.signature-title {
    color: var(--gray-color);
    font-size: 14px;
    font-style: italic;
}
/* Greeting Section Read More */
.greeting-fulltext {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    opacity: 0;
}

.greeting-fulltext.show {
    max-height: 1000px; /* Sesuaikan dengan tinggi konten */
    opacity: 1;
    transition: max-height 0.5s ease, opacity 0.3s ease 0.2s;
}

.read-more-btn {
    background: var(--accent-color);
    color: var(--dark-color);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--primary-color);
    color: white;
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn.active i {
    transform: rotate(180deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .greeting-card {
        flex-direction: column;
    }
    
    .greeting-image {
        flex: 0 0 300px;
    }
    
    .greeting-content {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .greeting-section {
        padding: 50px 0;
    }
    
    .greeting-content {
        padding: 25px;
    }
    
    .greeting-header h2 {
        font-size: 24px;
    }
    
    .greeting-text p {
        font-size: 15px;
    }
}

/* Featured Programs Section */
.featured-programs {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.featured-programs .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.featured-programs h2 {
    color: var(--white);
    font-size: 36px;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

/* .featured-programs h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
} */

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-item {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 68, 69, 0.1);
}

.program-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 68, 69, 0.1);
    border-color: var(--accent-color);
}

.program-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: all 0.3s ease;
}

.program-item:hover .program-icon {
    background-color: var(--accent-color);
    color: var(--dark-color);
    transform: rotate(15deg) scale(1.1);
}

.program-item h3 {
    color: var(--secondary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.program-item p {
    color: var(--gray-color);
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .featured-programs {
        padding: 60px 0;
    }
    
    .featured-programs h2 {
        font-size: 28px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .program-item {
        padding: 30px 20px;
    }
}

.event-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-thumbnail {
    height: 180px;
    overflow: hidden;
    margin: -25px -25px 20px -25px;
    border-radius: 10px 10px 0 0;
}

.event-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-thumbnail img {
    transform: scale(1.05);
}

.event-card h3 {
    margin-top: 10px;
}

/* Tambahkan CSS ini ke bagian bawah file style.css */

/* Event Card as Link */
.event-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Kajian Card as Link */
.kajian-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* YouTube Embed Responsive */
.event-thumbnail iframe {
    border: none;
    border-radius: 10px 10px 0 0;
}

/* Video Playlist Styles */
.video-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-item:hover {
    background-color: var(--primary-color);
}

.video-item:hover h3,
.video-item:hover .meta {
    color: white;
}

.play-btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.video-item:hover .play-btn {
    background-color: white;
    color: var(--primary-color);
}

/* Video Embed Styles */
.kajian-video {
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.event-thumbnail iframe {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 10px 10px 0 0;
}

.kajian-card .event-thumbnail {
    margin: -25px -25px 20px -25px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}


/* Kalam Khadim Section - Improved */
.kalam-khodim {
    padding: 80px 0;
    background-color: var(--white);
}

.kalam-khodim .container {
    max-width: 1200px;
}

.kalam-khodim .section-header {
    display: flex;
    /*justify-content: space-between;*/
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.kalam-khodim .section-header h2 {
    color: var(--secondary-color);
    font-size: 28px;
    margin: 0;
    position: relative;
}

.kalam-khodim .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 3px;
    /*background-color: var(--accent-color);*/
}

.kalam-khodim .see-all {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.kalam-khodim .see-all:hover {
    color: var(--secondary-color);
    text-decoration: none;
    transform: translateX(5px);
}

.kalam-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.kalam-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative;
}

.kalam-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.kalam-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.kalam-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    z-index: 1;
}

.kalam-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.kalam-item:hover .kalam-image img {
    transform: scale(1.05);
}

.kalam-content {
    padding: 25px;
    position: relative;
}

.kalam-content h3 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.news-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 15px;
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
}

.kalam-item:hover .read-more {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Badge untuk item terbaru */
.kalam-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .kalam-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .kalam-khodim {
        padding: 60px 0;
    }
    
    .kalam-image {
        height: 200px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .kalam-list {
        grid-template-columns: 1fr;
    }
    
    .kalam-content {
        padding: 20px;
    }
}

/* Tambahkan/modifikasi di style.css */

/* News and Articles Section */
.news-articles {
    padding: 3rem 0;
    background: #f9f9f9;
}

.dual-column {
    display: flex;
    gap: 2rem;
    align-items: flex-start; /* Ubah dari stretch ke flex-start */
}

.news-column, .articles-column {
    width: 50%;
}

.news-list, .articles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

/* News Item Styling */
.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-image {
    height: 180px;
    overflow: hidden;
    margin: 0; /* Hapus margin */
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    /*padding: 1.5rem;*/
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Article Item Styling */
.article-item {
    /* background: #2e7d32; */
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-image {
    height: 180px;
    overflow: hidden;
    margin: 0; /* Hapus margin */
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Tambahkan ini */
}

.article-content {
    /*padding: 1.5rem;*/
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Untuk memastikan item pertama sejajar */
.news-list, .articles-list {
    min-height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .dual-column {
        flex-direction: column;
    }
    
    .news-column, .articles-column {
        width: 100%;
    }
    
    /* Pastikan tinggi sama di mobile */
    .news-item, .article-item {
        height: auto;
    }
}



/* Kalam Item Styling */
.kalam-item {
    /* background: #2e7d32; */
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kalam-image {
    height: 180px;
    overflow: hidden;
    margin: 0; /* Hapus margin */
}

.kalam-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Tambahkan ini */
}

.kalam-content {
    /*padding: 1.5rem;*/
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Untuk memastikan item pertama sejajar */
.kalam-list {
    min-height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .dual-column {
        flex-direction: column;
    }
    
    .kalam-column {
        width: 100%;
    }
    
    /* Pastikan tinggi sama di mobile */
    .kalam-item {
        height: auto;
    }
}









/* =================================
   CSS UNTUK NAVIGASI MOBILE LENGKAP
   ================================= */

/* --- Style Dasar (Desktop) --- */
.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-left: 25px;
}

.close-btn, .hamburger, .overlay {
    display: none; /* Sembunyikan semua elemen kontrol mobile di desktop */
}

/* --- Style Tampilan Mobile (< 992px) --- */
@media (max-width: 992px) {
   /* Hamburger Menu Styles */
    .hamburger {
         display: block; 
        font-size: 24px;
        cursor: pointer;
        z-index: 1002;
        color: var(--primary-color);
    }
    
    .nav-links {
        /*display: none;*/
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 60px;
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        box-shadow: -3px 0 10px rgba(0,0,0,0.15);
    }
    
    .nav-links.active {
        right: 0;
        display: flex;
    }
    
    .close-btn-container {
        position: absolute;
        top: 15px;
        right: 25px;
    }
    
    .close-btn {
        display: block;
        font-size: 36px;
        color: #333;
        cursor: pointer;
        line-height: 1;
        background: none;
        border: none;
        padding: 0;
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0s 0.3s;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.3s ease;
    }
    
    .no-scroll {
        overflow: hidden;
    }

/* Mencegah body scroll saat menu terbuka */
body.nav-open {
    overflow: hidden;
}
}

/* Quote Actions */
.quote-actions {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Fancybox Overrides */
.fancybox__container {
    --fancybox-bg: rgba(0, 68, 69, 0.9);
}

.fancybox__toolbar {
    background: rgba(0, 0, 0, 0.6);
}

.fancybox__nav {
    --fancybox-nav-color: var(--accent-color);
}

.fancybox__thumbs {
    --fancybox-thumbs-width: 120px;
    --fancybox-thumbs-ratio: 1;
    --fancybox-thumbs-opacity: 0.8;
    --fancybox-thumbs-hover-opacity: 1;
}