* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    text-align: justify;
}


.sejarah-container {
    max-width: 90%;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 40px;
    padding: 30px 20px 20px 20px; /* top padding to avoid header overlap */
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #192f59;
    font-family: 'Poppins', sans-serif;
}

.sejarah-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: #192f59;
}

.sejarah-image-wrapper {
    text-align: center;
    margin-bottom: 25px;
}

.sejarah-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sejarah-content {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    color: #333333;
    white-space: pre-line;
}

/* Added styles for publikasi_ilmiah.php publication cards */
.publikasi-ilmiah-wrapper {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Styles for sekilas tentang fakultas section */
.sekilas-container {
    max-width: 90%;
    margin: auto;
    margin-bottom: 40px;
    padding: 30px 20px 20px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #192f59;
    font-family: 'Poppins', sans-serif;
}

/* Buku Panduan grid styles */
.buku-panduan-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 1px auto;
    padding: 0 1px;
}

.category-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 10px;
    text-align: center;
    color: #192f59;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 1rem;
    color: #333333;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .buku-panduan-categories {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin: 20px 0 20px 0;
        padding: 0 10px;
    }

    .category-card {
        padding: 5px;
    }

    .category-card h3 {
        font-size: 1.2rem;
    }

    .category-card p {
        font-size: 0.9rem;
    }
}

/* Buku Panduan detail page styles */
.buku-panduan-list {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}

.buku-panduan-list h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #192f59;
    margin-bottom: 20px;
    text-align: center;
}

.buku-panduan-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.buku-panduan-table thead {
    background-color: #192f59;
    color: white;
}

.buku-panduan-table th, .buku-panduan-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.buku-panduan-table tbody tr:hover {
    background-color: #f5f5f5;
}

.buku-panduan-table a {
    color: #192f59;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.buku-panduan-table a:hover {
    color: #0f1f3a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .buku-panduan-list {
        padding: 0 10px;
    }

    .buku-panduan-table th, .buku-panduan-table td {
        padding: 10px 8px;
    }

    .buku-panduan-list h2 {
        font-size: 1.5rem;
    }
}


.sekilas-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #192f59;
}

.sekilas-content {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    color: #333333;
    white-space: pre-line;
}

/* Styles for visimisi.php section */
.visimisi-container {
    max-width: 80%;
    margin: auto;
    margin-bottom: 40px;
    padding: 30px 20px 20px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    color: #192f59;
    font-family: 'Poppins', sans-serif;
}

.visimisi-content {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    color: #333333;
    white-space: pre-line;
}

.visi {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #192f59;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.misi {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #192f59;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.visi h3, .misi h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #192f59;
}

.visi p, .misi p {
    margin: 0 20px 0 20px;
}

.visi img, .misi img {
    width: 50px;
    height: auto;
    margin: 0 auto 15px auto;
}

.struktur-organisasi img {
    max-width: 80%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    margin-bottom: 15px;
}

/* Styles for layanan publikasi section */
.layanan-pengaduan {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Styles for agenda-fakultas-home section */
.agenda-fakultas-home {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background-color: #f9f9f9;
}

.agenda-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.agenda-text {
    flex: 1;
    color: #192f59;
    font-family: 'Poppins', sans-serif;
}

.agenda-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.agenda-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.agenda-fakultas-home iframe {
    flex: 1;
    height: 600px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .agenda-container {
        flex-direction: column;
        gap: 20px;
    }
    .agenda-fakultas-home iframe {
        width: 100%;
        min-height: 400px; /* lebih besar daripada default */
        height: 60vh;      /* menyesuaikan tinggi layar */
    }
}

.layanan-pengaduan .header-section h1 {
    font-size: 2rem;
    color: #192f59;
    margin-bottom: 15px;
    text-align: center;
}

.layanan-pengaduan .content-section {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

.layanan-pengaduan .card-footer {
    text-align: center;
}

.layanan-pengaduan .btn-detail {
    display: inline-block;
    background-color: #192f59;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.layanan-pengaduan .btn-detail:hover {
    background-color: #0f1f3a;
}

.publikasi-ilmiah-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.publikasi-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.publikasi-card .card-header {
    padding: 15px;
    background-color: #192f59;
    color: white;
}

.publikasi-card .card-header .card-title {
    margin: 0;
    font-size: 1.5rem;
}

.publikasi-card .card-body {
    padding: 15px;
    text-align: center;
}

.publikasi-card .card-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.publikasi-card .card-footer {
    padding: 15px;
    text-align: center;
}

.publikasi-card .btn-detail {
    display: inline-block;
    background-color: #192f59;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.publikasi-card .btn-detail:hover {
    background-color: #0f1f3a;
}

body {
    font-family: 'Philosopher', sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #192f59;
    padding: 20px 0;
    overflow-x: hidden;
}

.rencana-strategis-body {
    font-family: 'Poppins', sans-serif;
}

/* Container for the photos to align side by side */
.rencana-photo-grid {
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 20px;
    justify-content: center;
}

/* Each photo container */
.rencana-photo-item {
    position: relative;
    max-width: 400px;
    flex: 1 1 250px;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.rencana-photo-item:hover {
    transform: scale(1.05);
}

/* The image inside the container */
.rencana-photo-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Overlay text for download on hover */
.rencana-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 47, 89, 0.7);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

.rencana-photo-item:hover .rencana-photo-overlay {
    opacity: 1;
}

.container {
    width: 100%;
    margin: auto;
    max-width: 90%;
}

.top-bar {
    background-color: #192f59;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.top-bar .download {
    font-weight: bold;
    margin-left: auto;
}

.top-bar .download a {
    text-decoration: none;
    color: #ffffff;
    display: inline-block;
    margin-right: 20px;
}

.top-bar img {
    width: 30px;
}

header {
    background-color: #192f59;
    color: #192f59;
}

.navbar {
    position: fixed;
    width: 100%;
    background-color: #ffffff;
    padding-left: 25px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    color: #192f59;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-top: 10px;
}

.menu-items {
    display: flex;
    gap: 70px;
    align-items: center;
    position: relative; /* Add relative positioning */
    z-index: 100; /* Lower z-index to avoid overlapping hamburger */
}

.navbar .logo img {
    width: auto;
    margin-top: 25px;
    height: 100px;
}

/* Hide blue dot next to logo in wide header */
@media (min-width: 769px) {
    .navbar .logo::after {
        content: none !important;
        display: none !important;
        content: none !important;
        display: none !important;
    }
}

/* Mengatur dropdown */
.navbar .dropdown {
    position: relative;
    display: inline-block;
    padding: 10px 12px;
    margin-left: 0; /* Remove auto margin to avoid pushing items apart */
    margin-right: 8px; /* Slight margin between items */
}

.navbar .dropdown h3 {
    margin-top: 30px;
}

/* Style untuk link di dropdown */
.navbar .dropdown a {
    color: #192f59;
    text-decoration: none;
    font-size: 19px;
}

/* Konten dropdown yang muncul saat hover */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 1;
    border-radius: 4px;
}

/* Style item dalam dropdown */
.dropdown-content a {
    text-decoration: none;
    color: #192f59;
    display: block;
    padding: 10px 15px; 
}

/* Hover effect untuk item dropdown */
.dropdown-content a:hover {
    background-color: #f1f1f1;
    border-radius: 4px; /* Efek hover yang halus */
}

/* Tampilkan dropdown saat hover */
.navbar .dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease-in-out; /* Animasi untuk transisi lebih halus */
}

.navbar .dropdown {
    margin-right: 10px; /* Geser dropdown ke kanan */
}


.hero-section {
    position: relative;
    width: 100vw;
    margin-top: 140px; /* Increased margin to push hero-section down on mobile */
    aspect-ratio: 16/4;
    overflow: hidden;
}


.hero-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

/* Styles for dosen.php photos hover and centering */
.dosen-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.dosen-card img {
    transition: transform 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.dosen-card img:hover {
    transform: scale(1.05);
}

.slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Memastikan gambar mengisi area tanpa distorsi */
}


/* Buttons styling */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

/* Swiper slider styles for fasilitas1.php */
.sarana-section {
    margin: 20px 0;
    padding: 20px 20px;
}

.sarana-slider {
    position: relative;
    width: 90%;
    padding-bottom: 40px;
}

.sarana-slider .swiper-wrapper {
    display: flex;
    gap: 20px;
}

.sarana-slider .swiper-slide {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.sarana-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.section {
    padding: 40px 0;
    text-align: center;
}

#data-count .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 10px;
}

#data-count .box-counter {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

#data-count .counter {
    flex: 1 1 150px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    color: #192f59;
}

#data-count .counter h3 svg {
    fill: #192f59;
    margin-bottom: 10px;
}

#data-count .counter h1 {
    font-size: 3rem;
    margin: 10px 0;
    color: #192f59;
}

#data-count .counter h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.sambutan-item {
    display: flex; /* Menggunakan flexbox */
    flex-direction: column; /* Mengatur kolom untuk mobile */
    align-items: center;
    margin: 10px; /* Jarak antar item */
    gap: 50px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .sambutan-item {
        flex-direction: row; /* Baris untuk layar besar */
        align-items: center; /* Vertikal center */
    }
}

.sambutan-item img {
    width: 100%;
    max-width: 300px;
    max-height: 100%;
    height: auto; 
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
    overflow: hidden;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .sambutan-item img {
        max-width: 90%;
        max-height: 400px;
        height: auto;
    }
}

#sambutan-text {
    text-align: left;
}

#toggle-button {
    align-self: flex-start;
    text-align: left;
    display: inline-block;
    cursor: pointer;
    color: blue;
}

.sambutan-item-text {
    font-family: 'Poppins', sans-serif;
    padding: 10px;
    flex: 1;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.sambutan-item-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-size: 30px;
    text-align: left;
}

.sambutan-item-text p {
    font-size: 1.1rem;
    text-align: justify; /* Justify description text */
    margin: 0;
}

.department-grid .department-item a {
    text-decoration: none;
}

.department-item img {
    width: 70px; /* Atur ukuran gambar sesuai kebutuhan */
    height: auto; /* Menjaga proporsi gambar */
    margin-bottom: 15px;
}

.department-item {
    background-image: url(/homepage-img/Desain\ tanpa\ judul.png);
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    color: #ffffff;
    font-size: large;
    display: grid;
    place-items: center;
}

.department-item p {
    text-align: center;
    color: #ffffff;
    text-decoration: none;
}

.about-item img {
    width: 50px; /* Atur ukuran gambar sesuai kebutuhan */
    height: auto; /* Menjaga proporsi gambar */
    margin-bottom: 15px;
    justify-items: center;
}

.about-item {
    margin-bottom: 20px;
    text-align: left;
}

.about-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

.about-item img {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.about-item:nth-child(1) {
    text-align: center;
}

.department-grid, .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.news-detail {
    padding-top: 180px;
}

.news-detail-image {
    max-width: 600px;
}

.about-grid {
    gap: 20px;
    text-align: center;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

.about-item, .department-item, .news-item {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}


.news-item p {
    margin: 0; /* Remove default margin */
    max-height: 60px; /* Set a maximum height for the paragraph */
    overflow: hidden; /* Hide any overflow */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
    display: -webkit-box; /* Required for the ellipsis effect */
    -webkit-box-orient: vertical; /* Required for the ellipsis effect */
}

.mitra-kerjasama {
    justify-content: center;
    text-align: center;
}

.mitra-grid {
    display: flex;
    justify-content: center;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding-bottom: 40px;
}

.mitra-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mitra-item img {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.mitra-item img:hover {
    transform: scale(1.1); /* Zoom saat hover */
}


.footer {
    background-color: #192f59;
    width: 100%;
    max-width: 100vw;
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: #ffffff;
    box-sizing: border-box;
}

.footer .left {
    display: flex;
    flex-direction: column;
}

.footer .left .social-media {
    margin: 10px 0;
}

.footer .left .social-media a {
    margin-right: 10px;
    text-decoration: none;
    font-size: 20px;
}

.footer .right {
    display: flex;
    flex-direction: column;
}

.footer .right a {
    color: #000;
    text-decoration: none;
    margin: 5px 0;
}

.footer .map {
    margin: 5px 0;
    max-width: 90vw;
}

.social-media img {
    width: 35px;
}

.footer .alamat {
    display: flex;
    flex-direction: row;
    gap: 40px; 
    margin-left: 5px;
}

.footer .alamat a {
    text-decoration: none;
    color: #ffffff;
}

.footer p {
    margin: 0;
    font-size: 12px;
}


.footer a:hover {
    color: #007bff;
}

/* Footer bottom - pastikan selalu di bawah */
.footer-bottom {
    width: 100%;
    border-top: 1px solid #ffffff33;
    padding-top: 15px;
    text-align: center;
    clear: both;
}

.footer-bottom h3 {
    margin: 0 0 15px 0;
    font-size: 14px;
    font-weight: normal;
}
        
.footer-bottom .social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0;
}
        
.footer-bottom .social-media a {
    display: inline-block;
    transition: transform 0.3s ease;
}
        
.footer-bottom .social-media a:hover {
    transform: scale(1.1);
}



/* Grid layout */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    background-color: #f5f5f5;
}

.program-grid img {
    width: 10px; /* atau sesuaikan */
    height: 10px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.program-divider {
    border: none;
    border-bottom: 1px solid #192f59; /* thicker and blue color matching header */
    margin: 10px 0 20px 0;
    width: 100%;
    height: 1px;
    background: none;
}

.program-divider-dosen {
    border: none;
    border-bottom: 2px solid #192f59; /* thicker and blue color matching header */
    margin: 10px 0 20px 0;
    width: 100%;
    height: 2px;
    background: none;
}

/* Program item styling */
.program-item {
    background-image: url('images/background.png'); /* Pastikan path benar */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #192f59;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Hover animation effect */
.program-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-item:hover::after {
    opacity: 0.5;
}

/* Image styling */
.program-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    transition: transform 0.3s ease;
}

.program-item:hover img {
    transform: rotate(10deg) scale(1.1);
}

/* Text styling */
.program-item p {
    color: #192f59;
    font-weight: bold;
    margin: 0;
    z-index: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .program-item {
        padding: 15px;
    }

    .program-item img {
        width: 60px;
    }

    .program-item p {
        font-size: 0.9rem;
    }
}


/* Container utama */
.hero-highlight-section {
    width: 100vw;
    height: 60vh;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 140px;
}

/* Wrapper untuk gambar */
.hero-highlight-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Gambar responsif */
.hero-highlight-image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.hero-highlight-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8); /* Efek gelap pada gambar */
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.hero-highlight-image-prodi {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

/* Teks overlay di tengah-tengah */
.hero-highlight-text {
    position: absolute;
    z-index: 10;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 600; /* Menggunakan berat font lebih tebal */
    font-family: 'Poppins', sans-serif; /* Menambahkan font Poppins */
    text-align: left;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    background: rgba(0, 0, 0, 0.5); /* Latar belakang transparan hitam */
    opacity: 1;
    padding-left: 30px;
}



.program-divider {
    border: none;
    border-bottom: 1px solid #192f59; /* thicker and blue color matching header */
    margin: 10px 0 20px 0;
    width: 100%;
    height: 1px;
    background: none;
}



/* Program item styling */
.program-item {
    background-image: url('images/background.png'); /* Pastikan path benar */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #192f59;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Hover animation effect */
.program-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-item:hover::after {
    opacity: 0.5;
}

/* Image styling */
.program-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    transition: transform 0.3s ease;
}

.program-item:hover img {
    transform: rotate(10deg) scale(1.1);
}

/* Text styling */
.program-item p {
    color: #192f59;
    font-weight: bold;
    margin: 0;
    z-index: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .program-item {
        padding: 15px;
    }

    .program-item img {
        width: 60px;
    }

    .program-item p {
        font-size: 0.9rem;
    }

}

.visi-text {
    text-align: center;
}

/* Prestasi section styles */
.prestasi-section-wrapper {
    max-width: 90%;
    margin: 20px auto;
    padding: 0 20px;
}

.prestasi-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #192f59;
    text-align: center;
    margin-bottom: 30px;
}

.prestasi-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 5px;
    justify-items: center;
}

.prestasi-grid-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.prestasi-grid-image {
    width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0;
}

.prestasi-grid-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #192f59;
    margin-bottom: 10px;
}

.prestasi-grid-desc {
    font-size: 1rem;
    color: #333333;
    text-align: justify;
    line-height: 1.5;
    margin: 0;
}

.prestasi-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.prestasi-grid-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.prestasi-grid-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #192f59;
    margin-bottom: 10px;
}

.prestasi-grid-desc {
    font-size: 1rem;
    color: #333333;
    text-align: justify;
    line-height: 1.5;
}



.program-divider {
    border: none;
    border-bottom: 1px solid #192f59; /* thicker and blue color matching header */
    margin: 10px 0 20px 0;
    width: 100%;
    height: 1px;
    background: none;
}


/* Program item styling */
.program-item {
    background-image: url('images/background.png'); /* Pastikan path benar */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #192f59;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Hover animation effect */
.program-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-item:hover::after {
    opacity: 0.5;
}

/* Image styling */
.program-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    transition: transform 0.3s ease;
}

.program-item:hover img {
    transform: rotate(10deg) scale(1.1);
}

/* Text styling */
.program-item p {
    color: #192f59;
    font-weight: bold;
    margin: 0;
    z-index: 1;
}

.section-content {
    padding-top: 20px;
    padding-bottom: 20px;
}



#about-design .section-inner, #vision-mission .section-inner {
    max-width: 70%;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #192f59;
    font-family: 'Poppins', sans-serif;
    text-align: justify;
}

#about-design h2, #vision-mission h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: #192f59;
}

#about-design p, #vision-mission p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

#about-design img {
    max-width: 90%;
    width: 70%; 
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


#visit-website {
    margin: 40px 0;
    align-items: center;
    justify-content: center;

}

.button-visit {
    display: inline-block;
    background-color: #192f59;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.button-visit:hover {
    background-color: #0f1f3a;
}

/* Responsive design */
@media (max-width: 768px) {
    /* Mobile Navigation Styles */
    .navbar {
        flex-direction: row;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding: 10px;
        margin-top: 5px;
        position: fixed;
        height: auto;
    }

    .navbar .logo {
        margin-bottom: 0;
        width: auto;
        height: auto;
        display: flex;
        justify-content: flex-start;
        flex: 1;
    }

    .navbar .logo img {
        height: auto;
        width: 200px;
    }

    /* Hamburger button styles */
    .hamburger {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        margin-top: 15px;
        margin-left: auto;
        z-index: 1101;
    }

    .hamburger .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        background-color: #192f59;
        transition: 0.3s;
        border-radius: 2px;
    }

    /* Menu Items Container */
    .navbar .menu-items {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        border-radius: 4px;
        z-index: 1100;
        width: 100%;
    }

    /* Show menu when navbar is active */
    .navbar.active .menu-items {
        display: block;
    }

    /* Dropdown Items */
    .navbar .dropdown {
        display: block;
        border-bottom: 1px solid #eee;
    }

    .navbar .dropdown:last-child {
        border-bottom: none;
    }

    .navbar .dropdown h3 {
        text-align: left;
        margin: 0;
        font-size: 1.1rem;
        padding: 15px 20px;
        background-color: #f8f9fa;
        cursor: pointer;
    }

    .navbar .dropdown h3:hover {
        background-color: #e9ecef;
    }

    /* Dropdown Content */
    .navbar .dropdown-content {
        display: none;
        background-color: #ffffff;
        padding: 0;
        margin: 0;
    }

    .navbar .dropdown:hover .dropdown-content {
        display: none;
        animation: fadeIn 0.3s ease-in-out; /* Animasi untuk transisi lebih halus */
    }

    /* Show dropdown content when dropdown is active */
    .navbar .dropdown.active .dropdown-content {
        display: block;
        max-height: 300px;
        overflow-y: auto;
    }

    .navbar .dropdown-content a {
        display: block;
        padding: 12px 40px;
        text-align: left;
        color: #192f59;
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
    }

    .navbar .dropdown-content a:last-child {
        border-bottom: none;
    }

    /* Animation for hamburger */
    .navbar.active .hamburger .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .navbar.active .hamburger .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar.active .hamburger .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .top-bar {
        background-color: #192f59;
        padding: 5px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #ffffff;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1100;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .top-bar img {
        width: 20px;
    }

    .hero-section {
        height: 19vh;
        margin-top: 80px;
    }

    .hero-slider .slide img {
        height: 100%;
        object-fit: contain;
    }

    .section {
        padding: 20px 10px;
    }

    .sambutan-item {
        gap: 40px;
        margin: 10px 0;
    }
    
    .prev, .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        padding: 5px;
        font-size: 10px;
        cursor: pointer;
        z-index: 10;
        border-radius: 50%;
        width: 10px;
        height: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s;
    }
    
    .sambutan-item-text h3 {
        font-size: 2.5rem !important;
        font-family: 'Poppins', sans-serif !important;
        margin-bottom: 10px;
    }

    .sambutan-item-text p {
        font-size: 0.9rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 10px;
    }

    .about-item {
        padding: 15px;
    }
    
    .visi-text {
        text-align: center;
    }
    
    .misi-text {
        text-align: left;
    }

    .news-section {
        padding: 10px 5px;
    }

    .news-item {
        padding: 10px;
        margin-bottom: 15px;
    }

    .news-item h3 {
        font-size: 1.2rem;
    }

    .news-item p {
        font-size: 0.85rem;
    }

    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .mitra-kerjasama {
        justify-content: center;
        text-align: center;
    }

    .mitra-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        padding-bottom: 20px;
    }

    .mitra-item {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mitra-item img {
        width: 100%;
        height: auto;
        transition: transform 0.3s ease;
    }

    .mitra-item img:hover {
        transform: scale(1.1); /* Zoom saat hover */
    }
    
    /* Container utama */
    .hero-highlight-section {
        width: 100vw;
        height: 10vh;
        margin-top: 85px;
        padding: 0;
        margin-bottom: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    /* Wrapper untuk gambar */
    .hero-highlight-container {
        width: 100%;
        height: 100%;
        
        margin-top: 40px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    /* Gambar responsif */
    .hero-highlight-image-wrapper {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        overflow: hidden;
    }
    
    .hero-highlight-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.8); /* Efek gelap pada gambar */
        transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    }
    
    /* Teks overlay di tengah-tengah */
    .hero-highlight-text {
        position: absolute;
        z-index: 10;
        color: #ffffff;
        font-size: 2rem;
        font-weight: 500; /* Menggunakan berat font lebih tebal */
        font-family: 'Poppins', sans-serif; /* Menambahkan font Poppins */
        text-align: left;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: left;
        align-items: center;
        background: rgba(0, 0, 0, 0.5); /* Latar belakang transparan hitam */
        opacity: 1;
        padding-left: 10px;
    }
    
    .footer .alamat {
        display: flex;
        flex-direction: row;
        gap: 40px; 
        margin-left: 5px;
        font-size: 10px;
        margin-bottom: 10px;
    }
    
    .footer .alamat a {
        text-decoration: none;
        color: #ffffff;
    }
    
    .footer p {
        margin: 0;
        font-size: 12px;
    }
    
    /* Additional styling for sistem-informasi.php sections */
    #about-design .section-inner, #vision-mission .section-inner {
        max-width: 400px;
        margin: 0 auto;
        padding: 20px;
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        color: #192f59;
        font-family: 'Poppins', sans-serif;
        text-align: justify;
    }
    
    
    
    #about-design h2, #vision-mission h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 15px;
        text-align: center;
        color: #192f59;
    }
    
    #about-design p, #vision-mission p {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    #visit-website {
        margin: 40px 0;
    }
    
    .button-visit {
        display: inline-block;
        background-color: #192f59;
        color: white;
        padding: 12px 30px;
        border-radius: 5px;
        font-weight: 600;
        font-size: 1.1rem;
        transition: background-color 0.3s ease;
    }
    
    .button-visit:hover {
        background-color: #0f1f3a;
    }
}
