/* 
Theme Name: FKES Theme Pink Edition
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* -------------------------------------------
   1. VARIABLES & RESET
------------------------------------------- */
:root {
    /* Primary Pink Palette */
    --color-primary: #a10000;
    /* Updated Brand Color */
    --color-primary-dark: #8a0e35;
    /* Darker shade of #bd144c */
    --color-secondary: #fce4ec;
    /* Pink 50 - Very Light Background */

    /* Text Colors */
    --text-dark: #2c3e50;
    --text-light: #666;
    --text-white: #ffffff;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --topbar-height: 40px;
    --border-radius: 8px;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

/* Sticky Footer Wrapper */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* -------------------------------------------
   2. TOP BAR
------------------------------------------- */
/* -------------------------------------------
   2. TOP BAR
------------------------------------------- */
.top-bar {
    background-color: transparent;
    /* Transparent to share master-header glass effect */
    color: #fff;
    padding: 8px 0;
    font-size: 0.8rem;
    /* Smaller font size */
    font-weight: 400;
    /* Not bold */
    border-bottom: none;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a {
    color: #fff;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left a:hover {
    opacity: 1;
    color: var(--color-primary);
    /* Use brand color for hover if appropriate, or white */
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.top-links {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-links li {
    display: inline-block;
}

.top-links a {
    color: #fff;
    font-weight: 400;
    /* Not bold */
    font-size: 0.8rem;
    /* Smaller font size */
    opacity: 0.9;
    transition: all 0.3s ease;
}

.top-links a:hover {
    opacity: 1;
    color: var(--color-primary);
    /* Brand red for hover */
}

/* Responsive adjustments for Top Bar */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-left,
    .top-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* -------------------------------------------
   2. HEADER & NAVIGATION (Redesigned)
------------------------------------------- */

/* Brand Header (Top Part) */
/* Brand Header (Top Part) */
.brand-header {
    background-color: #ffcbd1;
    /* Sweet Pink */
    padding: 10px 0;
    /* Reduced vertical padding */
    color: var(--text-dark);
    /* Dark Text */
    border-bottom: 1px solid rgba(214, 51, 132, 0.1);
}

.brand-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Space between Logo and Quick Links */
}

.header-quick-links {
    display: flex;
    gap: 20px;
}

.header-quick-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
}

.header-quick-links a:hover {
    color: var(--color-primary-dark);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 55px;
    /* Reduced height from 70px */
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-primary);
    /* Brand Color */
    margin-bottom: 0;
    text-transform: uppercase;
}

.logo .uni-name {
    font-size: 0.95rem;
    color: #555;
    /* Dark Grey for readability */
    font-weight: 600;
    display: block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Main Navigation Bar (Bottom Part) */
/* Main Navigation Bar (Bottom Part) */
.main-navigation {
    background: transparent;
    /* Transparent for glass effect */
    z-index: 1000;
}

.n-container {
    display: flex;
    justify-content: flex-end;
    /* Align button/toggle to right */
    align-items: center;
    width: 100%;
    position: relative;
    /* For absolute centering of menu */
}


.nav-links {
    display: flex;
    flex-wrap: nowrap;
    /* Force single row */
    align-items: center;
    margin-right: 0;
    /* Removed auto margin */
    gap: 15px;
}

/* Center Menu on Desktop */
@media (min-width: 992px) {
    .navbar-menu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-weight: 400;
    font-size: 0.9rem;
    padding: 15px 15px;
    border-right: none;
    transition: background 0.2s;
}

.nav-links a i {
    margin-right: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav-links a:hover,
.nav-links .current-menu-item>a {
    color: var(--color-primary);
    /* Red text on hover/active */
    background-color: transparent;
    /* No background */
}

.nav-right-action {
    display: flex;
    align-items: center;
}

.btn-top-contact {
    background-color: #f39c12;
    /* Orange Background */
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 5px;
    /* Slightly rounded */
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-top-contact:hover {
    background-color: #e67e22;
    /* Darker orange on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Remove old underline effect since we use block background now */
.nav-links a::after {
    display: none;
}

/* Dropdown Menu */
.nav-links ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-primary);
    min-width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 10px 0;
    list-style: none;
    border-radius: 8px;
}

.nav-links li:hover>ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links ul li {
    display: block;
    width: 100%;
}

.nav-links ul li a {
    color: #fff;
    padding: 10px 20px;
    font-size: 0.95rem;
    border-right: none;
    border-bottom: none;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nav-links ul li:last-child a {
    border-bottom: none;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 15px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 0;
}

/* -------------------------------------------
   4. HERO SECTION
------------------------------------------- */
.hero {
    position: relative;
    height: 600px;
    background-color: #333;
    /* Fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    /* Reduced from 80px */
    overflow: hidden;
    /* Ensure images don't overflow */
}

/* Hero Slider Background */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Dark Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark overlay similar to reference */
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    /* Above slider, below content */
}

.hero-content {
    position: relative;
    z-index: 3;
    /* Top most */
    max-width: 900px;
    /* Wider */
    margin: 0 auto;
}

.welcome-text {
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    display: block;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
    color: #ddd;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Reference Style Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    /* Square/Boxy */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--color-primary-dark);
    /* Darker Pink/Brownish */
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #ad1457;
    transform: translateY(-2px);
}

/* -------------------------------------------
   STICKY HEADER & SCROLL EFFECTS
------------------------------------------- */
#master-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9990;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Initial Glass Effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Adjust top position when WP Admin Bar is present */
body.admin-bar #master-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar #master-header {
        top: 46px;
    }
}

/* SCROLLED STATE */
#master-header.scrolled {
    background: var(--color-primary);
    /* Brand Red */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Hide Top Bar on Scroll */
#master-header.scrolled .top-bar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Compact Nav on Scroll */
#master-header.scrolled .nav-links a {
    padding-top: 10px;
    padding-bottom: 10px;
}

#master-header.scrolled .btn-top-contact {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Ensure smooth transitions for elements that change on scroll */
.top-bar,
.nav-links a,
.btn-top-contact {
    transition: all 0.3s ease;
}

#master-header.scrolled .nav-links a:hover,
#master-header.scrolled .nav-links .current-menu-item>a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #333;
}

/* Navigation Arrows (Dummy) */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.hero-nav:hover {
    background: var(--color-primary);
}

.hero-nav.prev {
    left: 40px;
}

.hero-nav.next {
    right: 40px;
}

/* -------------------------------------------
   5. OVERLAPPING STATS CARDS
------------------------------------------- */
.stats-section {
    position: relative;
    /* This negative margin pulls the section UP to overlap the hero */
    margin-top: -100px;
    z-index: 10;
    margin-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: var(--shadow-md);
}

.stat-card {
    padding: 35px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Pink Background Card */
/* Pink Background Card */
.stat-card.pink-bg {
    background-color: #bd144c;
    color: #fff;
}

/* Purple Background Card */
.stat-card.purple-bg {
    background-color: #7a49a5;
    color: #fff;
}

/* Blue Background Card */
.stat-card.blue-bg {
    background-color: #4974a5;
    color: #fff;
}

/* Shared Styles for Colored Cards */
.stat-card.pink-bg .stat-icon-large,
.stat-card.purple-bg .stat-icon-large,
.stat-card.blue-bg .stat-icon-large {
    font-size: 2.8rem;
    opacity: 0.9;
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.stat-card.pink-bg h3,
.stat-card.purple-bg h3,
.stat-card.blue-bg h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.2;
    font-weight: 600;
}

.stat-card.pink-bg .stat-number,
.stat-card.purple-bg .stat-number,
.stat-card.blue-bg .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    display: block;
    margin-bottom: 3px;
}

/* White Background Card */
.stat-card.white-bg {
    background-color: #fff;
    color: var(--text-dark);
}

.stat-icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    /* Pink Icon Box */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.5rem;
    margin-right: 20px;
}

.stat-card.white-bg h3 {
    font-size: 1.2rem;
    color: #888;
    font-weight: 500;
}

.stat-card.white-bg .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* -------------------------------------------
   6. OTHER SECTIONS
------------------------------------------- */
.section {
    padding: 40px 0;
}

.section-heading {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.sub-heading {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    /* Perkecil kolom foto (0.6fr) */
    gap: 60px;
    align-items: flex-start;
}

.dean-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 10px 0 20px 0;
    line-height: 1.2;
}

.divider-left {
    height: 5px;
    width: 80px;
    background: var(--color-primary);
    /* Pink divider */
    margin-bottom: 25px;
    border-radius: 20px;
}

.intro-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

.intro-buttons {
    display: flex;
    gap: 15px;
}

.btn-flat {
    border-radius: 4px;
    /* Boxy buttons like reference */
    padding: 12px 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: none;
}

.btn-secondary {
    background-color: #f8bbd0;
    color: #880e4f;
    border: none;
}

.btn-secondary:hover {
    background-color: #f48fb1;
}

/* Blank Image Placeholder */
.blank-image-placeholder {
    width: 100%;
    height: 450px;
    background-color: #f0f0f0;
    border: 2px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #aaa;
    font-weight: 600;
    border-radius: 8px;
}

.intro-image {
    position: relative;
    top: 0;
    margin-bottom: 20px;
    /* overflow: hidden; */
    /* Dihapus agar bagian bawah foto tidak terpotong */
    max-width: 400px;
    /* Tingkatkan sedikit lebarnya */
    margin-left: auto;
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transform-origin: bottom center;
}

.divider {
    height: 4px;
    width: 60px;
    background: var(--color-primary);
    margin: 0 auto 50px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

/* Shimmer Animation Effect */
.divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.text-center {
    text-align: center;
}

/* -------------------------------------------
   10. FOOTER
------------------------------------------- */
.footer {
    background-color: #7a0d31;
    /* User Requested Dark Red/Maroon */
    color: #fff;
    /* White text for contrast */
    padding: 40px 0 20px 0;
    /* Reduced vertical padding */
    position: relative;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1fr 1.3fr;
    /* Adjusted for 4 columns including Academic Info */
    /* Adjusted ratios */
    gap: 10px;
    /* Much tighter gap */
    margin-bottom: 40px;
}

.footer-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    /* Reduced margin */
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    /* Pink underline */
}

/* Brand Column */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-brand img {
    height: 50px;
    filter: brightness(0) invert(1);
    /* Logo White Mode */
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.2;
}

.footer-desc {
    line-height: 1.8;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    /* Lighter text for dark bg */
}

/* Links */
.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    /* White Text */
    transition: 0.3s;
    display: inline-block;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--color-primary);
    /* Pink bullets */
    margin-right: 8px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
    text-shadow: none;
}

/* Contact List (Icon + Text) */
.contact-list li {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.contact-icon {
    min-width: 40px;
    height: 40px;
    background-color: #fff;
    /* White BG */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--color-primary);
    /* Pink icon */
}

.contact-text {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Social Buttons */
.footer-social-new {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    border-radius: 4px;
    transition: 0.3s;
}

.social-btn:hover {
    background-color: #fff;
    /* White background on hover */
    color: var(--color-primary);
    /* Pink icon on hover */
    transform: translateY(-3px);
}

/* Bottom Copyright */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* -------------------------------------------
   Lecturer / Dosen Section
------------------------------------------- */
.dosen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.dosen-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    /* Space for button */
    transition: transform 0.3s ease;
}

.dosen-card:hover {
    transform: translateY(-5px);
}

.dosen-img {
    width: 100%;
    height: 300px;
    /* Fixed height for consistency */
    overflow: hidden;
    background-color: #fff;
    /* White to blend with transparent/white bg images */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.dosen-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Shows full bust, doesn't crop to face only */
    object-position: bottom center;
    /* Aligns person to bottom */
    display: block;
    transition: transform 0.3s ease;
}

.dosen-card:hover .dosen-img img {
    transform: scale(1.03);
    /* Subtle zoom effect on hover */
}

.dosen-info {
    padding: 20px 15px;
    border-top: 4px solid var(--color-primary);
    /* Pink line separator like reference might implies or just good style */
}

.dosen-info h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.dosen-info p {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

/* -------------------------------------------
   8. ARTIKEL & BERITA SECTION
------------------------------------------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.news-meta i {
    color: var(--color-primary);
    margin-right: 5px;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-dark);
}

.news-title a:hover {
    color: var(--color-primary);
}

.news-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    flex: 1;
}

.read-more {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.read-more:hover {
    gap: 12px;
}

.muat-lebih-banyak-container {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-load-more:hover {
    background: var(--color-primary);
    color: #fff;
}

.read-more-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more-link i {
    margin-left: 5px;
    transition: margin-left 0.3s;
}


/* -------------------------------------------
   9. MITRA / PARTNERS SECTION
------------------------------------------- */
/* -------------------------------------------
   9. MITRA / PARTNERS SECTION (SLIDER)
------------------------------------------- */
.partners-slider {
    background: #fff;
    height: 140px;
    margin: 40px auto 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Fade effects on the sides */
.partners-slider::before,
.partners-slider::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 100px;
    z-index: 2;
    top: 0;
    pointer-events: none;
}

.partners-slider::before {
    left: 0;
}

.partners-slider::after {
    right: 0;
    transform: rotateZ(180deg);
}

.slide-track {
    animation: scroll 30s linear infinite;
    display: flex;
    width: max-content;
    gap: 40px;
    padding: 20px 0;
}

.partner-logo {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    padding: 15px;
    height: 100px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.8;
    flex-shrink: 0;
}

.partner-logo img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    transition: filter 0.3s;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(236, 64, 122, 0.1);
    border-color: rgba(236, 64, 122, 0.3);
}

.partners-slider:hover .slide-track {
    animation-play-state: paused;
}

/* -------------------------------------------
   7. SINGLE POST & SIDEBAR STYLES
------------------------------------------- */

/* Layout Grid */
.single-post-section {
    padding: 30px 0;
    background-color: #f9f9f9;
    /* Light background for the page */
}

.single-post-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* 2/3 Content, 1/3 Sidebar */
    gap: 40px;
}

/* Main Content Area */
.main-content {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    object-fit: cover;
    max-height: 500px;
}

.post-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.post-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #777;
    font-size: 0.9rem;
}

.post-meta .meta-item i {
    color: var(--color-primary);
    margin-right: 5px;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.entry-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
    font-style: italic;
    color: #666;
    margin: 30px 0;
    background: #fff0f6;
    /* Very light pink */
    padding: 20px;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-navigation a {
    color: var(--text-dark);
    font-weight: 600;
}

.post-navigation a:hover {
    color: var(--color-primary);
}

/* SIDEBAR STYLES */
.sidebar .widget {
    background: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

/* Search Form */
.search-form {
    display: flex;
}

.search-field {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-submit {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Recent Posts Widget */
.recent-posts-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.recent-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.recent-post-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #eee;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-thumb .no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.recent-post-info {
    display: flex;
    flex-direction: column;
}

.recent-post-info .title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.recent-post-info .title:hover {
    color: var(--color-primary);
}

.recent-post-info .date {
    font-size: 0.8rem;
    color: #999;
}

/* Categories Widget */
.widget-categories ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.widget-categories ul li a {
    display: block;
    color: #666;
}

.widget-categories ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
    /* Subtle movement */
}

/* Responsive Sidebar */
@media (max-width: 900px) {
    .single-post-grid {
        grid-template-columns: 1fr;
    }
}

/* Force remove card styles from Dean Image & Fix Alignment */
.intro-image {
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    margin-top: -50px !important;
    /* Pull image up to align with text */
}

.intro-image img {
    box-shadow: none !important;
}

/* -------------------------------------------
   Fasilitas Section
------------------------------------------- */
.fasilitas-section {
    background-color: #f9f9f9;
}

.fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fasilitas-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.fasilitas-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.fasilitas-img {
    height: 220px;
    background: #f0f0f0;
    overflow: hidden;
    position: relative;
}

.fasilitas-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fasilitas-card:hover .fasilitas-img img {
    transform: scale(1.05);
}

.fasilitas-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fasilitas-content h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
}

.fasilitas-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.btn-black-pill {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-black-pill:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .fasilitas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fasilitas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------
   11. SCROLL ANIMATION
------------------------------------------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);

}

/* -------------------------------------------
   12. PAGE HEADER BACKGROUND
------------------------------------------- */
.page-header-bg {
    position: relative;
    width: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 50px;
}

.page-header-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(189, 20, 76, 0.9) 0%, rgba(189, 20, 76, 0.8) 100%);
    /* Pink overlay */
    z-index: 1;
}

.page-header-bg .container {
    position: relative;
    z-index: 2;
}

.page-header-bg .section-heading {
    color: #fff !important;
    /* Force white text */
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header-bg .divider {
    background: #fff;
    margin: 20px auto 0;
    opacity: 0.9;
}

/* -------------------------------------------
   Pengumuman & Event Section (Redesigned)
------------------------------------------- */
.info-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /* Gap between columns */
    margin-top: 40px;
}

.info-column {
    background: #fff;
    padding: 30px;
}

/* Header Styling */
.info-header {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 3px solid #ffca28;
    /* Amber accent for contrast */
}

/* Common Header Styles */
.info-header i {
    font-size: 1.8rem;
    margin-right: 15px;
}

.info-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

/* Left Column (Pengumuman) - Default */
.info-column:not(.event-col) .info-header i,
.info-column:not(.event-col) .info-header h3 {
    color: var(--color-primary);
    /* Pink color */
}

.info-column:not(.event-col) .info-list .info-item {
    border-bottom: none;
    padding: 10px 0;
}

.info-column:not(.event-col) .info-item-title {
    color: #333;
    font-weight: 600;
}

.info-column:not(.event-col) .info-item-date {
    color: #999;
}


/* Right Column (Event/Beasiswa) - Pink Background */
.info-column.event-col {
    background-color: var(--color-primary);
    /* Pink bg */
    color: #fff;
    border-radius: 4px;
    /* Slight radius if desired */
}

.info-column.event-col .info-header {
    border-bottom-color: #ffca28;
    /* Amber accent */
}

.info-column.event-col .info-header i,
.info-column.event-col .info-header h3 {
    color: #fff;
}

.info-column.event-col .info-list .info-item {
    border-bottom: none;
    padding: 10px 0;
}

.info-column.event-col .info-item-title {
    color: #fff;
    font-weight: 600;
}

.info-column.event-col .info-item-date {
    color: rgba(255, 255, 255, 0.8);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-item {
    margin-bottom: 15px;
    display: block;
}

.info-item-title {
    display: block;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 5px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.info-item-title:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.info-item-date {
    display: block;
    font-size: 0.85rem;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .info-section-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* PAGE STYLES (Visi Misi, etc) */
.page-header-section {
    background-color: var(--color-primary);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero/slide-1.jpg');
    background-size: cover;
    background-position: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.content-section {
    padding: 30px 0;
    background-color: #fff;
}

.vm-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
    margin-bottom: 40px;
    border-left: 5px solid var(--color-primary);
}

.vm-title {
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.vm-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    /* Pink accent instead of yellow */
}

.visi-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: #555;
    text-align: center;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.misi-list,
.tujuan-list {
    list-style: none;
    padding: 0;
}

.misi-list li,
.tujuan-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

.misi-list li::before {
    content: '\f192';
    /* dot-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-primary);
}

.tujuan-list li::before {
    content: '\f058';
    /* check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-primary);
    /* Pink accent instead of yellow */
}

/* ORGANIZATIONAL CHART STYLES */
.org-chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.org-node-level {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    z-index: 2;
}

.org-box {
    background-color: var(--color-primary);
    /* Pink Theme */
    color: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    position: relative;
    z-index: 2;
    border: 1px solid #c2185b;
    /* Slightly darker pink border */
}

/* Specific styling for side boxes to match image (potentially smaller?) */
.side-box {
    min-width: 180px;
    font-size: 0.95rem;
}

.org-spine-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.spine-line {
    width: 2px;
    /* Thickness of connecting line */
    background-color: #333;
    height: 50px;
    /* Spacing between levels */
    position: relative;
    z-index: 1;
}

/* Branch Styling */
/* Right Branches (GMF, KK) */
.branch-right-dashed,
.branch-right-solid {
    position: absolute;
    left: 50%;
    /* Start from center spine */
    top: 50%;
    transform: translateY(-50%);
    /* Center vertically relative to spine segment midpoint? No, top 0 relative to spine line? */
    display: flex;
    align-items: center;
    /* Adjust top to be in the middle of the spine line */
    top: 50%;
}

/* Adjust segment line heights to accommodate branches */
.segment-gmf .spine-line,
.segment-kk .spine-line {
    height: 60px;
}

.branch-right-dashed .connector-line {
    width: 100px;
    /* Length of arm */
    height: 2px;
    border-top: 2px dashed #333;
}

.branch-right-solid .connector-line {
    width: 100px;
    height: 2px;
    background-color: #333;
    /* Solid line from spine to right, then arrow down? Image shows simple right-angle or direct? Image: Solid line from vertical spine --> Right BOX.
       Actually, image for KK: Vertical line down.. branch right.. to box. 
       Let's stick to simple horizontal connector.
    */
}

/* Left Branch (Lab) is inside the node level, to the left of Kaprodi */
.level-kaprodi {
    gap: 0;
    /* Spacing handled by connector */
}

.branch-left-dashed {
    display: flex;
    align-items: center;
    margin-right: 0;
    /* Connected directly? */
    position: absolute;
    right: 50%;
    /* Position relative to center of wrapper */
    margin-right: 110px;
    /* Half of main box width (220/2) */
}

.branch-left-dashed .connector-line {
    width: 60px;
    height: 2px;
    border-top: 2px dashed #333;
    order: 2;
    /* Line on right side of lab box */
}

.branch-left-dashed .side-box {
    order: 1;
    /* Box on left */
}

/* Adjustments for specific branches in spine */
/* Segment GMF: Line down, branch right dashed */
.segment-gmf .branch-right-dashed {
    top: 20px;
    /* Position along the vertical line */
}

/* Segment KK: Line down, branch right solid */
.segment-kk .branch-right-solid {
    top: 30px;
    /* Special case: Image shows line goes right then down to box? */
    /* Let's keep it simple: Horizontal line to box */
}

.branch-right-solid .connector-line {
    /* If we want an arrow: */
    position: relative;
}

.branch-right-solid .connector-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -5px;
    border-left: 8px solid #333;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* -------------------------------------------
   11. DATA TABLES
------------------------------------------- */
/* -------------------------------------------
   11. DATA TABLES (Modernized)
------------------------------------------- */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    background: #fff;
    padding: 5px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 0.95rem;
    border: none;
}

.data-table th,
.data-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
}

.data-table th {
    background-color: #bd144c;
    color: #ffffff !important;
    /* Paksa warna putih agar kontras */
    font-weight: 700;
    /* Tebalkan sedikit agar lebih jelas */
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: none;
}

.data-table th:first-child {
    border-top-left-radius: 8px;
}

.data-table th:last-child {
    border-top-right-radius: 8px;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:nth-child(even) {
    background-color: #fff9fa;
}

.data-table tr:hover {
    background-color: #fef0f4;
}

.data-table ol {
    padding-left: 20px;
    margin: 0;
}

.data-table td.no-col {
    width: 60px;
    text-align: center;
    font-weight: 700;
    color: #bd144c;
}

.data-table td.pl-col {
    width: 25%;
    font-weight: 600;
    color: #333;
}

.data-table td.desc-col {
    color: #555;
    line-height: 1.6;
}

.data-table td.profesi-col {
    width: 30%;
    color: #555;
}


/* -------------------------------------------
   13. PAGE HEADER SECTION (NEW STYLE)
------------------------------------------- */
.page-header-section {
    position: relative;
    width: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    /* padding-left/right handled by container */
    color: #fff;
    margin-bottom: 0;
}

.page-header-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    /* Dark overlay */
    z-index: 1;
}

.page-header-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 400;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* 
   -------------------------------------------
   PAGINATION STYLES
   ------------------------------------------- 
*/
.pagination-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    color: var(--color-primary);
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-primary);
}

.pagination-btn.active {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* -------------------------------------------
   14. PARTNER LOGO SIZING FIX
------------------------------------------- */
.partners-slider {
    padding: 20px 0;
    overflow: hidden;
    background: #fff;
    white-space: nowrap;
    position: relative;
}

.slide-track {
    display: flex;
    align-items: center;
    animation: scroll 30s linear infinite;
    width: calc(250px * 16);
    /* Adjust based on assumption of items */
}

.partner-logo {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.partner-logo img {
    max-height: 80px;
    /* Force uniform height */
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 8));
    }

    /* Scroll half (original set) */
}

/* -------------------------------------------
   15. STICKY HEADER ZOOM OUT EFFECT
------------------------------------------- */
/* Ensure master-header is fixed so it stays on top */
#master-header.scrolled .logo-img {
    height: 35px;
    /* Shrink logo */
    transition: all 0.3s ease;
}

#master-header.scrolled .logo-text h1 {
    font-size: 1.2rem;
    /* Shrink font */
    margin-bottom: 0;
    transition: all 0.3s ease;
}

#master-header.scrolled .uni-name {
    display: none;
    /* Hide subtitle */
}

#master-header.scrolled .header-quick-links a {
    font-size: 0.8rem;
}

/* -------------------------------------------
   16. NEW DOSEN LAYOUT (MY BEST SUGGESTION: "STANDING ON THE LINE")
------------------------------------------- */
.dosen-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 0;
    /* Hapus celah 10px */
}

.dosen-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    position: relative;
    border-bottom: 4px solid #bf9b30;
    padding: 20px 0;
    /* Add some padding for better hover background */
    margin-bottom: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
}

.dosen-row:hover {
    background-color: rgba(189, 20, 76, 0.03);
}

.dosen-row:last-child {
    border-bottom: 4px solid #bf9b30;
}

/* Image Styling */
.dosen-row-img {
    position: relative;
    width: 320px;
    height: 380px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 40px;
    z-index: 10;
}

.dosen-row-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Default for most lecturers */
    transform: scale(1.18) translateY(-4%);
    transform-origin: top center;
    transition: all 0.3s ease;
}

/* Specific fix for photos with lots of white space at the top */
img.img-lift {
    transform: scale(1.1) translateY(18%) !important;
}

/* Bu Wiwiek specific - slightly less lift to avoid cropping */
img.img-lift-wiwiek {
    transform: scale(1.05) translateY(-3%) !important;
}

/* Bu Ria specific - pull up to touch the line */
img.img-lift-ria {
    transform: scale(1.1) translateY(-6%) !important;
}

/* For the 3 newest lecturers - pull up higher */
img.img-lift-new-group {
    transform: scale(1.1) translateY(-15%) !important;
}

.dosen-row:hover .dosen-row-img img {
    transform: scale(1.2) translateY(-4%);
}

.dosen-row:hover .dosen-row-img img.img-lift {
    transform: scale(1.15) translateY(15%) !important;
}

.dosen-row:hover .dosen-row-img img.img-lift-wiwiek {
    transform: scale(1.1) translateY(-3%) !important;
}

.dosen-row:hover .dosen-row-img img.img-lift-ria {
    transform: scale(1.2) translateY(-6%) !important;
}

.dosen-row:hover .dosen-row-img img.img-lift-new-group {
    transform: scale(1.2) translateY(-15%) !important;
}





/* Info Styling */
.dosen-row-info {
    padding-top: 30px;
    /* Naikkan teks agar sejajar bahu/wajah */
    padding-bottom: 30px;
    flex-grow: 1;
    margin: 0;
}





.dosen-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.8rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

/* Titles that appear in list */
.dosen-details-section {
    margin-bottom: 15px;
}

.dosen-details-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

/* Clean List */
.dosen-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dosen-details-list li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 6px;
    padding-left: 15px;
    position: relative;
}

.dosen-details-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: #333;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 9px;
}

/* Responsive */
@media (max-width: 768px) {
    .dosen-list {
        margin-top: 40px;
        gap: 60px;
    }

    .dosen-row {
        flex-direction: column;
        border-bottom: 1px solid #ddd;
        padding-bottom: 30px;
    }

    .dosen-row-img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        margin-top: 0;
        /* Reset negative margin on mobile */
    }
}

/* Grid for sub-page information sections */
.info-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .info-section-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------
   17. PAGE-SPECIFIC STYLES (FROM HTML DESIGN)
------------------------------------------- */

/* VISI MISI PAGE */
.vm-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.vision-box {
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--color-primary);
}

.vision-icon {
    font-size: 80px;
    color: rgba(189, 20, 76, 0.05);
    /* Using BD144C equivalent */
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.vision-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.vision-text {
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.mission-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    text-align: center;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(189, 20, 76, 0.1);
    border-color: var(--color-primary);
}

.mission-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(189, 20, 76, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    color: var(--color-primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon-wrapper {
    background: var(--color-primary);
    color: #fff;
}

.mission-text {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Goals Styling */
.goals-box {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.goals-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 20px;
}

.goal-item {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.goal-item:hover {
    background: #fafafa;
    border-left: 5px solid var(--color-primary);
    transform: translateX(5px);
}

.goal-icon {
    min-width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    font-size: 1.4rem;
}

.goal-text {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.6;
    padding-top: 2px;
}

.goal-text strong {
    display: block;
    margin-bottom: 5px;
    color: #222;
    font-size: 1.15rem;
}

.section-separator {
    text-align: center;
    margin-bottom: 40px;
}

.section-separator h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
}

.section-separator .divider {
    width: 80px;
    height: 4px;
    background: var(--color-primary);
    margin: 15px auto;
    border-radius: 2px;
}

/* FASILITAS PAGE */
.fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.fasilitas-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.fasilitas-card:hover {
    transform: translateY(-5px);
}

.fasilitas-img {
    height: 200px;
    background-color: #eee;
    position: relative;
    overflow: hidden;
}

.fasilitas-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fasilitas-body {
    padding: 20px;
}

.fasilitas-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.fasilitas-body p {
    color: #666;
    font-size: 0.95rem;
}

/* HIMA (KEMAHASISWAAN) */
.hima-header-section {
    text-align: center;
    margin-bottom: 50px;
}

.hima-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 30px;
}

.hima-text-content {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.hima-text-content p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.hima-section-title {
    color: var(--color-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.vm-item h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    display: inline-block;
}

.vm-item p,
.vm-item li {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.vm-item ul {
    padding-left: 20px;
    list-style-type: none;
}

.vm-item ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.vm-item ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-primary);
    position: absolute;
    left: 0;
    top: 2px;
}

/* STRUKTUR ORGANISASI */
.org-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.org-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 50px;
    text-align: center;
    border-top: 5px solid var(--color-primary);
}

.org-header h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 15px;
}

.org-image-wrapper {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.org-image-wrapper:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
}

.org-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.org-note {
    display: inline-flex;
    align-items: center;
    background-color: #fce4ec;
    padding: 15px 25px;
    border-radius: 50px;
    color: #d81b60;
    font-size: 1rem;
    margin-bottom: 30px;
    border: 1px solid #f8bbd0;
}

.org-note i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Fade In Animation */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet / Mobile Adjustments */
@media (max-width: 992px) {
    .info-section-grid {
        grid-template-columns: 1fr;
    }

    .vm-grid {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-info {
        padding: 15px;
    }
}

/* -------------------------------------------
   FASILITAS SECTION STYLES
------------------------------------------- */
.fasilitas-section {
    padding: 40px 0;
    background-color: #fff;
    position: relative;
}

.fasilitas-header {
    margin-bottom: 50px;
}

.fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.fasilitas-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.fasilitas-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.fasilitas-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Changed from 1/1 to prevent pixelation on zoom */
    overflow: hidden;
}

.fasilitas-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.fasilitas-card:hover .fasilitas-img-wrapper img {
    transform: scale(1.05);
}

.fasilitas-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #cd3131;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fasilitas-info {
    padding: 15px;
    text-align: left;
}

.fasilitas-title {
    font-size: 1rem;
    font-weight: 700;
    color: #cd3131;
    margin: 0;
    line-height: 1.4;
}

.fasilitas-desc {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
    margin-bottom: 0;
}

.btn-fasilitas-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: #cd3131;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-fasilitas-more:hover {
    background-color: #a10000;
    color: #fff;
}

/* Responsive Fasilitas */
@media (max-width: 991px) {
    .fasilitas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .fasilitas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .vm-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .org-card {
        padding: 30px 20px;
    }

    .vision-text {
        font-size: 1.3rem;
    }
}

/* KEMITRAAN (PARTNERSHIP) PAGE */
.mitra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mitra-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.mitra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.mitra-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(189, 20, 76, 0.12);
    border-color: var(--color-primary);
}

.mitra-card:hover::before {
    transform: scaleX(1);
}

.mitra-logo-box,
.mitra-logo-wrapper {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mitra-logo-box img,
.mitra-logo-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.mitra-card:hover .mitra-logo-box img,
.mitra-card:hover .mitra-logo-wrapper img {
    filter: grayscale(0%);
    opacity: 1;
}

.mitra-info h3,
.mitra-card h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.mitra-info p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.4;
}

.mitra-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #fff0f3;
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(189, 20, 76, 0.1);
    margin-top: auto;
}

@media (max-width: 768px) {
    .mitra-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }

    .mitra-card {
        padding: 20px;
    }

    .mitra-logo-box,
    .mitra-logo-wrapper {
        height: 100px;
    }
}

/* SINGLE POST & SIDEBAR */
.single-post-section {
    padding: 30px 0;
    background-color: #f9f9f9;
}

.single-post-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.main-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.post-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 25px;
}

.post-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #777;
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--color-primary);
    margin-right: 8px;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.entry-content p {
    margin-bottom: 20px;
}

/* Sidebar Styles */
.widget {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-primary);
    display: inline-block;
}

.recent-posts-list {
    list-style: none;
    padding: 0;
}

.recent-posts-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.recent-posts-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.recent-post-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info .title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
    display: block;
    margin-bottom: 5px;
}

.recent-post-info .date {
    font-size: 0.85rem;
    color: #999;
}

@media (max-width: 992px) {
    .single-post-grid {
        grid-template-columns: 1fr;
    }
}

/* ORMAWA PAGE */
.ormawa-section {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.ormawa-header {
    text-align: center;
    margin-bottom: 30px;
}

.ormawa-title-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 3px solid var(--color-primary);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.ormawa-logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.ormawa-logo-detail {
    width: 250px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 0 auto 20px auto;
}

.ormawa-content {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    text-align: justify;
}

.division-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    counter-reset: division-counter;
}

.division-item {
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

.division-title {
    font-weight: 700;
    color: var(--color-dark);
    display: block;
    margin-bottom: 5px;
}

.division-title::before {
    counter-increment: division-counter;
    content: counter(division-counter) ". ";
    position: absolute;
    left: 0;
    font-weight: 700;
}

.division-desc {
    display: block;
    margin-left: 0;
    color: #666;
}

/* PRESTASI PAGE */
.achievement-list {
    display: grid;
    gap: 20px;
}

.achievement-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    overflow: hidden;
    align-items: center;
}

.achievement-icon {
    background: var(--color-primary);
    color: #fff;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    align-self: stretch;
}

.achievement-content {
    padding: 20px;
    flex: 1;
}

.achievement-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-dark);
}

.achievement-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

.badge-year {
    display: inline-block;
    background: #eee;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 10px;
}

/* KALENDER PAGE */
.calendar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.calendar-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.calendar-item:last-child {
    border-bottom: none;
}

.calendar-item:hover {
    background-color: #f9f9f9;
}

.calendar-date {
    background-color: var(--color-primary);
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
    min-width: 100px;
    margin-right: 20px;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.date-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-content h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.calendar-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* KURIKULUM PAGE */
.curriculum-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.curriculum-table th {
    background-color: var(--color-primary);
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.curriculum-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.semester-title {
    background-color: #f0f0f0;
    padding: 10px 15px;
    font-weight: 700;
    color: var(--color-dark);
    margin-top: 30px;
    border-left: 5px solid var(--color-primary);
    border-radius: 4px;
}

/* -------------------------------------------
   RESPONSIVE FIXES (ADDED BY AI)
------------------------------------------- */

@media (max-width: 991px) {
    /* Tablet & Small Laptop Fixes */

    .hero-title {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Keep 3 columns if they fit */
        gap: 15px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .intro-image {
        margin: 0 auto;
        order: -1;
        /* Image first on mobile/tablet */
        max-width: 300px;
    }

    .divider-left {
        margin: 0 auto 25px;
        /* Center divider */
    }

    .intro-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Mobile Landscape & Portrait Fixes */

    /* Global Container */
    .container {
        padding: 0 20px;
    }

    /* Header */
    .brand-inner {
        flex-direction: column;
        text-align: center;
        padding-bottom: 10px;
    }

    .logo {
        flex-direction: column;
        margin-bottom: 15px;
        justify-content: center;
    }

    .logo-text h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .logo-text .uni-name {
        font-size: 0.8rem;
        text-align: center;
    }

    .header-quick-links {
        display: none;
        /* Hide quick links on mobile */
    }

    /* --------------------------------------
       NEW OFF-CANVAS SIDE MENU STYLES
       -------------------------------------- */
    .main-navigation .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: #fff;
        /* White icon on pink bar */
        cursor: pointer;
        z-index: 1001;
    }

    /* Side Menu Container */
    .navbar-menu {
        display: block !important;
        position: fixed;
        top: 0;
        right: -280px;
        /* Hidden by default */
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        /* Clean White BG */
        z-index: 9999;
        transition: right 0.3s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 60px 0 20px 0;
        overflow-y: auto;
    }

    /* Active State (Slide In) */
    .navbar-menu.active {
        right: 0;
    }

    /* Links in Slide Menu */
    .nav-links {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #f5f5f5;
        position: relative;
    }

    .nav-links a {
        color: #333;
        /* Dark Grey Text */
        padding: 15px 20px;
        font-weight: 500;
        font-size: 0.95rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        transition: 0.2s;
    }

    .nav-links a:hover {
        background-color: #fef0f4;
        /* Very light pink hover */
        color: var(--color-primary);
    }

    /* Submenu Arrow Indicator */
    .dropdown-toggle-icon {
        font-size: 0.8rem;
        color: #999;
        transition: transform 0.3s;
    }

    .has-dropdown.active .dropdown-toggle-icon {
        transform: rotate(180deg);
        color: var(--color-primary);
    }

    /* Submenu (Hidden Accordion) */
    .nav-links ul {
        position: static;
        box-shadow: none;
        background-color: var(--color-primary);
        /* Red background for submenu */
        display: none;
        /* Hidden */
        width: 100%;
        padding: 5px 0;
        opacity: 1;
        transform: none;
        visibility: visible;
        border-top: none;
        border-radius: 6px;
        margin-top: 5px;
    }

    .nav-links ul.active-submenu {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links ul li a {
        padding: 10px 20px 10px 40px;
        /* Indent Submenu */
        font-size: 0.95rem;
        color: #fff;
    }

    .nav-links ul li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    /* Overlay Backdrop */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9980;
        /* LOWERED: Must be below Header (9990) */
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Close Button */
    .menu-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
        color: #888;
        cursor: pointer;
        transition: 0.3s;
    }

    .menu-close-btn:hover {
        color: var(--color-primary);
        transform: rotate(90deg);
    }

    /* Menu Label */
    .menu-header-label {
        position: absolute;
        top: 25px;
        left: 20px;
        font-weight: 700;
        color: var(--color-primary);
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* -------------------------------------- */


    /* Hero Section */
    .hero {
        height: auto;
        min-height: 500px;
        padding: 120px 0 60px;
        /* Give space for header (fixed) */
        display: flex;
        align-items: center;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Stats Section */
    .stats-section {
        margin-top: 0;
        padding-top: 20px;
        margin-bottom: 40px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 25px;
        justify-content: flex-start;
        flex-direction: row;
        align-items: center;
    }

    /* Grids */
    .intro-grid,
    .dosen-grid,
    .footer-grid,
    .news-grid,
    .info-section-grid {
        grid-template-columns: 1fr;
    }

    .dosen-grid {
        max-width: 350px;
        margin: 30px auto;
    }

    /* Footer Alignment */
    .footer-grid {
        text-align: center;
        gap: 40px;
    }

    .footer-brand,
    .contact-list li,
    .footer-social-new {
        justify-content: center;
        text-align: center;
    }

    .contact-list li {
        flex-direction: column;
        gap: 10px;
    }

    .contact-icon {
        margin-right: 0;
    }

    .partners-slider {
        margin-top: 20px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* Fix for very small screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .logo-img {
        height: 45px;
    }
}

/* DESKTOP FIXES (Added to hide Mobile Elements) */
@media (min-width: 769px) {

    .menu-header-mobile,
    .menu-header-label,
    .menu-close-btn,
    .menu-overlay,
    .dropdown-toggle-icon {
        display: none !important;
    }
}

/* FIX FOR DEAN'S WELCOME (Sambutan Dekan) ON MOBILE/TABLET */
@media (max-width: 991px) {

    /* Reset the lift effect that causes overlap */
    img.img-lift {
        transform: none !important;
        margin-bottom: 20px;
    }

    .intro-image {
        margin-bottom: 0;
        /* Ensure z-index doesn't mess up */
        z-index: 1;
    }

    .intro-content {
        /* Ensure text is readable and well-spaced */
        padding-top: 10px;
        position: relative;
        z-index: 2;
    }

    .dean-name {
        font-size: 1.8rem;
        /* Smaller font for name */
    }

    .section-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 10px !important;
    }
}

/* FOOTER ALIGNMENT FIX FOR MOBILE */
@media (max-width: 768px) {
    .footer-grid {
        text-align: left !important;
        /* Left align everything */
        gap: 30px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .footer-title {
        text-align: left !important;
    }

    .footer-title::after {
        left: 0;
        right: auto;
        margin: 0;
    }

    /* Lists */
    .widget-categories ul li,
    .menu-quick-links-container ul li {
        text-align: left !important;
    }

    .contact-list li {
        align-items: flex-start !important;
        /* Align contact items to left */
        text-align: left !important;
    }

    .footer-social-new {
        justify-content: flex-start !important;
        /* Align social icons to left */
    }
}

/* FINAL POLISH FOR CONTACT SECTION ON MOBILE */
@media (max-width: 768px) {
    .contact-list {
        padding-left: 0;
        margin-left: 0;
    }

    .contact-list li {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        /* Force Start */
        align-items: flex-start !important;
        text-align: left !important;
        gap: 15px;
        margin-bottom: 20px;
        padding-left: 0 !important;
        width: 100%;
        /* Ensure it doesn't overflow container */
    }

    .contact-icon {
        margin: 0 !important;
        /* Reset all margins */
        flex-shrink: 0;
        width: 40px;
        /* Fixed small width to align neatly */
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        /* margin-top: -5px; Optional: visual alignment */
    }

    /* Fix for long email address causing horizontal scroll */
    .contact-text {
        word-break: break-all;
        /* Break long words like emails */
        overflow-wrap: break-word;
        /* Modern standard */
        flex: 1;
        /* Allow it to take remaining space */
        min-width: 0;
        /* Critical for flex items to wrap properly */
        font-size: 0.9rem;
        /* Slightly smaller text for better fit */
    }
}

/* BG CAMPUS OVERLAY STYLE */
.section-bg-campus {
    position: relative;
    background-image: url('images/bg-campus.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    padding: 40px 0;
}

.section-bg-campus::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.92);
    /* White Overlay with high opacity */
    backdrop-filter: blur(0.5px);
    /* Subtle blur for modern browsers */
    z-index: 0;
}

.section-bg-campus .container {
    position: relative;
    z-index: 2;
    /* Content on top */
}

/* Ensure background color overrides default styles */
.section-bg-campus.section {
    background-color: transparent !important;
}

/* -------------------------------------------
   WELCOME SECTION (Dean's Message & Stats)
------------------------------------------- */
.welcome-section {
    padding: 30px 0 80px 0;
    /* Reduced top padding */
    background-color: #fff;
}

.welcome-layout {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: center;
    /* Vertically center content */
}

/* Left Column Styling */
.welcome-col-left {
    flex: 1;
    /* Occupy remaining space */
    padding-right: 20px;
}

.welcome-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #a00000;
    /* Dark Red to match image */
    line-height: 1.2;
    margin-bottom: 20px;
}

.welcome-text {
    font-size: 0.95rem;
    /* Slightly smaller */
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: justify;
    text-transform: none;
    /* Reset uppercase */
    font-weight: 400;
    /* Not bold */
    letter-spacing: normal;
    /* Reset spacing */
    opacity: 1;
    /* Reset opacity */
}

.dean-link {
    display: inline-flex;
    align-items: center;
    color: #a00000;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    margin-bottom: 5px;
    /* Reduced from 20px */
    transition: color 0.3s;
}

.dean-link i {
    margin-left: 8px;
    /* Space for icon */
}

.dean-link:hover {
    color: #c00000;
    text-decoration: underline;
}

.dean-divider {
    height: 1px;
    background-color: #eee;
    width: 100%;
    margin: 15px 0;
    /* Reduced from 20px 0 */
}

.dean-profile-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dean-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
    /* Show avatar */
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dean-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dean-name-new {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.dean-title-new {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* Right Column Styling */
.welcome-col-right {
    flex: 0 0 500px;
    /* Stats column width */
    max-width: 100%;
}

.stats-container {
    margin-bottom: 40px;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item {
    text-align: center;
    padding: 0 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: #e0e0e0;
    align-self: center;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    /* Center buttons */
    margin-top: 20px;
    /* Add some top spacing if needed, but keeping it minimal */
}

.btn-outline-red {
    border: 1px solid #a00000;
    /* Dark Red Border */
    color: #a00000;
    background: transparent;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
}

.btn-outline-red:hover {
    background: #a00000;
    color: #fff;
    text-decoration: none;
}

.btn-solid-red {
    background: #a00000;
    color: #fff;
    border: 1px solid #a00000;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
    font-size: 0.95rem;
}

.btn-solid-red i {
    margin-right: 8px;
}

.btn-solid-red:hover {
    background: #c00000;
    border-color: #c00000;
    color: #fff;
    text-decoration: none;
}

/* Responsiveness */
@media (max-width: 991px) {
    .welcome-layout {
        flex-direction: column;
        gap: 40px;
    }

    .welcome-col-right {
        flex: 0 0 100%;
        width: 100%;
    }

    .stats-row {
        flex-wrap: wrap;
        /* Allow wrapping on very small screens */
        justify-content: space-around;
        gap: 20px;
    }

    .stat-divider {
        display: none;
        /* Hide dividers on mobile wrapping */
    }

    .action-buttons {
        justify-content: center;
        margin-left: 0;
    }
}

/* -------------------------------------------
   ARTIKEL & BERITA SECTION
------------------------------------------- */
.news-section {
    padding: 30px 0;
    background-color: #fcfcfc;
    /* Very light gray bg */
}

.news-section .welcome-heading {
    color: #000;
    /* Change heading color to black */
}

.news-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* Left Column: Featured Post */
.news-col-left {
    flex: 1.4;
    /* Takes up more space (~60%) */
    min-width: 300px;
}

.featured-news-card {
    background: #fff;
    border-radius: 15px;
    /* Large rounded corners */
    overflow: hidden;
}

.featured-news-img-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    /* Fixed height for consistency */
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.featured-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-news-card:hover .featured-news-img {
    transform: scale(1.05);
}

.news-label-latest {
    display: inline-block;
    color: #ce2e2e;
    /* Red color */
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.featured-news-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.featured-news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.featured-news-title a:hover {
    color: #ce2e2e;
}

.featured-news-excerpt {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: #888;
}

.meta-item i {
    margin-right: 5px;
    color: #ce2e2e;
}


/* Right Column: News List */
.news-col-right {
    flex: 1;
    /* Takes up less space (~40%) */
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.news-list-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.news-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-list-thumb {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.news-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-content {
    flex: 1;
}

.news-list-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-list-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-list-title a:hover {
    color: #ce2e2e;
}

.news-list-excerpt {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-berita {
    display: inline-block;
    background-color: #ce2e2e;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
    font-weight: 500;
}

.news-meta-small {
    display: inline-block;
    font-size: 0.8rem;
    color: #999;
}

.news-meta-small i {
    margin-right: 4px;
    color: #ce2e2e;
}

/* View All Button */
.btn-view-all {
    display: block;
    width: 100%;
    background-color: #a50000;
    /* Darker red */
    color: #fff;
    text-align: center;
    padding: 12px 0;
    border-radius: 8px;
    /* Slightly rounded */
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
    margin-top: auto;
    /* Push to bottom if container has height */
}

.btn-view-all:hover {
    background-color: #800000;
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .news-layout {
        flex-direction: column;
    }

}

/* -------------------------------------------
   AGENDA & EKSTRAKURIKULER SECTION
------------------------------------------- */
.agenda-eskul-section {
    padding: 30px 0;
    background-color: #fff;
}

.agenda-eskul-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Left Column: Agenda */
.agenda-col {
    flex: 0 0 350px;
    /* Fixed width for agenda */
    max-width: 100%;
}

.agenda-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    overflow: hidden;
    border: 1px solid #eee;
}

.agenda-header {
    background-color: #a00000;
    /* Dark Red */
    color: #fff;
    padding: 25px;
}

.agenda-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #fff;
}

.agenda-header p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.agenda-list {
    padding: 20px;
}

.agenda-item {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.agenda-item:last-child {
    margin-bottom: 0;
}

.agenda-meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.agenda-meta span {
    display: inline-flex;
    align-items: center;
}

.agenda-meta i {
    color: #e67e22;
    /* Orange for icons */
    margin-right: 5px;
}

.agenda-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.agenda-location {
    font-size: 0.75rem;
    color: #888;
    display: flex;
    align-items: flex-start;
}

.agenda-location i {
    color: #e67e22;
    margin-right: 5px;
    margin-top: 3px;
}

.agenda-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.btn-agenda-all {
    color: #a00000;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.btn-agenda-all:hover {
    color: #c00000;
}

/* Right Column: Ekstrakurikuler */
.eskul-col {
    flex: 1;
}

.eskul-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.eskul-header-row .welcome-heading {
    color: #000;
}

.eskul-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.eskul-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    position: relative;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.eskul-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.eskul-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #a00000;
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 2;
    display: inline-flex;
    align-items: center;
}

.eskul-badge i {
    margin-right: 4px;
    font-size: 0.8em;
}

.eskul-img-wrapper {
    width: 140px;
    height: 140px;
    /* Fixed circular container */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid #f0f0f0;
    /* Will be overridden by inline style color */
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.eskul-img-wrapper img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    /* Ensure logo fits without cropping */
    transition: transform 0.3s;
}

.eskul-card:hover .eskul-img-wrapper img {
    transform: scale(1.05);
}

.eskul-title {
    font-size: 1rem;
    font-weight: 700;
    color: #a00000;
    /* Red color matching screenshot */
    margin: 0;
    margin-top: auto;
    /* Push to bottom if content varies */
}

/* Responsive */
@media (max-width: 991px) {
    .agenda-eskul-layout {
        flex-direction: column;
    }

    .agenda-col {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 40px;
        /* Space between Agenda and Eskul on mobile */
    }

    .eskul-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .eskul-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------
   PRESTASI SECTION STYLES
------------------------------------------- */
.prestasi-section {
    padding: 40px 0;
    background-color: #cd3131;
    /* Example Red from image */
    color: #fff;
    position: relative;
}

.prestasi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title-white {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.2;
}

.section-subtitle-white {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    line-height: 1.6;
}

.text-center .section-subtitle-white {
    margin-left: auto;
    margin-right: auto;
}

.btn-white-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #fff;
    border-radius: 8px;
    /* Consistent with other buttons */
    color: #cd3131;
    /* Red text on white button */
    background-color: #fff;
    text-transform: capitalize;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-white-outline:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.prestasi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* Prestasi Card Styles */
.prestasi-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    padding: 20px;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prestasi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.p-card-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.p-img-col {
    flex: 0 0 110px;
    height: 130px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.p-student-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.p-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Badges */
.p-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    align-self: flex-start;
}

.p-badge-academic {
    background-color: #ffebee;
    /* Light red */
    color: #d32f2f;
    /* Dark red text */
}

.p-badge-non {
    background-color: #fff3e0;
    /* Light orange */
    color: #e65100;
    /* Dark orange text */
}

.p-student-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3;
    color: #2c3e50;
}

.p-desc {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-details {
    display: flex;
    gap: 25px;
    margin-top: auto;
}

.p-detail-item {
    display: flex;
    flex-direction: column;
}

.p-lbl {
    font-size: 0.75rem;
    color: #95a5a6;
    margin-bottom: 3px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: capitalize;
}

.p-lbl i {
    color: #f39c12;
    /* Icon color */
    font-size: 0.8rem;
}

.p-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: #34495e;
}

/* Responsive */
@media (max-width: 991px) {
    .prestasi-grid {
        grid-template-columns: 1fr;
    }

    .prestasi-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .p-card-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .p-img-col {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        /* Circle on mobile */
        margin-bottom: 10px;
    }

    .p-badge {
        align-self: center;
    }

    .p-details {
        justify-content: center;
    }
}

/* -------------------------------------------
   DOSEN & STAFF SECTION STYLES
------------------------------------------- */
.dosen-section {
    padding: 40px 0;
    background-color: #fff;
}

.dosen-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.dosen-title-wrapper {
    max-width: 700px;
}

.btn-dosen-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #a10000;
    border-radius: 8px;
    /* Consistent with other buttons */
    color: #a10000;
    background-color: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-dosen-outline:hover {
    background-color: #a10000;
    color: #fff;
}

.dosen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.dosen-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.dosen-card:hover {
    transform: translateY(-5px);
}

.dosen-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Square image as per design preference */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dosen-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    /* Important for portraits */
}

.dosen-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #a10000;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.dosen-jabatan {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 600;
    margin-bottom: 15px;
}

.dosen-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.d-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #a10000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.d-icon:hover {
    background-color: #d65a5a;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 991px) {
    .dosen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .dosen-grid {
        grid-template-columns: 1fr;
    }

    .dosen-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* -------------------------------------------
   VIDEO SECTION STYLES
------------------------------------------- */
.video-section {
    padding: 40px 0;
    background-color: #cd3131;
    /* Matching Prestasi Section Red */
    color: #fff;
    position: relative;
}

.video-header {
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.video-divider {
    width: 60px;
    height: 3px;
    background-color: #fff;
    margin: 15px auto 0;
    border-radius: 2px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 50%;
    /* 2:1 Aspect Ratio */
    height: 0;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 15px;
    background: #fff;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70px;
}

.video-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-footer {
    position: relative;
    z-index: 1;
}

.btn-video-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-video-more:hover {
    background-color: #fff;
    color: #cd3131;
}

.btn-video-more i {
    font-size: 1.1rem;
}

/* Responsive Video */
@media (max-width: 991px) {
    .video-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------
   FOOTER STYLES (Refined)
------------------------------------------- */
.footer {
    background-color: #a10000;
    /* Solid Dark Red */
    color: #fff;
    padding-top: 60px;
    font-size: 0.95rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 0px;
    /* Reduced to minimum */
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    position: relative;
    color: #fff;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #fff;
    /* White accent */
}

/* Branding Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand img {
    height: 55px;
    width: auto;
    /* Removed background: #fff to let logo transparency work or remove white box */
    padding: 0;
    border-radius: 0;
}

.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
    color: #fff;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-top: 10px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
}

.footer-links a i {
    font-size: 0.7rem;
    color: #fff;
    /* White icons */
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    /* White icon color */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
    margin-top: 3px;
}

.contact-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Social Buttons */
.footer-social-new {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background-color: #fff;
    /* Solid white background by default */
    color: #a10000;
    /* Red icon color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 2px solid #fff;
}

.social-btn:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
}

/* Footer Bottom */
/* Footer Bottom */
.footer-bottom {
    background-color: #a10000;
    /* Same as footer main background */
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    border-top: none;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-desc {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-title {
        text-align: center;
    }
}