:root {
    --main-color: #8F6D52;
    --secondary-color: #A17E58;
    --accent-color: #917A5A;
    --gradient-color: linear-gradient(357deg, rgba(143, 109, 82, 1) 0%, rgba(161, 126, 88, 1) 50%, rgba(218, 184, 156, 1) 100%);
}

body {
    top: 0px !important;
}

.slider h1,
.slider h5,
.slider p {
    color: #fff;
}


.slider {
    margin-bottom: 0px;
}

/*new css*/
section,
.section {
    background-color: transparent;
    margin: 0px;
}

.bagikan a {
    color: var(--main-color);
}

.bg-hero {
    min-height: 800px;
    overflow: hidden;;
    padding-bottom: 0px;
    padding-top: 0px;
}

.bg-hero .swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-hero .swiper-wrapper,
.bg-hero .swiper-slide {
    width: 100%;
    height: 100%;
}

.bg-hero .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform 18s ease;
}

.bg-hero .swiper-slide-active img {
    transform: scale(1.15);
}

.grid-col-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-col-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-col-5 {
    grid-template-columns: repeat(5, 1fr);
}

.grid-col-6 {
    grid-template-columns: repeat(6, 1fr);
}

.grid-col-7 {
    grid-template-columns: repeat(7, 1fr);
}

.border-bottom-as-container {
    border-bottom: 1px solid #A4A4A4;
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.text-justify {
    text-align: justify;
}

.text-counter-number {
    color: var(--main-color);
}

.video-wrapper {
    position: relative;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.88;
    transition: 0.3s ease;
    /* background: rgba(0, 77, 134, 0.35);
    backdrop-filter: blur(10px); */
    background: var(--main-color);
}

.video-wrapper:hover .video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: 0.3s ease;
}

.play-icon {
    width: 60px;
    height: 60px;
    opacity: 0.9;
    transition: 0.25s ease;
}

.play-button:hover .play-icon {
    opacity: 1;
    transform: scale(1.05);
}

#counter .counter-number {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
}

#counter .counter-label {
    font-size: 18px;
    color: #444;
}

#counter .counter-item {
    min-width: 150px;
}

.quick-link-list .ql-item {
    padding: 14px 0;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #000;
    font-size: 18px;
}

.quick-link-list .ql-item:hover {
    color: #0d6efd;
}

.ql-icon {
    font-size: 20px;
    font-weight: 500;
}

.info-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 24px;
    color: #fff;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bg-cover {
    background-size: cover;
    background-position: center;
}

.info-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    opacity: 0.8;
    pointer-events: none;
}

.info-card .content {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--main-color);
    opacity: 0.65;
    z-index: 2;
}

.hero-overlay-lab {
    position: absolute;
    inset: 0;
    background: #C58A0040;
    opacity: 1.45;
    z-index: 2;
}

.hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    text-align: center;
    padding: 0 16px;
}

.hero-content h1 {
    font-size: clamp(1.5rem, 4vw, 4rem);
    line-height: 1.3;
    font-weight: 700;
    word-break: break-word;
}

.mySwiperHero {
    position: relative;
    z-index: 3;
}


.card-arrow {
    display: inline-block;
    font-size: 24px;
    margin-top: 10px;
    font-weight: bold;
    color: #fff;
}

.info-card p {
    font-size: 14px;
    margin-bottom: 30px;
}

.card-offset {
    margin-top: 235px;
    margin-left: 20px;
}

.date-badge {
    background: #FFE7EA;
    color: #C51626;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.date-badge img {
    color: #C51626;
}

.date-badge-pengumuman {
    background: #FFD439;
    color: var(--main-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.text-border {
    width: 93%;
    border-bottom: 1px solid #A4A4A4;
    margin-top: 20px;
    margin-bottom: 20px;
}

.sambutan-img {
    width: 70%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
}

.prodi-wrapper {
    position: relative;
    width: max-content;
    margin: 0 auto;
}

.prodi-main {
    width: 335px;
    display: block;
}

.prodi-second {
    width: 180px;
    position: absolute;
    bottom: 30px;
    left: -7%;
    transform: translateX(-50%);
}

.kurikulum {
    width: 320px;
    height: 315px;
    display: block;
}

.border-line {
    border-bottom: 2px solid #fff;
    width: 100%;
}

.dosen-photo {
    width: 306px;
    height: 280px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.position-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: #DAB89C61;
    border-radius: 30px;
    font-size: 0.875rem;
    color: var(--main-color);
    font-weight: 500;
}

.profile-photo {
    width: 625px;
    height: 280px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.kerjasama-list a.kerjasama-item {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #000;
}

.kerjasama-list a.kerjasama-item p {
    margin: 4px 0 0 0;
}

.mySwiperMitra{
    overflow:hidden;
}

.mySwiperMitra .swiper-wrapper{
    transition-timing-function: linear !important;
}

.mySwiperMitra .swiper-slide{
    width:220px;
    height:120px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.mitra-img{
    max-width:100%;
    max-height:80px;
    object-fit:contain;
}


#section-mitra {
    overflow: hidden;
}


.mitra-img:hover {
    opacity: 1;
}

.wave-hero {
    bottom: -125px;
    left: 0;
    width: 100%;
    z-index: 5;
}

.overlay-hero{
    position:absolute;
    inset:0;
    background: rgba(0, 77, 134, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 2;
}

.btn-light {
    background-color: #fff;
    color: var(--main-color);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-agenda {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* background-color: #cc543a; */
    background-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-agenda:hover {
    /* background-color: color-mix(in srgb, var(--accent-color), black 10%); */
    color: var(--contrast-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.btn-agenda img {
    transition: transform 0.3s ease;
}

.btn-agenda:hover img {
    transform: translateX(4px);
}

.btn-agenda-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--contrast-color);
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid color-mix(in srgb, var(--contrast-color), transparent 70%);
    transition: all 0.3s ease;
}

.btn-agenda-outline:hover {
    background-color:
        color-mix(in srgb, var(--contrast-color), transparent 90%);
    border-color: var(--contrast-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

.btn-agenda-outline img {
    transition: transform 0.3s ease;
}

.btn-agenda-outline:hover img {
    transform: translateX(4px);
}


.smalldot-sambutan {
    top: -15px;
    right: -15px;
}

.bigdot-sambutan {
    bottom: -10px;
    left: -10px;
}

.sejarahSwiper .swiper-slide {
    opacity: 0.4;
    transform: scale(0.85);
    transition: all 0.4s ease;
}

.sejarahSwiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.quote-box {
    max-width: 900px;
    padding: 3rem 4rem;
}

.quote {
    position: absolute;
    font-size: 4rem;
    color: #8b6a4f;
    font-weight: 700;
    line-height: 1;
}

.quote-box h5 {
    color: var(--main-color) !important;
}

.quote-left {
    top: 0;
    left: 0;
}

.quote-right {
    bottom: 0;
    right: 0;
}

.career-card:hover .career-image {
    transform: scale(1.05);
}

.career-image-wrapper {
    height: 280px;
}

.career-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mySwiper .swiper-slide img {
    width: 1685px !important;
}

/* New CSS for card link hover effect */
.card-link,
.card-agenda {
    background: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
    /* box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%); */
    transition: all 0.3s ease;
    /* height: 100%;
    display: flex;
    flex-direction: column;     */
}

.card-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.card-quick-link{
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  transition: all .3s ease;
}

.card-quick-link:hover{
  transform: translateY(-10px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
  background: linear-gradient(
    160deg,
    #a07a58 0%,
    #8b6b4f 40%,
    #6f543d 80%
  );
}

.card-quick-link:hover,
.card-quick-link:hover *{
  color:#fff !important;
}

.card-quick-link:hover img{
  filter: brightness(0) invert(1);
}

.card-agenda:active {
    transform: scale(0.97);
    box-shadow:
        inset 0 3px 8px rgba(0, 0, 0, 0.25);
}

.card-agenda:hover {
    text-decoration: none;
    transform: scale(0.985);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* pagination custom */
.pagination {
    margin-top: 20px;
    display: flex;
    border: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination-link {
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
}

.pagination-link:hover:not(.disabled):not(.active) {
    background-color: var(--accent-color);
    color: #ffffff;
}

.pagination-link.active {
    background-color: var(--accent-color);
    color: #ffffff;
    font-weight: bold;
}

.pagination-link.disabled {
    pointer-events: none;
}

.pagination-dots {
    color: var(--accent-color);
    padding: 6px 10px;
    font-weight: bold;
}


/* jarak untuk counting section */
#counting-list p {
    margin: 0rem 4rem;
}

.item-produk {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.09);
    -webkit-box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.09);
    -moz-box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.09);
}

.item-produk .icon-produk {
    color: #17a2b8;
    background-color: #e0f6fa;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 44px;
    font-weight: bolder;
    border-radius: 10px;
}

.padding-custom {
    padding-top: 7rem;
}

.galeri-modal {
    padding-top: 200px;
}

.navmenu .dropdown i {
    position: relative;
    left: 3px;
}

.news-thumb-lg {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.news-thumb-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blur-box {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.elipsis {
    display: block;
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.icon-large {
    width: 81px !important;
    height: 81px !important;
}

.description-title {
    position: absolute;
    top: -30px;
    color: color-mix(in srgb, var(--heading-color), transparent 95%);
    left: 0;
    right: 0;
    z-index: 1;
    font-weight: 700;
    font-size: 52px;
    text-transform: uppercase;
    line-height: 1;
}

.lainnya:hover {
    color: var(--heading-color);
    border-bottom-color: #001D3D;
    transform: translateX(4px);
}

.lainnya {
    color: var(--heading-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    padding: 16px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid transparent;
    border-bottom-color: transparent;
    transition: all 0.4s ease;
}

.wave-box{
  width: 100%;
  height: 1000px; 
  background-image: linear-gradient(to top, #a17e58, #af8b64, #bd9871, #cba57d, #d9b38a);
  clip-path: path("M0,110 C200,-10 400,240 700,130 S1200,250 1600,110 L30000,1700 L0,1700 Z");
  position: relative;
  overflow: hidden;
}

.icon-small-user {
    width: 13px;
    height: 13px;
}

.meta-row{
  gap:10px;
}

.author-box{
  max-width:55%;
}

.author-text{
  min-width:0;
  font-size: 12px;
}

.profile-photo{
    width:100%;
    max-height:420px;
    object-fit:cover;
}

.profile-text{
    text-align:justify;
    line-height:1.7;
}

.journal-logo{
    height:60px;
    object-fit:contain;
}

.journal-logo-item{
    display:block;
    padding:15px;
    border-radius:10px;
    transition:.2s;
}

.journal-logo-item:hover{
    background:#f7f7f7;
}

.btn-jurnal-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #000000;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid color-mix(in srgb, var(--main-color), transparent 20%);
    transition: all 0.3s ease;
}

.btn-jurnal-outline:hover {
    background-color:
        color-mix(in srgb, var(--accent-color), transparent 90%);
    border-color: var(--main-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-jurnal-outline img {
    transition: transform 0.3s ease;
}

.btn-jurnal-outline:hover img {
    transform: translateX(4px);
}

.footer-image-wrapper { 
  position: relative; 
  margin-top: -495px; 
  line-height: 0;
  z-index: 10;
} 

.footer-image-wrapper img { 
  width: 100%; 
  height: auto;
  min-height: 450px;
  object-fit: cover; 
  object-position: bottom; 
  display: block;
}
.gallery-item {
    transition: 0.3s ease;
}

.gallery-item {
    transition: 0.3s ease;
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 330px;
    object-fit: cover;
    cursor: pointer;
    transition: transform .4s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.15));
    opacity: 0;
    transition: opacity .3s ease;
    display: flex;
    align-items: end;
    padding: 20px;
    pointer-events: none;
}

.gallery-overlay-content {
    transform: translateY(20px);
    transition: transform .3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.icon-small-galeri {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.content-body-berita img {
    max-width: 100%;
    height: auto;
}