body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* PPID Top Header Styles */
.header-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #f8f9fa;
    flex-wrap: wrap;
}

.header-text {
    flex: 1;
    min-width: 300px;
}

.header-text h1 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.header-text p {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin: 0;
}

.header-logos {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.header-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.header-search-clock {
    display: none; /* Hide search and clock for PPID page */
}

@media (max-width: 768px) {
    .header-logo {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }

    .header-text {
        margin-bottom: 15px;
    }

    .header-text h1 {
        font-size: 16px;
    }

    .header-text p {
        font-size: 13px;
    }

    .header-logos {
        justify-content: center;
    }

    .header-logos img {
        height: 50px;
    }
}

/* PPID Header Section */
.ppid-header-section {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    margin-top: 20px;
}

.ppid-header-section h1 {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Action Cards Section */
.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.action-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.action-card .icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.action-card .icon svg {
    width: 100%;
    height: 100%;
}

.action-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Wider icon for maklumat card */
.action-card .icon-wide {
    width: calc(100% + 60px);
    height: 160px;
    margin: -40px -30px 20px -30px;
}

.action-card .icon-wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.action-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.action-card .btn-action {
    background: linear-gradient(135deg, #00d4aa 0%, #4facfe 100%);
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
}

.action-card .btn-action:hover {
    background: linear-gradient(135deg, #00bfa5 0%, #3a9efd 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 212, 170, 0.4);
    color: #fff;
    text-decoration: none;
}

/* Procedure Buttons */
.procedure-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.btn-procedure {
    background: #4facfe;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-procedure:hover {
    background: #3a9efd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Information Section */
.info-section {
    margin-top: 60px;
}

.info-section h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 50px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.info-card .card-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.info-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-card .card-content {
    padding: 25px 20px;
}

.info-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.info-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}

.info-card .btn-more {
    background: linear-gradient(135deg, #00d4aa 0%, #4facfe 100%);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
}

.info-card .btn-more:hover {
    background: linear-gradient(135deg, #00bfa5 0%, #3a9efd 100%);
    transform: scale(1.02);
    color: #fff;
    text-decoration: none;
}

/* Footer Styles */
.footer {
    background-color: #353a3f;
    color: white;
    padding: 20px 0;
    position: relative;
    margin-top: 60px;
}
.footer .contact-info, .footer .social-media {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer .contact-info i, .footer .social-media i {
    margin-right: 10px;
}
.footer .social-media a {
    color: white;
    margin-right: 15px;
    font-size: 24px;
}
.footer-logo {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 100px;
}

/* Dropdown Submenu */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}
.dropdown-submenu > .dropdown-toggle::after {
    display: none !important;
}

/* Content Page Styles */
.content-page {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-page h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.content-page h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-page p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
    text-align: justify;
}

.content-page ul, .content-page ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.content-page li {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .ppid-header-section h1 {
        font-size: 18px;
    }

    .action-cards {
        grid-template-columns: 1fr;
    }

    .procedure-buttons {
        flex-direction: column;
        align-items: center;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .content-page {
        padding: 20px;
    }
    
    .content-page h1 {
        font-size: 24px;
    }
    
    .content-page h2 {
        font-size: 20px;
    }
}
