:root{
	--primary-color: #F3CA52;
	--secondary-color: #1e293b;
	--slate:#475569;
	--background: white !important;
	--myFont: 'Inter', sans-serif;
	--fontSize: 1.5rem;
    --transition: all 0.25s ease 0s
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}
body {
	background: var(--background) !important;
	font-family: var(--myFont);
}
.navbar {
	overflow: visible;
	padding: 20px 40px;
	transition: ease 400ms;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 99;
	display: flex;
	align-items: center;
}
.shadow{
	box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.2);
}
.navbar a {
	text-align: center;
	padding: 12px;
	text-decoration: none;
	font-size: 18px;
	line-height: 25px;
	position: relative;
}
.navbar .logo {
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
	transition: 0.4s;
	color: var(--slate);
}
.navbar a:hover {
	color: #F3CA52 !important;
}
.navbar a.active {
	background-color: #F3CA52;
	color: white;
}

.nav-list {
    display: flex;
    list-style: none;
    margin-left: auto;
    transition: 300ms;
	padding-left: 20px;
	gap: 14px;
}


.nav-item, .nav-link {
	color: #ebebeb;
    position: relative;
	font-size: 16px;
}

.nav-link.dropdown-toggle {
    cursor: pointer;
    color: #ebebeb;
    padding: 0 12px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--slate);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000 !important;
    padding: 0;
	margin-top: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    padding: 15px 20px;
    color: #ebebeb;
    text-decoration: none;
    transition: background 0.3s ease;
	display: block;
	line-height: 1.6;
	margin-top: 2px;
}

.dropdown-item:hover {
    color: #F3CA52;
}

.nav-link.dropdown-toggle i {
    margin-left: 8px;
}

.logo-img{
	margin-right: 15px;
	transition: 0.4s;
}
.logo-text{
	font-size: 1.2rem;
	transition: 0.4s;
	color: white;
}
.white{
	color: var(--background) !important;
}
.btn-explore {
	text-decoration: none;
	margin-top: 15px;
	padding: 8px 18px;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	background-color: transparent;
	outline: 2px solid var(--background);
	color: var(--background);
	transition: 300ms;
	cursor: pointer;
}
.btn-explore:hover {
	transform: scale(1.1, 1.2);
	color: #F3CA52;
}
.btn-explore:active {
	transform: scale(1, 1);
}
#menu{
	display: none;
	z-index: 99 !important;
}
.fs-2{
	font-size: var(--fontSize);
}
.canvas-toggle{
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-color: var(--slate);
}
/* Start Media Query for Tablet*/
@media screen and (max-width: 900px) {
	.navbar {
		padding: 15px 8px !important;
	}
	.navbar a {
		float: none;
		display: block;
		text-align: left;
	}
	.nav-list{
		transition: ease-out 500ms;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		position: fixed;
		top: 0;
		left: -100%;
		min-width: 200px;
		height: 100vh;
		background-color: var(--slate);
		padding: 5rem 2rem;
		border-radius: 5px;
		z-index: 1 !important;
		box-shadow: 3px 0 5px 0 rgba(0, 0, 0, 0.2);
	}
	.logo{
		width: 100%;
	}
	.logo-img{
		display: block;
		width: 50px;
	}
	.logo-text{
		font-size: 1rem !important;
	}
	#menu{
		display: block;
		margin-left: auto;
		color: white;
		font-size: 2rem;
		cursor: pointer;
	}
	.show {
		left: 0;
	}
	.nav-item{
		color: #ebebeb;
	}
	.tentang {
		flex-wrap: wrap;
		text-align: center;
	}
	.desc {
		width: 100% !important;
	}
	.container {
		width: 100% !important;
		margin: 0 !important;
	}
	.welcome h1 {
		font-size: 1.8rem !important;
	}
	.about{
		margin-bottom: var(--fontSize);
	}
	.col-right{
		display: none;
	}
	.col-left{
		width: 100% !important;
	}
	.col-body{
		width: 100% !important;
		padding: 2rem;
	}
	.col-body img{
		width: 100% !important;
	}
	.row-ciri{
		flex-wrap: wrap;
		justify-content: center !important;
	}
	.container-ciri{
		justify-content: center !important;
	}
	.ciri-khas{
		width: 100% !important;
	}
	.gallery-title{
		margin-bottom: 1.5rem;
	}
}
/* End Media Query for Tablet*/
/* Swiper */
.swiper {
	width: 100%;
	height: 100vh;
	position: relative;
}
.swiper::after {
	content: '';
	position: absolute;
	display: block;
	background: linear-gradient(173deg, rgba(36, 0, 0, 0.1) 0%, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
	width: 100%;
	height: 100%;
	top: 0;
	z-index: 9;
}
.swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}
.swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* WELCOME */
.welcome{
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	flex-direction: column;
	z-index: 10;
	width: 100%;
	height: 100%;
	color: var(--background);
}
.welcome h1{
	font-size: 2.2rem;
}
.container {
	width: 90%;
	padding: 1.2rem;
	margin: auto;
}
.title-welcome {
	margin: 5rem auto 3rem;
	text-align: center;
	width: 100%;
	color: var(--secondary-color);
}
.desc {
	display: block;
	margin: 12px auto;
	width: 50%;
}
.tentang {
	display: flex;
	gap: 4rem;
	justify-content: center;
}
.kepsek {
	flex-grow: 1;
	text-align: center;
}
.kepsek i {
	margin-top: 5px;
	display: block;
}
.foto-kepsek {
	width: 180px;
	border-radius: 12px;
}
.visi {
	width: 500px;
}
.misi {
	flex-grow: 2;
}
/* About US */
#sambutan{
	padding-top: 6rem;
}
.sambutan {
	text-align: center;
	font-size: 2rem;
	color: var(--secondary-color);
}
#sambutan .container{
	margin: 4rem auto;
	width: 100%;
	background-color: var(--slate);
	padding: 8rem 2rem;
	position: relative;
}
.row{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1.2rem;
}
.col-left{
	color: var(--background);
	width: 50%;
	display: flex;
	flex-direction: column;
}
.col-right{
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 50%;
	/* background-color: #0062ff; */
	background-image: url(../storage/konten/kepsek.jpg);
	background-size: cover;
	background-position: center;
}
.about-title{
	margin-bottom: 12px;
}

.btn-about{
	text-decoration: none;
	margin-top: 15px;
	padding: 4px 15px;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	background-color: transparent;
	outline: 2px solid var(--background);
	color: var(--background);
	transition: 300ms;
	max-width: 120px;
}
.btn-about:hover {
	transform: scale(1.1, 1.2);
	font-weight: 600;
}
.btn-about:active {
	transform: scale(1, 1);
}
/* Mengapa kami? */
#why {
	background-color: var(--background);
}
.why-us{
	margin-bottom: 5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: var(--secondary-color);
}
.why-text{
	padding: var(--fontSize);
	margin-bottom: var(--fontSize);
	text-align: center;
}
.why-body{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
}
.col-body{
	width: 30%;
	text-align: center;
}
.col-body img{
	width: 80%;
	margin-bottom: 1.2rem;
}
/* Statistik */
#statistik{
	background-color: var(--slate);
}
.statistik{
	background-color: var(--slate);
	width: 90%;
	margin: 2rem auto;
	padding: 2rem;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 600;
	border-radius: 8px;
}
.row-statistik{
	display: flex;
	justify-content: space-around;
	gap: 10px;
	flex-wrap: wrap;
}
.col-statistik{
	background-color: var(--background);
	border-radius: 8px;
}
.card-statistik{
	min-width: 250px;
	max-width: 200px;
	padding: 2rem;
	display: flex;
	align-items: center;
	justify-content: space-around;
	font-size: 1.2rem;
	transition: 300ms;
}
.card-statistik:hover{
	color: #F3CA52;
}
.icon-statistik{
	font-size: 2rem;
}
/* Ciri Khas Sekolah */
.ciri-title{
	margin: 3rem auto;
	font-size: var(--fontSize);
	color: var(--secondary-color);
	text-align: center;
}
.row-ciri{
	display: flex;
	justify-content: space-between;
	gap: 12px;
}
.col-ciri{
	text-align: center;
}
.img-ciri{
	max-width: 400px;
}
.container-ciri{
	display: flex;
	flex-wrap: wrap;
	justify-content: end;
	gap: 12px;
	align-items: center;
	height: 100%;
}
.ciri-khas{
	font-size: 1.2rem;
	color: var(--background);
	margin: 8px 0;
	background-color: var(--slate);
	padding: 12px;
	border-radius: 8px;
	width: 250px;
	height: 90px;
	display: flex;
	justify-content: center;
	align-items: center;
}
/* Gallery */
#fasilitas{
	background-color: var(--slate);
	padding: 3rem 0;
}
.gallery-title{
	font-size: var(--fontSize);
	color: var(--background);
	text-align: center;
}
.gallery {
    --anim-time--hi: 266ms;
    --anim-time--med: 400ms;
    --anim-time--lo: 600ms;
    display: flex;
    place-content: center;
    max-width: clamp(30rem, 95%, 50rem);
    width: max(22.5rem, 100%);
    min-height: 100vh;
    margin-inline: auto;
}
.gallery__content--flow {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.gallery__content--flow > *  {
    flex-grow: 1;
    flex-basis: calc((30rem - 100%) * 999);
}
figure {
    display: flex;
    min-width: 14rem;
    max-height: 16rem;
    position: relative;
    border-radius: .35rem;
    box-shadow:
    rgb(40, 40, 40, 0.1) 0px 2px 3px,
    rgb(20, 20, 20, 0.2) 0px 5px 8px,
    rgb(0, 0, 0, 0.25) 0px 10px 12px;
    overflow: hidden;
    transition: transform var(--anim-time--med) ease;
}
figure::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        hsla(0, 0%, 0%, 0.8) 0%,
        hsla(0, 0%, 0%, 0.7) 12%,
        hsla(0, 0%, 0%, 0.2) 41.6%,
        hsla(0, 0%, 0%, 0.125) 50%,
        hsla(0, 0%, 0%, 0.01) 59.9%,
        hsla(0, 0%, 0%, 0) 100%
    );
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: var(--anim-time--med), var(--anim-time--med);
    transition-timing-function: ease, ease;
      z-index: 4;
}
.header__caption {
    z-index: 10;
    position: absolute;
    display: inline-flex;
    flex-direction: column;
    align-self: flex-end;
    width: 100%;
    gap: 0.5rem;
    padding: 1rem;
    justify-content: center;
    text-align: center;
    transform: translateY(100%);
    transition: transform var(--anim-time--hi) linear,
    opacity var(--anim-time--hi) linear;
}
figure:hover::before {
    opacity: 0.8;
}
figure:hover .header__caption {
    transform: translateY(0);
    opacity: 1;
}
figure:hover img{
    transform: scale(1);
}
.title {
    color: #fff;
}
.title--primary {
    font-size: 1.25rem;
    font-weight: bold;
}
figure img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center;
    height: 100%;
  	transform: scale(1.15);
    aspect-ratio: 16 / 13;
    transition: 400ms ease-in-out;
}
/* Footer */
.footer-distributed{
	background: var(--primary-color);
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
	width: 100%;
	font: bold 16px sans-serif;
	text-align: left;
	padding: 50px 60px 40px;
	overflow: hidden;
}
/* Footer left */
.footer-distributed .footer-left{
	float: left;
}
/* The school logo */
.footer-distributed h3{
	color:  var(--slate);
	font: normal 36px var(--myFont);
	margin: 0 0 10px;
	font-weight: 600;
}
/* Footer links */
.footer-distributed .footer-links{
	color:  var(--slate);
	margin: 0 0 10px;
	padding: 0;
}
.footer-distributed .footer-links a{
	display:inline-block;
	line-height: 1.8;
	text-decoration: none;
	color:  inherit;
}
.footer-distributed .footer-school-name{
	color:  var(--slate);
	font-size: 14px;
	font-weight: normal;
	margin: 0;
}
/* Footer social icons */
.footer-distributed .footer-icons{
	margin-top: 40px;
}
.footer-distributed .footer-icons a{
	display: inline-block;
	width: 35px;
	height: 35px;
	cursor: pointer;
	background-color:  var(--slate);
	border-radius: 2px;
	font-size: 20px;
	color: var(--background);
	text-align: center;
	line-height: 35px;
	margin-right: 3px;
	margin-bottom: 5px;
}
/* Footer Right maps*/
.footer-distributed .footer-right{
	float: right;
	width: 460px;
}
.footer-distributed .footer-right p{
	display: inline-block;
	vertical-align: top;
	margin: 15px 42px 0 0;
	color: var(--slate);
}
/* The contact form */
.footer-distributed form{
	display: inline-block;
}
.footer-distributed form input,
.footer-distributed form textarea{
	display: block;
	border-radius: 3px;
	box-sizing: border-box;
	background-color:  var(--slate);
	box-shadow: 0 3px 5px 0 rgba(163, 160, 160, 0.4);
	border: none;
	resize: none;
	font: inherit;
	font-size: 14px;
	font-weight: normal;
	width: 400px;
	padding: 18px;
	color: var(--background);
}
form input:focus,textarea:focus{
	border: none;
	outline: 2px solid var(--secondary-color);
}
.footer-distributed form input{
	height: 55px;
	margin-bottom: 15px;
}
.footer-distributed form textarea{
	height: 100px;
	margin-bottom: 20px;
}
.footer-distributed form button{
	border-radius: 3px;
	background-color:  var(--secondary-color);
	color: var(--background);
	border: 0;
	padding: 15px 50px;
	font-weight: bold;
	float: right;
	cursor: pointer;
	transition: 200ms;
}

.whatsapp-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #25D366;
	color: white;
	padding: 10px 20px;
	border-radius: 5px;
	font-weight: bold;
	display: flex;
	align-items: center;
	z-index: 1000; 
  }
.whatsapp-button a {
	display: flex;
	align-items: center;
	text-decoration: none !important;
	color: white !important;
	font-size: 16px;
  }
  
  .whatsapp-button a:hover {
	color: white !important;
	text-decoration: none !important;
	cursor: pointer;
  }
  
  
  .whatsapp-button .iconify {
	margin-right: 10px;
	font-size: 24px;
  }

form button:active{
	transform: translateY(15%);
}
@media (max-width: 1000px) {
	.footer-distributed {
		font: bold 14px sans-serif;
	}
	.footer-distributed .footer-school-name{
		font-size: 12px;
	}
	.footer-distributed form input,
	.footer-distributed form textarea{
		width: 250px;
	}
	.footer-distributed form button{
		padding: 10px 35px;
	}
}
@media (max-width: 800px) {
	.footer-distributed{
		padding: 30px;
	}
	.footer-distributed .footer-left,
	.footer-distributed .footer-right{
		float: none;
		max-width: 300px;
		margin: 0 auto;
	}
	.footer-distributed .footer-left{
		margin-bottom: 40px;
	}
	.footer-distributed form{
		margin-top: 30px;
	}
	.footer-distributed form{
		display: block;
	}
	.footer-distributed form button{
		float: none;
	}
}
.section-pengumuman{
	background-color: crimson;
}
.section-heading-pengumuman h1{
	color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    text-align: center;
	font-size: 2rem;
}

.section-divider {
    width: 80px;
    border: 2px solid #FFDC7F;
    margin: 0 auto;
    margin-top: 20px;
}

.announcement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.announcement-title a{
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
	margin-right: 20px;
	color: white;
	text-decoration: none;
}

.announcement-title a:hover {
	color: #F3CA52;
}

.announcement-date {
    font-size: 0.9rem;
    color: #f8f9fa;
    margin-bottom: 0.5rem;
}

.btn-light {
    color: white;
	text-decoration: none;
    background-color: #25D366;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-light:hover {
    color: white;
    background-color: var(--slate);
}

.blog-area {
    padding: 0;
    margin-bottom: 30px;
}

.section-heading {
    font-size: 2rem;
	margin-top: 30px;
    margin-bottom: 30px;
	text-align: center;
	color: var(--secondary-color);
}

.container-berita {
    padding: 0;
}

.row-berita {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
}

.row-berita .col-md-4 {
    flex: 1 1 calc(33.333% - 20px); 
    max-width: calc(33.333% - 20px);
}

.card-berita {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-berita-header {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
	text-transform: capitalize;
}

.card-berita-body {
    padding: 15px;
}

.card-berita-body img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

.card-berita-text {
    font-size: 14px;
    margin-bottom: 15px;
}


.card-berita-footer {
    background-color: #f8f9fa;
    padding: 10px;
    border-top: 1px solid #ddd;
    text-align: center;
}

@media (max-width: 768px) {
    .col-md-4.mb-4 {
        flex: 0 0 100%;
        max-width: 80%;
		margin: 0 auto;
    }
	.berita{
		margin-top: 20px;
	}

}

.prestasi-section {
    background-color: (--slate);
    padding: 50px 0;
    font-family: 'Inter', sans-serif;
}

.section-heading p {
	color: white;
    margin-bottom: 30px;
}

.row-prestasi {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.card-prestasi {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease;
}

.card-prestasi:hover {
    transform: translateY(-5px);
}

.prestasi-header img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.prestasi-body {
    padding: 20px;
    text-align: center;
}

.prestasi-body h3 {
    margin-bottom: 10px;
    color: #111827;
}

.detail-prestasi {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.tingkat-tahun {
    color: #9ca3af;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .row-prestasi {
        flex-direction: column;
        align-items: center;
    }
}

/*visi-misi*/
.col.text-center h1 {
	text-align: center;
    font-size: 2rem; 
    margin-bottom: 20px;
	margin-top: 10px;
}

.p-4.bg-light.rounded.shadow-sm {
    line-height: 1.8;
    padding-left: 20px;
    padding-right: 20px;
}

/* Center teks <h2> pertama pada bagian visi */
.p-4.bg-light.rounded.shadow-sm h2:first-of-type {
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}

/*ekskul*/
.row-ekskul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
}

.row-ekskul .col-md-4 {
    display: flex;
    justify-content: center;
    align-items: center;
	flex-basis: 100%;
}
@media (min-width: 768px) {
    .row-ekskul .col-md-4 {
        flex-basis: 50%;
    }

    .ekskul-desc {
        font-size: 0.9rem;
    }
}

@media (min-width: 576px) {
    .row-ekskul .col-md-4 {
        flex-basis: 33.33%;
    }
}

.ekskul-card {
    position: relative;
    overflow: hidden;
	max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
	margin: 20px;
}

.ekskul-img-wrapper {
    position: relative;
    overflow: hidden;
}

.ekskul-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease-in-out;
    border-radius: 10px;
}

.ekskul-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 10px;
}

.ekskul-desc {
    text-align: center;
    padding: 1rem;
}

.ekskul-desc h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.ekskul-desc p {
    font-size: 12px;
    margin-bottom: 0;
}

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

.ekskul-card:hover .ekskul-overlay {
    opacity: 1;
}

/*berita Bar*/

.berita-bar .section-heading {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.berita-item {
    display: flex;
    align-items: center;
	margin-top: 20px;
    justify-content: space-between;
}

.berita-item .img-fluid {
    width: 200px; 
    height: auto; 
    object-fit: cover; 
    margin-right: 15px;
}

.berita-item a {
	color: var(--secondary-color);
    font-size: 16px;
	text-decoration: none;
    margin: 0;
    text-transform: capitalize; 
}
.berita-item a:hover{
	color: #FFDC7F;
}

.berita-date {
    font-size: 12px;
    margin: 0;
    color: #555;
}

.berita-item .col-8 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.berita-item hr {
    margin-top: 10px;
    margin-bottom: 10px;
}
hr {
    border-top: 1px solid #FFDC7F;
}

.col img {
    max-width: 100%;  
    height: auto;     
    display: block;   
    margin: 0 auto;   
}

/*tatib*/
.tata-tertib {
    font-family: "Segoe UI", sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.tata-tertib .section-heading {
    margin-bottom: 30px;
}

.tata-tertib .section-heading h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.tata-tertib .section-divider {
    width: 80px;
    margin: 0 auto 20px;
    border-top: 3px solid #ffc107;
}

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

.tata-tertib .text-justify {
    text-align: justify;
}

.tata-tertib ol,
.tata-tertib ul {
    margin-left: 20px;
    padding-left: 20px;
}

.tata-tertib .bab-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tata-tertib li {
    margin-bottom: 5px;
}

/*custom pagination*/
.page-item li{
	list-style-type: none;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination .page-item .page-link {
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color); 
}

.pagination .page-item .page-link:hover {
    background-color: var(--primary-color); 
    color: white; 
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    color: white; 
    border: 2px solid var(--primary-color); 
}

.custom-pagination{
	margin-top: 5px;
	margin-bottom: 15px;
}

.custom-pagination .page-item {
    margin: 0 5px;
}

.custom-pagination .page-link {
    border: 2px solid var(--primary-color); 
    border-radius: 50px; 
    padding: 5px 15px; 
    background-color: transparent; 
    color: var(--primary-color);
}

.custom-pagination .page-link:hover {
    background-color: var(--primary-color); 
    color: #fff;
}

.custom-pagination .page-item.active .page-link {
    background-color: var(--primary-color); 
    color: #fff; 
    border-color: var(--primary-color); 
}

.custom-pagination .page-item.disabled .page-link {
    border-color: var(--slate); /* slate-400 */
    color: var(--slate);
    background-color: transparent;
    cursor: not-allowed;
}

/*tabel ptk*/
.table-container {
    overflow-x: auto;
    margin-top: 10px;
}


.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    font-size: 14px;
  	margin-top: 20px;
}

.table thead th {
    background-color: var(--primary-color);
    color: #fff;
    text-align: left;
}

.table th, .table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
	word-break: break-word;
}


.table-striped tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.table-striped tbody tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s;
}

@media (max-width: 768px) {
    .table {
        font-size: 14px;
    }

    .table th, .table td {
        padding: 6px 8px;
    }
}

/*tabel prestasi*/
.table-prestasi {
    width: 100%;
    border-collapse: collapse;
}

.table-prestasi tr {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.table-prestasi .foto-cell {
    width: 60px;
    padding-right: 10px;
}

.table-prestasi img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.table-prestasi td {
    flex: 1;
}

.table-prestasi h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.table-prestasi .detail-prestasi {
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}

.table-prestasi .tingkat-tahun {
    font-size: 13px;
    color: #888;
}

/* Responsive */
@media (max-width: 600px) {
    .table-prestasi tr {
        flex-direction: column;
        align-items: flex-start;
    }

    .table-prestasi img {
        margin-bottom: 10px;
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .table-prestasi td {
        width: 100%;
    }
}

/*form search*/
form.mb-4 {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

form.mb-4 input[type="text"] {
  padding: 8px 12px;
  font-size: 16px;
  width: 150px;
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s ease;
}

form.mb-4 input[type="text"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.6);
}

.btn-search {
  padding: 9px 18px;
  background-color: var(--slate);
  border: none;
  border-radius: 6px;
  color: white;;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

/*galeri*/
.galeri-item {
  overflow: hidden;
}

.galeri-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  border: none;
}

.galeri-item:hover img {
  transform: scale(1.1);
  cursor: pointer;
}

.filter-container {
    margin-bottom: 20px;
    color: var(--slate);
}

/*unduhan*/
.unduhan {
	padding: 20px;
	margin-top: 20px;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.download-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
	margin-right: 20px;
	color: white;
}

.download-date {
    font-size: 0.9rem;
    color: #f8f9fa;
    margin-bottom: 0.5rem;
}

.container-unduhan{
	width: 100%;
	padding: 20px;
}

/*berita show*/
.berita-wrapper {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 40px;
}

.berita-header {
    margin-bottom: 20px;
}

.berita-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.berita-galeri {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-height: 600px;
    overflow: auto;  
    justify-content: flex-start;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
}

.berita-img {
    flex: 1 1 200px;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}


@media (min-width: 768px) {
    .berita-img {
        max-width: 48%;
    }
}

.berita-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

/*pengumuman show*/
.pengumuman-wrapper {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 40px;
}

.pengumuman-header {
    margin-bottom: 20px;
}

.pengumuman-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.pengumuman-date {
    font-size: 0.9rem;
    color: #555;
}

.pengumuman-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.download-container {
    margin-top: 1.5rem;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color); 
    border-radius: 8px;
}

/* Tombol download */
.btn-download {
    display: inline-block;
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px 18px;
    margin: 8px 8px 0 0;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-download:hover {
    background-color: var(--slate);
    color: #fff;
}

@media (max-width: 576px) {
    .btn-download {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }
}

@media screen and (max-width: 900px) {
  .nav-list {
    transition: left 0.3s ease;
  }
  .nav-list.show {
    left: 0;
  }
  .form-select{
    width: 100%;
  }
}
