@import url('https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hind', sans-serif;
    color: #666;
    background-color: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    color: #012e5b;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #FFC304;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.bg-white {
    background-color: #fff !important;
}

.top-bar {
    background-color: #012e5b;
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-social {
    display: flex;
    gap: 12px;
}

.top-social a {
    color: #fff;
    font-size: 13px;
}

.top-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-menu span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-menu span:not(:last-child)::after {
    content: "|";
    margin-left: 10px;
    color: rgba(255,255,255,0.3);
}

.top-menu a {
    color: #fff;
}

.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lang-selector img {
    cursor: pointer;
    border-radius: 2px;
    width: 16px;
    height: 11px;
}

.header {
    background-color: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.header-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo img {
    display: block;
    max-height: 55px;
    width: auto;
}

.nav-wrapper {
    background-color: #012e5b;
    position: relative;
    z-index: 999;
}

.nav-container {
    display: flex;
    flex-direction: column;
}

.nav-header {
    display: flex;
    align-items: center;
    padding: 12px 0;
    gap: 15px;
}

.menu-toggle {
    display: none;
    background: #FFC304;
    border: none;
    color: #fff;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 3px;
}

.kredo-text {
    color: #fff;
    font-weight: bold;
    font-size: 13px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    color: #fff;
    display: block;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 14px;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #FFC304;
}

.dropdown-menu {
    max-height: 0;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #111;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.dropdown-menu li a {
    padding: 10px 18px;
    border-bottom: 1px solid #222;
    font-size: 13px;
    font-weight: 500;
    color: #ccc;
}

.dropdown-menu li a:hover {
    color: #FFC304;
    background-color: #1a1a1a;
}

.has-dropdown:hover > .dropdown-menu {
    max-height: 300px;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    height: 400px;
    background-color: #eaeaea;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

.cta-banner {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: 24px;
    color: #FFC304;
    letter-spacing: 1px;
}

.sejarah-section {
    padding: 60px 0;
}

.sejarah-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sejarah-section h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
}

.sejarah-section p {
    margin-bottom: 20px;
}

.read-more {
    font-weight: bold;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.fasilitas-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
}

.section-title span {
    display: block;
    font-size: 28px;
    color: #333;
}

.facility-box {
    margin-bottom: 30px;
    padding: 15px;
    background-color: transparent;
}

.facility-icon {
    font-size: 32px;
    color: #012e5b;
    margin-bottom: 12px;
}

.facility-box h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.facts-section {
    background-color: #012e5b;
    color: #fff;
    padding: 50px 0;
}

.fact-item i {
    font-size: 40px;
    color: #FFC304;
    margin-bottom: 10px;
}

.fact-number {
    font-size: 36px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.pmb-section {
    background: linear-gradient(rgba(1, 46, 91, 0.85), rgba(1, 46, 91, 0.85)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1200&q=80') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 60px 0;
}

.pmb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.pmb-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pmb-icon i {
    font-size: 42px;
    color: #FFC304;
}

.pmb-text h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 5px;
}

.pmb-text p {
    font-size: 15px;
}

.pmb-buttons {
    display: flex;
    gap: 15px;
}

.btn-yellow {
    background-color: #FFC304;
    color: #012e5b;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 3px;
    display: inline-block;
}

.btn-white-solid {
    background-color: #fff;
    color: #012e5b;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 3px;
    display: inline-block;
}

.footer {
    background-color: #242427;
    color: #ababac;
    padding-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-grid h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 18px;
    border-bottom: 2px solid #FFC304;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-links {
    list-style: none;
    overflow: hidden;
}

.footer-links li {
    width: 50%;
    float: left;
    margin-bottom: 12px;
}

.footer-links li a {
    color: #ababac;
    font-size: 13px;
}

.footer-links li a:before {
    content: "\f105";
    font-family: FontAwesome;
    margin-right: 10px;
    color: #FFC304;
}

.subscribe-form {
    display: flex;
    margin-top: 15px;
    margin-bottom: 25px;
}

.subscribe-form input {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: #333;
    color: #fff;
    font-family: 'Hind', sans-serif;
    font-size: 13px;
}

.subscribe-form button {
    background-color: #012e5b;
    border: none;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
}

.follow-us h4 {
    color: #fff;
    font-size: 13px;
    margin-bottom: 10px;
}

.social-icons a {
    color: #999;
    font-size: 16px;
    margin-right: 15px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 13px;
}

.contact-details i {
    margin-right: 15px;
    color: #FFC304;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.copyright-bar {
    background-color: #1e1e21;
    padding: 25px 0;
    font-size: 13px;
}

.copyright-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.copyright-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    height: 35px;
    width: auto;
}

@media (max-width: 991px) {
    .grid-2, .grid-3, .grid-4, .footer-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .top-bar-container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .top-menu {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }

    .top-menu span {
        margin: 2px 5px;
        display: inline-flex;
    }

    .top-menu span:not(:last-child)::after {
        margin-left: 8px;
    }

    .header {
        padding: 15px 0;
    }

    .header-container {
        justify-content: center;
    }

    .logo img {
        max-height: 48px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-header {
        width: 100%;
        justify-content: flex-start;
    }

    .kredo-text {
        display: block;
        font-size: 11px;
    }

    .pmb-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .pmb-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .main-nav {
        max-height: 0;
        overflow: hidden;
        width: 100%;
        background-color: #111;
        transition: max-height 0.4s ease-in-out;
    }

    .main-nav.active {
        max-height: 500px;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav ul li {
        width: 100%;
    }

    .main-nav ul li a {
        border-bottom: 1px solid #222;
        padding: 12px 15px;
        font-size: 13px;
    }

    .dropdown-menu {
        position: relative;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        background-color: #151515;
        box-shadow: none;
        transition: max-height 0.3s ease-in-out;
    }

    .main-nav ul li.open > .dropdown-menu {
        max-height: 200px;
    }

    .dropdown-menu li a {
        padding-left: 30px;
        font-size: 12px;
    }
}