/* Custom Theme for Bantuindong - Purple Pink Theme */
:root {
    --primary: #8e44ad;
    --primary-light: #9b59b6;
    --primary-dark: #6c3483;
    --secondary: #e84393;
    --secondary-light: #fd79a8;
    --secondary-dark: #c2185b;
    --accent: #a29bfe;
    --text-primary: #333;
    --text-secondary: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --white: #ffffff;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* Override Bootstrap Primary Colors */
.bg-primary {
    background-color: var(--primary) !important;
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary-dark);
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Card Styling */
.card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card .card-body {
    padding: 1.5rem;
}

.card .fas, .card .far, .card .fab {
    color: var(--primary);
    transition: all 0.3s ease;
}

.card:hover .fas, .card:hover .far, .card:hover .fab {
    color: var(--secondary);
    transform: scale(1.1);
}

/* Hero Section Enhanced */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    color: white;
    padding: 3rem 0 2rem 0;
    position: relative;
    overflow: hidden;
    min-height: 85vh !important;
}

/* Background Elements */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(245, 87, 108, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(79, 172, 254, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.3), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: float 20s infinite linear;
    z-index: 1;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-10px) translateX(10px); }
    66% { transform: translateY(5px) translateX(-5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* Hero Content */
.hero-content {
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

/* Logo Responsive Styling */
.logo {
    max-width: 100%;
    height: auto;
    width: 350px;
    transition: all 0.3s ease;
}

/* Responsive Logo Sizes */
@media (max-width: 1200px) {
    .logo {
        width: 300px;
    }
}

@media (max-width: 992px) {
    .logo {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 250px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .logo {
        width: 200px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 180px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 360px) {
    .logo {
        width: 160px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
}

/* CTA Section Styling */
.cta-section {
    background: linear-gradient(135deg, #a259c6 0%, #f7b2e6 50%, #764ba2 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.6;
}

.download-buttons {
    gap: 1rem;
    margin-bottom: 0px !important;
    padding-bottom: 0px!important;
}

.download-link {
    transition: all 0.3s ease;
    display: inline-block;
}

.download-link:hover:not(.disabled) {
    transform: translateY(-3px);
}

.download-svg {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
    margin-bottom: 0px !important;
    padding-bottom: 0px!important;
}

.download-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.download-info {
    opacity: 0.9;
}

/* Partner Card Styling */
.partner-card {
    border: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95) !important;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(162, 89, 198, 0.2) !important;
}

.partner-icon {
    transition: all 0.3s ease;
}

.partner-card:hover .partner-icon {
    transform: scale(1.1);
}

.partner-title {
    font-size: 1.5rem;
}

.partner-description {
    line-height: 1.6;
}

.partner-benefits {
    background: rgba(162, 89, 198, 0.05);
    border-radius: 0.75rem;
    padding: 1rem;
}

.partner-benefits small {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Testimonial Slider Styles */
.testimonial-carousel {
    padding: 2rem 0;
    position: relative;
}

.testimonial-card {
    background: linear-gradient(135deg, #ffcaf5 0%, #ffffff 100%);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(162, 89, 198, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a259c6, #8b4aa8, #a259c6);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(252, 187, 255, 0.12);
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 30px;
    background: linear-gradient(135deg, #a259c6, #8b4aa8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(162, 89, 198, 0.3);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin: 2rem 0 2.5rem;
    font-style: italic;
    text-align: center;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(162, 89, 198, 0.1);
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #a259c6;
    box-shadow: 0 8px 20px rgba(162, 89, 198, 0.2);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.3rem;
}

.author-role {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 0.8rem;
    font-weight: 500;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-text {
    margin-left: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

/* Carousel Navigation */
.carousel-nav-btn {
    background: linear-gradient(135deg, #a259c6, #8b4aa8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(162, 89, 198, 0.3);
    transition: all 0.3s ease;
}

.carousel-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(162, 89, 198, 0.4);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 1;
}

.carousel-control-prev {
    left: -30px;
}

.carousel-control-next {
    right: -30px;
}

/* Carousel Indicators */
.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #a259c6;
    background: transparent;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: #a259c6;
    transform: scale(1.2);
}

/* Statistics Section */
.testimonial-stats {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(162, 89, 198, 0.1);
}

.stat-item {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #a259c6;
    margin: 0 0 0.5rem;
    background: linear-gradient(135deg, #a259c6, #8b4aa8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive CTA Section */
@media (max-width: 992px) {
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .download-svg {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 2.5rem 0;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .download-svg {
        width: 160px;
    }
    
    .partner-card {
        margin-top: 2rem;
    }
    
    /* Testimonial Responsive */
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .carousel-control-prev {
        left: -20px;
    }
    
    .carousel-control-next {
        right: -20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .download-buttons {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .download-svg {
        width: 140px;
    }
    
    .partner-title {
        font-size: 1.3rem;
    }
    
    /* Testimonial Mobile */
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
        margin: 1.5rem 0 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .author-avatar {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .download-svg {
        width: 120px;
    }
    
    .download-buttons {
        gap: 0.25rem;
    }
    
    .testimonial-card {
        padding: 1.2rem;
        margin: 0 0.5rem;
    }
    
    .quote-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        left: 20px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        margin: 1.2rem 0 1.5rem;
    }
}

@media (max-width: 360px) {
    .download-svg {
        width: 110px;
    }
    
    .testimonial-card {
        padding: 1rem;
        margin: 0 0.2rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
}

.text-gradient {
    background: linear-gradient(45deg, #ffffff 0%, #4facfe 30%, #f5576c 70%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem !important;
}

.text-accent {
    color: #4facfe !important;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem !important;
}

/* Download Section */
.download-section {
    margin-top: 1rem;
}

.app-category {
    margin-bottom: 1.5rem;
}

.category-header {
    margin-bottom: 0.75rem;
}

.category-header i {
    font-size: 1.2rem;
}

.download-buttons {
    gap: 1rem;
}

/* Enhanced Download Links */
.enhanced-download {
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
}

.enhanced-download:hover {
    transform: translateY(-8px) scale(1.05);
    filter: brightness(1.1);
}

.download-svg {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.download-badge {
    position: absolute;
    top: -2px;
    right: 0px;
    font-size: 0.8rem;
    padding: 0.3rem 0.3rem;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 6px 8px rgba(0,0,0,0.2);
    margin-top: 1rem !important;
}

.download-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.3), rgba(79, 172, 254, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    
}

.enhanced-download:hover .download-glow {
    opacity: 1;
}

/* Free Notice */
.free-notice {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-top: 1rem !important;
    padding: 1rem !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Mockup Container */
.mockup-container {
    position: relative;
    z-index: 5;
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.4) 0%, rgba(245, 87, 108, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.mockup-image {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float-mockup 6s ease-in-out infinite;
}

@keyframes float-mockup {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(79, 172, 254, 0.4), rgba(245, 87, 108, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    z-index: 15;
}

.floating-icon-1 {
    top: 15%;
    right: 15%;
    animation: float-1 4s ease-in-out infinite;
}

.floating-icon-2 {
    top: 55%;
    right: 25%;
    animation: float-2 5s ease-in-out infinite 1s;
}

.floating-icon-3 {
    top: 35%;
    left: 15%;
    animation: float-3 6s ease-in-out infinite 2s;
}

@keyframes float-1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(-180deg); }
}

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

/* Responsive */
.min-vh-75 {
    min-height: 75vh;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        /* justify */
        text-align: justify!important;
    }
    
    .download-svg {
        width: 130px !important;
    }
    
    .floating-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .mockup-image {
        max-height: 350px !important;
    }
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 48px;
    background: linear-gradient(90deg, #f7f3fa 0%, #fff 100%);
    border: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Rounded Section */
.rounded-section {
    border-radius: 2rem;
    box-shadow: 0 6px 32px rgba(142,68,173,0.07);
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
    z-index: 2;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 100px;
    padding-bottom: 80px;
}

/* Responsive for section spacing */
@media (max-width: 768px) {
    .rounded-section {
        border-radius: 1rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .section-divider {
        height: 24px;
    }
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
    background-color: rgba(142, 68, 173, 0.1);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(142, 68, 173, 0.25);
}

/* Statistics Section */
.stats-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stats-card .card-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 3rem 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-light);
    text-decoration: none;
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0 1.5rem 0;
        min-height: 80vh !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem !important;
    }
    
    .app-category {
        margin-bottom: 1rem;
    }
    
    .category-header {
        margin-bottom: 0.5rem;
    }
    
    .download-section {
        margin-top: 0.75rem;
    }
    
    .free-notice {
        margin-top: 0.75rem !important;
        padding: 0.75rem !important;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Timeline Section */
.cara-kerja-timeline-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #a259c6, #6f42c1);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
}

.timeline-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

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

.timeline-step-number {
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #a259c6, #6f42c1);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(162, 89, 198, 0.3);
    z-index: 2;
    border: 4px solid white;
}

.timeline-mockup {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 200px;
    height: 350px;
    background: #1a1a1a;
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.screen-header {
    background: linear-gradient(135deg, #a259c6, #6f42c1);
    color: white;
    padding: 15px 12px 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.search-bar, .location-header, .chat-header, .status-header, .payment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 20px;
}

.chat-header {
    background: rgba(255, 255, 255, 0.1);
    justify-content: flex-start;
}

.profile-pic {
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.screen-content {
    flex: 1;
    padding: 15px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-category {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 0.8rem;
}

.category-icon {
    font-size: 1rem;
}

.map-placeholder {
    height: 80px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.time-selector {
    display: flex;
    gap: 5px;
}

.time-option {
    flex: 1;
    padding: 6px 4px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-option.active {
    background: #a259c6;
    color: white;
}

.chat-bubble {
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    max-width: 80%;
    margin-bottom: 5px;
}

.chat-bubble.received {
    background: #f1f3f4;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chat-bubble.sent {
    background: #a259c6;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.progress-indicator {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-step {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.progress-step.completed {
    background: #d4edda;
    color: #155724;
}

.progress-step.active {
    background: #fff3cd;
    color: #856404;
}

.worker-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 0.75rem;
}

.worker-avatar {
    font-size: 1rem;
}

.payment-summary {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 10px;
}

.amount {
    font-size: 1.1rem;
    font-weight: bold;
    color: #a259c6;
    margin-bottom: 5px;
}

.payment-method {
    font-size: 0.8rem;
    color: #6c757d;
}

.rating-section {
    text-align: center;
    padding: 8px;
}

.stars {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.review-text {
    font-size: 0.7rem;
    color: #6c757d;
    font-style: italic;
}

.complete-button {
    background: #28a745;
    color: white;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
}

.timeline-text {
    flex: 1;
    padding: 2rem 2rem 2rem 4rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(162, 89, 198, 0.1);
    position: relative;
    border-top: 4px solid #a259c6;
    z-index: 2; /* Added z-index to place above the timeline line */
}

.timeline-text::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #a259c6;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 3; /* Added z-index to place circle above the timeline text */
}

/* timeline-text hover */
.timeline-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(162, 89, 198, 0.2);
}

.timeline-item .timeline-text::before {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-text::before {
    left: -12px;
    right: auto;
}

.timeline-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.timeline-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive adjustments for Timeline */
@media (max-width: 768px) {
    .cara-kerja-timeline-section {
        padding: 60px 0;
    }
    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-content {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 70px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        flex-direction: column !important;
    }
    
    .timeline-step-number {
        left: 30px;
        top: 30px;
        transform: translate(-50%, 0);
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .timeline-mockup {
        flex: none;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .phone-mockup {
        width: 180px;
        height: 320px;
        margin: 0 auto;
    }
    
    .timeline-text {
        padding: 1.5rem 1.5rem 1.5rem 2.5rem;
        width: 100%;
    }
    
    .timeline-text::before {
        display: none;
    }
    
    .timeline-title {
        font-size: 1.1rem;
    }
    
    .timeline-description {
        font-size: 0.9rem;
    }
}

/* Responsive Navbar */
@media (max-width: 991.98px) {
    .navbar .navbar-collapse {
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        border-radius: 0 0 15px 15px;
        padding: 1rem 0.5rem;
        margin-top: 0.5rem;
        box-shadow: 0 10px 20px rgba(142,68,173,0.10);
    }
    .navbar .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.2rem 0;
    }
    .navbar .d-flex {
        flex-direction: column;
        width: 100%;
    }
    .navbar form {
        margin-bottom: 1rem;
        width: 100%;
    }
    .nav-buttons {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 0.5rem;
    }
}