/* --- Root Variables for Colors & Sizing --- */
:root {
    --primary-green: #166534;
    --secondary-green: #15803d;
    --light-green-bg: #f0fdf4;
    --accent-yellow: #facc15;
    --font-family: 'Inter', sans-serif;
    --sidebar-width-expanded: 240px; /* DIKECILKAN */
    --sidebar-width-collapsed: 80px;  /* DIKECILKAN */
    --top-nav-height: 70px;
    --main-padding: 3rem;
    --card-transition-speed: 0.9s; 
}

/* --- General Body & Font Styling --- */
body {
    font-family: var(--font-family);
    margin: 0;
    background-color: var(--light-green-bg); 
    color: #333;
    overflow-x: hidden;
    /* Ini penting untuk kaedah ::before berfungsi */
    position: relative;
    z-index: 1;
}

/* --- LAPISAN TEKSTUR DENGAN KAWALAN OPACITY --- */
body::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    
    background-image: url('img/texture.jpg');
    background-repeat: repeat;
    
    /* KAWALAN OPACITY TERUS ANDA DI SINI (cth: 0.05 = 5%) */
    opacity: 20%;

    /* Hantar lapisan ini ke belakang kandungan */
    z-index: -1;
}

/* --- Sidebar Navigation (Desktop View) --- */
.sidebar {
    width: var(--sidebar-width-collapsed);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--primary-green);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 2px 0 15px rgba(0,0,0,0.2);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-x: hidden;
    box-sizing: border-box;
}

.sidebar-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.sidebar-header h3 {
    transition: opacity 0.2s ease, width 0.3s ease;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    width: 0;
    overflow: hidden;
    font-size: 1.5rem;
}

.sidebar-toggle-btn {
    background: none; border: none; cursor: pointer;
    width: 30px; height: 24px;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 0; position: relative;
    transform: translateX(-14px) rotate(0deg);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.sidebar-toggle-btn:hover { opacity: 0.7; }
.sidebar-toggle-btn:active { transform: scale(0.9); }
.sidebar-toggle-btn .bar {
    display: block; width: 100%; height: 3px;
    background-color: #fff; border-radius: 3px;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.nav-links {
    list-style-type: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; flex-grow: 1;
}

.nav-links .mt-auto {
    margin-top: auto;
    margin-bottom: 2.5rem; 
}

.nav-link {
    display: flex; align-items: center; color: #e5e7eb; text-decoration: none;
    padding: 0.8rem 1rem; /* PADDING DIKECILKAN */
    margin-bottom: 0.5rem; border-radius: 8px;
    transition: background-color 0.3s, color 0.3s, padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    padding-left: calc((var(--sidebar-width-collapsed) - 20px - 2rem) / 2);
}
.nav-link:hover, .nav-link.active {
    background-color: var(--secondary-green); color: #ffffff;
}
.nav-link__icon { 
    min-width: 20px; 
    color: var(--accent-yellow); 
    font-size: 1.1rem; /* IKON DIKECILKAN */
}
.nav-link__text {
    transition: opacity 0.2s ease-out, max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0; pointer-events: none; max-width: 0;
    overflow: hidden; margin-left: 15px;
    font-size: 1rem; /* TEKS DIKECILKAN */
    font-weight: 500;
}

#main-wrapper {
    transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: var(--sidebar-width-collapsed);
}

.mobile-nav-icons { display: none; }

body:not(.sidebar-collapsed) .sidebar { width: var(--sidebar-width-expanded); }
body:not(.sidebar-collapsed) #main-wrapper { margin-left: var(--sidebar-width-expanded); }
body:not(.sidebar-collapsed) .sidebar-toggle-btn { transform: translateX(0) rotate(180deg); }
body:not(.sidebar-collapsed) .sidebar-header h3 { opacity: 1; pointer-events: auto; width: auto; }
body:not(.sidebar-collapsed) .nav-link { padding-left: 1rem; }
body:not(.sidebar-collapsed) .nav-link__text { opacity: 1; pointer-events: auto; max-width: 150px; }

.parallax-header {
    position: relative;
    height: clamp(220px, 25vh, 250px); 
    display: flex; align-items: center; justify-content: center;
    color: white; text-align: center;
    background-image: url('img/IMG-20241001-WA0057.jpg');
    background-position: left center, center, right center; 
    background-size: cover;
    background-repeat: no-repeat; background-attachment: scroll;
}
.header-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(22, 101, 52, 0.75); display: flex;
    align-items: center; justify-content: center;
}
.header-content {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; max-width: 1200px; padding: 0 3rem; gap: 2rem; box-sizing: border-box;
}

.logo-container img {
    width: auto;
    height: clamp(60px, 12vw, 120px);
}

.header-text { text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); max-width: 750px; flex-grow: 1; }

.header-title {
    font-size: clamp(0.8rem, 2.5vw, 1.8rem);
    font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.05em; line-height: 1.2; margin-bottom: 0.25rem;
}

.marquee-container {
    width: 100%; background-color: var(--secondary-green); color: white;
    padding: 0.4rem 0; /* PADDING DIKECILKAN */
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    overflow: hidden; white-space: nowrap;
}
.marquee-text {
    display: inline-block; padding-left: 100%; 
    animation: marquee-anim 20s linear infinite;
    margin: 0; /* MARGIN DIBUANG */
}
@keyframes marquee-anim { 0% { transform: translateX(0); } 100% { transform: translateX(-150%); } }

#main-content { padding: var(--main-padding); }
.top-bar { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid #eee; }
.page-title { font-size: 1.75rem; font-weight: 700; color: var(--primary-green); }

@media (max-width: 1024px) {
    .sidebar {
        height: var(--top-nav-height);
        width: 100% !important;
        flex-direction: row;
        align-items: center;
        padding: 0 1.5rem;
    }
    .sidebar-header { border: none; margin: 0; padding: 0; }
    .sidebar-header h3 { display: none; }
    .sidebar-toggle-btn { transform: rotate(0deg) !important; order: -1; }

    .mobile-nav-icons {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        margin-left: 1rem;
    }
    .mobile-nav-icons .nav-link {
        padding: 0.5rem;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(0);
    }
    .mobile-nav-icons .nav-link__icon { font-size: 1.5rem; margin: 0; }
    .nav-links {
        position: fixed; top: var(--top-nav-height); left: 0;
        height: calc(100vh - var(--top-nav-height)); width: 280px;
        background-color: var(--primary-green); flex-direction: column;
        padding: 1rem; box-shadow: 2px 0 15px rgba(0,0,0,0.2);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    body:not(.sidebar-collapsed) .nav-links { transform: translateX(0); }
    body:not(.sidebar-collapsed) .mobile-nav-icons .nav-link { transform: translateY(-150%); }
    body.sidebar-collapsed .mobile-nav-icons .nav-link { transform: translateY(0); }
    .nav-links .nav-link { padding-left: 1rem; }
    .nav-links .nav-link__text { opacity: 1; max-width: 150px; margin-left: 15px; }
    #main-wrapper {
        margin-left: 0 !important;
        padding-top: var(--top-nav-height);
    }

    #main-content { --main-padding: 2rem; padding: var(--main-padding); }
    .header-content { padding: 0 2rem; }
    
    body:not(.sidebar-collapsed) .sidebar-toggle-btn .bar:nth-child(1) {
        transform: translateY(10.5px) rotate(45deg);
    }
    body:not(.sidebar-collapsed) .sidebar-toggle-btn .bar:nth-child(2) {
        opacity: 0;
    }
    body:not(.sidebar-collapsed) .sidebar-toggle-btn .bar:nth-child(3) {
        transform: translateY(-10.5px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .header-content { padding: 0 1rem; gap: 0.5rem; }
    #main-content { --main-padding: 1.5rem; padding: var(--main-padding); }
    .page-title { font-size: 1.25rem; }
}

/* --- GAYA UNTUK BAHAGIAN PENGENALAN BARU --- */
.pengenalan-section {
    position: relative;
    padding: 3rem 0; /* DIKURANGKAN */
    background-image: url('img/relasismembersimg.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-left: calc(-1 * var(--main-padding));
    margin-right: calc(-1 * var(--main-padding));
}
.pengenalan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-green), rgba(0, 0, 0, 0.65));
    z-index: 1;
}
.pengenalan-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--main-padding);
    position: relative;
    z-index: 2;
}
.pengenalan-card {
    background-color: rgba(85, 85, 85, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.8rem; /* DIKECILKAN */
    display: flex;
    align-items: center;
    gap: 2.5rem;
    color: #f0fdf4;
    transition: transform var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.pengenalan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}
.pengenalan-card__image { flex-shrink: 0; }
.pengenalan-card__image img {
    max-width: 200px; height: auto; border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.pengenalan-card__text h2 {
    font-size: 1.8rem; /* DIKECILKAN */
    font-weight: 700; margin-top: 0; margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-yellow); padding-bottom: 0.5rem;
    display: inline-block; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}
.pengenalan-card__text p {
    font-size: 0.95rem; /* DIKECILKAN */
    line-height: 1.7; text-align: justify;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}
@media (max-width: 768px) {
    .pengenalan-section { padding: 2rem 0; /* DIKURANGKAN */ }
    .pengenalan-card {
        flex-direction: column; padding: 1.5rem; gap: 1.5rem; text-align: center;
    }
    .pengenalan-card__image img { max-width: 150px; }
    .pengenalan-card__text h2 { font-size: 1.5rem; border: none; padding-bottom: 0; }
    .pengenalan-card__text p { font-size: 0.9rem; text-align: left; }
}

/* --- GAYA UNTUK BAHAGIAN VISI & MISI --- */
.visi-misi-section {
    padding: var(--main-padding);
    padding-top: 0; 
}
.visi-misi-card {
    background-color: #ffffff;
    border: 1px solid #dcfce7;
    border-radius: 16px;
    padding: 2rem; /* DIKECILKAN */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 3rem;
    align-items: center;
    transition: transform var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}
.visi-misi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.visi-misi-text { flex: 1; }
.section-title {
    font-size: 2rem; /* DIKECILKAN */
    font-weight: 800; color: var(--primary-green);
    margin-top: 0; margin-bottom: 2rem; position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 100%; 
    height: 4px; background-color: var(--accent-yellow);
    border-radius: 2px;
}
.visi-misi-text h3 {
    font-size: 1.5rem; font-weight: 700; color: var(--secondary-green);
    margin-bottom: 0.5rem;
}
.visi-misi-text p {
    font-size: 1rem; /* DIKECILKAN */
    line-height: 1.8; color: #333; margin-top: 0;
}
.misi-content { margin-top: 2rem; }
.visi-misi-image { 
    flex-basis: 35%; 
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.visi-misi-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.visi-misi-image img {
    width: 100%; height: auto; border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); object-fit: cover;
}
@media (max-width: 900px) {
    .visi-misi-card { flex-direction: column; padding: 2rem; }
    .visi-misi-image { width: 100%; margin-top: 2rem; }
}

/* --- GAYA UNTUK MODAL PAPARAN GAMBAR --- */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.image-modal.visible {
    display: block;
    opacity: 1;
}
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 85%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.image-modal.visible .modal-content {
    transform: translate(-50%, -50%) scale(1);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
}

/* --- GAYA UNTUK BAHAGIAN INFO RELASIS POLIMAS --- */
.info-section {
    padding: var(--main-padding);
    padding-top: 0;
}
.info-card {
    background-color: #ffffff;
    border: 1px solid #dcfce7;
    border-radius: 16px;
    padding: 2rem; /* DIKECILKAN */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 3rem;
    align-items: center;
    transition: transform var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}
.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.info-card__image {
    flex-basis: 40%;
    flex-shrink: 0;
}
.info-card__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.info-card__text {
    flex: 1;
}
.info-card__text p {
    font-size: 1rem; /* DIKECILKAN */
    line-height: 1.8;
    color: #333;
}
@media (max-width: 900px) {
    .info-card {
        flex-direction: column-reverse;
        padding: 2rem;
        text-align: center;
    }
    .info-card .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* --- GAYA UNTUK BAHAGIAN OBJEKTIF & SYARAT --- */
.maklumat-section {
    padding: var(--main-padding);
    padding-top: 0;
}
.maklumat-grid {
    display: grid;
    grid-template-columns: 1fr; /* Diubah untuk kad penuh */
    gap: 2rem;
}
.maklumat-card {
    background-color: #ffffff;
    border: 1px solid #dcfce7;
    border-radius: 16px;
    padding: 1.8rem; /* DIKECILKAN */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}
.maklumat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.maklumat-card ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    color: #333;
}
.maklumat-card ul li {
    padding-left: 1.5em;
    text-indent: -1.5em;
    line-height: 1.8;
    margin-bottom: 0.8rem; /* DIKECILKAN */
    font-size: 0.95rem; /* DIKECILKAN */
}
.maklumat-card ul li::before {
    content: '•';
    color: var(--secondary-green);
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    font-size: 1.2em;
}
.maklumat-card ul li:last-child {
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .maklumat-grid {
        grid-template-columns: 1fr;
    }
}

/* --- GAYA UNTUK BAHAGIAN ARTIKEL --- */
.artikel-section {
    padding: var(--main-padding);
    padding-top: 0;
}
.artikel-container-card {
    background-color: #ffffff;
    border: 1px solid #dcfce7;
    border-radius: 16px;
    padding: 1.8rem; /* DIKECILKAN */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}
.artikel-container-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.artikel-container-card .section-title {
    margin-bottom: 2.5rem;
}
.artikel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}
.artikel-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-decoration: none;
    color: #333;
    border: 1px solid #e5e7eb;
    transition: transform var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}
.artikel-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 45px rgba(22, 101, 52, 0.2);
}
.artikel-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.artikel-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}
.artikel-card:hover .artikel-card__image img {
    transform: scale(1.05);
}
.artikel-card__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0.8;
    transition: opacity var(--card-transition-speed) ease;
}
.artikel-card:hover .artikel-card__image::after {
    opacity: 1;
}
.artikel-card__content {
    padding: 1.1rem; /* DIKECILKAN */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.artikel-card__source {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}
.artikel-card__title {
    font-size: 1.15rem; /* DIKECILKAN */
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--primary-green);
}
.artikel-card__excerpt {
    font-size: 0.9rem; /* DIKECILKAN */
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    color: #4b5563;
}
.artikel-card__readmore {
    margin-top: 1rem;
    color: var(--secondary-green);
    font-weight: 600;
    text-decoration: none;
    align-self: flex-end;
    transition: color 0.3s ease;
}
.artikel-card__readmore i {
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}
.artikel-card:hover .artikel-card__readmore {
    color: var(--primary-green);
}
.artikel-card:hover .artikel-card__readmore i {
    transform: translateX(4px);
}
@media (max-width: 768px) {
    .artikel-grid {
        grid-template-columns: 1fr;
    }
}

/* --- GAYA UNTUK BAHAGIAN VIDEO YOUTUBE --- */
.video-section {
    position: relative;
    padding: 3rem 0; /* DIKURANGKAN */
    background-image: url('img/IMG-20241001-WA0087.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-left: calc(-1 * var(--main-padding));
    margin-right: calc(-1 * var(--main-padding));
}
.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-green), rgba(0, 0, 0, 0.65));
    z-index: 1;
}
.video-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--main-padding);
    position: relative;
    z-index: 2;
}
.video-card {
    background-color: rgba(85, 85, 85, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.8rem; /* DIKECILKAN */
    color: #f0fdf4;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow var(--card-transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
}
.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}
.video-card h2 {
    font-size: 1.5rem; /* DIKECILKAN */
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 768px) {
    .video-section {
        padding: 2rem 0; /* DIKURANGKAN */
    }
    .video-card {
        padding: 1.5rem;
    }
    .video-card h2 {
        font-size: 1.25rem;
    }
}

/* --- GAYA UNTUK FOOTER --- */
.site-footer {
    background-color: var(--primary-green);
    color: #e5e7eb;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

.site-footer p {
    margin: 0;
}

/* ------------------------------------------- */
/* --- GAYA UNTUK HALAMAN MENGENAI KAMI --- */
/* (Kod sedia ada untuk halaman lain dikekalkan) */
/* ------------------------------------------- */

.sejarah-section {
    padding-bottom: var(--main-padding);
}
.sejarah-card {
    background-color: #ffffff;
    border: 1px solid #dcfce7;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.sejarah-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}
.carta-section {
    padding-bottom: var(--main-padding);
}
.carta-section .section-title {
    text-align: center;
    display: block;
    font-size: 2rem;
}
.carta-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}
.carta-subsection {
    margin-top: 3.5rem;
}
.carta-subsection-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-green);
    text-align: center;
    margin-bottom: 2.5rem;
}
.carta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.profile-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-align: center;
    overflow: hidden;
    transition: transform 0.9s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.profile-card__image {
    height: 280px;
}
.profile-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-card__info {
    padding: 1.5rem;
}
.profile-card__info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    color: var(--primary-green);
}
.profile-card__info span {
    color: var(--secondary-green);
    font-weight: 500;
}

/* ------------------------------------------- */
/* --- GAYA UNTUK GALERI SLIDER (DIPERBAIKI) --- */
/* ------------------------------------------- */
.gallery-slider-section {
    padding-bottom: var(--main-padding);
}
.gallery-slider-section .section-title {
    text-align: center;
    display: block;
    margin-bottom: 3rem;
}
.gallery-slider-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.gallery-slider-container {
    display: flex;
    width: 100%;
    height: 60vh;
    gap: 1rem;
}

.gallery-panel {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    border-radius: 16px;
    color: #fff;
    cursor: pointer;
    flex: 1;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: flex 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-panel h3 {
    font-size: 1.5rem;
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    opacity: 0;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    white-space: nowrap;
    transition: opacity 0.3s ease-in 0.4s;
}

.gallery-panel.active,
.gallery-slider-container .gallery-panel:hover {
    flex: 5;
}

.gallery-panel.active h3,
.gallery-slider-container .gallery-panel:hover h3 {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-slider-container {
        flex-direction: column;
        height: auto;
        gap: 1.5rem;
    }
    .gallery-panel {
        flex: auto;
        height: 250px;
    }
    .gallery-panel h3 {
        opacity: 1;
    }
    .gallery-panel.active,
    .gallery-slider-container .gallery-panel:hover {
        flex: auto;
    }
}


/* --- GAYA BARU UNTUK KAD OBJEKTIF & SYARAT DENGAN IMEJ --- */
.maklumat-card {
    /* Tukar kepada flexbox untuk susunan bersebelahan */
    display: flex;
    gap: 2rem;
    align-items: center;
}

.maklumat-card__text {
    flex: 1; /* Teks akan mengambil lebihan ruang */
}

.maklumat-card__image {
    flex-basis: 40%; /* Lebar imej adalah 40% dari kad */
    flex-shrink: 0;
}

.maklumat-card__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Responsif untuk skrin kecil */
@media (max-width: 900px) {
    .maklumat-card {
        flex-direction: column; /* Susun secara menegak */
    }
}

/* --- BAHAGIAN MENAMBAH JARAK ANTARA SEKSYEN --- */
.artikel-section,
.info-section,
.visi-misi-section,
.maklumat-section {
    margin-top: 2rem;
}