/* BPR Landing Page Styles */
/* Primary Color: Maroon (#8B1E23) with Gold Accents (#C9A227) and Cream Background (#FFF8EC) */

:root {
    --primary-color: #8B1E23;
    --primary-dark: #6B1519;
    --primary-light: #A52A30;
    --yellow-accent: #E30613;
    --button-text-accent: #FFFFFF;
    --footer-text-accent: #FFFFFF;
    --yellow-dark: #FFFFFF;
    --dark-gray: #4A4A4A;
    --text-dark: #3A2E2A;
    --text-light: #4A4A4A;
    --bg-light: #FFFFFF;
    --bg-grey: #e0e0e0;
    --white: #FFFFFF;
    --border-color: #E6D8B8;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--yellow-accent);
}

/* Header Styles */
.header-top {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 11.2px;
}

/* Prevent duplicate header-top */
#header-top ~ .header-top,
.header-top ~ #header-top {
    display: none !important;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--white);
}

/* WhatsApp Button in Header */
.header-top .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.header-top .whatsapp-btn:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.header-top .whatsapp-btn i {
    font-size: 16px;
}

/* Yellow Banner */
.header-yellow-banner {
    background-color: var(--yellow-accent);
    padding: 8px 0;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
}

.header-yellow-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.header-yellow-banner i {
    font-size: 14.4px;
}

/* Logo Section with Wave */
.logo-section {
    padding: 20px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.logo-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to right, 
        var(--primary-color) 0%, 
        var(--primary-color) 30%,
        var(--yellow-accent) 30%,
        var(--yellow-accent) 70%,
        var(--primary-color) 70%,
        var(--primary-color) 100%);
    opacity: 0.1;
    z-index: 0;
}

.logo-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-size: 25.6px;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
}

.logo-tagline {
    font-size: 11.2px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 5px;
}

.header-main {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
    width: 100%;
}

.navbar {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: visible;
    width: 100%;
}

.navbar-brand {
    font-size: 19.2px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    font-size: 22.4px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
    z-index: 1002;
    position: relative;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle:hover span {
    background-color: var(--yellow-accent);
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
    overflow: visible;
    position: relative;
    z-index: 1001;
}

.navbar-nav li {
    position: relative;
}

.navbar-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 13.5px;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.navbar-nav a span {
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.navbar-nav a i {
    font-size: 12px;
    flex-shrink: 0;
}

.navbar-nav a .dropdown-icon {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.navbar-nav li.has-dropdown:hover a .dropdown-icon {
    transform: rotate(180deg);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--yellow-accent);
}

.navbar-nav a.active i,
.navbar-nav a.active span {
    color: var(--yellow-accent);
}

.navbar-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--yellow-accent);
}

/* Hilangkan garis bawah untuk menu dropdown saat hover dan active */
.navbar-nav li.has-dropdown > a:hover::after,
.navbar-nav li.has-dropdown > a.active::after {
    display: none;
}

/* Hilangkan garis bawah untuk active link di dalam dropdown menu */
.dropdown-menu a.active::after {
    display: none;
}

/* Hilangkan garis bawah untuk active link di multi-column dropdown */
.navbar-nav li.has-dropdown .dropdown-menu.multi-column .dropdown-column-items a.active::after {
    display: none !important;
}

/* Dropdown Menu */
.navbar-nav li {
    position: relative;
}

.navbar-nav li.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px) scale(0.98);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    padding: 15px 0 8px 0;
    margin-top: 0;
    list-style: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: visible;
    pointer-events: none;
    display: block !important; /* Ensure dropdown is always in layout */
}

/* Add invisible buffer area at top of dropdown to prevent gap */
.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -5px;
    right: -5px;
    height: 15px;
    background: transparent;
    pointer-events: auto;
}

.navbar-nav li.has-dropdown:hover .dropdown-menu,
.navbar-nav li.has-dropdown .dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--white);
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
    z-index: 1;
}

.dropdown-menu.multi-column::before {
    border-bottom-color: var(--white);
}

.dropdown-menu li {
    width: 100%;
    position: relative;
}

.dropdown-menu li:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dropdown-menu li:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--yellow-accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    color: var(--primary-color);
    padding-left: 25px;
    border-left-color: var(--yellow-accent);
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

/* Ensure dropdown menu items remain black even when parent menu is active */
.navbar-nav li.has-dropdown .dropdown-menu a {
    color: var(--text-dark) !important;
}

.navbar-nav li.has-dropdown .dropdown-menu a.active {
    color: var(--text-dark) !important;
}

/* Override active state from parent menu for dropdown items */
.navbar-nav li.has-dropdown > a.active ~ .dropdown-menu a,
.navbar-nav li.has-dropdown.active .dropdown-menu a {
    color: var(--text-dark) !important;
}

/* Ensure dropdown items don't inherit active color from parent */
.navbar-nav li.has-dropdown .dropdown-menu a:not(:hover) {
    color: var(--text-dark) !important;
}

/* Override icon and span color in dropdown menu to remain black */
.navbar-nav li.has-dropdown .dropdown-menu a i,
.navbar-nav li.has-dropdown .dropdown-menu a span {
    color: var(--text-dark) !important;
}

.navbar-nav li.has-dropdown .dropdown-menu a.active i,
.navbar-nav li.has-dropdown .dropdown-menu a.active span {
    color: var(--text-dark) !important;
}

.dropdown-menu.multi-column::before {
    border-bottom-color: var(--white);
}

/* Multi-Column Dropdown Menu for Produk & Layanan */
.navbar-nav li.has-dropdown .dropdown-menu.multi-column {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(200px, 1fr) !important;
    min-width: 250px !important;
    padding: 20px 15px !important;
    gap: 0 !important;
    background: var(--white) !important;
    white-space: nowrap;
    z-index: 1002 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
}

.navbar-nav li.has-dropdown .dropdown-menu.multi-column .dropdown-column {
    padding: 0 10px !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
    display: block !important;
    width: auto !important;
}

.navbar-nav li.has-dropdown .dropdown-menu.multi-column .dropdown-column:last-child {
    border-right: none !important;
}

.navbar-nav li.has-dropdown .dropdown-menu.multi-column .dropdown-column-header {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: var(--primary-color) !important;
    padding: 0 0 12px 0 !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: block !important;
    white-space: normal;
}

.navbar-nav li.has-dropdown .dropdown-menu.multi-column .dropdown-column-items {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.navbar-nav li.has-dropdown .dropdown-menu.multi-column .dropdown-column-items li {
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
}

.navbar-nav li.has-dropdown .dropdown-menu.multi-column .dropdown-column-items a {
    padding: 10px 8px !important;
    font-size: 13.5px !important;
    color: var(--text-dark) !important;
    border-left: none !important;
    transition: all 0.2s ease !important;
    display: block !important;
    border-radius: 4px !important;
    margin-bottom: 2px !important;
    white-space: normal !important;
    text-decoration: none !important;
}

.navbar-nav li.has-dropdown .dropdown-menu.multi-column .dropdown-column-items a::before {
    display: none !important;
}

.navbar-nav li.has-dropdown .dropdown-menu.multi-column .dropdown-column-items a:hover {
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%) !important;
    color: var(--primary-color) !important;
    padding-left: 12px !important;
    border-left: none !important;
    transform: translateX(3px) !important;
}

/* Adjust dropdown arrow position for multi-column */
.navbar-nav li.has-dropdown:hover .dropdown-menu.multi-column::before {
    left: 50px !important;
}

/* Ensure multi-column dropdown is visible on hover */
.navbar-nav li.has-dropdown:hover .dropdown-menu.multi-column,
.navbar-nav li.has-dropdown .dropdown-menu.multi-column:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
    display: grid !important;
}

/* Responsive: Convert multi-column to single column on smaller screens */
@media (max-width: 1024px) {
    .navbar-nav li.has-dropdown .dropdown-menu.multi-column {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-flow: row !important;
        grid-auto-columns: unset !important;
        min-width: 400px !important;
    }
}

@media (max-width: 768px) {
    .navbar-nav li.has-dropdown .dropdown-menu.multi-column {
        grid-template-columns: 1fr !important;
        grid-auto-flow: row !important;
        grid-auto-columns: unset !important;
        min-width: 100% !important;
        position: static !important;
    }
    
    /* Ensure dropdown is hidden when not active in mobile */
    .navbar-nav li.has-dropdown:not(.active) .dropdown-menu.multi-column {
        max-height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        display: block !important;
    }
    
    /* Show dropdown when active in mobile */
    .navbar-nav li.has-dropdown.active .dropdown-menu.multi-column {
        padding: 15px !important;
        max-height: 400px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        display: grid !important;
    }
    
    .navbar-nav li.has-dropdown .dropdown-menu.multi-column .dropdown-column {
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding: 15px 0 !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }
    
    .navbar-nav li.has-dropdown .dropdown-menu.multi-column .dropdown-column:last-child {
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }
    
    .navbar-nav li.has-dropdown .dropdown-menu.multi-column .dropdown-column-items {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Responsive Header */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
    }
    
    .navbar-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        z-index: 1001;
        pointer-events: none;
    }
    
    .navbar-nav.active {
        max-height: calc(100vh - 120px);
        padding: 10px 0;
        pointer-events: auto;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .navbar-nav li {
        width: 100%;
    }
    
    .navbar-nav a {
        padding: 12px 20px;
        width: 100%;
        border-bottom: 1px solid rgba(74, 74, 74, 0.2);
    }
    
    .navbar-nav a.active::after {
        display: none;
    }
    
    .navbar-nav a.active {
        background-color: rgba(158, 27, 27, 0.1);
        border-left: 3px solid var(--primary-color);
        color: var(--yellow-accent);
    }
    
    .navbar-nav a.active i,
    .navbar-nav a.active span {
        color: var(--yellow-accent);
    }
    
    /* Mobile Dropdown Styles */
    .navbar-nav li.has-dropdown {
        position: relative;
    }
    
    .navbar-nav li.has-dropdown .dropdown-icon {
        margin-left: auto;
        transition: transform 0.3s ease;
    }
    
    .navbar-nav li.has-dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
        background-color: rgba(158, 27, 27, 0.03);
        border-left: 3px solid transparent;
        margin-left: 20px;
        display: block;
    }
    
    /* Ensure dropdown is hidden when not active */
    .navbar-nav li.has-dropdown:not(.active) .dropdown-menu {
        max-height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .navbar-nav li.has-dropdown.active .dropdown-menu {
        max-height: 400px;
        padding: 10px 0;
        border-left-color: var(--primary-color);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mobile Multi-Column Dropdown Fix - Hidden by default */
    .navbar-nav li.has-dropdown .dropdown-menu.multi-column {
        max-height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        display: block !important;
        position: static !important;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease !important;
    }
    
    /* Mobile Multi-Column Dropdown Fix - Show when active */
    .navbar-nav li.has-dropdown.active .dropdown-menu.multi-column {
        max-height: 400px !important;
        padding: 15px 10px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        display: grid !important;
        position: static !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .navbar-nav li.has-dropdown.active .dropdown-menu.multi-column .dropdown-column {
        width: 100% !important;
        padding: 10px 0 !important;
        margin-bottom: 15px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
    
    .navbar-nav li.has-dropdown.active .dropdown-menu.multi-column .dropdown-column:last-child {
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }
    
    .navbar-nav li.has-dropdown.active .dropdown-menu.multi-column .dropdown-column-header {
        font-size: 14px !important;
        padding: 0 0 10px 0 !important;
        margin-bottom: 8px !important;
    }
    
    .navbar-nav li.has-dropdown.active .dropdown-menu.multi-column .dropdown-column-items {
        max-height: none !important;
        overflow: visible !important;
    }
    
    /* Ensure dropdown menu can be toggled and scrolled properly */
    .navbar-nav li.has-dropdown .dropdown-menu {
        will-change: max-height;
    }
    
    /* Prevent menu from being cut off */
    .navbar-nav.active {
        max-height: calc(100vh - 100px);
    }
    
    .navbar-nav li.has-dropdown.active .dropdown-menu.multi-column .dropdown-column-items a {
        padding: 8px 15px !important;
        font-size: 13px !important;
    }
    
    .dropdown-menu li {
        width: 100%;
    }
    
    .dropdown-menu a {
        padding: 10px 20px 10px 40px;
        font-size: 13px;
        border-left: none;
    }
    
    .dropdown-menu a::before {
        display: none;
    }
    
    .dropdown-menu a:hover {
        background-color: rgba(158, 27, 27, 0.08);
        padding-left: 45px;
        border-left: none;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: row;
        gap: 10px;
        text-align: left;
        font-size: 9px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-top .container > div {
        display: flex;
        align-items: center;
        gap: 5px;
        flex: 0 1 auto;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
    }
    
    .header-top .container > div:first-child {
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .header-top .container > div:first-child span,
    .header-top .container > div:first-child {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .header-top .container > div:last-child {
        flex-shrink: 0;
    }
    
    .header-top .container > div:last-child span {
        white-space: nowrap;
    }
    
    .header-top .whatsapp-btn {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
        margin-left: 3px;
    }
    
    .header-top .whatsapp-btn i {
        font-size: 14px;
    }
    
    .navbar-brand {
        font-size: 12.8px;
    }
    
    .navbar-brand i {
        font-size: 19.2px;
    }
}

/* Hero Section - Two Panel Layout */
.hero-section {
    display: flex;
    width: 100%;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

/* Left Panel - Blue Recruitment */
.hero-panel-left {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-panel-left h2 {
    font-size: 28.8px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-recruitment-btn {
    background-color: var(--yellow-accent);
    color: var(--primary-color);
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 12.8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: inline-block;
    text-align: center;
}

.hero-recruitment-btn:hover {
    background-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero-yellow-banner {
    background-color: var(--yellow-accent);
    color: var(--primary-color);
    padding: 10px 20px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.hero-recruitment-info {
    margin-top: 20px;
    font-size: 11.2px;
    line-height: 1.8;
}

/* Right Panel - Grey Announcements */
.hero-panel-right {
    flex: 1;
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.announcement-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-item {
    display: none;
    padding: 0;
    text-align: left;
    width: 100%;
    animation: fadeIn 0.5s ease-in;
}

.announcement-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.announcement-item h2 {
    font-size: 25.6px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.5);
}

.announcement-item p {
    font-size: 14.4px;
    margin-bottom: 25px;
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 500;
}

.announcement-item .btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 8.4px 21px;
    border-radius: 5px;
    font-weight: 400;
    font-size: 11.2px;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-top: 10px;
}

.announcement-item .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    color: #ffffff;
}

/* Hero Navigation Arrows */
.hero-nav-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.hero-nav-arrow {
    background: rgba(158, 27, 27, 0.8);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.8px;
    transition: all 0.3s ease;
    pointer-events: all;
}

.hero-nav-arrow:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Hero Footer */
.hero-footer {
    background-color: var(--white);
    padding: 20px 0;
    border-top: 1px solid var(--bg-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-footer-left {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-footer-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-social-icon:hover {
    background-color: var(--yellow-accent);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 11.2px;
}

.hero-contact-info i {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--yellow-accent);
    color: var(--button-text-accent);
    padding: 8.4px 21px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 11.2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 25.6px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title h2 i {
    font-size: 22.4px;
}

.section-title p {
    color: var(--text-light);
    font-size: 12.8px;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(158, 27, 27, 0.2);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
}

/* BPR Logo Overlay on Product Card */
.product-card::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text x="50%" y="50%" text-anchor="middle" dominant-baseline="middle" font-size="19.2" font-weight="bold" fill="white">BPR</text></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: none;
}

.product-card-body {
    padding: 20px;
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 12.8px;
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 11.2px;
    text-align: justify;
    line-height: 1.6;
}

/* Procurements Section */
.procurement-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Plant Silhouettes Pattern Background */
.procurement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.05) 10px, rgba(255,255,255,0.05) 20px),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M100 20 L120 80 L180 80 L130 120 L150 180 L100 140 L50 180 L70 120 L20 80 L80 80 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 200px 200px, 300px 300px;
    background-position: 0 0, 50px 50px;
    opacity: 0.15;
    z-index: 0;
}

.procurement-section .container {
    position: relative;
    z-index: 1;
}

.procurement-section .section-title h2 {
    color: var(--white);
}

.procurements-list {
    display: grid;
    gap: 20px;
}

.procurement-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.procurement-item:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transform: translateY(-3px);
}

/* Speech Bubble Icon */
.procurement-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.8px;
    flex-shrink: 0;
    position: relative;
}

.procurement-icon::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--primary-color);
}

.procurement-content {
    flex: 1;
}

.procurement-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 14.4px;
}

.procurement-item .date {
    color: var(--text-light);
    font-size: 11.2px;
    margin-bottom: 10px;
}

.procurement-item p {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 10px;
}

.procurement-item .btn-primary {
    margin-top: 10px;
    background-color: var(--primary-color);
    color: var(--white);
}

.procurement-item .btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Procurement Pagination */
.procurement-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

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

.procurement-dot.active {
    background: var(--yellow-accent);
    transform: scale(1.2);
}

/* Achievements Section */
.achievements-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.achievements-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.achievements-container::-webkit-scrollbar {
    height: 8px;
}

.achievements-container::-webkit-scrollbar-track {
    background: var(--bg-grey);
    border-radius: 4px;
}

.achievements-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.achievements-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.achievements-grid {
    display: flex;
    gap: 30px;
    min-width: max-content;
    padding-bottom: 10px;
}

.achievement-card {
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-width: 280px;
    flex-shrink: 0;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(158, 27, 27, 0.2);
}

.achievement-card img {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.achievement-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.achievement-card .year {
    color: var(--text-light);
    font-size: 11.2px;
}

/* Banner Slider */
.banner-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-slider-container {
    position: relative;
    width: 100%;
    max-height: 450px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 30%; /* Aspect ratio 5:2 - reduced to 75% */
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.banner-slide.active {
    display: block;
    opacity: 1;
}

.banner-overlay-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.3), rgba(0,0,0,0));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 40px;
    transition: all 0.3s ease;
}

.banner-panel-right-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.announcement-overlay-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 50%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(0, 0, 0, 0.25);
}

.announcement-overlay-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    border-radius: 20px;
}

.banner-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Removed old banner-overlay - now using banner-overlay-left */

.banner-content {
    text-align: center;
    color: var(--white);
    padding: 0;
    max-width: 90%;
    z-index: 2;
    position: relative;
    margin: 0 auto;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    line-height: 1.2;
    transition: all 0.3s ease;
    text-align: center;
}

.banner-description {
    font-size: 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.banner-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 20;
    pointer-events: none;
}

.banner-prev,
.banner-next {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.8px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    pointer-events: all;
}

.banner-prev:hover,
.banner-next:hover {
    background: var(--yellow-accent);
    color: var(--primary-color);
}

.banner-prev:hover,
.banner-next:hover {
    background: var(--white);
    transform: scale(1.1);
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.banner-indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

.banner-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive Banner */
@media (max-width: 768px) {
    .banner-slide {
        padding-bottom: 75%; /* Taller aspect ratio for mobile - reduced to 75% */
    }
    
    .banner-overlay-left {
        width: 100%;
        padding: 20px;
    }
    
    .banner-panel-right-overlay {
        width: 100%;
        top: auto;
        bottom: 0;
        height: 60%;
    }
    
    .announcement-overlay-content {
        padding: 20px;
    }
    
    .announcement-overlay-bg {
        width: 95%;
        height: 90%;
        border-radius: 15px;
    }
    
    .announcement-item h2 {
        font-size: 19.2px;
        margin-bottom: 15px;
    }
    
    .announcement-item p {
        font-size: 12.8px;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .announcement-item .btn-primary {
        padding: 8px 20px;
        font-size: 11.2px;
        margin-top: 5px;
    }
    
    .banner-title {
        font-size: 32px;
        text-align: center;
    }
    
    .banner-description {
        font-size: 16px;
        text-align: center;
    }
    
    .banner-controls {
        padding: 0 10px;
    }
    
    .banner-prev,
    .banner-next {
        width: 40px;
        height: 40px;
        font-size: 12.8px;
    }
    
    .banner-indicators {
        bottom: 10px;
    }
}

/* Detail Page Full Width Images */
.detail-image-fullwidth {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.detail-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 30%; /* Aspect ratio similar to banner slider */
    overflow: hidden;
}

.detail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive Detail Images */
@media (max-width: 768px) {
    .detail-image-wrapper {
        padding-bottom: 50%; /* Taller aspect ratio for mobile */
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-sections-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-section h3 {
    color: var(--footer-text-accent);
    margin-bottom: 20px;
    font-size: 12.8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ecf0f1;
}

.footer-section a:hover {
    color: var(--footer-text-accent);
}

/* Footer Contact Icons */
.footer-section p,
.footer-section ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-section i {
    color: var(--footer-text-accent);
    width: 20px;
    text-align: center;
}

/* Web Statistics Box */
.web-statistics {
    background: var(--white);
    color: var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.web-statistics h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.web-statistics p {
    font-size: 11.2px;
    color: var(--text-light);
}

.footer-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h3 i {
    font-size: 14.4px;
}

.footer-section ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a i {
    font-size: 11.2px;
    width: 20px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section:has(.social-links) {
        text-align: left;
    }
    
    .social-links {
        align-items: flex-start;
    }
    
    .footer-bottom {
        font-size: 10px;
    }
    
    .footer-bottom p {
        font-size: 10px;
        line-height: 1.4;
    }
    
    .footer-sections-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .social-links-icons {
        gap: 12px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    background-color: #4a0700;
    font-size: 12.8px;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Footer Social Icons - Icon Only */
.footer-social-icons {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-links-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--yellow-accent);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--yellow-accent);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--yellow-dark);
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* News/Events/Education List */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(158, 27, 27, 0.2);
}

.news-card img {
    width: 100%;
    height: auto;
    object-fit: fill;
    display: block;
}

.news-card-body {
    padding: 20px;
}

.news-card-body p {
    text-align: justify;
    line-height: 1.6;
}

.news-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 14.4px;
}

.news-card .date {
    color: var(--text-light);
    font-size: 11.2px;
    margin-bottom: 10px;
}

/* Article Content Styling */
.article-content {
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-color);
    text-align: justify;
}

.article-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-content h1 {
    font-size: 2rem;
}

.article-content h2 {
    font-size: 1.75rem;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content h4 {
    font-size: 1.25rem;
}

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

.article-content li {
    margin-bottom: 0.5rem;
    text-align: justify;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.article-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--yellow-accent);
}

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

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.article-content table th,
.article-content table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
}

.article-content table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.article-content strong {
    font-weight: 600;
    color: var(--primary-color);
}

.article-content em {
    font-style: italic;
}

/* Excerpt styling with justify */
.excerpt {
    text-align: justify;
    line-height: 1.6;
}

/* Complaint Form Styling */
.complaint-form-container {
    margin: 0 auto;
}

.complaint-form-box {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.complaint-form .form-group {
    margin-bottom: 25px;
}

.complaint-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.complaint-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.complaint-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(158, 27, 27, 0.1);
}

.complaint-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.complaint-form .error-message {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.complaint-form .form-control.error {
    border-color: #d32f2f;
}

/* Form Buttons Container */
.complaint-form .form-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

/* Form Button Base Styling */
.complaint-form .form-btn-submit,
.complaint-form .form-btn-reset {
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    flex: 1;
    max-width: 300px;
}

/* Submit Button */
.complaint-form .form-btn-submit {
    background-color: var(--yellow-accent);
    color: var(--button-text-accent);
}

.complaint-form .form-btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Reset Button */
.complaint-form .form-btn-reset {
    background-color: #6c757d;
    color: white;
}

.complaint-form .form-btn-reset:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive Button Styling */
@media (max-width: 768px) {
    .complaint-form .form-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .complaint-form .form-btn-submit,
    .complaint-form .form-btn-reset {
        width: 100%;
        max-width: 100%;
    }
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    margin-right: 8px;
}

/* CAPTCHA Styling */
.complaint-form .form-group label[for="captcha"] {
    margin-bottom: 10px;
}

.complaint-form .form-group a[href*="pengaduan"] {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.complaint-form .form-group a[href*="pengaduan"]:hover {
    color: var(--yellow-accent);
}

.complaint-form .form-group a[href*="pengaduan"] i {
    margin-right: 5px;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-panel-left,
    .hero-panel-right {
        flex: none;
        min-height: 400px;
    }
    
    .hero-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-footer-left,
    .hero-footer-right {
        justify-content: center;
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievements-grid {
        flex-wrap: nowrap;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-text {
        font-size: 19.2px;
    }
    
    .hero-panel-left h2 {
        font-size: 22.4px;
    }
    
    .hero-panel-left,
    .hero-panel-right {
        padding: 30px 20px;
        min-height: 350px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 19.2px;
    }
    
    .procurement-item {
        flex-direction: column;
        text-align: center;
    }
    
    .procurement-icon::after {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 14.4px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   DIRECTOR CARDS STYLES
   ===================== */

.directors-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.director-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.director-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.director-photo-wrapper {
    width: 200px;
    height: 250px;
    margin-bottom: 20px;
    background: var(--white);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.director-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.director-photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 60px;
}

.director-info {
    width: 100%;
}

.director-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.director-position {
    font-size: 16px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
}

/* Director Modal Styles */
.director-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.director-modal-content {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.director-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.director-modal-close:hover {
    color: var(--primary-color);
}

.director-modal-photo {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 25px;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.director-modal-name {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin: 0 0 10px 0;
}

.director-modal-position {
    font-size: 18px;
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 25px 0;
    font-weight: 500;
}

.director-modal-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

.director-modal-description p {
    margin-bottom: 15px;
}

.director-modal-description p:last-child {
    margin-bottom: 0;
}

/* Responsive Director Cards */
@media (max-width: 768px) {
    .directors-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .director-photo-wrapper {
        width: 150px;
        height: 190px;
    }
    
    .director-name {
        font-size: 18px;
    }
    
    .director-position {
        font-size: 14px;
    }
    
    .director-modal-content {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .director-modal-photo {
        width: 150px;
        height: 190px;
    }
    
    .director-modal-name {
        font-size: 24px;
    }
    
    .director-modal-position {
        font-size: 16px;
    }
    
    .director-modal-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .directors-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .director-card {
        padding: 20px;
    }
    
    .director-photo-wrapper {
        width: 180px;
        height: 220px;
    }
}

/* Announcement Popup Notification Styles */
.announcement-popup-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.announcement-popup {
    display: none;
    position: relative;
    width: 320px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 16px;
    pointer-events: all;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), 
                opacity 0.4s ease-out,
                top 0.3s ease-out;
}

.announcement-popup.show {
    transform: translateX(0);
    opacity: 1;
}

.announcement-popup.hiding {
    transform: translateX(120%);
    opacity: 0;
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.announcement-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.announcement-icon {
    font-size: 18px;
    color: var(--yellow-accent);
    flex-shrink: 0;
}

.announcement-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--white);
    line-height: 1.3;
    word-wrap: break-word;
}

.announcement-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    transition: all 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 4px;
}

.announcement-close:hover {
    color: var(--yellow-accent);
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.announcement-body {
    margin-bottom: 12px;
}

.announcement-date {
    font-size: 12px;
    margin-bottom: 8px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.announcement-date i {
    font-size: 12px;
}

.announcement-preview {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.95;
    max-height: 60px;
    overflow: hidden;
}

.announcement-footer {
    display: flex;
    justify-content: flex-end;
}

.announcement-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: var(--yellow-accent);
    color: var(--white);
    border-radius: 5px;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.announcement-link:hover {
    background-color: #C9A227;
    transform: translateX(3px);
    color: var(--white);
}

.announcement-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.announcement-link:hover i {
    transform: translateX(2px);
}

/* Responsive Styles for Announcement Popup */
@media (max-width: 768px) {
    .announcement-popup-container {
        top: 15px;
        right: 15px;
        gap: 12px;
    }
    
    .announcement-popup {
        width: 300px;
        padding: 14px;
    }
    
    .announcement-title {
        font-size: 15px;
    }
    
    .announcement-icon {
        font-size: 16px;
    }
    
    .announcement-preview {
        font-size: 12px;
        max-height: 50px;
    }
    
    .announcement-link {
        padding: 7px 14px;
        font-size: 11px;
    }
    
    .announcement-close {
        font-size: 16px;
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .announcement-popup-container {
        top: 10px;
        right: 10px;
        left: 10px;
        gap: 10px;
    }
    
    .announcement-popup {
        width: 100%;
        max-width: calc(100vw - 20px);
        padding: 12px;
    }
    
    .announcement-header {
        margin-bottom: 10px;
    }
    
    .announcement-title {
        font-size: 14px;
    }
    
    .announcement-icon {
        font-size: 14px;
    }
    
    .announcement-body {
        margin-bottom: 10px;
    }
    
    .announcement-date {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .announcement-preview {
        font-size: 12px;
        max-height: 45px;
        line-height: 1.4;
    }
    
    .announcement-link {
        padding: 6px 12px;
        font-size: 11px;
        width: 100%;
        justify-content: center;
    }
    
    .announcement-close {
        font-size: 16px;
        width: 20px;
        height: 20px;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    font-size: 28px;
}

.floating-whatsapp-btn:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn:active {
    transform: scale(0.95);
}

/* Responsive Floating WhatsApp Button */
@media (max-width: 768px) {
    .floating-whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 25px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .floating-whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

/* Ensure WhatsApp button doesn't overlap with scroll-to-top button */
.scroll-to-top.visible ~ .floating-whatsapp-btn {
    bottom: 90px;
}

@media (max-width: 768px) {
    .scroll-to-top.visible ~ .floating-whatsapp-btn {
        bottom: 80px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top.visible ~ .floating-whatsapp-btn {
        bottom: 75px;
    }
}

