body { font-family: 'Inter', sans-serif; }

/* HERO */
.hero-section {

    height: 85vh;
    position: relative;
    overflow: hidden;
    margin-top: -20px;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-color: transparent !important;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(115deg,
            rgba(13, 92, 52, .82) 0%,
            rgba(24, 120, 80, .70) 38%,
            rgba(44, 130, 92, .65) 70%,
            rgba(20, 90, 120, .22) 100%);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

/* Modern decorative shapes */
.hero-shapes .blob-1 {
    position: absolute;
    left: -120px;
    top: 20%;
    width: 320px;
    height: 320px;
    background: rgba(255,255,255,0.10);
    filter: blur(22px);
    border-radius: 40% 60% 65% 35% / 45% 30% 70% 55%;
    transform: rotate(-18deg);
    opacity: 0.35;
}

.hero-shapes .blob-2 {
    position: absolute;
    right: -160px;
    top: 40px;
    width: 420px;
    height: 420px;
    background: rgba(255,255,255,0.08);
    filter: blur(32px);
    border-radius: 50%;
    opacity: 0.28;
}

.hero-shapes .leaf-pattern {
    position: absolute;
    inset: -40px;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.10) 0 2px, transparent 3px),
        radial-gradient(circle at 70% 60%, rgba(255,255,255,0.08) 0 2px, transparent 3px),
        radial-gradient(circle at 45% 15%, rgba(255,255,255,0.07) 0 2px, transparent 3px);
    opacity: 0.12;
    transform: rotate(-6deg);
}

.hero-shapes .circle-blur {
    position: absolute;
    left: 22%;
    bottom: -180px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.05) 40%, transparent 70%);
    filter: blur(18px);
    opacity: 0.5;
}

.hero-shapes .wave-white {
    position: absolute;
    left: -10%;
    bottom: -65px;
    width: 120%;
    height: 180px;
    background:
        radial-gradient(closest-side at 20% 20%, rgba(255,255,255,0.22), rgba(255,255,255,0) 70%),
        linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
    border-radius: 60% 40% 40% 60% / 70% 60% 40% 30%;
    filter: blur(0.5px);
    opacity: 0.55;
}

.hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    padding-top: 6vh;
    padding-bottom: 6vh;
}

.hero-col {
    min-width: 0;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 4.2vw, 4.15rem); /* lebih fleksibel desktop-tablet */

    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 8px 24px rgba(0,0,0,0.36);
    line-height: 1.18;
    letter-spacing: -0.35px;
    color: #ffffff;
    transform: translateY(10px);
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(0.98rem, 1.2vw, 1.05rem);
    margin-bottom: 2.2rem;

    color: rgba(255,255,255,0.92);
    font-weight: 300;
    letter-spacing: 0.1px;
    line-height: 1.8;
    max-width: 760px;
    transform: translateY(12px);
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    transform: translateY(12px);
    opacity: 0;
}

.btn-survey {
    border-radius: 50px;
    padding: 0.95rem 1.75rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #198754 0%, #2E8B57 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 14px 34px rgba(24, 120, 80, 0.28);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-survey-arrow {
    transition: transform .25s ease;
    display: inline-flex;
}

.btn-survey:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(46, 139, 87, 0.38);
    filter: brightness(1.03);
}

.btn-survey:hover .btn-survey-arrow {
    transform: translateX(6px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title[data-animate="fade-up"],
.hero-subtitle[data-animate="fade-up"],
.hero-actions[data-animate="fade-up"] {
    animation: fadeUp 0.9s ease-out forwards;
}

.hero-title[data-animate="fade-up"] { animation-delay: 0.05s; }
.hero-subtitle[data-animate="fade-up"] { animation-delay: 0.18s; }
.hero-actions[data-animate="fade-up"] { animation-delay: 0.30s; }

/* Phone illustration */
.phone-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.phone {
    width: min(260px, 100%);

    aspect-ratio: 9 / 18;
    border-radius: 38px;
    position: relative;
    transform: rotate(5deg);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.phone[data-animate="phone-slide"] {
    opacity: 0;
    transform: translateX(34px) rotate(5deg);
    animation: phoneSlide 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes phoneSlide {
    to { opacity: 1; transform: translateX(0) rotate(5deg); }
}

.phone::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05));
    opacity: 0.8;
}

.phone-screen {
    position: absolute;
    inset: 12px;
    border-radius: 30px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    overflow: hidden;
}

.phone-screen::after {
    content: "";
    position: absolute;
    inset: -40px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.28), transparent 45%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.14), transparent 55%);
    opacity: 0.8;
}

.phone-logo {
    position: absolute;
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.22));
    z-index: 2;
}

.phone-lines {
    position: absolute;
    left: 50%;
    top: 56%;
    transform: translateX(-50%);
    width: 78%;
    height: 26px;
    z-index: 2;
    background:
        linear-gradient(#fff,#fff) 0 6px/100% 1px no-repeat,
        linear-gradient(#fff,#fff) 0 13px/72% 1px no-repeat,
        linear-gradient(#fff,#fff) 0 20px/86% 1px no-repeat;
    opacity: 0.55;
}

.phone-app-icons {
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translateX(-50%);
    width: 90%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    z-index: 2;
}

.app-icon {
    width: 46%;
    height: 54px;
    border-radius: 16px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.16);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
}

.app-icon-shape {
    display: inline-flex;
    width: 26px;
    height: 26px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: rgba(255,255,255,0.95);
    background: rgba(25, 135, 84, 0.22);
}

.app-icon-label {
    color: rgba(255,255,255,0.92);
    font-size: 12px;
    font-weight: 700;
}

.phone-bottom {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 90%;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.phone-badge {
    flex: 1;
    height: 44px;
    border-radius: 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 12px;
    color: rgba(255,255,255,0.95);
}

.phone-badge-emoji {
    font-size: 16px;
    line-height: 1;
}

.phone-badge-text {
    font-size: 12px;
    font-weight: 800;
}

.phone-badge-heart { box-shadow: 0 0 0 1px rgba(198, 92, 92, 0.15) inset; }
.phone-badge-check { box-shadow: 0 0 0 1px rgba(25, 135, 84, 0.18) inset; }

/* Floating + small surrounding elements */
.phone {
    animation: floaty 4.6s ease-in-out infinite;
}

@keyframes floaty {
    0%,100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.mini-element {
    position: absolute;
    opacity: 0.35;
    filter: blur(0px);
    color: rgba(255,255,255,0.95);
    font-weight: 900;
    font-size: 18px;
}

.mini-chat { right: 10px; top: 64px; transform: rotate(-12deg); }
.mini-check { left: 6px; top: 190px; opacity: 0.28; font-size: 16px; }
.mini-smile { right: 0px; top: 240px; opacity: 0.26; font-size: 18px; }
.mini-star { left: 12px; bottom: 64px; opacity: 0.22; font-size: 18px; }

/* Responsive */
@media (max-width: 991.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 5vh;
        padding-bottom: 5vh;
        text-align: left;
    }

    .phone-stage {
        min-height: 340px;
    }

    .phone {
        width: min(320px, 100%);
    }

    .mini-chat { right: 8px; top: 52px; }
    .mini-check { top: 160px; }
    .mini-smile { top: 205px; }
    .mini-star { bottom: 52px; }

    .hero-title {
        font-size: clamp(2.1rem, 5.2vw, 2.9rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 92vh;
    }

    .hero-grid {
        padding-top: 4vh;
        padding-bottom: 4vh;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 2.6rem); /* ~38-44px */
        letter-spacing: -0.2px;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .btn-survey {
        width: fit-content;
        padding: 0.9rem 1.35rem;
    }

    .phone-stage {
        min-height: 300px;
    }

    .phone {
        width: min(280px, 100%);
        transform: rotate(4deg);
    }
}

/* BREADCRUMB */

.breadcrumb { background: transparent; padding: 1rem 0; }
.breadcrumb-item a { color: #6c757d; text-decoration: none; transition: color 0.3s ease; }
.breadcrumb-item a:hover { color: #28a745; }
.breadcrumb-item.active { color: #28a745; font-weight: 600; }


/* CARDS */
.content-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e0e0e0;
    background: white;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.15);
}

.sidebar-card {
    position: sticky;
    top: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.sidebar-card .card-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1.25rem;
    font-weight: 700;
}

.list-group-item {
    border: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.list-group-item:hover {
    background-color: rgba(40, 167, 69, 0.05);
    border-left-color: #28a745;
    transform: translateX(5px);
}

.list-group-item.active {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-left-color: #20c997;
    font-weight: 600;
}

.info-box {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 16px;
    padding: 1.5rem;
    border-left: 5px solid #28a745;
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateX(8px);
    box-shadow: -5px 5px 15px rgba(40, 167, 69, 0.2);
}

.maklumat-title {
    font-weight: 800;
    color: #28a745;
    letter-spacing: -0.2px;
}

.maklumat-paragraph {
    font-size: 1.05rem;
    line-height: 1.95;
    color: #374151;
}

.publikasi-ikm-grid img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

html { scroll-behavior: smooth; }

/* LOGO OVERLAY */
.hero-logo-overlay {
    position: absolute;
    z-index: 4;
    right: 10%;
    top: 29%;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 16px 40px rgba(0,0,0,0.18);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-logo-overlay img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .hero-logo-overlay { right: 8%; top: 30%; width: 74px; height: 74px; }
    .hero-content { padding-top: 14vh; }
}
