/********** Template CSS **********/
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;
}

.back-to-top {
0;90;10M0;90;10m0;80;9M0;80;9m    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.text-logo {
    color: #009ceb;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;

    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/page-header.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}

.about-img2 {
    position: relative;
    padding-bottom: 20px;
}

.about-img2 img {
    border-radius: 20px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: 400px;
    width: auto;
    object-fit: cover
}

/* Principal Section */
.principal-section {
    background-color: var(--light);
}

.principal-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.signature {
    font-family: 'Lobster Two', cursive;
    font-size: 24px;
    color: var(--primary);
}

/* Vision Mission Box */
.visi-misi-box {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: 100%;
    border-top: 5px solid var(--primary);
}

.misi-list ul {
    list-style: none;
    padding: 0;
}

.misi-list li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
}

.misi-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}

.custom.quote blockquote {
    font-size: 5rem;
}

/* Stats Counter */
.stats-item {
    text-align: center;
    padding: 30px;
    background: var(--primary);
    color: #fff;
    border-radius: 15px;
}

.stats-item i {
    font-size: 40px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.stats-number {
    font-size: 36px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    display: block;
}

/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/* --- PPDB SPECIFIC STYLES --- */

/* Flow Process Steps */
.process-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--primary);
    font-size: 30px;
    border: 2px dashed var(--primary);
    transition: .5s;
}

.process-item:hover .process-icon {
    background: var(--primary);
    color: #fff;
    border-style: solid;
}

.process-number {
    position: absolute;
    top: 15px;
    right: 50%;
    margin-right: -55px;
    width: 30px;
    height: 30px;
    background: var(--dark);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

/* Pricing Card */
.pricing-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    overflow: hidden;
    border: 1px solid #eee;
    transition: .5s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.pricing-header {
    background: var(--primary);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.pricing-body {
    padding: 30px;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
}

.total-price {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Registration Form */
.form-section {
    background-color: var(--secondary);
    border-radius: 20px;
    padding: 40px;
}

.form-floating label {
    color: #999;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(254, 93, 55, 0.25);
}

/* Help/Contact Box */
.help-box {
    background: #25D366;
    /* WA Color */
    color: #fff;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
}

.help-box:hover {
    background: #20bd5a;
    text-decoration: none;
    color: #fff;
}

/* --- SUCCESS PAGE SPECIFIC STYLES --- */

/* Success Card */
.success-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 50px 30px;
    text-align: center;
    max-width: 800px;
    margin: -80px auto 0 auto;
    /* Negative margin for overlap effect */
    position: relative;
    z-index: 2;
}

/* Animated Checkmark */
.checkmark-circle {
    width: 100px;
    height: 100px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px;
}

.checkmark-circle .background {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #25D366;
    /* Success Green */
    position: absolute;
    animation: scaleIn 0.5s ease-in-out forwards;
}

.checkmark-circle .checkmark {
    border-radius: 5px;
}

.checkmark-circle .checkmark.draw:after {
    animation-delay: 100ms;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-name: checkmark;
    transform: scaleX(-1) rotate(135deg);
}

.checkmark-circle .checkmark:after {
    opacity: 1;
    height: 50px;
    width: 25px;
    transform-origin: left top;
    border-right: 10px solid white;
    border-top: 10px solid white;
    content: '';
    left: 25px;
    top: 50px;
    position: absolute;
}

@keyframes checkmark {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }

    20% {
        height: 0;
        width: 25px;
        opacity: 1;
    }

    40% {
        height: 50px;
        width: 25px;
        opacity: 1;
    }

    100% {
        height: 50px;
        width: 25px;
        opacity: 1;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Registration Ticket */
.reg-ticket {
    background: var(--light);
    border: 2px dashed #ddd;
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
    text-align: left;
}

.reg-label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.reg-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark);
    font-family: 'Inter', sans-serif;
}

/* Timeline Next Steps */
.timeline-steps {
    text-align: left;
    margin-top: 40px;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.timeline-step {
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.timeline-step::before {
    content: "";
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    left: -29px;
    /* Adjust based on border */
    top: 5px;
    border: 3px solid #fff;
}

.timeline-step h6 {
    margin-bottom: 5px;
    color: var(--primary);
}

/* Blog/News Styles */
.blog-item {
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    transition: .5s;
}

.blog-item:hover {
    box-shadow: 0 0 30px #CCCCCC;
    transform: translateY(-5px);
}

.blog-item .blog-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-item .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.blog-item:hover .blog-img img {
    transform: scale(1.1);
}

.blog-item .blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Sidebar Widgets */
.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-title {
    margin-bottom: 20px;
    font-size: 24px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-title::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

/* Category List */
.category-list .list-group-item {
    border: none;
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list .list-group-item:last-child {
    border-bottom: none;
}

.category-list .list-group-item a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.category-list .list-group-item a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Recent Post Sidebar */
.recent-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.recent-post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 15px;
}

.recent-post-item h6 {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-post-item h6 a {
    text-decoration: none;
    color: var(--dark);
    transition: 0.3s;
}

.recent-post-item h6 a:hover {
    color: var(--primary);
}

.pagination .page-link {
    color: var(--dark);
    border: none;
    background: var(--light);
    margin: 0 5px;
    border-radius: 5px;
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: white;
}

/* --- STYLES KHUSUS HALAMAN DETAIL --- */
.detail-img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.detail-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news-meta {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.blockquote-custom {
    background: var(--light);
    border-left: 5px solid var(--primary);
    padding: 20px;
    font-style: italic;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.author-bio {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}

.comment-form,
.comment-list {
    background: #fff;
    margin-top: 40px;
}

.comment-item {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 25px;
}

.comment-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

/*** News ***/
/* Styling Kartu Berita */
.news-card {
    border: none;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    /* Memastikan tinggi kartu mengisi grid */
    position: relative;
    background-color: white;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Image Handling */
.news-img-wrapper {
    position: relative;
    overflow: hidden;
}

/* Tinggi gambar untuk kartu besar (Featured) */
.featured-card .news-img-wrapper {
    height: 350px;
}

/* Tinggi gambar untuk kartu kecil */
.small-card .news-img-wrapper {
    height: 180px;
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Agar gambar tidak gepeng */
    transition: transform 0.5s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

/* Kategori Badge */
.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

/* Konten Teks */
.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-title a {
    text-decoration: none;
    color: #212529;
    transition: color 0.2s;
}

.news-title a:hover {
    color: var(--primary-color);
}

.meta-info {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
    margin-top: auto;
    /* Mendorong meta ke bawah */
}

/* Responsiveness Tweaks */
@media (max-width: 991.98px) {
    .featured-card .news-img-wrapper {
        height: 250px;
    }
}

/* --- FACILITIES SPECIFIC STYLES --- */

/* Kartu Fasilitas */
.fac-item {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.fac-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
}

.fac-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.fac-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.fac-item:hover .fac-img img {
    transform: scale(1.1);
}

/* Ikon Mengambang */
.fac-icon {
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -45px;
    right: 30px;
    border: 5px solid #fff;
    z-index: 2;
}

.fac-icon i {
    color: #fff;
    font-size: 35px;
}

.fac-text {
    padding: 50px 30px 30px 30px;
}

/* Section Highlight Keamanan */
.safety-section {
    background-color: var(--secondary);
    border-radius: 20px;
}

.safety-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.safety-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(254, 93, 55, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
}

/* --- CONTACT CARD STYLES (Mengadopsi gaya Facility Item) --- */

.contact-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
}

/* Header Kartu (Pengganti Image di Facility) */
.contact-header-bg {
    height: 150px;
    position: relative;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Pattern Overlay untuk Header */
.contact-header-bg::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ddd 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

/* Ikon Mengambang (Floating Icon - Persis Facility Icon) */
.contact-icon-float {
    width: 90px;
    height: 90px;
    border-radius: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 105px;
    /* Diperbaiki: Mengambang di batas header (150px - 45px) */
    right: 30px;
    border: 5px solid #fff;
    z-index: 2;
    color: #fff;
    font-size: 35px;
}

.contact-text-body {
    padding: 60px 30px 30px 30px;
    /* Padding atas besar untuk kompensasi icon */
}

/* Varian Warna Kartu */
.bg-orange .contact-icon-float {
    background: var(--primary);
}

.bg-green .contact-icon-float {
    background: var(--success);
}

.bg-blue .contact-icon-float {
    background: var(--info);
}

.bg-orange .contact-header-bg {
    background: #fff5f3;
}

.bg-green .contact-header-bg {
    background: #e8f5e9;
}

.bg-blue .contact-header-bg {
    background: #e0f7fa;
}


/* --- MAP & FORM SECTION (Mengadopsi gaya Safety Section) --- */

.contact-wrapper {
    background-color: var(--secondary);
    /* Pink lembut seperti Safety Section */
    border-radius: 20px;
    overflow: hidden;
}

.contact-form-area {
    padding: 40px;
}

.map-frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 20px;
    /* Konsisten dengan wrapper */
    overflow: hidden;
}

.map-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.form-floating label {
    color: #999;
}

.form-control {
    border: none;
    border-radius: 10px;
    padding: 20px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(254, 93, 55, 0.25);
}


/* --- CURRICULUM SPECIFIC STYLES --- */

/* Pilar Kurikulum Cards */
.curriculum-item {
    background: var(--light);
    border-radius: 15px;
    padding: 30px;
    transition: .5s;
    height: 100%;
    border-bottom: 5px solid transparent;
}

.curriculum-item:hover {
    background: #fff;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border-bottom: 5px solid var(--primary);
    transform: translateY(-5px);
}

.curriculum-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 32px;
    transition: .5s;
}

.curriculum-item:hover .curriculum-icon {
    background: var(--primary);
    color: #fff;
}

/* Target Lulusan List */
.target-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 16px;
}

.target-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 2px;
}

/* Daily Schedule Timeline */
.timeline-section {
    position: relative;
    padding: 0 15px;
}

.timeline-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.time-badge {
    min-width: 100px;
    background: var(--primary);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    text-align: center;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    margin-right: 20px;
    position: relative;
}

.timeline-content {
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    border-left: 4px solid var(--primary);
}

/* Quote Box */
.quote-box {
    background: linear-gradient(rgba(254, 93, 55, 0.9), rgba(254, 93, 55, 0.9)), url('https://images.unsplash.com/photo-1584697964405-bac0a40092c6?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    border-radius: 15px;
    color: #fff;
    padding: 40px;
    text-align: center;
}


/* --- GALLERY SPECIFIC STYLES --- */

/* Filter Buttons */
.portfolio-menu {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}

.portfolio-menu ul li {
    display: inline-block;
    margin: 0 10px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 30px;
    transition: .5s;
    background: var(--light);
}

.portfolio-menu ul li:hover,
.portfolio-menu ul li.active {
    color: #fff;
    background: var(--primary);
}

/* Gallery Item */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    cursor: pointer;
    margin-bottom: 24px;
}

.gallery-item img {
    width: 100%;
    transition: .5s;
    height: 250px;
    /* Fixed height for consistency */
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(254, 93, 55, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .5s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 40px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-family: 'Inter', sans-serif;
}

/* Video Section */
.video-box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.video-box iframe {
    width: 100%;
    height: 250px;
}

.video-title {
    padding: 15px;
    background: #fff;
    text-align: center;
}

/* --- EXTRACURRICULAR SPECIFIC STYLES --- */

/* Filter/Category Buttons */
.portfolio-menu button {
    transition: .5s;
}

.portfolio-menu button:hover,
.portfolio-menu button.active {
    background: var(--primary);
    color: #fff;
}

/* Eskul Card */
.ekskul-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.ekskul-item:hover {
    transform: translateY(-10px);
}

.ekskul-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.ekskul-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.ekskul-item:hover .ekskul-img img {
    transform: scale(1.1);
}

.ekskul-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(254, 93, 55, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .5s;
    padding: 20px;
    text-align: center;
}

.ekskul-item:hover .ekskul-overlay {
    opacity: 1;
}

.ekskul-overlay h4,
.ekskul-overlay p {
    color: #fff !important;
}

.ekskul-text {
    background: #fff;
    padding: 25px;
    text-align: center;
    border-bottom: 5px solid var(--primary);
}

/* Schedule Table */
.table-schedule thead {
    background: var(--primary);
    color: #fff;
}

.table-schedule th,
.table-schedule td {
    vertical-align: middle;
    padding: 15px;
}

/* --- TEAM SPECIFIC STYLES --- */
.team-specific-item {
    background: var(--light);
    text-align: center;
    border-radius: 15px;
    transition: .5s;
    overflow: hidden;
    position: relative;
    padding: 30px;
}0;64;15M0;64;15m

.team-specific-item:hover {
    background: #fff;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: translateY(-10px);
}

.team-img-box {
    position: relative;
    margin: 0 auto 20px auto;
    width: 200px;
    height: 200px;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 10px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.team-role {0;76;14M0;76;14m
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.team-social {
    margin-top: 15px;
    opacity: 0;
    transition: .5s;
}

.team-specific-item:hover .team-social {
    opacity: 1;
}

.team-social .btn-square {
    width: 35px;
    height: 35px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 35px;
    margin: 0 3px;
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
