/* 
 * DPUPR Jateng - Ultra Modern Design
 * Version: 2.0
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-orange: #EB6A2A;
    --dark-blue: #1a2332;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-color: #e9ecef;
    --font-primary: 'Poppins', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --gradient-primary: linear-gradient(135deg, #EB6A2A 0%, #ff8c42 100%);
    --gradient-dark: linear-gradient(135deg, #1a2332 0%, #353D97 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Floating Social Media */
.floating-social {
    position: fixed;
    left: 20px;
    bottom: 40px;
    top: auto;
    transform: none;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(235, 106, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-toggle i {
    position: absolute;
    transition: all 0.3s ease;
}

.social-toggle .fa-times {
    opacity: 0;
    transform: rotate(-90deg);
}

.floating-social.active .social-toggle {
    background: #333;
    transform: rotate(90deg);
}

.floating-social.active .social-toggle .fa-share-alt {
    opacity: 0;
    transform: rotate(90deg);
}

.floating-social.active .social-toggle .fa-times {
    opacity: 1;
    transform: rotate(0);
}

.social-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    position: absolute;
    bottom: 60px;
    left: 0;
    top: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.floating-social.active .social-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    /* transition-delay: 0.1s; */
}

/* Add staggered delay for nice effect */
.floating-social.active .social-btn:nth-child(1) {
    transition-delay: 0.1s;
}

.floating-social.active .social-btn:nth-child(2) {
    transition-delay: 0.2s;
}

.floating-social.active .social-btn:nth-child(3) {
    transition-delay: 0.3s;
}

.floating-social.active .social-btn:nth-child(4) {
    transition-delay: 0.4s;
}

.floating-social.active .social-btn:nth-child(5) {
    transition-delay: 0.5s;
}

/* Hide floating social on smaller screens to prevent overlap */
/* Hide floating social on smaller screens to prevent overlap */
@media (max-width: 768px) {
    .floating-social {
        display: none;
    }
}

.social-btn.facebook {
    background: #3b5998;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.youtube {
    background: #ff0000;
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn.linkedin {
    background: #2E367C;
}

.social-btn.tiktok {
    background: #181819;
}

.social-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

/* Top Bar */
.top-bar {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.85rem;
}

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

.top-contact span {
    margin-right: 25px;
}

.top-contact i {
    margin-right: 8px;
    color: var(--primary-orange);
}

.search-btn {
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--primary-orange);
    transform: scale(1.1);
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky !important;
    top: 0 !important;
    z-index: 998;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
}


.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links>li {
    position: relative;
    list-style: none;
}

.nav-links>li>a {
    font-weight: 600;
    color: var(--dark-blue);
    padding: 10px 0;
    position: relative;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
    color: var(--primary-orange);
}

.nav-links>li>a i {
    font-size: 0.65rem;
    margin-left: 0;
    line-height: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 260px;
    display: block !important;
    /* Override Bootstrap display: none for pages that load Bootstrap later */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 12px 0;
    border-radius: 10px;
    border-top: 3px solid var(--primary-orange);
}

/* 2-Column Dropdown Menu Support */
.dropdown-menu.dropdown-menu-2col {
    min-width: 600px;
    padding: 20px 0;
    column-count: 2;
    column-gap: 0;
    left: 50%;
    transform: translate(-50%, 10px);
}

.dropdown:hover .dropdown-menu.dropdown-menu-2col {
    transform: translate(-50%, 0);
}

.dropdown-menu.dropdown-menu-2col li {
    break-inside: avoid;
    page-break-inside: avoid;
}

@media (max-width: 970px) {
    .dropdown-menu.dropdown-menu-2col {
        column-count: 1;
        min-width: 100%;
        padding: 12px 0;
        left: 0;
        transform: none;
    }

    .dropdown:hover .dropdown-menu.dropdown-menu-2col {
        transform: none;
    }
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 13px 22px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.5;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

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

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: linear-gradient(90deg, rgba(235, 106, 42, 0.05) 0%, var(--light-gray) 100%);
    color: var(--primary-orange);
    padding-left: 28px;
}

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

/* Nested Dropdown Support */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-submenu>a::after {
    content: '\f104';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.dropdown-submenu:hover>a::after {
    transform: translateX(-3px);
}

.dropdown-submenu .dropdown-menu.submenu {
    top: -15px;
    right: calc(100% + 5px);
    left: auto;
    margin: 0;
    border-top: 3px solid var(--primary-orange);
    border-left: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.dropdown-submenu:hover>.dropdown-menu.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Improved submenu items styling */
.dropdown-submenu .dropdown-menu.submenu a {
    font-size: 0.75rem;
    padding: 13px 22px;
    color: var(--text-dark);
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.dropdown-submenu .dropdown-menu.submenu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

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

.dropdown-submenu .dropdown-menu.submenu a:hover,
.dropdown-submenu .dropdown-menu.submenu a.active {
    background: linear-gradient(90deg, rgba(235, 106, 42, 0.05) 0%, var(--light-gray) 100%);
    color: var(--primary-orange);
    padding-left: 28px;
}

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

/* Mobile Nested Dropdown */
@media (max-width: 970px) {
    .dropdown-submenu>a::after {
        content: '\f107';
        transform: rotate(0deg);
        transition: transform 0.3s;
    }

    .dropdown-submenu.active>a::after {
        transform: rotate(180deg);
    }

    .dropdown-submenu .dropdown-menu.submenu {
        position: static;
        left: 0;
        top: 0;
        margin: 0;
        padding-left: 15px;
        border-left: 2px solid rgba(235, 106, 42, 0.3);
        border-top: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: rgba(0, 0, 0, 0.02);
    }

    .dropdown-submenu.active .dropdown-menu.submenu {
        max-height: 1000px;
        display: block;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--dark-blue);
    cursor: pointer;
}

/* Responsive adjustments for medium to large screens */
@media (max-width: 1200px) and (min-width: 892px) {
    .nav-links {
        gap: 18px;
    }

    /* removed redundant font-size override */

    .logo-text h1 {
        font-size: 0.8rem;
    }

    .logo-text span {
        font-size: 0.6rem;
    }
}

/* Responsive adjustments for medium screens */
@media (max-width: 891px) and (min-width: 769px) {
    .nav-links {
        gap: 15px;
    }

    .nav-links>li>a {
        padding: 8px 0;
    }

    .logo-text h1 {
        font-size: 0.75rem;
    }

    .logo-text span {
        font-size: 0.55rem;
    }

    .navbar .container {
        height: 85px;
    }

    .dropdown-menu {
        min-width: 200px;
    }
}


/* Modern Hero Section */
.hero-modern {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.8) 0%, rgba(235, 106, 42, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 80px 150px;
    /* Increased side padding to 80px to accommodate slider nav */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(235, 106, 42, 0.2);
    border: 1px solid rgba(235, 106, 42, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--primary-orange);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.8;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(235, 106, 42, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(235, 106, 42, 0.6);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--dark-blue);
    border-color: var(--white);
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.hero-illustration {
    position: relative;
}

.floating-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: float 8s ease-in-out infinite;
    /* Slower animation for smoothness */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
        /* Reduced distance for subtlety */
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 30px;
}

/* Highlight Section (Black) */
.highlight-section {
    background: var(--black);
    padding: 80px 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.highlight-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.highlight-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.highlight-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.highlight-image img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.highlight-image:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(235, 106, 42, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.play-button:hover {
    background: var(--primary-orange);
    transform: translate(-50%, -50%) scale(1.1);
}

.highlight-text {
    color: var(--white);
}

.highlight-label {
    display: inline-block;
    background: var(--gradient-primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.highlight-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.btn-primary-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary-outline:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateX(5px);
}

/* Applications Modern */
.applications-modern {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.applications-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(100px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--white);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.section-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    position: relative;
    z-index: 2;
}

.app-card-modern {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 10px;
    border-radius: 14px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.app-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.app-card-modern:hover::before {
    opacity: 1;
}

.app-card-modern:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.app-icon-wrapper {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 1.2rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.app-card-modern:hover .app-icon-wrapper {
    background: var(--white);
    color: var(--primary-orange);
    transform: rotateY(360deg);
}

.app-card-modern h3 {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.app-card-modern p {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    margin-top: auto;
    font-size: 0.9rem;
}

.app-card-modern:hover .app-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Video Program Section */
.video-program-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #1a2332 100%);
    position: relative;
    overflow: hidden;
}

.video-program-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(235,106,42,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.section-header-dark {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-label-dark {
    display: inline-block;
    background: rgba(235, 106, 42, 0.15);
    border: 1px solid rgba(235, 106, 42, 0.3);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--primary-orange);
}

.section-title-dark {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title-light {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.text-dark {
    color: var(--dark-blue) !important;
}

.title-underline {
    width: 120px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

.video-container-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(235, 106, 42, 0.3);
    background: #000;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
}

.video-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235, 106, 42, 0.2) 0%, transparent 70%);
    filter: blur(40px);
}

.deco-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation: float-deco 8s ease-in-out infinite;
}

.deco-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    right: -80px;
    animation: float-deco 10s ease-in-out infinite reverse;
}

.deco-line {
    position: absolute;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(235, 106, 42, 0.5), transparent);
    top: 50%;
    right: -100px;
    transform: rotate(-45deg);
}

@keyframes float-deco {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, 20px) scale(1.1);
    }
}


/* Profile Modern */
.profile-modern {
    padding: 100px 0;
    background: var(--light-gray);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.profile-image-modern .image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.profile-image-modern img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(235, 106, 42, 0.9) 0%, rgba(26, 35, 50, 0.9) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image-modern:hover .image-overlay {
    opacity: 1;
}

.overlay-icon {
    font-size: 4rem;
    color: var(--white);
    transform: scale(0);
    transition: var(--transition);
}

.profile-image-modern:hover .overlay-icon {
    transform: scale(1);
}

.profile-content-modern .section-label {
    color: var(--primary-orange);
    background: rgba(235, 106, 42, 0.1);
}

.profile-content-modern .section-title {
    color: var(--dark-blue);
    margin-bottom: 25px;
}

.profile-content-modern p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.8;
}

.profile-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* News Modern */
.news-modern {
    padding: 100px 0;
    background-color: #f8f9fa;
    background-image: radial-gradient(#dfe1e5 1px, transparent 1px);
    background-size: 24px 24px;
}

.news-modern .section-label {
    color: var(--primary-orange);
    background: rgba(235, 106, 42, 0.1);
}

.news-modern .section-title {
    color: var(--dark-blue);
}

.news-modern .section-desc {
    color: var(--text-light);
}

.news-grid-modern {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.news-card-modern {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.news-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card-modern.featured {
    grid-row: span 3;
}

.news-image {
    position: relative;
    height: 120px;
    /* Reduced from 150px */
    overflow: hidden;
}

.news-card-modern.featured .news-image {
    height: 220px;
    /* Reduced from 280px */
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.news-content {
    padding: 15px;
    /* Reduced from 20px */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-category {
    background: rgba(235, 106, 42, 0.1);
    color: var(--primary-orange);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.news-content h3 {
    font-size: 1rem;
    /* Reduced from 1.1rem */
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 8px;
    /* Reduced from 10px */
    line-height: 1.4;
}

.news-card-modern.featured .news-content h3 {
    font-size: 1.3rem;
    /* Reduced from 1.5rem */
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    /* Reduced from 20px */
    line-height: 1.7;
    flex: 1;
}

.read-more-modern {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.read-more-modern:hover {
    gap: 12px;
}

/* Gallery Modern */
.gallery-modern {
    padding: 100px 0;
    background: var(--light-gray);
}

.gallery-modern .section-label {
    color: var(--primary-orange);
    background: rgba(235, 106, 42, 0.1);
}

.gallery-modern .section-title {
    color: var(--dark-blue);
}

.gallery-modern .section-desc {
    color: var(--text-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(235, 106, 42, 0.95) 0%, rgba(26, 35, 50, 0.95) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.gallery-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.gallery-link:hover {
    transform: scale(1.2);
}

/* Footer Modern */
.footer-modern {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
}

.footer-logo h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
}

.footer-logo span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

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

.footer-links li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 10px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
    list-style: none;
}

.footer-contact i {
    color: var(--primary-orange);
    margin-top: 5px;
    font-size: 1.1rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Officials Modern Section */
.officials-modern {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.officials-modern .section-label {
    color: var(--primary-orange);
    background: rgba(235, 106, 42, 0.1);
}

.officials-modern .section-title {
    color: var(--dark-blue);
}

.officials-modern .section-desc {
    color: var(--text-light);
}

.officials-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* --- OFFICIAL HERO CARD (Horizontal Layout for Single Profile) --- */
/* --- OFFICIAL PROFILE CARD (Vertical Layout - Simple) --- */
.official-profile-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 380px;
    margin: 0 auto;
    position: relative;
    transition: transform 0.3s ease;
}

.official-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.profile-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    /* Standard portrait ratio */
    overflow: hidden;
    background: #f4f4f4;
    /* Placeholder color while loading */
}

/* Add a subtle gradient at the bottom for better visual weight */
.profile-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.official-profile-card:hover .profile-img {
    transform: scale(1.03);
}

.profile-content {
    padding: 30px 25px;
    text-align: center;
    background: #fff;
    position: relative;
    z-index: 2;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 5px;
    line-height: 1.3;
}

.profile-position {
    color: var(--primary-orange);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.profile-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Cleaned up responsive styles if needed, otherwise empty */


/* Card Container */
.official-card-modern {
    width: 100%;
    height: 380px;
    /* Reduced from 490px */
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
    /* Fallback */
}

.official-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Photo Background via ::before - REMOVED HARDCODED IMAGES */
.official-card-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backface-visibility: hidden;
    z-index: 1;
    transition: transform 0.4s ease;
}

.official-card-modern:hover::before {
    transform: scale(1.05);
}

/* 
.official-card-modern:nth-child(1)::before {
    background-image: url('https://images.unsplash.com/photo-1560250097-0b93528c311a?ixlib=rb-1.2.1&auto=format&fit=crop&w=400&q=80');
}
... (Removed other nth-child rules)
*/

/* Content at Bottom with Backdrop Blur - GRADIENT OVERLAY */
.official-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0 1rem 1rem 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.3) 80%,
            transparent 100%);
    color: white;
    z-index: 2;
}

/* Name with Badge */
.official-name {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.verified-badge {
    width: 1rem;
    height: 1rem;
}

/* Description */
.official-desc {
    font-size: 0.75rem;
    color: rgba(229, 231, 235, 1);
    line-height: 1.25rem;
    margin: 0.5rem 0;
}

/* Statistics - Horizontal */
.official-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    margin: 0 1rem 0.75rem;
}

.stat-group {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
}

.stat-value-row i,
.stat-value-row img {
    width: 1rem;
    height: 1rem;
}

.stat-value {
    color: rgba(229, 231, 235, 1);
    font-weight: 700;
}

.stat-label {
    color: rgba(209, 213, 219, 1);
    font-size: 0.75rem;
}

.stat-divider {
    margin-left: 1rem;
    margin-right: 1rem;
    border-right: 1px solid;
    border-color: rgba(255, 255, 255, 0.5);
    height: 1.25rem;
}

/* Action Buttons */
.official-actions {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

.btn-contact {
    grid-column: span 3 / span 3;
    background: white;
    color: black;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    padding: 11px 0;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-contact:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4),
        0 0 25px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.6);
}

.btn-contact svg,
.btn-contact i {
    height: 1.25rem;
    width: 1.5rem;
}

.btn-bookmark {
    background: linear-gradient(to bottom right, #4b5563, #374151, #1f2937);
    border-radius: 9999px;
    padding: 0.5rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-bookmark svg,
.btn-bookmark i {
    height: 1.25rem;
    width: 1.5rem;
    color: white;
}

.btn-bookmark:hover {
    transform: scale(1.05);
}

/* Hide unused elements */
.card-bg-pattern,
.official-photo-wrapper {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .officials-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .official-card-modern {
        height: 450px;
    }
}

@media (max-width: 480px) {
    .officials-grid-modern {
        grid-template-columns: 1fr;
    }

    .official-card-modern {
        height: 420px;
    }

    .stat-divider {
        display: none;
    }
}

/* Programs Section Compact */
.programs-section-compact {
    padding: 80px 0;
    position: relative;
    background-color: #0c0f12;
    /* Dark background */
    background-image:
        linear-gradient(rgba(7, 13, 88, 0.8), rgba(14, 22, 110, 0.8)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    overflow: hidden;
}

.programs-section-compact::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(235, 106, 42, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
}

.program-header-simple {
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.program-title-simple {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.program-title-line {
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange);
    border-radius: 2px;
}

.program-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.program-list-item-compact {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.program-list-item-compact:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}

.program-list-item-compact:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(235, 106, 42, 0.5);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.program-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--primary-orange);
    transition: all 0.3s ease;
}

.program-list-item-compact:hover .program-icon-circle {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(235, 106, 42, 0.4);
}

.program-content-compact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
}

.program-content-compact h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.program-content-compact p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 650px;
}

.btn-detail-small {
    display: inline-block;
    padding: 6px 20px;
    background-color: #ffffff;
    color: var(--primary-orange);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-detail-small:hover {
    background-color: var(--primary-orange);
    color: #ffffff;
    transform: translateX(5px);
}

@media (max-width: 970px) {
    .program-list-item-compact {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .program-content-compact {
        align-items: center;
        padding-top: 0;
    }

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




/* Budget Section - Simplified Grid Layout */
.budget-section {
    padding: 100px 0;
    background: var(--white);
}

.budget-section .section-label {
    color: var(--primary-orange);
    background: rgba(235, 106, 42, 0.1);
}

.budget-section .section-title {
    color: var(--dark-blue);
}

.budget-section .section-desc {
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
}

.budget-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.budget-card-simple {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.budget-card-simple:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.budget-card-simple.featured {
    background: linear-gradient(135deg, rgba(235, 106, 42, 0.05) 0%, rgba(235, 106, 42, 0.1) 100%);
}

.card-icon-simple {
    width: 50px;
    height: 50px;
    background: rgba(235, 106, 42, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.budget-card-simple h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.budget-card-simple p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link-simple {
    font-size: 0.9rem;
    color: var(--primary-orange);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.budget-apbd-note {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
}

.budget-apbd-note p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

.budget-apbd-note strong {
    color: var(--dark-blue);
}

.budget-apbd-note a {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
}

/* Client Logos Section */
/* Client Logos Section (Marquee) */
.clients-section {
    padding: 40px 0;

    /* Hide overflow */
}

.clients-slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.clients-slider::before,
.clients-slider::after {
    background: linear-gradient(to right, #f9f9f9 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.clients-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.clients-slider::before {
    left: 0;
    top: 0;
}

.slide-track {
    animation: scroll 50s linear infinite;
    display: flex;
    width: calc(250px * 14);
    /* 250px per slide * 14 slides */
}

.clients-slider:hover .slide-track {
    animation-play-state: paused;
}

.slide {
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.slide img {
    height: 60px;
    /* Specific height for consistency */
    width: auto;

}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 7));
        /* Scroll half the width (7 original slides) */
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}

/* =========================================
   PPID PAGE STYLES
   ========================================= */

/* PPID Hero */
.ppid-hero {
    position: relative;
    padding: 180px 0 100px;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.ppid-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Darker overlay */
    z-index: 1;
}

.ppid-hero .container {
    position: relative;
    z-index: 2;
}

.ppid-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.ppid-hero-badge {
    display: inline-block;
    background: var(--primary-orange);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.ppid-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.ppid-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.ppid-hero-gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.ppid-hero-gallery img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    transform: rotate(-5deg);
    transition: var(--transition);
}

.ppid-hero-gallery img:nth-child(2) {
    transform: rotate(5deg) scale(1.1);
    z-index: 2;
}

.ppid-hero-gallery img:nth-child(3) {
    transform: rotate(-3deg);
}

.ppid-hero-gallery img:hover {
    transform: scale(1.1) rotate(0);
    z-index: 5;
}

/* PPID Quick Services (Icon Box) */
.ppid-services {
    padding: 80px 0;
    background: var(--light-gray);
    margin-top: -50px;
    /* Overlap effect */
    position: relative;
    z-index: 3;
}

.ppid-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.service-icon-box {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.service-icon-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon-box .icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(235, 106, 42, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-icon-box:hover .icon-wrapper {
    background: var(--gradient-primary);
    color: var(--white);
}

.service-icon-box h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.service-icon-box p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.service-icon-box.login-box {
    background: var(--dark-blue);
    color: var(--white);
}

.service-icon-box.login-box h4 {
    color: var(--white);
}

.service-icon-box.login-box p {
    color: rgba(255, 255, 255, 0.7);
}

/* PPID Profile */
.ppid-profile {
    padding: 80px 0;
}

/* Info Categories */
.ppid-info-categories {
    padding: 80px 0;
    background: var(--light-gray);
}

.info-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-category-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.info-cat-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.info-cat-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.info-cat-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.info-cat-content a {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.info-cat-content a:hover {
    text-decoration: underline;
}

/* Leadership Quote */
.ppid-leadership {
    position: relative;
    padding: 100px 0;
    background: url('../images/kantor.png') center center/cover fixed;
    color: var(--white);
    text-align: center;
}

.leadership-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 24, 47, 0.85);
}

.leadership-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 30px;
    opacity: 0.5;
}

.ppid-leadership blockquote {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 40px;
}

.leader-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-orange);
}

.leader-info p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Complaint Grid */
.ppid-complaint {
    padding: 80px 0;
    background: var(--white);
}

.complaint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 30px;
    justify-items: center;
}

.complaint-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 15px;
    width: 100%;
}

.complaint-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--light-gray);
    transition: var(--transition);
}

.complaint-item:hover .complaint-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.complaint-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    text-align: center;
}

.text-orange {
    color: #fe6c00;
    background: rgba(254, 108, 0, 0.1);
}

.text-blue {
    color: #00a8ff;
    background: rgba(0, 168, 255, 0.1);
}

.text-green {
    color: #009432;
    background: rgba(0, 148, 50, 0.1);
}

.text-purple {
    color: #8e44ad;
    background: rgba(142, 68, 173, 0.1);
}

.text-red {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.text-cyan {
    color: #17c0eb;
    background: rgba(23, 192, 235, 0.1);
}

.text-indigo {
    color: #3d3d3d;
    background: rgba(61, 61, 61, 0.1);
}

.text-pink {
    color: #fd79a8;
    background: rgba(253, 121, 168, 0.1);
}

/* Stats Footer Grid */
.ppid-stats-footer {
    background: var(--dark-blue);
    padding: 50px 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ppid-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.ppid-stat-item {
    padding: 20px;
    transition: var(--transition);
}

.ppid-stat-item i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.ppid-stat-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.ppid-stat-item p {
    font-size: 0.9rem;
    opacity: 0.7;
    cursor: pointer;
}

.ppid-stat-item:hover p {
    opacity: 1;
    color: var(--primary-orange);
}

/* News & Agenda (Simple) */
/* News & Agenda (Simple) */
.ppid-news-agenda {
    padding: 80px 0;
    background-color: #fff;
}

.news-agenda-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    /* Increased gap further to prevent collision */
}

/* Section Header Small */
.section-header-small {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.section-header-small h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
    display: flex;
    align-items: center;
}

.section-header-small .view-all {
    font-size: 0.9rem;
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}

.section-header-small .view-all:hover {
    text-decoration: underline;
}

.border-left-brand {
    display: inline-block;
    width: 5px;
    height: 25px;
    background: var(--primary-orange);
    margin-right: 15px;
    vertical-align: middle;
    border-radius: 2px;
}

/* News List Grid */
.ppid-news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.ppid-news-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: row;
    height: 180px;
    align-items: stretch;
}

.ppid-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(235, 106, 42, 0.3);
}

.ppid-news-item img {
    width: 240px;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    flex-shrink: 0;
}

.ppid-news-item:hover img {
    transform: scale(1.05);
}

.news-item-content {
    padding: 20px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-content .date {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
    font-weight: 500;
}

.news-item-content .date i {
    margin-right: 8px;
    color: var(--primary-orange);
}

.news-item-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 15px 0;
    flex: 1;
    /* Ensure title takes space */

    /* Line clamping for title */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-content h4 a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.2s ease;
    background: linear-gradient(to right, var(--primary-orange), var(--primary-orange));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
}

.news-item-content h4 a:hover {
    color: var(--primary-orange);
    background-size: 100% 2px;
    transition: background-size 0.3s ease, color 0.2s ease;
}

/* Agenda Widget */
.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.agenda-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agenda-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.agenda-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.agenda-date {
    background: #f8f9fa;
    border-radius: 8px;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.agenda-date .day {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.agenda-date .month {
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    margin-top: 2px;
}

.agenda-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 5px;
    line-height: 1.3;
}

.agenda-info p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}

/* Multimedia Widget */
.info-poster {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    background: #000;
    border-radius: 10px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.video-placeholder .play-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    z-index: 1;
    color: #fff;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .play-icon {
    transform: scale(1.1);
}

.video-placeholder span {
    z-index: 1;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
    .news-agenda-grid {
        grid-template-columns: 1fr;
    }

    .ppid-news-list {
        grid-template-columns: 1fr;
        /* Switch to single column on tablet/mobile if needed, or keep 2 */
    }
}

@media (max-width: 768px) {
    .ppid-news-list {
        grid-template-columns: 1fr;
    }
}

.border-left-brand {
    display: inline-block;
    width: 5px;
    height: 25px;
    background: var(--primary-orange);
    margin-right: 10px;
    vertical-align: middle;
}

.news-list-image {
    margin-top: 20px;
}

@media (max-width: 970px) {
    .ppid-hero h1 {
        font-size: 2.5rem;
    }

    .ppid-services {
        margin-top: 0;
    }
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 970px) {
    .floating-social {
        display: none;
    }

    .top-bar {
        font-size: 0.75rem;
    }

    .top-contact span {
        margin-right: 15px;
    }

    .top-contact span:last-child {
        display: none;
    }

    .hamburger {
        display: block;
        position: relative;
        z-index: 10000;
    }

    .nav-links {
        position: fixed;
        top: 85px;
        right: -300px;
        background: var(--white);
        height: calc(100vh - 85px);
        width: 280px;
        /* Fixed width for better drawer feel */
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 9999;
        gap: 0;
        /* Reset gap from desktop */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links>li {
        width: 100%;
        margin-bottom: 10px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        display: none;
    }

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

    .hero-content {
        grid-template-columns: 1fr;
        padding: 80px 20px 120px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-illustration {
        display: none;
    }

    .highlight-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .apps-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }

    .video-program-section {
        padding: 60px 0;
    }

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

    .video-container-wrapper {
        max-width: 100%;
        padding: 0 15px;
    }

    .deco-1,
    .deco-2 {
        display: none;
    }



    .news-grid-modern {
        grid-template-columns: 1fr;
    }

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

    /* Budget Section Responsive */
    .budget-grid-simple {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .budget-card-simple.featured {
        grid-column: span 2;
    }

    .officials-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .clients-logos {
        gap: 40px;
    }

    .client-logo {
        height: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .highlight-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .video-program-section {
        padding: 40px 0;
    }

    .section-title-dark {
        font-size: 1.6rem;
    }

    .stat-box h3 {
        font-size: 2rem;
    }

    /* Budget Section Mobile */
    .budget-grid-simple {
        grid-template-columns: 1fr;
    }

    .budget-card-simple.featured {
        grid-column: span 1;
    }

    .officials-grid-modern {
        grid-template-columns: 1fr;
    }

    .clients-logos {
        gap: 30px;
    }

    .client-logo {
        height: 35px;
    }
}

/* Hero Slider Specific Styles */
.hero-slider-section {
    position: relative;
    min-height: 60vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 60vh;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.3);
    /* Strong zoom */
    transition: opacity 2s ease-in-out, visibility 2s ease-in-out, transform 2.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    /* Zoom out to normal */
    z-index: 1;
}

/* Ensure text animates smoothly after slide appears */
.hero-slide .hero-title,
.hero-slide .hero-subtitle,
.hero-slide .hero-buttons,
.hero-slide .hero-stats {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0s, transform 0.5s ease 0s;
}

.hero-slide.active .hero-title,
.hero-slide.active .hero-subtitle,
.hero-slide.active .hero-buttons,
.hero-slide.active .hero-stats {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.5s;
}

.hero-stats-overlay {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-stats-overlay .hero-stats {
    pointer-events: all;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 90%;
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(1px);
}

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

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

.slider-nav i {
    font-size: 1.2rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    gap: 12px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.slider-dots .dot.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    width: 30px;
    border-radius: 10px;
}

/* Fix for Laptops/Screens with limited height or mid-range width */
@media screen and (max-height: 1000px),
screen and (max-width: 1400px) {
    .hero-slider-section {
        min-height: 75vh;
        /* Force full height so absolute children don't collapse it */
        height: auto;
    }

    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex !important;
        min-height: 75vh;
        /* Match container */
        padding-top: 80px;
        padding-bottom: 50px;
        align-items: flex-start;
        opacity: 0;
        /* Start hidden */
        visibility: hidden;
        transform: scale(1.1);
        /* Subtle zoom for mobile */
        transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out, transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .hero-slide.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        z-index: 10;
    }

    .hero-content {
        padding: 50px 20px;
        gap: 30px;
    }

    /* Adjust stats overlay to flow naturally */
    .hero-stats-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 20px;
        padding-bottom: 40px;
        pointer-events: all;
    }

    .hero-bg {
        position: absolute;
        height: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .stat-box {
        padding: 15px;
    }

    .stat-box h3 {
        font-size: 1.8rem;
    }
}

/* Responsive Slider */
@media (max-width: 970px) {
    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }

    .slider-dots {
        bottom: 80px;
    }

    .hero-stats-overlay {
        bottom: 30px;
    }
}

@media (max-width: 480px) {

    /* Hide navigation arrows completely */
    .slider-nav,
    .prev-btn,
    .next-btn {
        display: none !important;
    }

    /* Slider dots positioning */
    .slider-dots {
        bottom: 60px;
    }

    .slider-dots .dot {
        width: 8px;
        height: 8px;
    }

    .slider-dots .dot.active {
        width: 20px;
    }

    /* Hero Section Mobile - Fix overflow */
    .hero-section {
        overflow-x: hidden;
    }

    .hero-content {
        padding: 60px 15px 100px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Typography - Force smaller sizes */
    .hero-content .hero-title,
    .hero-slide .hero-title,
    h1.hero-title {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .hero-content .hero-subtitle,
    .hero-slide .hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
    }

    /* Buttons */
    .hero-buttons {
        gap: 12px;
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        width: 100%;
    }

    /* Statistics Mobile - Fix width overflow */
    .hero-stats {
        margin-top: 30px;
        gap: 12px;
        grid-template-columns: minmax(0, 1fr) !important;
        max-width: 100%;
        width: 100%;
    }

    .stat-box {
        padding: 15px;
        width: 100%;
        max-width: 100%;
    }

    .stat-number {
        font-size: 1.5rem !important;
        margin-bottom: 5px;
    }

    .stat-label {
        font-size: 0.75rem !important;
    }

    /* Header Mobile */
    .navbar {
        padding: 10px 15px;
    }



    .logo img {
        height: 60px;
    }

    /* Hero illustration - hide on mobile */
    .hero-illustration {
        display: none;
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

/* AI Chat Bot Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-primary);
}

.chat-toggle {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(235, 106, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
    font-size: 1.2rem;
    position: relative;
    z-index: 1002;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(235, 106, 42, 0.6);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: var(--gradient-primary);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chat-header h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.chat-header .status {
    font-size: 0.75rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-header .status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    display: block;
}

.chat-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-close:hover {
    color: var(--white);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    animation: fadeIn 0.3s ease;
}

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

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

.message.bot {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
}

.message-content {
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.message.bot .message-content {
    background: var(--white);
    color: var(--text-dark);
    border-bottom-left-radius: 5px;
    border: 1px solid var(--border-color);
}

.message.user .message-content {
    background: var(--gradient-primary);
    color: var(--white);
    border-bottom-right-radius: 5px;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 5px;
    padding: 0 5px;
}

.message.user .message-time {
    text-align: right;
}

.chat-input-area {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

#chatInput {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    outline: none;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: var(--transition);
}

#chatInput:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(235, 106, 42, 0.1);
}

#chatSend {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatSend:hover {
    transform: scale(1.1);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 15px;
    background: var(--white);
    border-radius: 15px;
    width: fit-content;
    border-bottom-left-radius: 5px;
    border: 1px solid var(--border-color);
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-light);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Chat Mobile Responsive */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 20px;
        right: 20px;
        z-index: 2000;
    }

    .chat-window {
        width: 100vw;
        height: 100vh;
        position: fixed;
        bottom: 0;
        right: 0;
        border-radius: 0;
        transform: translateY(100vh);
    }

    .chat-window.active {
        transform: translateY(0);
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Services Grid List - New Design */
.ppid-services-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.service-icon-circle {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 2rem;
    transition: var(--transition);
}

.service-list-item:hover .service-icon-circle {
    background: var(--primary-orange);
    color: var(--white);
    transform: rotate(360deg);
}

.service-content-detail {
    flex: 1;
}

.service-content-detail h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 10px;
    color: #333;
    text-transform: uppercase;
}

.service-content-detail p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-detail {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-detail:hover {
    background: var(--primary-orange);
    color: var(--white);
}

@media (max-width: 970px) {
    .ppid-services-grid-list {
        grid-template-columns: 1fr;
    }

    .service-list-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* PPID Social Strip */
.ppid-social-strip {
    background: var(--dark-blue);
    padding: 15px 0;
    color: var(--white);
    font-size: 0.9rem;
}

.social-strip-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-strip-wrapper span {
    font-weight: 600;
    margin-right: 10px;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--white);
}

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

.social-link.fb:hover {
    color: #3b5998;
}

.social-link.tw:hover {
    color: #1da1f2;
}

.social-link.ig:hover {
    color: #e1306c;
}

.social-link.yt:hover {
    color: #ff0000;
}

.social-link.tt:hover {
    color: #000000;
    text-shadow: 0 0 1px white;
}

/* News & Agenda Grid */
.news-agenda-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.section-header-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.section-header-small h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin: 0;
}

.view-all {
    font-size: 0.9rem;
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
}

/* News List */
.ppid-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ppid-news-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ppid-news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.ppid-news-item img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.news-item-content {
    flex: 1;
}

.news-item-content .date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
    display: block;
}

.news-item-content h4 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

.news-item-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.news-item-content h4 a:hover {
    color: var(--primary-orange);
}

/* Agenda Widget */
.agenda-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agenda-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.agenda-list li:last-child {
    border-bottom: none;
}

.agenda-date {
    background: var(--white);
    border: 2px solid var(--primary-orange);
    border-radius: 8px;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.agenda-date .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-orange);
}

.agenda-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-light);
}

.agenda-info h4 {
    font-size: 1rem;
    margin: 0 0 5px;
    color: var(--dark-blue);
}

.agenda-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* Multimedia Widget */
.multimedia-widget {
    margin-top: 40px;
}

.info-poster {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 180px;
    background: #000 url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?w=500') center/cover;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    cursor: pointer;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.video-placeholder .play-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 10px;
    z-index: 2;
    transition: var(--transition);
}

.video-placeholder:hover .play-icon {
    background: var(--primary-orange);
    transform: scale(1.1);
}

.video-placeholder span {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 2;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 991px) {
    .news-agenda-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PPID SIDEBAR LAYOUT STYLES - REMOVED
   ========================================= */

/* Services Grid List - New Design */
.ppid-services-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    transition: var(--transition);
}

.service-list-item:hover {
    background: #fff8f5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.service-icon-circle {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 2rem;
    transition: var(--transition);
    background: #fff;
}

.service-list-item:hover .service-icon-circle {
    background: var(--primary-orange);
    color: var(--white);
    transform: rotate(360deg);
}

.service-content-detail {
    flex: 1;
}

.service-content-detail h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 10px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-content-detail p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    line-height: 1.6;
}

.btn-detail {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-detail:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: scale(1.05);
}

/* New Profile Section (Award Image) - Polished */
.ppid-profile-new {
    background: #faf9f5;
    position: relative;
    overflow: hidden;
}

/* Decorative Background Element */
.ppid-profile-new::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23f1592a" fill-opacity="0.05"><path d="M0 0h50v50H0zM50 50h50v50H50z"/></g></svg>');
    opacity: 0.5;
    z-index: 1;
}

.ppid-profile-new .row {
    margin: 0;
    align-items: stretch;
    /* Ensure equal height */
}

.ppid-profile-img {
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.ppid-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

/* Subtle zoom effect on hover */
.ppid-profile-img:hover img {
    transform: scale(1.05);
}

.ppid-profile-content-box {
    display: flex;
    align-items: center;
    padding: 80px 60px;
    /* More breathing room */
    position: relative;
    z-index: 2;
}

.content-wrapper {
    max-width: 650px;
}

.content-wrapper h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-blue);
    /* Stronger color */
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 80px;
    height: 5px;
    background: var(--primary-orange);
    margin-bottom: 35px;
    border-radius: 5px;
    /* Softer edges */
}

.intro-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.7;
    border-left: 4px solid var(--primary-orange);
    padding-left: 20px;
    /* Distinctive quote style */
}

.content-wrapper p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1rem;
}

/* Modern Button */
.btn-orange-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-orange);
    color: var(--white);
    padding: 15px 40px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 20px;
    border-radius: 50px;
    /* Rounded pill shape */
    box-shadow: 0 4px 15px rgba(241, 89, 42, 0.3);
}

.btn-orange-block:hover {
    background: #d6471e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 89, 42, 0.4);
    color: var(--white);
}

.btn-orange-block::after {
    content: '\f061';
    /* Arrow Right FontAwesome */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-orange-block:hover::after {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .ppid-profile-img {
        min-height: 350px;
    }

    .ppid-profile-content-box {
        padding: 50px 30px;
    }
}

/* New Profile Section (Container Layout) */
.ppid-profile-new {
    background: #faf9f5;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

/* Decorative Background Element */
.ppid-profile-new::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23f1592a" fill-opacity="0.05"><path d="M0 0h50v50H0zM50 50h50v50H50z"/></g></svg>');
    opacity: 0.5;
    z-index: 1;
}

.ppid-profile-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(2deg);
    transition: all 0.5s ease;
    max-height: 650px;
}

.ppid-profile-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.ppid-profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ppid-profile-content {
    position: relative;
    z-index: 2;
}

.ppid-profile-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.title-underline {
    width: 80px;
    height: 5px;
    background: var(--primary-orange);
    margin-bottom: 35px;
    border-radius: 5px;
}

.intro-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.7;
    border-left: 4px solid var(--primary-orange);
    padding-left: 20px;
}

.ppid-profile-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1rem;
}

/* Modern Button */
.btn-orange-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-orange);
    color: var(--white);
    padding: 15px 40px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(241, 89, 42, 0.3);
}

.btn-orange-block:hover {
    background: #d6471e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 89, 42, 0.4);
    color: var(--white);
}

.btn-orange-block::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-orange-block:hover::after {
    transform: translateX(5px);
}

/* Custom Profile Grid System (Replaces Bootstrap) */
.ppid-row-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    /* Gap between image and text */
    margin-right: -15px;
    margin-left: -15px;
}

.ppid-col-img {
    flex: 0 0 calc(45% - 50px);
    max-width: 45%;
    position: relative;
    padding: 0 15px;
}

.ppid-col-content-right {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    padding: 0 15px;
}

@media (max-width: 991px) {
    .ppid-row-split {
        flex-direction: column;
        gap: 30px;
        margin-right: 0;
        margin-left: 0;
    }

    .ppid-col-img,
    .ppid-col-content-right {
        flex: 0 0 100%;
        max-width: 100%;

        .ppid-col-img {
            margin-bottom: 20px;
        }
    }

    /* Information Categories Modern Layout */
    .ppid-info-categories {
        padding: 80px 0;
        background: #fff;
        /* Ensure white background */
    }

    .ppid-info-categories .section-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .ppid-info-categories .section-label {
        display: block;
        font-size: 0.9rem;
        font-weight: 600;
        color: #999;
        letter-spacing: 2px;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .ppid-info-categories .section-title {
        font-size: 2.5rem;
        font-weight: 800;
        color: #1a2332 !important;
        /* Force dark blue color */
        margin: 0;
        text-transform: capitalize;
        text-shadow: none !important;
        /* Remove any shadow that might obscure it */
    }

    .info-categories-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .info-category-card {
        background: #fff;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transition: all 0.4s ease;
        border: 1px solid #f0f0f0;
        display: flex;
        flex-direction: column;
    }

    .info-category-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }

    .info-category-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .info-category-card:hover img {
        transform: scale(1.1);
    }

    .info-cat-content {
        padding: 25px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .info-cat-content h3 {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--dark-blue);
        margin-bottom: 12px;
    }

    .info-cat-content p {
        font-size: 0.95rem;
        color: #666;
        margin-bottom: 25px;
        line-height: 1.6;
        flex: 1;
        /* Pushes button down */
    }

    .info-cat-content a {
        display: inline-block;
        color: var(--primary-orange);
        font-weight: 600;
        text-decoration: none;
        font-size: 0.95rem;
        transition: padding-left 0.3s ease;
    }

    .info-cat-content a:hover {
        padding-left: 5px;
    }
}

/* Portal Cards Section */
.portal-cards-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px 0;
    position: relative;
}

.portal-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.portal-card {
    background: #fff;
    border: 1.5px solid rgba(235, 106, 42, 0.2);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(235, 106, 42, 0.05) 0%, rgba(255, 140, 66, 0.02) 100%);
    opacity: 0;
    transition: all 0.35s ease;
}

.portal-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #EB6A2A, #ff8c42);
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.35s ease;
}

.portal-card:hover::before {
    opacity: 1;
}

.portal-card:hover::after {
    opacity: 0.15;
}

.portal-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 28px rgba(235, 106, 42, 0.18);
    border-color: rgba(235, 106, 42, 0.4);
}

.portal-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(235, 106, 42, 0.08) 0%, rgba(235, 106, 42, 0.03) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EB6A2A;
    font-size: 1.3rem;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
}

.portal-card:hover .portal-icon {
    background: linear-gradient(135deg, #EB6A2A 0%, #ff8c42 100%);
    color: #fff;
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 8px 20px rgba(235, 106, 42, 0.3);
}

.portal-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 8px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.portal-card:hover .portal-title {
    color: #EB6A2A;
}

.portal-desc {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 16px;
    line-height: 1.5;
    min-height: 36px;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .portal-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 600px;
    }

    .portal-cards-section {
        padding: 50px 0;
    }

    .portal-card {
        padding: 32px 24px;
    }
}

@media (max-width: 970px) {
    .portal-card {
        padding: 30px 22px;
    }

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

    .portal-title {
        font-size: 1.1rem;
    }

    .portal-desc {
        font-size: 0.85rem;
        min-height: auto;
    }

    .portal-btn {
        font-size: 0.8rem;
        padding: 9px 24px;
    }
}


/* Peta Section */
.peta-section {
    padding: 80px 0;
    background: var(--dark-blue);
    /* Dark theme */
    position: relative;
    overflow: hidden;
}

/* Optional: Add a subtle pattern overlay if available, or just keeping it clean dark */

.section-label-simple {
    font-size: 0.8rem;
    color: var(--primary-orange);
    /* Changed to orange for contrast */
    letter-spacing: 2px;
    display: block;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.peta-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}


.peta-grid {
    margin-top: 50px;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px;
    /* Override any row/col styling */
}

.peta-grid>.col-md-6 {
    width: 100%;
    padding: 0;
    max-width: 100%;
}



.peta-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 40px 30px;
    border-radius: 20px;
    /* Rounded corners */
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.peta-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.peta-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 4px;
}

.peta-icon.icon-white {
    background: #ffffff;
    border: 1px solid #eee;
    color: var(--dark-blue);
}

.peta-icon.icon-orange {
    background: var(--primary-orange);
    color: #ffffff;
}

.peta-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.peta-card p {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.peta-link {
    color: var(--primary-orange);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 600;
}

.btn-peta-outline {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 60px;
    /* Added spacing */
}

.btn-peta-outline:hover {
    background: var(--primary-orange);
    color: #ffffff;
}


/* Quotes Section Creative */
.quotes-section {
    padding: 100px 0;
    position: relative;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.quotes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.7);
    /* Darker overlay for contrast */
    z-index: 1;
}

.quotes-section .container {
    position: relative;
    z-index: 2;
    /* Ensure content is above overlay */
}

.quote-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 20px;
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.btn-orange-pill {
    background: var(--primary-orange);
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(235, 106, 42, 0.4);
}

.btn-orange-pill:hover {
    background: #d35400;
    transform: translateY(-2px);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(235, 106, 42, 0.6);
}

/* Force white text for Quotes header */
.quotes-section .section-title-dark,
.quotes-section .section-desc,
.quotes-section p {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 1;
}

/* Quotes Slider Logic */
.quotes-slider-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.quotes-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.quote-slide {
    flex: 0 0 50%;
    /* Show 2 slides */
    max-width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Sidebar Categories Widget */
.category-list {
    margin: 0;
    padding: 0;
}

.category-list li {
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.category-list li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.category-list li a .badge {
    background-color: #f0f2f5 !important;
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 10px;
}

.category-list li a:hover .badge {
    background-color: var(--primary-orange) !important;
    color: #fff !important;
}

/* Carousel Controls */
.quote-prev,
.quote-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-prev:hover,
.quote-next:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.quote-prev {
    left: -20px;
}

.quote-next {
    right: -20px;
}

.quote-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

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

.quote-dots .dot.active {
    background: var(--primary-orange);
    transform: scale(1.2);
}

@media (max-width: 970px) {
    .quote-slide {
        flex: 0 0 100%;
        /* 1 slide on mobile */
        max-width: 100%;
    }

    .quote-prev {
        left: 0;
    }

    .quote-next {
        right: 0;
    }
}



.quote-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.quote-content {
    position: relative;
    z-index: 1;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: -20px;
    left: -10px;
}

.quote-content p {
    font-style: italic;
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.quote-profile {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.profile-info h4 {
    color: #fff;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-info span {
    color: rgba(255, 255, 255, 0.8);
}


/* Procurement Banner Creative */
.procurement-banner {
    background: linear-gradient(135deg, #ff5e14 0%, #d35400 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.procurement-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.banner-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-banner-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-banner-outline:hover {
    background: #ffffff;
    color: var(--primary-orange);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


/* Newsletter Section Creative */
.newsletter-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    color: var(--dark-blue);
    text-align: center;
}

.newsletter-title {
    color: var(--dark-blue);
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.newsletter-desc {
    color: #7f8c8d;
    font-size: 0.8rem;
    margin-bottom: 40px;
}

.newsletter-form {
    background: #fff;
    padding: 2px;
    border-radius: 60px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.newsletter-form input {
    border: none;
    background: transparent;
    color: #333;
    padding: 20px 30px;
    font-size: 1.1rem;
    flex: 1;
    /* Input takes remaining space */
    outline: none;
}

.newsletter-form input::placeholder {
    color: #aaa;
}

.newsletter-form button {
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50px;
    padding: 15px 45px;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(235, 106, 42, 0.3);
    transition: all 0.3s ease;
    margin: 5px;
    /* Spacing from edge */
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(235, 106, 42, 0.5);
}


@media (max-width: 970px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        gap: 15px;
    }

    .newsletter-form input {
        background: #fff;
        border-radius: 50px;
        border: 1px solid #eee;
        width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }
}


/* --- RESPONSIVE FIXES --- */

/* 1. Program Grid Fix (Restored) */
@media (max-width: 970px) {
    .program-list-container {
        grid-template-columns: 1fr !important;
    }
}

/* 2. New Sections Responsive Adjustments */
@media (max-width: 970px) {

    /* Peta Section */
    .peta-section {
        padding: 50px 0;
    }

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


    /* Quotes Section */
    .quotes-section {
        padding: 50px 0;
        background-attachment: scroll;
        /* Fix for mobile parallax */
    }

    .quote-item {
        margin-bottom: 40px;
        padding: 20px;
    }

    .quote-profile {
        padding-left: 0;
        margin-top: 15px;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 40px 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .newsletter-title {
        font-size: 1.8rem;
    }
}

/* =========================================
   NEWS MAGAZINE LAYOUT
   ========================================= */

.news-magazine-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 30px;
}

/* TOP SECTION: Hero + Side List */
.mag-top-section {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    /* 60/40 Split */
    gap: 30px;
    height: auto;
    /* Allow flexible height */
    align-items: stretch;
    /* Ensure both columns are same height */
}

/* Hero Card (Left) */
.mag-hero-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    min-height: 500px;
    /* Ensure minimum height for hero */
    display: block;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.mag-hero-card:hover .mag-hero-img {
    transform: scale(1.05);
}

.mag-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mag-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    padding: 30px;
    color: white;
}

.mag-hero-tag {
    background: #FFD56B;
    /* Pastel Yellow */
    color: #333;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.mag-hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Side List (Right) */
.mag-side-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    height: 100%;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.mag-list-item {
    display: flex;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid #f1f1f1;
    padding: 15px 0;
    text-decoration: none;
    transition: var(--transition);
    text-decoration: none;
    transition: var(--transition);
    height: auto;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.mag-list-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.mag-list-item:hover {
    background-color: #f9f9f9;
    padding-left: 10px;
    border-radius: 8px;
}

.mag-list-item:first-child {
    padding-top: 5px;
}

.mag-list-img {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.mag-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mag-list-tag {
    background: rgba(235, 106, 42, 0.1);
    color: var(--primary-orange);
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 5px;
}

.mag-list-tag.blue {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.mag-list-tag.green {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.mag-list-tag.purple {
    background: rgba(108, 92, 231, 0.1);
    color: #6c5ce7;
}

.mag-list-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    /* Explicit black/dark color */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 3px;
    text-decoration: none;
}

.mag-list-item:hover .mag-list-title {
    color: var(--primary-orange);
}

/* BOTTOM SECTION: 3 Columns */
.mag-bottom-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mag-bottom-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-decoration: none;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.mag-bottom-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mag-bottom-img {
    width: 100%;
    height: 180px;
    border-radius: 0;
    object-fit: cover;
    transition: var(--transition);
}

.mag-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.mag-bottom-tag {
    background: #FFF4E6;
    /* Light Orange */
    color: var(--primary-orange);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    align-self: flex-start;
}

.mag-bottom-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark-blue);
}

/* Responsive */
@media screen and (max-width: 991px) {
    .mag-top-section {
        height: auto;
        grid-template-columns: 1fr;
    }

    .mag-hero-card {
        height: 300px;
        margin-bottom: 20px;
    }

    .mag-side-list {
        gap: 15px;
    }

    .mag-list-item {
        height: auto;
        padding-bottom: 15px;
    }
}

@media screen and (max-width: 768px) {
    .mag-bottom-section {
        grid-template-columns: 1fr;
    }

    .mag-hero-title {
        font-size: 1.5rem;
    }
}

/* Magazine Meta Data */
.mag-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 5px;
}

.mag-hero-overlay .mag-meta {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

.mag-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mag-meta i {
    font-size: 0.8rem;
}

/* =========================================
   MIGRATED STYLES (FROM HTML FILES)
   ========================================= */

/* --- CUSTOM GRID SYSTEM --- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-3,
.col-md-4,
.col-sm-6,
.col-lg-6,
.col-lg-4,
.col-md-6,
.col-md-3,
.col-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.3333%;
    }
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

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

/* --- COMPONENT: PPID --- */
.ppid-info-categories .section-title {
    color: #1a2332 !important;
    text-shadow: none !important;
}

.ppid-info-categories .section-label {
    color: #888 !important;
    display: block;
    font-weight: 600;
}

.ppid-row-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-right: -15px;
    margin-left: -15px;
}

.ppid-col-img {
    flex: 0 0 calc(45% - 50px);
    max-width: 45%;
    padding: 0 15px;
}

.ppid-col-content-right {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

@media (max-width: 991px) {
    .ppid-row-split {
        flex-direction: column;
        gap: 30px;
    }

    .ppid-col-img,
    .ppid-col-content-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* PPID Finance Cards */
.finance-card {
    background: #fff;
    margin-bottom: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.finance-card:hover {
    transform: translateY(-5px);
}

.finance-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 3px solid #EB6A2A;
    margin-bottom: 0;
    flex-shrink: 0;
}

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

.finance-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.finance-content h4 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a2332;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.finance-divider {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
    color: #EB6A2A;
}

.finance-content p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 25px;
    min-height: 40px;
    line-height: 1.5;
    flex: 1;
}

.btn-detail-outline {
    align-self: flex-start;
    padding: 8px 25px;
    border: 1px solid #EB6A2A;
    color: #EB6A2A;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-detail-outline:hover {
    background: #EB6A2A;
    color: #fff;
}

.info-cat-content h3 {
    color: #1a2332 !important;
}

.info-cat-content p {
    color: #666 !important;
}

/* --- COMPONENT: PROFILE KEPALA DINAS --- */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.page-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 50, 0.85);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}

.page-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #EB6A2A;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #ff8c42;
}

.profile-overview {
    background: #f8f9fa;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.profile-photo-wrapper {
    flex-shrink: 0;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #EB6A2A;
    box-shadow: 0 10px 30px rgba(235, 106, 42, 0.3);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a2332;
    margin-bottom: 10px;
}

.profile-title {
    font-size: 1.3rem;
    color: #EB6A2A;
    font-weight: 600;
    margin-bottom: 15px;
}

.profile-period {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
}

.profile-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 50px;
    color: #1a2332;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-item:hover {
    background: #EB6A2A;
    color: #fff;
}

/* Content Styling */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    /* Prevent text overflow */
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: var(--shadow-sm);
}

.biography-section {
    padding: 80px 0;
}

.biography-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.biography-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.biography-image img {
    width: 100%;
    height: auto;
    display: block;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subsection-title i {
    color: #EB6A2A;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #EB6A2A;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -34px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #EB6A2A;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px #EB6A2A;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 5px;
}

.timeline-institution {
    color: #666;
    margin-bottom: 5px;
}

.timeline-year {
    color: #EB6A2A;
    font-weight: 600;
    font-size: 0.9rem;
}

.vm-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.vm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
}

.vision-card .vm-icon {
    background: linear-gradient(135deg, #EB6A2A, #ff8c42);
    color: #fff;
}

.mission-card .vm-icon {
    background: linear-gradient(135deg, #1a2332, #2c3e50);
    color: #fff;
}

.vm-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 20px;
}

.vm-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
}

.mission-list i {
    color: #EB6A2A;
    margin-top: 3px;
    flex-shrink: 0;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #EB6A2A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.achievement-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.achievement-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.stats-highlight {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #EB6A2A;
    margin-bottom: 10px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .profile-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 970px) {
    .profile-photo {
        width: 200px;
        height: 200px;
    }

    .page-title {
        font-size: 1.8rem;
    }
}

/* --- COMPONENT: PROGRAM KEGIATAN (PPID) --- */
.ppid-programs.section-padding {
    padding: 80px 0;
}

.program-card {
    display: flex;
    align-items: center;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    transition: transform 0.3s ease;
    height: 100%;
    border-top: 5px solid #EB6A2A;
}

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

.program-icon-circle {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.program-icon-circle i {
    color: #1a2332;
    font-size: 1.5rem;
}

.program-content h4 {
    color: #1a2332;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.program-content p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.btn-program-dark {
    background: #1a2332;
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-program-dark:hover {
    background: #EB6A2A;
    color: #fff;
}

/* FIXED GRIDS FOR PPID SECTIONS */
.ppid-finance .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0;
}

.ppid-finance .col-lg-3,
.ppid-finance .col-md-4,
.ppid-finance .col-sm-6 {
    width: 100%;
    max-width: 100%;
    flex: none;
    padding: 0;
}

/* Program grid 2 cols */
.ppid-programs .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 0;
}

.ppid-programs .col-lg-4,
.ppid-programs .col-md-6 {
    width: 100%;
    max-width: 100%;
    flex: none;
    padding: 0;
}

@media (max-width: 1200px) {
    .ppid-finance .row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .ppid-finance .row {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Programs stay 2 cols on tablet */
}

@media (max-width: 970px) {
    .ppid-programs .row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .ppid-finance .row {
        grid-template-columns: 1fr;
    }
}

/* --- COMPONENT: MAKLUMAT PELAYANAN --- */
.ppid-maklumat {
    position: relative;
    padding: 100px 0;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.ppid-maklumat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(233, 94, 13, 0.85);
    z-index: 1;
}

.maklumat-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.maklumat-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.quote-divider {
    width: 80px;
    height: 4px;
    background: #fff;
    margin: 0 auto 40px;
}

.maklumat-quote {
    font-size: 1.15rem;
    line-height: 1.9;
    font-style: italic;
    margin: 0 0 50px;
    padding: 0 40px;
    position: relative;
    color: #fff;
}

.quote-icon-left,
.quote-icon-right {
    font-size: 2rem;
    opacity: 0.4;
    vertical-align: middle;
}

.quote-icon-left {
    margin-right: 15px;
}

.quote-icon-right {
    margin-left: 15px;
}

.ppid-official {
    margin-top: 50px;
}

.official-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #0066cc;
}

.official-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.official-name {
    font-size: 1.0rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.official-title {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

@media (max-width: 970px) {
    .ppid-maklumat {
        padding: 60px 0;
    }

    .maklumat-title {
        font-size: 1.8rem;
    }

    .maklumat-quote {
        font-size: 1rem;
        padding: 0 20px;
    }

    .official-photo {
        width: 140px;
        height: 140px;
    }
}

/* SECTION SPACING ADJUSTMENTS */
.ppid-finance.section-padding {
    padding-top: 40px !important;
    /* Reduced from 80px */
    padding-bottom: 80px !important;
}

.ppid-leadership {
    margin-bottom: 0;
    /* Remove potential bottom margin from previous section */
    padding-bottom: 60px;
}

.ppid-programs.section-padding .section-header {
    margin-bottom: 40px !important;
    /* Tighter header */
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */

.contact-page-hero {
    background: var(--gradient-dark);
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.contact-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: var(--primary-orange);
    text-decoration: none;
}

.contact-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 40px;
}

/* Info Cards */
.contact-left-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-sidebar {
    display: grid;
    gap: 20px;
}

.info-card.unified {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.info-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card.small {
    background: var(--white);
    padding: 22px 18px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.unified-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 0;
    border-bottom: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #FFF5F1;
    color: var(--primary-orange);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 0.75rem;
    color: var(--primary-orange);
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.info-content p {
    color: #2d3748;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 35px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.section-label {
    display: inline-block;
    color: var(--primary-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.22rem;
    color: var(--dark-blue);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 0.9rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 15px 22px;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.95rem;
    background: #f8fafc;
}

.contact-form .form-control:focus {
    border-color: var(--primary-orange);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(235, 106, 42, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    box-shadow: 0 10px 25px rgba(235, 106, 42, 0.35);
}

/* Map Section */
.map-card {
    background: var(--white);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.map-section {
    padding-bottom: 80px;
    background: var(--light-gray);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 970px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-hero {
        padding: 100px 0 40px;
    }

    .contact-hero-content h1 {
        font-size: 2.2rem;
    }
}

/* Profile Page Custom Styles */
.profile-section {
    background: #fff;
    overflow: hidden;
}

.profile-image-container {
    position: relative;
    padding-bottom: 30px;
}

.profile-quote-card {
    position: absolute;
    bottom: 0;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    border-left: 4px solid var(--primary-orange);
}

.profile-quote-card .fa-quote-left {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

.profile-quote-card p {
    font-style: italic;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.quote-author {
    display: flex;
    flex-direction: column;
}

.quote-author strong {
    color: var(--dark-blue);
    font-size: 0.9rem;
}

.quote-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.profile-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(235, 106, 42, 0.1);
    color: var(--primary-orange);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bio-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.profile-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
    transition: var(--transition);
    text-decoration: none;
}

.contact-box:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.contact-box i {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.contact-box div {
    display: flex;
    flex-direction: column;
}

.contact-box small {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-box span {
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Modern Timeline */
.timeline.modern {
    position: relative;
    padding-left: 30px;
}

.timeline.modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: #e9ecef;
}

.timeline.modern .timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline.modern .timeline-marker {
    position: absolute;
    left: -34px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-orange);
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px rgba(235, 106, 42, 0.2);
}

.timeline.modern .date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 5px;
    display: inline-block;
}

.timeline.modern h4 {
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

/* Vision Mission Modern */
.vision-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.vision-box .icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(235, 106, 42, 0.1) 0%, rgba(255, 140, 66, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-orange);
    font-size: 2rem;
}

.vision-box h3 {
    margin: 20px 0;
    color: var(--dark-blue);
    font-weight: 800;
}

.mission-box {
    padding: 30px;
}

.mission-list-modern {
    list-style: none;
    padding: 0;
}

.mission-list-modern li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.mission-list-modern li i {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: #e0f7fa;
    color: #00bcd4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-top: 3px;
}

.mission-list-modern li:nth-child(even) i {
    background: #fff3e0;
    color: #ff9800;
}

.mission-list-modern li span {
    color: var(--text-dark);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .profile-quote-card {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: 100%;
        margin-top: -50px;
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* ===================================
   NEWS PAGE STYLES
   =================================== */

/* Page Header */
.page-header {
    padding: 50px 0 50px;
    background: linear-gradient(135deg, #1a2332 0%, #353D97 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.05;
}

.page-header h1 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb span {
    opacity: 0.7;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--light-gray);
}

/* News Filter */
.news-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* News Card */
.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-orange);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-read-more {
    color: var(--primary-orange);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.news-read-more:hover {
    gap: 12px;
}

.news-read-more i {
    font-size: 0.85rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.page-btn.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

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

    .news-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 120px 0 80px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .news-image {
        height: 200px;
    }

    .news-content {
        padding: 20px;
    }

    .news-title {
        font-size: 1.1rem;
    }
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.related-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none;
    transition: var(--transition);
    align-items: flex-start;
}

.related-post-item:last-child {
    margin-bottom: 0;
}

.related-post-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-post-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-info span {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-post-item:hover {
    transform: translateX(5px);
}

.related-post-item:hover h5 {
    color: var(--primary-orange);
}

/* Categories Widget */
.sidebar-widget .list-unstyled li {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget .list-unstyled li:last-child {
    border-bottom: none;
}

.sidebar-widget .list-unstyled li a {
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.sidebar-widget .list-unstyled li a:hover {
    color: var(--primary-orange) !important;
    padding-left: 5px;
}

@media (max-width: 991px) {
    .sidebar {
        margin-top: 50px;
        position: static !important;
    }
}

/* Custom Grid for Sidebar Layout (Bootstrap-like) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-8,
.col-lg-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Utility Classes (Bootstrap-like) due to missing framework */
.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.pt-4 {
    padding-top: 1.5rem !important;
}

.border-top {
    border-top: 1px solid var(--border-color) !important;
}

.w-100 {
    width: 100% !important;
}

.fw-bold {
    font-weight: 700 !important;
}

/* Search Widget Input Group */
.input-group {
    display: flex;
    width: 100%;
}

.input-group .form-control {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
}

.input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0 20px;
}

/* Comment Form Styles */
.comment-form-group {
    margin-bottom: 20px;
}

.comment-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-blue);
}

.comment-form-group .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

/* =========================================
   ACCESSIBILITY WIDGET STYLES
   ========================================= */
.accessibility-widget {
    position: fixed;
    /* Right side, vertically aligned with social icons (which are at 50% vertical center) */
    top: 50%;
    right: 20px;
    left: auto;
    /* Reset left */
    bottom: auto;
    /* Reset bottom */
    transform: translateY(-50%);
    /* Centers it vertically */
    z-index: 10000;
    font-family: var(--font-primary);
}

.accessibility-toggle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #0056b3;
    /* Blue for reliability/trust */
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.accessibility-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.5);
}

.accessibility-toggle::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(5, 60, 119, 0.3);
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.accessibility-menu {
    position: absolute;
    /* Position menu to the LEFT of the button since button is on right edge */
    right: 70px;
    left: auto;
    /* Reset left */
    bottom: -150px;
    /* Align bottom somewhat with button */
    width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px) scale(0.9);
    /* Animate from right */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
    /* Animate from button */
}


.accessibility-widget.active .accessibility-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.accessibility-header {
    background: #0056b3;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accessibility-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.close-accessibility {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-accessibility:hover {
    transform: rotate(90deg);
}

.accessibility-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.access-item {
    margin-bottom: 20px;
}

.access-item span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.btn-group {
    display: flex;
    background: #f1f3f5;
    border-radius: 50px;
    padding: 5px;
    align-items: center;
    justify-content: space-between;
}

.access-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.access-btn:hover {
    background: #0056b3;
    color: white;
}

.access-btn:active {
    transform: scale(0.9);
}

#text-size-indicator {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.access-btn-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 10px 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 70px;
}

.access-btn-icon i {
    font-size: 1.2rem;
    color: #0056b3;
}

.access-btn-icon small {
    font-size: 0.65rem;
    color: #555;
    text-align: center;
    line-height: 1.2;
}

.access-btn-icon:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.access-btn-icon.active {
    background: #0056b3;
    border-color: #0056b3;
}

.access-btn-icon.active i,
.access-btn-icon.active small {
    color: white;
}

.access-btn-full {
    width: 100%;
    padding: 12px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.access-btn-full:hover {
    background: #f5c6cb;
}

/* =========================================
   ACCESSIBILITY MODES
   ========================================= */

/* Grayscale Mode */
body.mode-grayscale {
    filter: grayscale(100%);
}

/* High Contrast Mode (Yellow on Black) */
body.mode-high-contrast {
    background-color: #000 !important;
    color: #ff0 !important;
}

body.mode-high-contrast * {
    background-color: #000 !important;
    color: #ff0 !important;
    border-color: #ff0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

body.mode-high-contrast img {
    filter: grayscale(100%) contrast(150%);
}

/* Negative Contrast */
body.mode-negative {
    filter: invert(100%);
}

body.mode-negative img {
    filter: invert(100%);
    /* Revert images so they look normal */
}

/* Light Background */
body.mode-light-bg {
    background-color: #fff !important;
    color: #000 !important;
}

body.mode-light-bg * {
    background-color: #fff !important;
    color: #000 !important;
}

/* Links Underline */
body.links-underline a {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
}

/* Readable Font */
body.readable-font {
    font-family: Arial, Helvetica, sans-serif !important;
}

body.readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Horizontal Visitor Counter Widget (Bottom Bar) */
.visitor-counter-horizontal {
    background: rgba(30, 36, 54, 0.6);
    /* Translucent dark navy background */
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-left: auto;
    width: max-content;
}

.visitor-chart-wrapper {
    width: 150px;
    height: 40px;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 20px;
}

.visitor-stats-row {
    display: flex;
    align-items: center;
    gap: 25px;
}

.visitor-stat-box {
    text-align: center;
    min-width: 60px;
}

.visitor-stat-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.visitor-stat-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
}

.visitor-stat-value.total-highlight {
    color: var(--primary-orange);
}

.visitor-stat-box.total-box .visitor-stat-label {
    color: var(--primary-orange);
}

/* Adjust footer bottom container */
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* Flag Dropdown */
.more-flags-dropdown:hover #flagsDropdownMenu {
    display: block !important;
}

#flagsDropdownMenu::-webkit-scrollbar {
    width: 4px;
}

#flagsDropdownMenu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

#flagsDropdownMenu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

@media (max-width: 991px) {
    .visitor-counter-horizontal {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .visitor-chart-wrapper {
        border-right: none;
        padding-right: 0;
    }

    .visitor-stats-row {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}