*{
	margin: 0;
	padding: 0;
	font-family: 'arial';
}
nav #navChekbox{
	display: none;
}
nav {
	padding: 10px;
	position: fixed;
	top: 0;
	height: 50px;
	width: calc(100% - 20px);
	background: #fff;
	z-index: 9;
}
nav div.logo img,nav div.logo div.teks{
	display: inline-table;
	vertical-align: middle;
}
nav div.logo img{
	width: 60px;
	height: 55px;
	margin-top: -5px;
	margin-left: -10px;
}
nav div.logo div.teks{
	text-align: center;
	margin-left: -10px;
}
nav div.logo div.teks div.jenis{
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
}
nav div.logo div.teks div.nama{
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
	color: #0096c1;
}
nav div.logo div.teks div.wilayah{
	font-size: 10px;
}
nav div.menu{
	position: absolute;
	top: 50%;
	left: 50%;
	height: 50px;
	z-index: 10;
	transform: translate(-50%, -50%);
	line-height: 40px;
	transition: all 0.4s ease;
}
nav div.menu a{
	color: #000;
	margin: 3px;
	padding: 5px 10px;
	text-decoration: none;
}
nav div.menu a:hover, nav div.menu a.active{
	color: #0096c1;
	border-bottom: 2px solid #0096c1;
}
nav label{
	position: absolute;
	top: 50%;
	right: 25px;
	transform: translate(0,-50%);
	font-size: 20px;
}
div.welcome{
	margin-top: 60px;
	text-align: center;
	width: calc(100% - 100px);
	padding: 0 50px;
}
div.welcome h2{
	margin-top: 15vh;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 5vw;
}
div.welcome h1{
	color: #0096c1;
	margin-top: 5px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 7vw;
}
div.welcome p.alamat{
	font-size: 14px;
	margin-top: 5px;
	color: #A5A6A8;
}
div.welcome p.about{
	padding: 5px 20px;
	border: 2px solid #464646;
	border-radius: 40px;
	width: max-content;
	margin-top: 10px;
	color: #464646;
}
.image-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin-top: 50px;
}

.image-wrapper div.img{
	position: relative;
}

.image-wrapper .image-full {
	width: 100%;
	height: auto;
	display: block;
}

.image-wrapper .gradient-top,
.image-wrapper .gradient-bottom {
	position: absolute;
	left: 0;
	right: 0;
	height: 100px; /* tinggi efek gradasi */
	z-index: 2;
	pointer-events: none;
}

.image-wrapper .gradient-top {
	top: 0;
	background: linear-gradient(to bottom, white 0%, transparent 100%);
}

.image-wrapper .gradient-bottom {
	bottom: 0;
	background: linear-gradient(to top, white 0%, transparent 100%);
}
.image-wrapper .about{
	background: #fff;
	position: absolute;
	top: 0;
	right: 0;
	width: 40%;
	z-index: 3;
	height:100%;
}
.image-wrapper .about div.content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 80%;
	text-align: center;
}
.image-wrapper .about div.content p.head, .program .head, .lokasi .head, .sponsorship .head{
	margin-bottom: 10px;
	font-size: 4vw;
	font-weight: bold;
	text-align: center;
}
.image-wrapper .gradient-right {
	position: absolute;
	top: 0;
	right: 40%;
	width: 30%;
	height: 100%;
	background: linear-gradient(to left, white 0%, transparent 100%);;
	pointer-events: none;
	z-index: 2;
}
.image-wrapper .model{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 55%;
}
.program{
	margin-top: 50px;
}
.image-wrapper .about div.content p.head{
	margin-top: 20px;
}
.program .content .item{
	display: inline-table;
	vertical-align: top;
	width: 300px;
	max-width: 80%;
	margin: 20px;
}
.program .content .item div.icon{
	position: relative;
}
.program .content .item .icon .background{
	width: 230px;
	max-width: 78%;
}
.program .content .item div.icon img.icon{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 115px;
	max-width: 75%;
}
.program .content .item .head{
	font-size: 2vw;
}
.visi-misi{
	margin-top: 50px;
	padding: 0 50px;
	width: calc(100% - 100px);
}
.visi-misi .visi, .visi-misi .misi{
	display: inline-table;
	vertical-align: top;
	width: calc(50% - 40px);
	text-align: justify;
	margin:20px 10px;
}
.visi-misi .visi .head, .visi-misi .misi .head{
	font-size: 2vw;
	text-align: center;
	font-weight: bold;
}
.visi-misi .visi .content, .visi-misi .misi .content{
	margin-top: 10px;
}
.lokasi{
	margin-top: 50px;
}
.layanan .content .item{
	color: #000;
	text-decoration: none;
}
.layanan .content .item .head{
	margin-top: -20px;
}
footer {
	background-color: #0f172a;
	color: #cbd5e1;
	padding: 2rem 1rem;
	text-align: center;
	margin-top: 50px;
}

footer .footer-title {
	color: white;
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}

footer .footer-subtitle {
	font-size: 0.95rem;
	margin-bottom: 1rem;
	color: #cbd5e1;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

footer .footer-bottom {
	border-top: 1px solid #334155;
	margin-top: 1rem;
	padding-top: 1rem;
	color: #94a3b8;
	font-size: 0.85rem;
}
.galery, .pengurusan, .santris{
	margin: 20px 40px;
}
.galery h1, .pengurusan h1, .santris h1, .pendaftaran h1{
	text-align: center;
	margin-bottom: 10px;
}
.galery .search-container {
	margin: 1rem 0;
}
.galery .search-input {
	width: calc(100% - 2rem);
	max-width: 400px;
	padding: 0.5rem 1rem;
	font-size: 1rem;
	border-radius: 8px;
	border: 1px solid #ccc;
}
.galery .gallery {
	column-count: 3;
	column-gap: 1.5rem;
}
.galery .gallery-item {
	break-inside: avoid;
	margin-bottom: 1.5rem;
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	background: white;
}
.galery .gallery-item img {
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform 0.3s ease;
	display: block;
}
.galery .gallery-item:hover img {
	transform: scale(1.05);
}
.galery .gallery-title,.galery .gallery-date {
	position: absolute;
	left: 0;
	right: 0;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 0.5rem;
	font-size: 0.875rem;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.galery .gallery-title {
	top: 0;
	font-weight: bold;
}
.galery .gallery-date {
	bottom: 0;
}
.galery .gallery-item:hover .gallery-title,.galery .gallery-item:hover .gallery-date {
	opacity: 1;
}
.galery .pagination {
	display: flex;
	justify-content: center;
	margin: 1rem 0;
	gap: 0.5rem;
}
.galery .pagination button {
	padding: 0.5rem 0.75rem;
	border: none;
	background-color: #0096c1;
	color: white;
	border-radius: 6px;
	cursor: pointer;
}
.galery .pagination button.active {
	background-color: #046d8b;
}
.pengurusan .pengurus {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
}

.pengurusan .card {
	width: 220px;
	border: 1px solid #ddd;
	border-radius: 12px;
	overflow: hidden;
	text-align: center;
	padding: 1rem;
	background-color: #f9f9f9;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pengurusan .card img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 8px;
	background-color: #eee;
}

.pengurusan .card h3 {
	margin: 1rem 0 0.5rem;
	font-size: 1.1rem;
	text-transform: capitalize;
}

.pengurusan .card p {
	margin: 0;
	font-size: 0.95rem;
	color: #555;
}
.santris #search {
	display: block;
	margin: 0 auto 1.5rem;
	padding: 0.5rem 1rem;
	font-size: 1rem;
	width: calc(100% - 2rem);
	max-width: 400px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.santris .santri-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

.santris .santri-card {
	width: 250px;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 1rem;
	background-color: #f9f9f9;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.santris .santri-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	color: #0096c1;
	text-transform: uppercase;
}

.santris .santri-card p {
	margin: 0.25rem 0;
	font-size: 0.95rem;
	color: #333;
	text-transform: capitalize;
}

.santris .pagination {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
	gap: 0.5rem;
}

.santris .pagination button {
	padding: 0.5rem 1rem;
	border: 1px solid #0096c1;
	background-color: white;
	color: #0096c1;
	cursor: pointer;
	border-radius: 4px;
}

.santris .pagination button.active {
	background-color: #0096c1;
	color: white;
}
.pendaftaran{
	margin: 0 50px;
	margin-top: 50px;
}
.form form .form1 button{
	width: 100%;
	padding: 0.5rem 1rem;
	border: 1px solid #0096c1;
	background-color: #0096c1;
	color: #fff;
	cursor: pointer;
	border-radius: 4px;
	font-weight: bold;
}
.form form .form2, .form form .form1{
	margin: 10px 0;
}
.form form .form2 div{
	display: inline-table;
	vertical-align: top;
	width: calc(50% - 17px);
}
.form form .form2 div label, .form form .form1 label{
	display: block;
	font-weight: bold;
	color: #878788;
	margin-bottom: 5px;
}
.form form .form2 div input, .form form .form2 div select, .form form .form2 div textarea, .form form .form1 textarea, .form form .form1 input{
	width: 100%;
	height: 30px;
	border: none;
	outline: none;
	border-bottom: solid 1px #878788;
	background: transparent;
}
.form form .form2 div textarea, .form form .form1 textarea{
	height: 100px;
}
.form form .form2 div:nth-child(2){
	margin-left: 20px;
}
.artikel {
    max-width: calc(100% - 100px);
    margin: 50px;
}

.artikel h1 {
  color: #0096c1;
  text-align: center;
  margin-bottom: 2rem;
}

.artikel #search {
  margin-bottom: 1rem;
  padding: 0.5rem;
  width: 100%;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.artikel .artikel-list {
  gap: 2rem;
}

.artikel .artikel-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  display: inline-table;
  vertical-align: top;
  margin: 10px;
  transition: transform 0.3s ease;
  max-width: calc(calc(100% / 3) - 30px);
}

.artikel .artikel-card:hover {
  transform: translateY(-5px);
}

.artikel .artikel-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.artikel .artikel-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.artikel .artikel-content h3 {
  margin: 0 0 0.3rem 0;
  color: #0096c1;
  font-size: 1.4rem;
}

.artikel .artikel-content .artikel-date {
  font-size: 0.9rem;
  color: #666;
  text-align: left;
  margin: 0 0 0.5rem 0;
}

.artikel .artikel-content p {
  color: #444;
  font-size: 1rem;
  margin: 0;
}

.artikel .pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.artikel .pagination button {
  padding: 0.5rem 1rem;
  border: none;
  background-color: #0096c1;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.artikel .pagination button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.sponsorship .content{
    position: relative;
}
.sponsor-container{
    scroll-behavior: smooth;
    padding: 32px;
    background: #fff;
    overflow-x: hidden;
    margin: 0 70px;
}
.sponsor-card {
    display: inline-block;
    vertical-align: top;
    min-width: 260px;
    max-width: 280px;
    margin-right: 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sponsor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.sponsor-card img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #ddd;
    background: #fafafa;
    margin-bottom: 16px;
}
.sponsor-info h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
}
.sponsor-info p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    text-align: justify;
}
    .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: #333;
      color: #fff;
      border: none;
      padding: 10px 14px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 18px;
    }

    .nav-btn:hover {
      background: #555;
    }

    .left-btn { left: 50px; }
    .right-btn { right: 50px; }
@media (max-width: 900px){
    .artikel .artikel-card{
        max-width: calc(calc(100% / 2) - 25px);
    }
}
@media (max-width: 600px){
    .artikel .artikel-card{
        max-width: 100%;
        margin: 10px 0; 
    }
}
@media (max-width: 768px) {
	.galery .gallery {
		column-count: 2;
	}
	.form form .form2 div{
		display: block;
		width: calc(100%);
		margin: 10px 0 !important;
	}
}

@media screen and (max-width: 750px){
	.image-wrapper .gradient-right{
		display: none;
	}
	.image-wrapper .about{
		position: relative;
		top: 0;
		left: 0;
		transform: none;
		width: 100%;
	}
	.image-wrapper .about div.content{
		top: 0;
		left: 0;
		transform: none;
		height: max-content;
		width: calc(100% - 100px);
		position: relative;
		padding: 20px 50px;
	}
	.image-wrapper .model{
		top: 0;
		width: 100%;
	}
	.image-wrapper .about div.content p.head, .program .head, .visi-misi .visi .head, .visi-misi .misi .head, .lokasi .head, .sponsorship .head{
		font-size: 25px;
	}
	.program .content .item .head{
		font-size: 20px;
	}
	.visi-misi .visi, .visi-misi .misi{
		display: block;
		width: 100%;
	}
}
@media screen and (max-width: 1110px){
	nav div.menu{
		position: fixed;
		top: -410px;
		left: 0;
		transform: none;
		width: 100%;
		background: #001c40;
		color: #fff;
		height: max-content;
		text-align: left;
	}
	nav div.menu a{
		display: block;
		color: #fff;
		padding: 3px 20px;
		margin: 10px;
		width: calc(100% - 60px);
	}
	nav div.menu a:hover, nav div.menu a.active{
		color: #001c40;
		background: #fff;
		border: none;
		border-radius: 3px;
	}
	nav #navChekbox:checked ~ div.menu {
		top: 70px;
	}
}
@media screen and (max-width: 500px){
	div.welcome h1{
		font-size: 35px;
	}
	div.welcome h2{
		font-size: 25px;
	}
}
@media (max-width: 480px) {
	.galery .gallery {
		column-count: 1;
	}
}
