.bg-neuro {
            position: relative;
            overflow: hidden;
            background:
                radial-gradient(circle at 99% 87%, rgba(255, 200, 80, 0.9) 0%, rgba(255, 180, 50, 0.5) 12%, rgba(255, 150, 0, 0.2) 29%, transparent 58%),
                linear-gradient(120deg, rgba(24, 22, 69, 1) 0%, rgba(82, 81, 116, 1) 36%, rgba(121, 120, 147, 1) 62%, rgba(24, 22, 69, 1) 100%);
            background-size: 150% 150%, 220% 220%;
            background-position: 92% 86%, 0% 50%;
        }

        .bg-neuro::before {
            content: "";
            position: absolute;
            inset: -24%;
            z-index: 0;
            pointer-events: none;
            opacity: 0.72;
            /* Static smoke: removing blur avoids a large composited layer during scroll/resize. */
            background:
                radial-gradient(ellipse at 18% 72%, rgba(96, 215, 255, 0.32) 0%, rgba(96, 215, 255, 0.15) 18%, transparent 42%),
                radial-gradient(ellipse at 72% 28%, rgba(252, 193, 15, 0.36) 0%, rgba(252, 193, 15, 0.16) 22%, transparent 48%),
                radial-gradient(ellipse at 46% 54%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 18%, transparent 46%);
            transform: translate3d(-4%, 2%, 0) rotate(0deg) scale(1.03);
        }

        .bg-neuro > * {
            position: relative;
            z-index: 1;
        }

        @keyframes neuroHeroGradient {
            0% {
                background-position: 92% 86%, 0% 50%;
            }

            50% {
                background-position: 78% 76%, 100% 48%;
            }

            100% {
                background-position: 98% 70%, 35% 54%;
            }
        }

        @keyframes neuroHeroSmoke {
            0% {
                transform: translate3d(-5%, 4%, 0) rotate(-4deg) scale(1.02);
            }

            50% {
                transform: translate3d(4%, -3%, 0) rotate(3deg) scale(1.08);
            }

            100% {
                transform: translate3d(8%, 2%, 0) rotate(-2deg) scale(1.04);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .bg-neuro,
            .bg-neuro::before {
                animation: none;
            }
        }
        
        .bg-neuro h1, .bg-neuro h2, .bg-neuro h3, .bg-neuro h4, .bg-neuro h5, .bg-neuro p {
            color: white !important;
        }

        .headerlogo-neuro {
            max-width: 150px;
        }
        
        .neuro-subtitle {
            font-size: 35px;
        }

        .girl-image {
            text-align: end;
            padding-top: 95px;
        }

        .girl-image img {
            bottom: 0px !important;
        }

        .girl-image .hero-doctors-image {
            width: min(680px, 47vw);
            max-width: none;
            transform: translateX(-24px);
        }
        

        .feedback-card {
            max-width: 448px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
            position: relative;
            padding: 0 24px 24px 24px;
            padding-top: 16px;
            margin-top: 30px;
            height: 100%;
        }

        .feedback-text {
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        .read-more-btn {
            background: none;
            border: none;
            color: #000000;
            font-size: 14px;
            font-weight: bold;
            text-decoration: none;
            padding: 0;
            cursor: pointer;
            transition: all 0.2s;
        }

        .read-more-btn:hover {
            color: #181645;
            text-decoration: underline;
        }

        .user-profile {
            display: flex;
            align-items: start;
            gap: 12px;
            margin-top: 33px;
            padding-right: 9px;
            padding-top: 1px;
        }

        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }

        .user-info h3 {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 2px;
        }

        .user-info p {
            font-size: 12px;
            color: #6c757d;
            margin-bottom: 8px;
        }

        .star-rating {
            display: flex;
            gap: 4px;
        }

        .star {
            color: #ffc107;
            font-size: 16px;
        }

        .star.empty {
            color: #d1d5db;
        }

        .logo-testi {
            position: absolute;
            bottom: 24px;
            right: 24px;
            width: 48px;
            height: 48px;
            opacity: 0.8;
        }

        /* Modal Styles */
        .modal-backdrop-custom {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 1050;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }

        .modal-backdrop-custom.show {
            display: flex;
        }

        .modal-content-custom {
            background: white;
            border-radius: 8px;
            max-width: 672px;
            width: 100%;
            position: relative;
            padding: 24px;
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: none;
            border: none;
            font-size: 24px;
            color: #6c757d;
            cursor: pointer;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s;
        }

        .modal-close:hover {
            background-color: #f8f9fa;
        }

        .modal-user-profile {
            display: flex;
            align-items: start;
            gap: 12px;
            margin-bottom: 24px;
        }

        .modal-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
        }

        .modal-user-info h3 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .modal-user-info p {
            font-size: 14px;
            color: #6c757d;
            margin-bottom: 8px;
        }

        .modal-feedback-text {
            font-size: 14px;
            line-height: 1.6;
        }

        .testimonial-card-items {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .two-line {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            max-width: 250px;
        }

        .testimonial-card-items p {
            flex-grow: 1;
            /* teks mengisi ruang atas */
        }

        .client-info-wrapper {
            margin-top: auto;
            /* paksa selalu di bawah */
        }

        .client-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-size: cover;
            background-position: center;
            flex-shrink: 0;
        }

        .client-info {
            display: flex;
            align-items: center;
        }

        .announcement-section {
            position: relative;
            background: linear-gradient(135deg, #e8f7f1, #ffffff);
            border: 2px dashed #4caf93;
            border-radius: 24px;
            padding: 60px 20px;
            overflow: hidden;
        }

        /* efek bubble dekoratif */
        .announcement-section::before {
            content: "";
            position: absolute;
            width: 180px;
            height: 180px;
            background: rgba(76, 175, 147, 0.15);
            border-radius: 50%;
            top: -60px;
            left: -60px;
        }

        .announcement-section::after {
            content: "";
            position: absolute;
            width: 140px;
            height: 140px;
            background: rgba(52, 168, 83, 0.15);
            border-radius: 50%;
            bottom: -50px;
            right: -50px;
        }

        /* biar konten di atas dekorasi */
        .announcement-section .container {
            position: relative;
            z-index: 2;
        }


        /* Mobile layout */
        @media (max-width: 992px) {
            .client-info {
                flex-direction: column;
                align-items: flex-start;
            }

            /* Teks (nama & universitas) tampil dulu */
            .client-info .content {
                order: 1;
                margin-bottom: 6px;
            }

            /* Foto setelah teks */
            .client-info .client-img {
                order: 2;
            }

            /* Biar tidak terlalu besar di HP */
            .client-img {
                width: 50px;
                height: 50px;
                border-radius: 50%;
                background-size: cover;
                background-position: center;
            }

            .client-info .content h3 {
                font-size: 14px !important;
            }

            .client-info .content span {
                font-size: 12px !important;
            }

            .star i {
                font-size: 11px;
            }
        }




        /* Untuk mobile, bisa diperkecil biar proporsional */
        @media (max-width: 576px) {
            .client-img {
                width: 50px;
                height: 50px;
            }
        }

        @media (max-width: 768px) {
            .feature-wrapper {
                display: flex;
                flex-direction: column;
                gap: 18px;
                background: #dbecee;
                padding: 20px;
                border-radius: 18px;
            }

            .feature-box-items {
                display: flex;
                align-items: center;
                gap: 14px;
            }

            .feature-box-items .icon {
                width: 55px;
                height: 55px;
                border-radius: 12px;
                background: #17174a;
                color: #fff;
                flex-shrink: 0;
            }

            .feature-box-items .icon i {
                font-size: 20px;
            }

            .feature-box-items .content h3 {
                font-size: 15px;
                margin-bottom: 4px;
            }

            .feature-box-items .content p {
                font-size: 13px;
                line-height: 1.4;
                margin: 0;
            }
        }


        @media (max-width: 992px) {

            .feature-wrapper {
                display: block !important;
                padding: 20px;
                background: #dbecee;
                border-radius: 20px;
            }

            .feature-box-items {
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                gap: 16px;
                margin-bottom: 18px;
                text-align: left !important;
            }

            .feature-box-items .icon {
                width: 64px !important;
                height: 64px !important;
                min-width: 64px;
                border-radius: 16px;
                background: #17174a;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }

            .feature-box-items .content {
                text-align: left !important;
            }

            .feature-box-items .content h3 {
                font-size: 16px;
                margin-bottom: 4px;
            }

            .feature-box-items .content p {
                font-size: 13px;
                line-height: 1.4;
                margin: 0;
            }
        }

       

        @media (max-width: 1399px) {

            /* .container, .container-lg, .container-md, .container-sm, .container-xl {
                max-width: 1140px;
            } */
            .contact-info-area {
                justify-content: center;
            }

            /* .main-menu {
                display: none;
            } */

            

        }

        @media (max-width: 767px) {

            /* .container, .container-lg, .container-md, .container-sm, .container-xl {
                max-width: 1140px;
            } */
            .contact-info-area {
                justify-content: left;
            }

        }

        @media (max-width: 991px) {

            .bg-neuro {
                background:
                    radial-gradient(circle at 50% 87%, rgba(255, 200, 80, 0.9) 0%, rgba(255, 180, 50, 0.5) 12%, rgba(255, 150, 0, 0.2) 29%, transparent 58%),
                    linear-gradient(120deg, rgba(24, 22, 69, 1) 0%, rgba(82, 81, 116, 1) 36%, rgba(121, 120, 147, 1) 62%, rgba(24, 22, 69, 1) 100%);
                background-size: 155% 155%, 220% 220%;
                background-position: 50% 87%, 0% 50%;
            }

            .hero-1 .girl-image img {
                width: 100%;
            }

            .girl-image .hero-doctors-image {
                width: min(620px, 92vw);
                max-width: 100%;
                transform: none;
            }

            .girl-image {
                padding-top: 0;
            }

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

            .header-1 .header-main:before {
                width: 50%;
                height: 86px;
            }

            .header-1 .header-main:after {
                width: 250px;
                height: 89px;
                width: 0px;
            }

        }

        @media (min-width: 992px) {
            .hero-1 h1 {
                font-size: 24px;
                line-height: 1.05;
            }

            .hero-1 {
                min-height: clamp(620px, 53vw, 760px);
                height: auto;
            }
        }

        @media (max-width: 436px) {

            .headerlogo-neuro {
                max-width: 110px !important;
                margin-top: 10px !important;
                top: 10px !important;
            }

        }

        @media (max-width: 1024px) and (min-width: 992px) {
            .hero-1 .girl-image img {
                right: 74px;
            }

            .girl-image .hero-doctors-image {
                width: min(560px, 52vw);
                transform: translateX(-30px);
            }

            .girl-image {
                padding-top: 110px;
            }

            .hero-1 h1 {
                font-size: 29px;
            }

            .hero-1 {
                min-height: clamp(620px, 72vw, 760px);
                height: auto;
            }

            .hero-1 {
                font-size: 25px;
            }

            .neuro-subtitle {
                font-size: 18px;
            }
        }

        @media (min-width: 1366px) {

            /* .container, .container-lg, .container-md, .container-sm, .container-xl {
                max-width: 1140px;
            } */
            

            .under-hero {
                max-width: 100%;
            }

            

            .hero-section {
                margin-top: -5px;
            }

            .book-slider-wrapper {
                position: relative;
            }

            /* kiri */
            .book-slider-wrapper::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100px;
                height: 100%;
                z-index: 10;
                pointer-events: none;

                background: linear-gradient(to right, #fff, transparent);
            }

            /* kanan */
            .book-slider-wrapper::after {
                content: "";
                position: absolute;
                top: 0;
                right: 0;
                width: 100px;
                height: 100%;
                z-index: 10;
                pointer-events: none;

                background: linear-gradient(to left, #fff, #fff, transparent);
            }

        }

        @media (min-width: 1400px) {
            .testimonial-section .container {
                max-width: 1200px;
            }
        }

        .shop-button .theme-btn {
            background: #181645 !important;
            color: white !important;
        }

        .shop-button .theme-btn:hover {
            color: #181645 !important;
        }

        .social-icon a:hover {
            background-color: #FCC10F !important;
            color: #181645 !important;
        }

        @media screen and (min-width: 416px) and (max-width: 600px) {
            .shop-box-items .book-thumb {
                height: 400px !important;
                object-fit: cover;
            }
        }

        @media screen and (min-width: 370px) and (max-width: 415px) {
            .shop-box-items .book-thumb {
                height: 360px !important;
                object-fit: cover;
            }
        }


/* Landing news cards */
.news-section {
    background: #f7f7f8;
}

.news-section .section-title {
    margin-bottom: 38px;
}

.neuro-news-grid > [class*="col-"] {
    display: flex;
}

@media (min-width: 1200px) {
    .neuro-news-grid > .col-xl-3:nth-last-child(3):nth-child(4n + 1),
    .neuro-news-grid > .col-xl-3:nth-last-child(3):nth-child(4n + 1) ~ .col-xl-3 {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

.news-card-items.neuro-news-card {
    width: 100%;
    height: 100%;
    margin-top: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(24, 22, 69, 0.08);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-card-items.neuro-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 24px rgba(24, 22, 69, 0.12);
}

.neuro-news-card .neuro-news-image {
    height: 190px;
    border-radius: 14px;
    overflow: hidden;
    background: #ececf1;
}

.neuro-news-card .neuro-news-image img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    inset: auto !important;
    z-index: auto !important;
    padding: 0 !important;
    -webkit-filter: none !important;
    filter: none !important;
    transform: none !important;
    transition: transform .25s ease;
}

.neuro-news-card:hover .neuro-news-image img,
.news-card-items.neuro-news-card:hover .news-image img:first-child {
    opacity: 1 !important;
    -webkit-filter: none !important;
    filter: none !important;
    transform: scale(1.025) !important;
}

.neuro-news-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #181645;
    font-size: 34px;
}

.neuro-news-card .neuro-news-content {
    padding: 22px 0 2px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.neuro-news-card .neuro-news-meta {
    width: 100%;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #4d5069;
    font-size: 14px;
}

.neuro-news-card .neuro-news-meta li {
    margin: 0;
    white-space: nowrap;
}

.neuro-news-card .neuro-news-meta i {
    margin-right: 6px;
    color: #181645;
}

.neuro-news-card .neuro-news-title {
    margin: 0 0 20px;
    font-size: 19px;
    line-height: 1.38;
    font-weight: 700;
    flex: 1;
}

.neuro-news-card .neuro-news-title a {
    color: #181645;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.neuro-news-card .neuro-news-title a:hover {
    color: #181645;
}

.neuro-news-button {
    width: fit-content;
    min-height: 42px;
    padding: 10px 17px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: #181645;
    color: #fff !important;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(24, 22, 69, 0.18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.neuro-news-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(24, 22, 69, 0.24);
}

@media (min-width: 1200px) {
    .news-section .container {
        max-width: 1320px;
    }
}

@media (max-width: 1199px) {
    .neuro-news-card .neuro-news-image {
        height: 210px;
    }
}

@media (max-width: 767px) {
    .news-section .section-title {
        margin-bottom: 26px;
    }

    .news-card-items.neuro-news-card {
        padding: 14px;
    }

    .neuro-news-card .neuro-news-image {
        height: 230px;
    }

    .neuro-news-card .neuro-news-content {
        padding-top: 18px;
    }
}

@media (max-width: 480px) {
    .neuro-news-card .neuro-news-image {
        height: 200px;
    }

    .neuro-news-card .neuro-news-meta {
        font-size: 13px;
        gap: 8px;
    }

    .neuro-news-card .neuro-news-title {
        font-size: 18px;
    }
}


/* Landing feature highlights: keep all four items balanced on desktop. */
@media (min-width: 993px) {
    .feature-section .feature-wrapper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: center;
        gap: 28px;
        padding: 24px 30px;
    }

    .feature-section .feature-box-items {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 18px;
        margin: 0;
        padding: 0 !important;
        border: 0 !important;
    }

    .feature-section .feature-box-items .icon {
        width: 76px;
        height: 76px;
        min-width: 76px;
        flex: 0 0 76px;
    }

    .feature-section .feature-box-items .content {
        min-width: 0;
    }

    .feature-section .feature-box-items .content h3 {
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .feature-section .feature-box-items .content p {
        margin: 0;
        line-height: 1.35 !important;
    }
}

@media (min-width: 993px) and (max-width: 1199px) {
    .feature-section .feature-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Refine feature highlight alignment after longer marketing copy. */
@media (min-width: 1200px) {
    .feature-section .feature-wrapper {
        align-items: stretch;
        gap: 24px;
        padding: 30px 32px;
    }

    .feature-section .feature-box-items {
        align-items: flex-start;
        gap: 16px;
    }

    .feature-section .feature-box-items .icon {
        width: 70px;
        height: 70px;
        min-width: 70px;
        flex-basis: 70px;
        margin-top: 2px;
    }

    .feature-section .feature-box-items .content h3 {
        min-height: 38px;
        margin: 0 0 7px;
        display: flex;
        align-items: flex-end;
        font-size: 16px !important;
        line-height: 1.18;
    }

    .feature-section .feature-box-items .content p {
        font-size: 13px !important;
        line-height: 1.38 !important;
    }
}
