/* ========================================
   PUBLIC PAGES — SIT Oya Sekolah Negeri
   ======================================== */

/* ========= NAVBAR & HEADER ========= */
.public-header {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .public-header.scrolled {
        transform: translateY(-40px);
    }
}

.public-navbar {
    position: relative;
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 48px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background .3s, box-shadow .3s;
}

.public-navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
}

.nav-logo-text h1 {
    font-size: 15px;
    font-weight: 800;
    color: #002244;
    line-height: 1.2;
}

.nav-logo-text p {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

/* Desktop menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #003f88;
    text-decoration: none;
    transition: all .2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: #f8fafc;
    color: #005fc0;
}

.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 12px;
    background: #ffc629;
    color: #002244 !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all .25s ease;
    box-shadow: 0 4px 14px rgba(255, 198, 41, .3);
}

.nav-login-btn:hover {
    background: #ffaa00 !important;
    color: #002244 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 198, 41, .4);
    opacity: 1 !important;
}

/* Hamburger */
.nav-hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #005fc0;
    border-radius: 2px;
    transition: all .25s ease;
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 100%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.nav-mobile-menu.open {
    display: flex;
}

.nav-mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #005fc0;
    text-decoration: none;
    transition: all .2s ease;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
    background: #f8fafc;
    color: #003f88;
}

/* ========= HERO ========= */
.hero-section {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
    background: linear-gradient(135deg, #002244 0%, #003f88 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url('/images/bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.3;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* ========= SECTION ========= */
.public-section {
    padding: 80px clamp(16px, 4vw, 48px);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 99px;
    background: #fff4ce;
    color: #cc8800;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 800;
    color: #002244;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #002244, #003f88);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M5 15Q50 5 100 10T195 15' fill='none' stroke='%23ffc629' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

.section-title.light {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

.section-title.light::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M5 15Q50 5 100 10T195 15' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

/* UNIT THEMES FOR SECTION TITLES */
/* TK: Orange */
.theme-tk .section-title {
    background: linear-gradient(to right, #ea580c, #f97316, #fb923c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.theme-tk .section-title::after {
    background: linear-gradient(to right, #ea580c, #fbbf24);
}

/* SD: Purple */
.theme-sd .section-title {
    background: linear-gradient(to right, #7e22ce, #a855f7, #c084fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.theme-sd .section-title::after {
    background: linear-gradient(to right, #7e22ce, #f472b6);
}

/* SMP: Blue */
.theme-smp .section-title {
    background: linear-gradient(to right, #1d4ed8, #3b82f6, #60a5fa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.theme-smp .section-title::after {
    background: linear-gradient(to right, #1d4ed8, #38bdf8);
}

.section-subtitle {
    font-size: 16px;
    color: #64748b;
    margin-top: 12px;
    max-width: 560px;
    line-height: 1.7;
}

/* ========= CARDS ========= */
.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    transition: all .3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: #ffc629;
    box-shadow: 0 16px 40px rgba(0, 34, 68, 0.1);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: transform .3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(-8deg) scale(1.1);
}

/* ========= STAT COUNTER ========= */
.stat-item {
    text-align: center;
    padding: 24px;
}

.stat-number {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: inherit;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    font-weight: 600;
}

/* Hide default select arrow for appearance-none */
select.appearance-none {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}
select.appearance-none::-ms-expand {
    display: none !important;
}

/* ========= LINE CLAMP ========= */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========= NEWS CARD ========= */
.news-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all .3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.news-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.news-card-body {
    padding: 22px;
}

/* ========= BREADCRUMB HERO ========= */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #002244, #003f88);
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .current {
    color: #ffc629;
    font-weight: 600;
}

/* ========= TIMELINE VERTIKAL (untuk alur) ========= */
.timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
    padding-bottom: 32px;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: #b3d4ff;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003f88, #002244);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(30, 41, 59, 0.3);
}

/* ========= TIMELINE ALTERNATING (seperti foto) ========= */
.ppdb-timeline {
    position: relative;
    padding: 20px 0;
}

.ppdb-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #003f88, #b3d4ff);
    transform: translateX(-50%);
}

.ppdb-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 48px;
    position: relative;
}

.ppdb-timeline-item:nth-child(odd) {
    flex-direction: row;
}

.ppdb-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.ppdb-timeline-content {
    width: calc(50% - 40px);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.ppdb-timeline-item:nth-child(odd) .ppdb-timeline-content {
    margin-right: auto;
}

.ppdb-timeline-item:nth-child(even) .ppdb-timeline-content {
    margin-left: auto;
}

.ppdb-timeline-content:hover {
    transform: translateY(-4px);
    border-color: #ffc629;
    box-shadow: 0 12px 32px rgba(0, 34, 68, 0.1);
}

.ppdb-timeline-date-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 6px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ppdb-timeline-content h3 {
    font-size: 17px;
    font-weight: 800;
    color: #002244;
    margin-bottom: 4px;
}

.ppdb-timeline-content p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.ppdb-timeline-dot-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ppdb-timeline-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #003f88;
    border: 4px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
    text-align: center;
}

/* Responsive timeline */
@media (max-width: 768px) {
    .ppdb-timeline::before {
        left: 28px;
    }

    .ppdb-timeline-item,
    .ppdb-timeline-item:nth-child(odd),
    .ppdb-timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 72px;
    }

    .ppdb-timeline-content {
        width: 100%;
    }

    .ppdb-timeline-item:nth-child(even) .ppdb-timeline-content {
        margin-left: 0;
    }

    .ppdb-timeline-dot-wrapper {
        left: 0;
        transform: none;
        position: absolute;
    }
}

/* ========= WA FLOATING BUTTON ========= */
.wa-float-btn {
    position: fixed;
    bottom: 88px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    z-index: 50;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: wa-pulse 2.5s ease-in-out infinite;
}

.wa-float-btn:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
    animation: none;
}

.wa-float-btn svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.wa-tooltip {
    position: absolute;
    right: 68px;
    background: #003f88;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: all 0.25s ease;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right: none;
    border-left-color: #003f88;
}

.wa-float-btn:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes wa-pulse {

    0%,
    100% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    }

    50% {
        box-shadow: 0 6px 36px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.1);
    }
}

@media (max-width: 768px) {
    .wa-float-btn {
        bottom: 76px;
        right: 16px;
        width: 44px;
        height: 44px;
        box-shadow: 0 4px 16px rgba(37,211,102,0.3);
    }
    .wa-float-btn svg {
        width: 22px;
        height: 22px;
    }
    .wa-tooltip {
        right: 56px;
    }
    #backToTop {
        bottom: 20px !important;
        right: 16px !important;
        width: 40px !important;
        height: 40px !important;
    }
}

/* ========= FOOTER ========= */
.public-footer {
    background: #000000;
    /* Even darker navy for footer */
    color: #94a3b8;
    padding: 64px clamp(16px, 4vw, 48px) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    padding: 5px 0;
    transition: color .2s;
}

.footer-col a:hover {
    color: #ffc629;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: #003f88;
}

/* ========= CONTACT FORM ========= */
.contact-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 14px;
    font-family: inherit;
    background: #f8fafc;
    transition: all .2s ease;
    color: #002244;
}

.contact-input:focus {
    outline: none;
    border-color: #ffc629;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 198, 41, 0.2);
}

.contact-input::placeholder {
    color: #94a3b8;
}

/* ========= ANIMATIONS ========= */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========= SUBNAV ========= */
.public-subnav-container {
    padding: 0 clamp(16px, 4vw, 48px);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.subnav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.subnav-link.active {
    background: #002244;
    color: #ffc629;
    box-shadow: 0 4px 12px rgba(0, 34, 68, 0.25);
}

.subnav-link:not(.active) {
    color: #64748b;
    background: transparent;
}

.subnav-link:not(.active):hover {
    background: #f1f5f9;
    color: #003f88;
}

/* ========= NAV DROPDOWN ========= */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #003f88;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s ease;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.active {
    background: #f8fafc;
    color: #005fc0;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    z-index: 110;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #003f88;
    text-decoration: none;
    transition: all .15s ease;
}

.nav-dropdown-menu a:hover {
    background: #f8fafc;
    color: #003f88;
}

/* ========= FAQ ACCORDION ========= */
.faq-item {
    cursor: pointer;
}

.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-item.faq-open .faq-answer {
    max-height: 200px;
}

.faq-item.faq-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-item:hover {
    transform: translateY(-2px);
}

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .public-section {
        padding: 56px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   PREMIUM ADDITIONS & ACCENTS
   ======================================== */

/* Running Announcement Marquee */
.announcement-marquee {
    background: linear-gradient(90deg, #003f88 0%, #003f88 50%, #003f88 100%);
    border-bottom: 2px solid #f59e0b;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.marquee-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.marquee-badge {
    background: #f59e0b;
    color: #002244;
    padding: 2px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    margin-right: 16px;
    margin-left: clamp(16px, 4vw, 48px);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
    flex-shrink: 0;
    position: relative;
    z-index: 21;
}

.marquee-track {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    animation: marquee-scroll 35s linear infinite;
}

.marquee-item {
    display: inline-block;
    padding-right: 48px;
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Decorative Patterns & Overlays */
.pattern-bg {
    background-image: radial-gradient(rgba(30, 41, 59, 0.05) 1px, transparent 1px),
        radial-gradient(rgba(245, 158, 11, 0.04) 1.5px, transparent 1.5px);
    background-size: 32px 32px, 64px 64px;
    background-position: 0 0, 16px 16px;
}

/* Premium Welcoming Message */
.sambutan-wrapper {
    position: relative;
}

.sambutan-avatar-container {
    position: relative;
    padding: 12px;
}

.sambutan-avatar-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #003f88, #f59e0b);
    border-radius: 30px;
    transform: rotate(3deg);
    opacity: 0.15;
    transition: transform .3s ease;
}

.sambutan-avatar-container:hover .sambutan-avatar-bg {
    transform: rotate(-3deg) scale(1.02);
}

.sambutan-image-frame {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.sambutan-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 8px 20px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

/* Premium Program Cards */
.program-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003f88, #f59e0b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    border-color: #cbd5e1;
    box-shadow: 0 24px 48px rgba(30, 41, 59, 0.08);
}

.program-card:hover::before {
    opacity: 1;
}

.program-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: #f8fafc;
    color: #005fc0;
    transition: all 0.3s ease;
}

.program-card:hover .program-icon-wrapper {
    background: linear-gradient(135deg, #003f88, #005fc0);
    color: #fff;
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 0 8px 20px rgba(30, 41, 59, 0.2);
}

/* Testimonial Cards */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testi-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testi-card:hover {
    transform: translateY(-4px);
    border-color: #fbd38d;
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.06);
}

.testi-quote {
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
}

.testi-quote::before {
    content: '“';
    font-family: serif;
    font-size: 60px;
    color: #003f88;
    opacity: 0.15;
    position: absolute;
    top: -24px;
    left: -12px;
    line-height: 1;
}

.testi-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 99px;
    object-fit: cover;
    background: #f1f5f9;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testi-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #003f88;
}

.testi-info p {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Accreditation Stamp badge */
.accreditation-stamp {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 28px;
    background: #fff;
    border: 2px solid #f59e0b;
    border-radius: 99px;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.12);
    transition: all 0.3s ease;
}

.accreditation-stamp:hover {
    transform: scale(1.03);
}

.accreditation-stamp i {
    color: #f59e0b;
}

.accreditation-text h5 {
    font-size: 13px;
    font-weight: 800;
    color: #002244;
    line-height: 1.1;
}

.accreditation-text p {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* FAQ Premium Accordion */
.premium-faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.premium-faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.premium-faq-item.faq-open {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.05);
}

.premium-faq-trigger {
    width: 100%;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.premium-faq-title {
    font-size: 16px;
    font-weight: 700;
    color: #003f88;
    transition: color 0.3s;
}

.premium-faq-item.faq-open .premium-faq-title {
    color: #005fc0;
}

.premium-faq-icon {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    transition: transform 0.3s, color 0.3s;
}

.premium-faq-item.faq-open .premium-faq-icon {
    transform: rotate(180deg);
    color: #005fc0;
}

.premium-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-faq-item.faq-open .premium-faq-content {
    max-height: 200px;
}

.premium-faq-inner {
    padding: 0 28px 24px;
    font-size: 14px;
    color: #003f88;
    line-height: 1.7;
}

/* Subtle micro-glow elements */
.glow-emerald {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 41, 59, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

.glow-amber {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}