@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
    font-family: 'Inter', sans-serif;
    font-style: normal;
}

.hero {
    position: relative;
    min-height: 590px;
    background: url("/pages/tentang-cda/img/banner.png") center -250px / cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.hero-content {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 8%;
    padding: 48px 0;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #dbeafe;
    font-size: 14px;
    line-height: 1;
}

.icon-home svg {
    display: inline-block;
    vertical-align: middle;
}

.hero-grid {
    display: grid;
    width: 110%;
    margin-top: 10%;
    /* margin-left: 4%; */
    gap: 30px;
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
}

.hero h1 {
    margin: 0;
    max-width: 500px;
    font-size: 44px;
    line-height: 1.3;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.hero p {
    margin: 0;
    padding-top: 7px;
    margin-right: 44px;
    font-size: 19px;
    line-height: 1.7;
    color: #ffffff;
    opacity: 0.95;
}

@media (max-width: 1404px) {
    .hero {
        min-height: auto;
        padding: 5%;
        background: url("/pages/tentang-cda/img/banner.png") center / cover no-repeat;
    }
}

@media (max-width: 955px) {
    .hero {
        min-height: auto;
        padding: 5%;
        background: url("/pages/tentang-cda/img/banner.png") center / cover no-repeat;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-grid {
        display: flex !important;
        flex-direction: column;
        align-items: start;
        gap: 12px;

        grid-template-columns: none;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.6;
        margin: 0;
    }
}


@media (max-width: 600px) {
    .hero-content {
        padding: 32px 16px;
    }

    .hero h1 {
        font-size: 30px;
    }
}


.section-two {
    /* border: 1px solid #fff; */
    background: #093037;
    padding: 80px 0 20px 0;
    color: #0C4E55;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 8%;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: -60px;
    margin-bottom: 28px;
}

.timeline-card {
    background: #fff;
    border-radius: 8px;
    padding: 18px 18px 22px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.timeline-card .year {
    font-weight: 800;
    font-size: 32px;
    color: #0C4E55;
    margin-bottom: 8px;
}

.timeline-card h3 {
    margin: 0 0 10px;
    font-size: 27px;
    color: #0C4E55;
}

.timeline-card p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #29474A;
}

.visi-misi {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 26px;
    /* background: #fff; */
    border-radius: 8px;
    background: url("/pages/tentang-cda/img/hero-primary-content.png") right bottom / cover no-repeat;
    opacity: 1;
    padding: 24px 22px 30px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.visi {
    position: relative;
    padding-right: 18px;
}

.visi-misi::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.visi>* {
    position: relative;
    z-index: 1;
}

.visi h4,
.misi h4 {
    margin: 0 0 8px;
    font-size: 30px;
    color: #0C4E55;
    font-weight: 800;
}

.visi-text {
    margin: 0;
    font-size: 25px;
    line-height: 1.6;
    color: #1C1C1C;
    font-weight: 700;
    max-width: 520px;
}

.misi .misi-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
}

.misi-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
}

.misi-item .num {
    font-size: 22px;
    font-weight: 800;
    color: #0C4E55;
}

.misi-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #29474A;
}

@media (max-width: 992px) {
    .timeline {
        grid-template-columns: 1fr;
    }

    .visi-misi {
        grid-template-columns: 1fr;
    }

    .visi-text {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .timeline {
        margin-top: -30px;
    }

    .misi .misi-list {
        grid-template-columns: 1fr;
    }
}

.hero-content {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 8%;
    padding: 48px 2px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(2px);
    color: #fff;
    font-size: 14px;
    margin-bottom: 6%;
}

.icon-home svg {
    display: inline-block;
    vertical-align: middle;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
}

.hero h1 {
    margin: 0;
    max-width: 500px;
    font-size: 44px;
    line-height: 1.3;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.hero p {
    margin: 0;
    padding-top: 7px;
    margin-right: 44px;
    font-size: 19px;
    line-height: 1.7;
    color: #ffffff;
    opacity: 0.95;
}

.team-cta {
    position: relative;
    background: #092528 url("/pages/tentang-cda/img/section_cta.png") center top / cover no-repeat;
    padding: 56px 0 72px;
    color: #EAF5F4;
}

.team-cta .eyebrow {
    text-align: center;
    color: #39c2ce;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin: 0;
    opacity: 0.85;
}

.team-cta .cta-title {
    margin: 8px 0 26px;
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.4;
    color: #fff;
}

.team-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.team-card {
    background: rgba(15, 63, 67, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 14px 14px 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.team-card:hover,
.team-card:focus-within {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.40);
}

.team-card .card-head .name {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
    color: #D8EFEA;
    margin-bottom: 10px;
}

.team-card .portrait {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    height: 200px;
    margin-bottom: 12px;
    overflow: hidden;
}

.team-card .portrait img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.team-card .label {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #CFE8E3;
}

.team-card .bullet {
    margin: 0;
    padding-left: 18px;
    color: #EAF5F4;
}

.team-card .bullet li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 6px;
    opacity: 0.95;
}

@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-cta .cta-title {
        font-size: 22px;
    }
}

.stats {
    background: #0B2F33;
    color: #EAF5F4;
    padding: 40px 0 52px;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.stats-title {
    margin: 0 0 28px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #39c2ce;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: start;
    justify-items: center;
}

.stat {
    text-align: center;
}

.stat .value {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.stat .label {
    margin-top: 12px;
    font-size: 18px;
    color: #99C9C2;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat .value {
        font-size: 32px;
    }

    .stat .label {
        font-size: 16px;
    }
}

/* Section: Slider Buku */
.books {
    /* border: 1px solid #fff; */
    position: relative;
    background: #083338;
    overflow: hidden;
    padding: 2px 0 0;
    color: #fff;
}

.books::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    background: #bfbfbf;
    z-index: 0;
    pointer-events: none;
}

.books-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 35px 20px 0 45px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.track {
    display: flex;
    gap: 24px;
    position: relative;
    z-index: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0 20px;
}

.track::-webkit-scrollbar {
    height: 0;
}

.track {
    scrollbar-width: none;
}

.book {
    flex: 0 0 auto;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-snap-align: start;
}

.book .cover {
    width: 100%;
    height: clamp(180px, 26vw, 280px);
    object-fit: cover;
    border-radius: 2px;
}

.nav-tentang {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    visibility: hidden;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    cursor: pointer;
    z-index: 3;
}

.nav:hover {
    background: rgba(255, 255, 255, 0.474);
    color: rgba(0, 0, 0, 0.896);;
}

.nav[disabled],
.nav[aria-disabled="true"] {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.nav-tentang.prev {
    left: 6px;
}

.nav-tentang.next {
    right: 6px;
}

@media (max-width: 991px) {
    .book .cover {
        width: 70%;
    }
    .nav {
        width: 36px;
        height: 36px;
    }
}

/* Section 6: CTA Join */
.cta-join {
    position: relative;
    background: #0b2f33 url("/pages/tentang-cda/img/section_cta.png") left top / cover no-repeat;
    color: #ffffff;
    padding: 100px 0 72px;
}

.cta-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
}

.cta-copy .eyebrow {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
    color: #39c2ce;
    letter-spacing: 0.3px;
    opacity: 0.95;
}

.cta-copy h2 {
    margin: 0;
    font-size: 36px;
    line-height: 1.3;
    font-weight: 800;
    max-width: 620px;
    color: #fff;
}

.cta-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cta-form input[type="email"] {
    width: min(420px, 100%);
    height: 42px;
    border: none;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 14px;
    color: #143c3f;
    background: #ffffff;
    outline: none;
}

.cta-form button {
    height: 60px;
    width: min(420px, 100%);
    padding: 0 16px;
    border-radius: 6px;
    background: #075860;
    color: #ffffff;
    border: 1px solid #075860;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .cta-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .cta-copy h2 {
        font-size: 34px;
        max-width: 100%;
    }
    .cta-form { align-items: stretch; }
}

@media (max-width: 600px) {
    .cta-join { padding: 36px 0 48px; }
    .cta-copy h2 { font-size: 28px; }
}

@media (max-width: 992px) {
    .track {
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .track {
        gap: 12px;
    }
}