body {
    line-height: 1.5;
    font-family: "Times New Roman", Times, serif;
    font-weight: 400;
}

body.hidden-scrolling{
	overflow-y: hidden;
}
*{
	margin:0;
	box-sizing: border-box;
}
.container{
	max-width: 1170px;
	margin:auto;
}
ul{
	list-style: none;
	margin:0;
	padding:0;
}
a{
	text-decoration: none;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: #ffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Container untuk animasi logo */
.loading-logo {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 15px;
    animation: pulse 2s infinite ease-in-out;
}

/* Logo yang muncul dengan animasi */
.fade-logo {
    width: auto;
    height: 120%;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.3s;
    z-index: 2;
}

/* Border animasi yang berputar */
.loading-logo::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border-top: 5px solid #F8F781;
    animation: spin 1.5s linear infinite;
}

/* Animasi fade-in */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animasi pulse untuk efek melar dan mengecil */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Animasi border yang berputar */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Animasi bounce untuk teks */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
    .loading-logo {
        width: 120px;
        height: 120px;
    }

    .loading-logo::before {
        width: 140px;
        height: 140px;
    }
}
/* end loading screen */

/*header*/
.header{
	position: fixed;
	width: 100%;
	left:0;
	top:0;
	z-index: 99;
	padding: 15px;
}

.header-main{
	background-color: #F8F781;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
	border-radius: 10px;
}

.header .logo{
	padding: 0 15px;
}

.header .logo a{
	display: inline-block; /* Memastikan link mengikuti ukuran gambar */
}

.header .logo img {
    max-width: 70px; /* Sesuaikan tinggi maksimum sesuai kebutuhan */
    width: auto; /* Menjaga aspek rasio gambar */
    vertical-align: middle; /* Menyesuaikan posisi vertikal gambar */
	margin-left: 20px;
}
/* Untuk membuat logo responsif */
@media (max-width: 768px) {
    .header .logo img {
        max-height: 50px; /* Ukuran lebih kecil untuk layar mobile */
    }
}
.header .nav-menu{
	padding: 0 80px;
}

.header .menu > .menu-item{
	display: inline-block;
	margin-left: 30px;
	position: relative;
}
.header .menu > .menu-item > a{
	display: block;
	padding: 5px 0;
	font-size: 18px;
	color: #000;
	text-transform: capitalize;
	font-weight: 600;
	transition: all 0.3s ease;
}

.header .menu > .menu-item > a .plus{
	display: inline-block;
	height: 12px;
	width: 12px;
	position: relative;
	margin-left:5px; 
	pointer-events: none;
}

.header .menu > .menu-item > a .plus:before,
.header .menu > .menu-item > a .plus:after{
	content:'';
	position: absolute;
	box-sizing: border-box;
	left: 50%;
	top:50%;
	background-color: #ffffff;
	height: 2px;
	width: 100%;
	transform: translate(-50%,-50%);
	transition: all 0.3s ease;
}
.header .menu > .menu-item:hover > a .plus:before,
.header .menu > .menu-item:hover > a .plus:after{
   background-color: #ffd700;
   
}
.header .menu > .menu-item > a .plus:after{
   transform: translate(-50%,-50%) rotate(-90deg);	
}
.header .menu > .menu-item > .sub-menu > .menu-item > a:hover,
.header .menu > .menu-item:hover > a{
	color: #595c56;
}
.header .menu > .menu-item > .sub-menu{
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	width: 220px;
	position: absolute;
	left:0;
	top:100%;
	background-color: #ffffff;
	padding: 5px 0;
	border-top: 3px solid #000;
	transform: translateY(10px);
	transition: all 0.3s ease;
	opacity:0;
	visibility: hidden;
}
@media(min-width: 992px){
.header .menu > .menu-item-has-children:hover > .sub-menu{
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
 }
 .header .menu > .menu-item-has-children:hover > a .plus:after{
    transform: translate(-50%,-50%) rotate(0deg);		
 }
}
.header .menu > .menu-item > .sub-menu > .menu-item{
	display: block;
}
.header .menu > .menu-item > .sub-menu > .menu-item > a{
	display: block;
	padding: 10px 20px;
	font-size: 16px;
	font-weight: 600;
	color: #000000;
	transition: all 0.3s ease;
	text-transform: capitalize;
}
.header .open-nav-menu{
	height: 34px;
	width: 40px;
	margin-right: 15px;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.header .open-nav-menu span{
	display: block;
	height: 3px;
	width: 24px;
	background-color: #000000;
    position: relative;
}
.header .open-nav-menu span:before,
.header .open-nav-menu span:after{
	content: '';
	position: absolute;
	left:0;
	width: 100%;
	height: 100%;
	background-color: #000000;
	box-sizing: border-box;
}
.header .open-nav-menu span:before{
	top:-7px;
}
.header .open-nav-menu span:after{
	top:7px;
}
.header .close-nav-menu{
	height: 40px;
	width: 40px;
	background-color: #ffffff;
	margin:0 0 15px 15px;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
}
.header .close-nav-menu img{
	width: 16px;
}
.header .menu-overlay{
	position: fixed;
	z-index: 999;
	background-color: rgba(0,0,0,0.5);
	left:0;
	top:0;
	height: 100%;
	width: 100%;
	visibility: hidden;
	opacity:0;
	transition: all 0.3s ease;
}

/* responsive */

@media(max-width: 991px){
	.header .menu-overlay.active{
	visibility: visible;
	opacity: 1;
}
	.header .nav-menu{
		position: fixed;
		right: -280px;
		visibility: hidden;
		width: 280px;
		height: 100%;
		top:0;
		overflow-y: auto;
		background-color: #222222;
		z-index: 1000;
		padding: 15px 0;
		transition: all 0.5s ease;
	}
	.header .nav-menu.open{
		visibility: visible;
		right: 0px;
	}
	.header .menu > .menu-item{
		display: block;
		margin:0;
	}
	.header .menu > .menu-item-has-children > a{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.header .menu > .menu-item > a{
		color: #ffffff;
		padding: 12px 15px;
		border-bottom: 1px solid #333333;
	}
	.header .menu > .menu-item:first-child > a{
	    border-top: 1px solid #333333;	
	}
	.header .menu > .menu-item > a .plus:before, 
	.header .menu > .menu-item > a .plus:after{
		background-color: #ffffff;
	}
	.header .menu > .menu-item-has-children.active > a .plus:after{
        transform: translate(-50%,-50%) rotate(0deg);
	}
	.header .menu > .menu-item > .sub-menu{
		width: 100%;
		position: relative;
		opacity: 1;
		visibility: visible;
		border:none;
		background-color: transparent;
		box-shadow: none;
		transform: translateY(0px);
		padding: 0px;
		left: auto;
		top:auto;
		max-height: 0;
		overflow: hidden;
	}
	.header .menu > .menu-item > .sub-menu > .menu-item > a{
		padding: 12px 45px;
		color: #ffffff;
		border-bottom: 1px solid #333333;
	}
	.header .close-nav-menu,
	.header .open-nav-menu{
		display: flex;
	}
}

.form-control {
    transition: all 0.3s ease; /* Menambahkan transisi untuk efek halus */
    opacity: 0; /* Sembunyikan input secara default */
    transform: translateX(20px); /* Pindahkan input ke kanan */
    border: 2px solid #ccc; /* Border default */
    border-radius: 5px; /* Menambahkan sudut melengkung */
}

.input-group:hover .form-control {
    display: block; /* Tampilkan input saat hover */
    opacity: 1; /* Ubah opacity menjadi 1 */
    transform: translateX(0); /* Kembalikan posisi input */
    border-color: #000; /* Ubah warna border saat hover */
}

.search-btn {
    transition: all 0.3s ease; /* Menambahkan transisi untuk efek halus */
    border: 2px solid transparent; /* Border default */
    border-radius: 5px; /* Menambahkan sudut melengkung */
	color: #fff !important;
	background-color: #000 !important;
}

.search-btn:hover {
    background-color: #F8F781; /* Mengubah latar belakang saat di-hover */
    color: #000; /* Mengubah warna teks saat di-hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Menambahkan bayangan saat di-hover */
    transform: scale(1.05); /* Sedikit memperbesar tombol saat di-hover */
    border-color: #000; /* Ubah warna border saat hover */
}
/* end navbar */

/* index hero */
.hero-section {
	background-color: #f8f68123;
	background-size: cover;
	height: 120vh;
	display: flex;
	align-items: center;
  }
  
  .hero-section h1 {
	font-size: 3.5rem;
  }
  
  .hero-section .btn-black {
	background-color: #000;
	border-color: #000;
	color: rgb(0, 0, 0);
  }
  
  .hero-section .btn-black:hover {
	background-color: #F8F781;
	border-color: #F8F781;
	color: #000;
  }

  .bg-image {
    background-image: url('img/BG.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .bg-custom-property-search{
	background-color: #ffffc4 !important;
  }
  
  .property-search-form {
	margin-top: -50px;
	position: relative;
	z-index: 1;
  }
  
  .property-search-form .btn-primary {
	background-color: #000;
	border-color: #000;
  }
  
  .property-search-form .btn-primary:hover {
	background-color: #F8F781;
	border-color: #F8F781;
	color: #000;
  }
/*about*/
#about .lead {
	font-size: 1.25rem;
	color: #555;
}
  
#about ul li {
	margin-bottom: 0.5rem;
}
  
#about .btn-primary {
	background-color: #000;
	border-color: #000;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
}
  
#about .btn-primary:hover {
	background-color: #F8F781;
	border-color: #F8F781;
	color: #000;
}

/*service*/
#services .card {
	transition: transform 0.3s ease-in-out;
}
  
#services .card:hover {
	transform: translateY(-5px);
}
  
#services .card-body i {
	color: #fff;
}
  
     .btn-primary {
	background-color: #000;
	border-color: #000;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
}
  
#services .btn-primary:hover {
	background-color: #F8F781;
	border-color: #F8F781;
	color: #000;
}

/*news*/
.bg-custom-news{
	background-color: #ffff;
}

.card-body{
	margin-top: 20px;
	padding-left: 10px;
	padding-right: 10px;
}

.card-title{
	margin-bottom: 10px;
	font-weight:bold;
}

#news .img-wrapper {
	position: relative ;
}

#news .overlay-img {
	position: absolute; /* Posisi absolut untuk menempatkan gambar di atas gambar asli */
	top: 0; /* Jarak dari atas */
	left: 0; /* Jarak dari kiri */
	width: 100%; /* Lebar gambar sama dengan lebar kartu */
	height: 100%; /* Tinggi gambar sama dengan tinggi kartu */
	object-fit: cover; /* Menjaga aspek rasio gambar */
	opacity: 0.8; /* Transparansi gambar yang ditimpa */
	z-index: 5; /* Pastikan gambar di atas gambar asli */
}

#news .card-news:hover {
	transform: translateY(-5px);
}
  
#news .card-img-top {
	height: auto;
	object-fit: cover;
}
  
#news .btn-outline-primary {
	color: #000;
	border-color: #000;
}
  
#news .btn-outline-primary:hover {
	background-color: #F8F781;
	color: black;
}
  
#news .btn-primary {
	background-color: #000;
	border-color: #000;
}
  
#news .btn-primary:hover {
	background-color: #F8F781;
	border-color: #F8F781;
	color: #000;
}

/*contact*/
#contact .card {
	border-radius: 15px;
}
  
#contact .form-control {
	border: none;
	border-bottom: 1px solid #ddd;
	border-radius: 0;
	padding: 0.75rem 0;
}
  
#contact .form-control:focus {
	box-shadow: none;
	border-color: #000;
}
  
  #contact .btn-primary {
	background-color: #000;
	border-color: #000;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	border-radius: 30px;
}
  
#contact .btn-primary:hover {
	background-color: #F8F781;
	border-color: #F8F781;
	color: #000;
}
  
  #contact .fas {
	width: 20px;
}

/* PAGE ABOUR US */
.aboutUs-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
	margin-top: 50px;
    background-color: #fff;
}

.aboutUs-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 100%;
    padding: 40px;
    margin: 20px;
    display: flex; 
    flex-direction: row;
    align-items: center;
}

.aboutUs-image-container {
    flex: 1; 
    margin-right: 40px; 
}

.aboutUs-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.aboutUs-content {
    flex: 2;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.aboutUs-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.aboutUs-content p {
    margin-bottom: 20px;
}

.clientCentric-container {
    width: 100%;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    background-color: #fff;
    padding: 40px 0;
}

.clientCentric-title {
    font-size: 20px; 
    color: #333;
    margin-bottom: 20px;
}

.clientCentric-content {
    width: 80%;
    font-size: 40px; 
    line-height: 1.8;
    color: #000;
    text-align: center; 
    font-weight: bold;
	background-color: #fff;
}

.clientCentric-content p {
    margin-bottom: 20px;
}

.ourHistory-card {
    display: flex; 
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 90%;
    margin: 20px auto; 
	
}

.ourHistory-content {
    font-size: 20px;
    flex: 1; 
    padding: 20px;
}

.ourHistory-title {
    font-size: 36px; 
    color: #333;
    margin-bottom: 20px;
}

.ourHistory-image {
    max-width: 30%; 
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    align-self: center; 
}

/* Responsivitas */
@media (max-width: 768px) {
    .aboutUs-card {
        flex-direction: column; 
        padding: 20px;
    }

    .aboutUs-image-container {
        margin-right: 0; 
        margin-bottom: 20px; 
    }

    .clientCentric-content {
        font-size: 30px; 
        width: 90%; 
    }

    .ourHistory-card {
        flex-direction: column; 
    }

    .ourHistory-image {
        max-width: 100%; 
        margin-top: 20px; 
    }
}

/* SERVICE */
.service-page-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px 0;
    background-color: #ffff;
}

.service-page-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 90%;
    margin: 50px;
    padding: 40px;
    display: flex;
    align-items: center;
}

.service-page-image {
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
	margin-right: 30px;
}

.service-page-content {
    flex: 2;
    padding: 20px;
}

.service-page-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.service-page-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #333;
    margin-top: 10px;
}


.service-page-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .service-page-card {
        flex-direction: column; 
        height: auto; 
        padding: 10px; 
    }
    
    .service-page-image {
        width: 70%; 
        height: auto; 
        margin-bottom: 20px; 
        align-self: center;
    }

    .service-page-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

	.service-page-content p {
		font-size: 15px;
		line-height: 1.8;
		color: #555;
		margin-bottom: 20px;
	}

	.service-page-card img {
        order: -1; 
    }

}
/* properti sales */


/* properties */

.property-page-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 90%;
    margin: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    min-height: 400px; /* Added height for better appearance */
}

.property-page-content {
    position: relative;
    margin-top: 10px;
    padding: 20px;
    text-align: center;
    justify-content: center;
}

.property-page-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.property-page-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background-color: #333;
    margin: 10px auto 0;
}

.property-item {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 350px; /* Adjusted card height */
}

.property-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-item:hover .property-image {
    transform: scale(1.1);
}

.property-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

.property-type {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.8rem;
    border-radius: 5px;
}

.property-price {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.9rem;
    border-radius: 5px;
}



/* end properties */

/*footer*/
.footer-area {
    background-color: #F8F781;
    padding: 80px 0 0;
    position: relative;
}

.footer-contact-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.footer-contact-form h5 {
    color: #4db6ac;
    font-weight: 600;
}

.footer-contact-form h2 {
    color: #333;
    font-weight: 700;
}

.footer-contact-form .form-control {
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding: 10px 0;
}

.footer-contact-form .form-control:focus {
    box-shadow: none;
    border-color: #000;
}

.footer-contact-form .btn-primary {
    background-color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-contact-form .btn-primary:hover {
    background-color: #F8F781;
}

.footer-bottom {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
	height: 30px;
}

.footer-bottom p {
    color: #fff;
	font-size: 14px;
	margin-top: -10px;
	text-align: center;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.footer-nav li {
    display: inline-block;
    margin-left: 20px;
}

.footer-nav li a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-nav {
        text-align: center;
        margin-top: 15px;
    }
    
    .footer-nav li {
        margin: 0 10px;
    }
    
    .copyright {
        text-align: center;
    }
}

/*footer*/
.footer-area .form-control:focus {
  box-shadow: none;
  border-color: #007bff; /* Sesuaikan dengan warna primer Bootstrap Anda */
}

.footer-area .btn-primary {
  background-color: #000; /* Warna teal seperti di gambar */
  border: none;
}

.footer-area .btn-primary:hover {
  background-color: #F8F781;
  color: #000;
}

.footer-bottom .nav-link:hover {
  color: #000 !important;
}

.footer-area h3 {
  color: #333;
  margin-bottom: 20px;
}

.footer-area p {
  color: #666;
}

.footer-area .form-control {
  border: 1px solid #ddd;
}

.footer-area .btn-primary {
  background-color: #000;
  border: none;
}

.footer-area .btn-primary:hover {
  background-color: #F8F781;
  color: #000;
}

/**/

/* Styling untuk carousel berita */
.zanpro-news .carousel-control-prev,
.zanpro-news .carousel-control-next {
    width: 10%;
    background: none;
    opacity: 1;
    transition: all 0.5s ease;
}

/* Area hover untuk tombol prev */
.zanpro-news .carousel-control-prev {
    background: linear-gradient(to right, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
}

/* Area hover untuk tombol next */
.zanpro-news .carousel-control-next {
    background: linear-gradient(to left, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 100%);
}

/* Efek hover pada area tombol */
.zanpro-news .carousel-control-prev:hover,
.zanpro-news .carousel-control-next:hover {
    opacity: 1;
}

.zanpro-news .carousel-control-prev:hover {
    background: linear-gradient(to right, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
}

.zanpro-news .carousel-control-next:hover {
    background: linear-gradient(to left, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
}

.zanpro-news .carousel-control-prev-icon,
.zanpro-news .carousel-control-next-icon {
    width: 25px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
    transform: scale(0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Efek hover pada icon */
.zanpro-news .carousel-control-prev:hover .carousel-control-prev-icon,
.zanpro-news .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 1;
    transform: scale(1);
}

/* Menampilkan icon saat hover di area tombol */
.zanpro-news:hover .carousel-control-prev-icon,
.zanpro-news:hover .carousel-control-next-icon {
    opacity: 0.9;
}

/* Animasi smooth untuk semua transisi */
.zanpro-news .carousel-control-prev,
.zanpro-news .carousel-control-next,
.zanpro-news .carousel-control-prev-icon,
.zanpro-news .carousel-control-next-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Memperbaiki spacing card */
.card-news {
    height: auto;
    margin: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(5px);
}

.card-news:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Styling untuk wrapper gambar */
.card-news .img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
}

.card-news .img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-news:hover .img-wrapper img {
    transform: scale(1.05);
}

/* Badge status (jika diperlukan) */
.card-news .status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    background: rgba(248, 247, 129, 0.95);
    color: #000;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Konten card */
.card-news .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, rgba(255,255,255,0.9), #fff);
    position: relative;
    overflow: hidden;
}

.card-news .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    padding-bottom: 10px;
}

.card-news .card-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #F8F781;
    transition: width 0.3s ease;
}

.card-news:hover .card-title:after {
    width: 80px;
}

/* Styling untuk text content */
.card-news .card-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    position: relative;
    max-height: 4.5em; /* Sekitar 3 baris text */
    overflow: hidden;
}

.card-news .card-text p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

/* Menambahkan gradient fade-out di akhir text */
.card-news .card-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

/* Menyembunyikan semua detail list di card */
.card-news .card-text ul {
    display: none;
}

/* Styling untuk tombol baca selengkapnya */
.card-news .btn-outline-primary {
    margin-top: 10px;
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid #000;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.card-news .btn-outline-primary:hover {
    background: #F8F781;
    border-color: #F8F781;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 247, 129, 0.4);
}

/* Menambahkan indikator "..." */
.card-news .card-text p::after {
    content: '...';
    position: absolute;
    right: 0;
    bottom: 0;
    padding-left: 40px;
    background: linear-gradient(to right, transparent, #fff 20%);
}

/* Footer card */
.card-news .card-footer {
    padding: 15px 20px;
    font-size: 0.8rem;
    color: #888;
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Animasi hover */
.card-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(248, 247, 129, 0.1) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.card-news:hover::before {
    transform: translateX(100%);
}

/* Responsif */
@media (max-width: 768px) {
    .card-news {
        margin: 10px;
    }
    
    .card-news .card-body {
        padding: 15px;
    }
    
    .card-news .card-title {
        font-size: 1rem;
    }
    
    .card-news .btn-outline-primary {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Styling untuk modal */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-bottom: none;
    padding: 20px 30px;
}

.modal-body {
    padding: 20px 30px;
}

.modal-footer {
    border-top: none;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
}

.modal-footer .btn {
    padding: 8px 25px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary {
    background-color: #000;
    border: none;
}

.modal-footer .btn-secondary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.modal-footer .btn-primary {
    background-color: #25D366; /* Warna WhatsApp */
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
}

.modal-footer .btn-primary:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.modal-footer .btn-primary i {
    font-size: 1.2rem;
}

/* Animasi untuk icon WhatsApp */
@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}

.modal-footer .btn-primary:hover i {
    animation: wiggle 0.3s ease-in-out;
}

.modal .carousel-control-prev,
.modal .carousel-control-next {
    width: 10%;
    opacity: 0.8;
}

.modal .carousel-control-prev-icon,
.modal .carousel-control-next-icon {
    background-color: #000;
    padding: 20px;
    border-radius: 50%;
}

.modal-dialog {
    margin-top: 50px;
}

.modal .btn-secondary {
    background-color: #000;
    border: none;
}

.modal .btn-secondary:hover {
    background-color: #F8F781;
    color: #000;
}

/* Styling untuk indikator carousel di modal */
.modal .carousel-indicators {
    bottom: -50px;
}

.modal .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #000;
    margin: 0 5px;
}

.modal .carousel-indicators button.active {
    background-color: #F8F781;
}

/* Memberikan ruang untuk indikator */
.modal .carousel {
    margin-bottom: 60px;
}

/* Memperbaiki tinggi gambar di carousel modal */
.modal .carousel-item img {
    max-height: 500px;
    object-fit: contain;
}

/* Mengubah warna icon panah */
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Mengubah warna icon panah saat hover */
.zanpro-news .carousel-control-prev:hover .carousel-control-prev-icon,
.zanpro-news .carousel-control-next:hover .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.zanpro-news .carousel-control-next:hover .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Styling untuk modal chat */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 400px;
    padding: 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message.user {
    align-items: flex-end;
}

.message.admin {
    align-items: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 5px;
    word-wrap: break-word;
}

.message.user .message-content {
    background: #F8F781;
    color: #000;
}

.message.admin .message-content {
    background: #e9ecef;
    color: #000;
}

.message-time {
    font-size: 0.75rem;
    color: #6c757d;
}

.chat-input-container {
    padding: 15px;
    background: #fff;
    border-top: 1px solid #dee2e6;
}

.chat-form .input-group {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
}

.chat-form input {
    border: 1px solid #dee2e6;
    padding: 12px 20px;
    border-radius: 25px 0 0 25px;
}

.chat-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 0 20px;
    background: #F8F781;
    color: #000;
    border: none;
}

.chat-form .btn:hover {
    background: #f8f781e0;
}

.chat-form .btn i {
    font-size: 1.2rem;
}

/* Styling untuk container video */
.video-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

/* Indikator video di thumbnail */
.card-news .video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 2;
}

.card-news:hover .video-indicator {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}
 /*visi misi*/
.hover-shadow {
    transition: all 0.3s ease;
  }
  .hover-shadow:hover {
    transform: translateY(-8px);
    box-shadow: white;
  }
  
  .icon-box i {
    transition: transform 0.3s ease;
  }
  .card:hover .icon-box i {
    transform: scale(1.2);
  }
  