/* Hide console logs in browser (visual only) */
@media screen and (max-width: 1px) {
    .console-log-hidden {
        display: none !important;
    }
}

/* Performance optimizations for animations */
.review-section {
    padding: 1rem;
    background: linear-gradient(315deg, rgb(101 0 94) 3%, rgb(60 132 206) 38%, rgb(48 238 226) 68%, rgb(255 25 25) 98%);
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
    /* Force hardware acceleration */
    transform: translateZ(0);
    will-change: background-position;
}

.review-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0
}

.review-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start
}

.review-left {
    text-align: right;
    margin-top: 5rem;
    padding-right: 2rem;
    border-right: 1px solid #eee;
    
}

.review-icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: right;
    align-items: right
}

.review-icon img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 8px 16px rgb(0 124 186 / .3));
    /* Force hardware acceleration */
    transform: translateZ(0);
    will-change: transform, filter;
}

.review-icon:hover img {
    transform: scale(1.1) rotate(5deg) translateZ(0);
    filter: drop-shadow(0 12px 24px rgb(0 124 186 / .4))
}

.review-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f8f9fa;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: right
}

.review-heading .highlight {
    color: #FF0;
    position: relative
}

.review-heading .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #007cba, #0056b3);
    border-radius: 2px
}

.review-subtitle {
    font-size: 1.1rem;
    color: #f8f9fa;
    line-height: 1.6;
    margin: 0 auto;
    text-align: right
}

.review-right {
    position: relative
}

.review-cards-container {
    height: 500px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #007cba #e9ecef;
    border-radius: 1rem
}

.review-cards-container::-webkit-scrollbar {
    width: 8px
}

.review-cards-container::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px
}

.review-cards-container::-webkit-scrollbar-thumb {
    background: #007cba;
    border-radius: 10px
}

.review-cards-container::-webkit-scrollbar-thumb:hover {
    background: #0056b3
}

.review-card {
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / .12);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border: 2px solid #fff0;
    position: relative;
    max-width: 80%;
    margin-left: 5%;
    /* Force hardware acceleration for better performance */
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

.review-card:nth-child(even) {
    margin-left: 5%;
    transform: translateX(15px) translateZ(0)
}

.review-card:nth-child(odd) {
    margin-right: 5%;
    transform: translateX(-15px) translateZ(0)
}

.review-card:hover {
    transform: translateY(-8px) scale(1.02) translateZ(0);
    box-shadow: 0 20px 40px rgb(0 0 0 / .2);
    border-color: #007cba;
    z-index: 10
}

.review-card:last-child {
    margin-bottom: 0
}

.review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(0 0 0 / .1)
}

.reviewer-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px
}

.user-avatar {
    flex-shrink: 0
}

.user-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgb(0 0 0 / .1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    /* Force hardware acceleration */
    transform: translateZ(0);
    will-change: transform;
}

.user-avatar:hover img {
    transform: scale(1.1) translateZ(0);
    border-color: #007cba;
    box-shadow: 0 4px 12px rgb(0 124 186 / .3)
}

.user-details {
    flex: 1
}

.reviewer-name {
    font-size: .9rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 3px;
    display: block
}

.company-name {
    font-size: .8rem;
    color: #007cba;
    font-weight: 600;
    display: block
}

.star-rating {
    display: flex;
    gap: 2px;
    align-items: center
}

.star {
    width: 18px;
    height: 18px;
    background: #e90202;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    transition: all 0.3s ease
}

.star:hover {
    transform: scale(1.2);
    background: orange
}

.review-content {
    font-size: .8rem;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.5;
    font-style: italic
}

.review-card:nth-child(1) {
    background-color: #FFE4B5
}

.review-card:nth-child(2) {
    background-color: #E6F3FF
}

.review-card:nth-child(3) {
    background-color: #FFFACD
}

.review-card:nth-child(4) {
    background-color: #F0F8FF
}

.review-card:nth-child(5) {
    background-color: #FFF0F5
}

.review-card:nth-child(6) {
    background-color: beige
}

.review-card:nth-child(7) {
    background-color: #E8F5E8
}

@media (max-width:1024px) {
    .review-layout {
        grid-template-columns: 1fr;
        gap: 40px
    }
    .review-left {
        padding-right: 0;
        border-right: none;
        order: 2
    }
    .review-right {
        order: 1
    }
    .review-heading {
        font-size: 1.75rem
    }
    .review-card:nth-child(even),
    .review-card:nth-child(odd) {
        margin-left: 0;
        margin-right: 0;
        transform: none;
        max-width: 100%
    }
}

@media (max-width:768px) {
    .review-section {
        padding: 0rem
    }
    .review-layout {
        display: block
    }
    .review-heading {
        font-size: 1.6rem
    }
    .review-subtitle {
        font-size: 1rem
    }
    .review-cards-container {
        height: 400px
    }
    .review-card {
        padding: 30px;
        margin-bottom: 15px
    }
    .review-top {
        font-size: .8rem
    }
    .review-left {
        margin: 0rem;
        padding: 2rem 0rem;
        text-align: left !important
    }
    .review-bottom {
        font-size: .9rem
    }
    .review-section .container {
        padding: 0 15px;
        display: block !important
    }
    .review-heading {
        font-size: 1.5rem
    }
    .review-icon img {
        width: 60px;
        height: 60px
    }
    .review-card {
        padding: 30px;
        margin-bottom: 15px
    }
    .review-cards-container {
        height: 350px
    }
    .review-icon {
        justify-content: center
    }
    .review-heading {
        text-align: center
    }
    .review-subtitle {
        text-align: left
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) translateZ(0)
    }
    to {
        opacity: 1;
        transform: translateX(-20px) translateZ(0)
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px) translateZ(0)
    }
    to {
        opacity: 1;
        transform: translateX(20px) translateZ(0)
    }
}

.review-card:nth-child(odd) {
    animation: slideInFromLeft 0.8s ease forwards
}

.review-card:nth-child(even) {
    animation: slideInFromRight 0.8s ease forwards
}

.review-card:nth-child(1) {
    animation-delay: 0.1s
}

.review-card:nth-child(2) {
    animation-delay: 0.2s
}

.review-card:nth-child(3) {
    animation-delay: 0.3s
}

.review-card:nth-child(4) {
    animation-delay: 0.4s
}

.review-card:nth-child(5) {
    animation-delay: 0.5s
}

.review-card:nth-child(6) {
    animation-delay: 0.6s
}

.review-card:nth-child(7) {
    animation-delay: 0.7s
}

.review-card:hover .review-top {
    color: #007cba
}

.review-card:hover .review-bottom {
    color: #1a252f
}

.review-card:focus {
    outline: 3px solid #007cba;
    outline-offset: 2px
}

.review-image img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease
}

.review-image img[loading="lazy"].loaded {
    opacity: 1
}

.mitra-carousel-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 2rem
}

.mitra-carousel-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

.mitra-header {
    text-align: center;
    margin-bottom: 1rem
}

.mitra-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2
}

.mitra-header h2 .highlight {
    color: #007cba;
    position: relative
}

.mitra-header h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #007cba, #0056b3);
    border-radius: 2px
}

.mitra-header p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto
}

.mitra-carousel {
    overflow: hidden;
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / .1)
}

.mitra-carousel-body {
    display: flex;
    gap: 2rem;
    transition: transform 0.7s ease;
    animation: scrollCarousel 30s linear infinite;
    width: max-content
}

.mitra-carousel-body:hover {
    animation-play-state: paused
}

.mitra-carousel-slide {
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    flex-shrink: 0;
    width: 178px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgb(0 0 0 / .08);
    transition: all 0.3s ease;
    border: 2px solid #fff0
}

.mitra-carousel-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgb(0 0 0 / .15);
    border-color: #007cba
}

.mitra-carousel-slide img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(100%)
}

.mitra-carousel-slide:hover img {
    filter: grayscale(0%)
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(-50%)
    }
}

@media (max-width:768px) {
    .mitra-carousel-section {
        padding: 3rem 0
    }
    .mitra-header h2 {
        font-size: 2rem
    }
    .mitra-header p {
        font-size: 1rem
    }
    .mitra-carousel {
        padding: 1.5rem
    }
    .mitra-carousel-slide {
        width: 150px;
        height: 75px;
        padding: 1rem
    }
    .mitra-carousel-body {
        gap: 1.5rem
    }
}

@media (max-width:480px) {
    .mitra-carousel-section .container {
        padding: 0 15px
    }
    .mitra-header h2 {
        font-size: 1.8rem
    }
    .mitra-carousel {
        padding: 1rem
    }
    .mitra-carousel-slide {
        width: 120px;
        height: 60px;
        padding: .8rem
    }
    .mitra-carousel-body {
        gap: 1rem
    }
}

.cara-melamar-section {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem
}

.cara-melamar-section .container {
    max-width: 1200px;
    margin: 0 auto
}

.pasang-iklan-selengkapnya {
    text-align: right
}

.pasang-iklan-selengkapnya a {
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-style: italic;
    text-decoration: underline
}

@keyframes gradient {
    0% {
        background-position: 0% 0%
    }
    50% {
        background-position: 100% 100%
    }
    100% {
        background-position: 0% 0%
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 3rem;
    background: #fff;
}

.faq-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: left;
    text-transform: capitalize;
    line-height: 1.4;
}
.faq-header .highlight {
    color: #007cba;
    position: relative;
    font-size: 1.1rem !important;
    border-bottom: 1px solid #007cba;
}

.faq-header h2 {
    text-align: left;
    text-transform: capitalize !important;
    font-weight: 600;
    font-size: 1rem !important;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
    padding: 0.8rem 1rem;
    font-size: 1rem !important;
}

.faq-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    align-items: start;
}

.faq-sidebar {
    background: #fff;
    border-radius: 15px;
    padding: 10px 0;
    box-shadow: 2px 20px 20px 20px rgb(0 0 0 / .08);
    position: sticky;
    top: 20px;
    margin-top: 2rem;
    margin-right: -2rem;
}

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

.faq-nav-item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    text-decoration: none;
    color: #6c757d;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.faq-nav-item:hover {
    background: #f8f9fa;
    color: #007cba;
    border-left-color: #007cba;
}

.faq-nav-item.active {
    background: #f0f8ff;
    color: #007cba;
    border-left-color: #007cba;
    font-weight: 600;
}

.faq-nav-icon {
    font-size: 1.2rem;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.faq-nav-text {
    font-size: .85rem;
    font-weight: 500;
}

.faq-content {
    background: linear-gradient(135deg, rgb(29 29 29 / .8) 0%, rgb(139 92 246 / .9) 100%);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    box-shadow: 4px 20px 20px 8px rgb(101 59 129 / .08);
    min-height: 35vh;
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

.faq-item {
    margin-bottom: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding:0.5rem 1.5rem;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    pointer-events: auto !important;
    user-select: none;
    position: relative;
    z-index: 10;
}

.faq-question:hover {
    color: #efb907;
}

.faq-chevron {
    font-size: .8rem;
    color: #FFF202;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: #f0f8ff;
}

.faq-answer {
    max-height: 0;
    transition: all 0.4s ease;
    padding: 0 40px;
    opacity: 0;
    transform: translateY(-10px);
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem !important;
}

/* Active FAQ item styles */
.faq-item.active .faq-answer {
    max-height: 500px !important;
    padding: 0 40px 25px 40px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
    visibility: visible !important;
}

/* Alternative selector for better specificity */
div.faq-item.active div.faq-answer {
    max-height: 500px !important;
    padding: 1rem 2rem !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
    visibility: visible !important;
}

.faq-answer p {
    margin: 0;
    color: #fff;
    line-height: 1.6;
    font-size: .85rem;
    padding-left: 1rem;
}

.faq-answer ol li {
    margin: 0;
    color: #fff;
    line-height: 1.6;
    font-size: .95rem;
    margin-left: 2rem;
}

.faq-answer ul li {
    margin: 0;
    color: #fff;
    line-height: 1.6;
    font-size: .95rem;
    margin-left: 2rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item.active .faq-answer {
    animation: slideDown 0.4s ease forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .faq-sidebar {
        position: static;
        order: 2;
    }
    
    .faq-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 20px;
    }
    
    .faq-nav-item {
        flex-shrink: 0;
        border-left: none;
        border-bottom: 4px solid transparent;
        padding: 15px 20px;
    }
    
    .faq-nav-item.active {
        border-left-color: transparent;
        border-bottom-color: #007cba;
    }
    
    .faq-content {
        order: 1;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .faq-sidebar {
        margin: 1.5rem 0;
    }
    
    .faq-layout {
        display: block;
    }
    
    .faq-question {
        padding: .5rem;
    }
    
    .faq-section {
        padding: 1rem 0 3rem 0;
    }
    
    .faq-content {
        padding: 25px;
    }
    
    .faq-answer {
        margin: 0 -25px;
        padding: 0 25px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 25px 20px 25px;
    }
    
    .faq-section .container {
        padding: 0 15px;
    }
    
    .faq-header h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .faq-content {
        padding: 20px;
    }
    
    .faq-answer {
        margin: 0 -20px;
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 18px 20px;
    }
    
    .faq-nav {
        display: block;
    }
    
    .faq-nav-item {
        padding: .5rem;
    }
    
    .faq-nav-item.active {
        border-left-color: transparent;
        border-bottom-color: #007cba;
    }
}