﻿/* ==========================================================================
   Global Variables & Root
   ========================================================================== */
:root {
    --primary: #E63223;
    --primary-dark: #C41E11;
    --primary-light: #FFECEB;
    --secondary: #1F2937;
    --text-main: #374151;
    --text-muted: #6B7280;
    --bg-main: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-dark: #111827;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-red: 0 10px 25px -5px rgba(230, 50, 35, 0.3);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Bootstrap 5 Overrides */
    --bs-primary: #E63223;
    --bs-primary-rgb: 230, 50, 35;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #FF6B5B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light-subtle {
    background-color: var(--bg-light) !important;
}

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

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

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

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary-gi {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-red);
}

.btn-primary-gi:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(230, 50, 35, 0.4);
}

.btn-outline-gi {
    background-color: transparent;
    color: var(--secondary);
    border: 1px solid #E5E7EB;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-gi:hover {
    border-color: var(--secondary);
    background-color: var(--bg-light);
    color: var(--secondary);
}

/* Filter button active state (portfolio page) */
.filter-btn.active {
    background-color: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-red);
}
.filter-btn.active:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

/* Bootstrap Primary Buttons Override */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

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

.btn-outline-primary:hover {
    color: white !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-nav-cta {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
#mainNavbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 15px 0;
}

#mainNavbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.98);
}

.brand-icon {
    display: inline-flex;
}

.brand-icon-box {
    background: white;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.brand-icon-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.brand-text {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 500;
}

.brand-text strong {
    font-weight: 800;
}

.navbar-nav .nav-link {
    color: var(--text-main);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 20px 0;
    }
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    .btn-nav-cta {
        display: inline-block;
        margin-top: 10px;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(230, 50, 35, 0.15);
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(37, 99, 235, 0.1);
}

.shape-3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-avatars {
    display: flex;
}

.stat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-left: -15px;
    box-shadow: var(--shadow-sm);
}

.stat-avatar:first-child {
    margin-left: 0;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .stat-divider {
        display: none;
    }
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(230, 50, 35, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.floating-badge {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.badge-code {
    top: 10%;
    left: 0;
    background: linear-gradient(135deg, #2563EB, #60A5FA);
    animation-delay: 0s;
}

.badge-star {
    bottom: 15%;
    right: 5%;
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    animation-delay: 2s;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-label {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-label i {
    margin-right: 4px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle top right, rgba(0,0,0,0.03) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
    transition: var(--transition);
}

.service-card:hover::before {
    background: radial-gradient(circle top right, rgba(230, 50, 35, 0.05) 0%, transparent 70%);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.icon-red { background-color: #FFEAE8; color: #E63223; }
.icon-blue { background-color: #EBF3FF; color: #2563EB; }
.icon-purple { background-color: #F3E8FF; color: #8B5CF6; }
.icon-orange { background-color: #FFF3E0; color: #F59E0B; }
.icon-green { background-color: #E8F5E9; color: #10B981; }
.icon-pink { background-color: #FCE7F3; color: #EC4899; }

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio-swiper-wrapper {
    position: relative;
    padding-bottom: 60px;
}

.portfolio-swiper-wrapper .swiper-slide {
    height: auto;
}

.portfolio-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-card-preview {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-mockup {
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-mockup {
    transform: scale(1.05);
}

.mockup-phone {
    width: 140px;
    height: 280px;
    background: #111;
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    border: 2px solid #333;
}

.mockup-phone::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 12px;
    background: #000;
    border-radius: 10px;
    z-index: 10;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.mockup-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.2) 0%, transparent 40%);
    pointer-events: none;
}

.mockup-laptop {
    width: 240px;
    height: 150px;
    background: #2a2a2a;
    border-radius: 8px 8px 0 0;
    padding: 6px 6px 15px 6px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
    border: 2px solid #444;
    border-bottom: none;
    margin-bottom: 12px; 
}

.mockup-laptop::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -20px;
    right: -20px;
    height: 12px;
    background: #1f1f1f;
    border-radius: 0 0 12px 12px;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.1), 0 10px 20px rgba(0,0,0,0.3);
}

.mockup-laptop::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #000;
    border-radius: 50%;
    z-index: 10;
}

.mockup-laptop .mockup-screen {
    border-radius: 4px;
    font-size: 2.5rem;
}

.portfolio-card-info {
    padding: 1.5rem;
    text-align: center;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-card-info h5 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.portfolio-type {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.swiper-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.swiper-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.swiper-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.swiper-pagination {
    position: relative;
    bottom: 0 !important;
    width: auto !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #D1D5DB;
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* ==========================================================================
   Stats & CTA Section
   ========================================================================== */
.stats-cta-section {
    padding: 0 0 100px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-cta-wrapper {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 3rem;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-value {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stat-suffix {
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-name {
    color: var(--text-muted);
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-weight: 500;
}

.cta-card-inner {
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary), #FF6B5B);
    padding: 4rem 3rem;
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cta-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+Cgk8cGF0aCBkPSJNMjAgMjBjNS41MjMgMCAxMC00LjQ3NyAxMC0xMHMtNC40NzctMTAtMTAtMTAtMTAgNC40NzctMTAgMTBTMTQuNDc3IDIwIDIwIDIwem0wIDJjNi42MjcgMCAxMi01LjM3MyAxMi0xMlMzMS42MjcgLTIgMjUgLTJzLTEyIDUuMzczLTEyIDEyIDUuMzczIDEyIDEyIDEyem0wIDJDNy44NSAyNCAtMiAxNC4xNSAtMiAyUzcuODUgLTIwIDIwIC0yMHMyMiA5Ljg1IDIyIDIyLTkuODUgMjItMjIgMjJ6bTAgMkMtMy4xOTYgMjYgLTIyIDcuMTk2IC0yMiAtMTRTMi01NCAyNSAtNTRzNDQgMTguODA0 NDQgNDAtMTguODA0IDQwLTQwIDQwem0wIDJjLTI2LjUxIDAtNDgtMjEuNDktNDgtNDhTMi03MiAyNS03MnM0OCAyMS40OSA0OCA0OC0yMS40OSA0OC00OCA0OHoiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSIgZmlsbC1ydWxlPSJldmVub2RkIi8+Cjwvc3ZnPg==') center center;
    opacity: 0.5;
}

.cta-card-inner h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-card-inner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-btn {
    align-self: flex-start;
    position: relative;
    z-index: 1;
    border-radius: var(--radius-md);
    padding: 0.75rem 2rem;
    font-weight: 600;
}

@media (max-width: 992px) {
    .stats-grid {
        padding: 2rem;
    }
    .cta-card-inner {
        padding: 3rem 2rem;
    }
}

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

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem;
    text-align: left;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E63223'%3E%3Cpath d='M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

.col-lg-4:last-child .process-card::before {
    display: none;
}

.process-card:hover, .process-card-active {
    box-shadow: var(--shadow-lg);
    border-color: rgba(230, 50, 35, 0.1);
    transform: translateY(-5px);
}

.process-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: var(--shadow-red);
    transition: var(--transition);
}

.process-card:hover .process-number,
.process-card-active .process-number {
    transform: scale(1.05);
}

.process-content {
    flex-grow: 1;
}

.process-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.process-card p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .process-card::before {
        display: none;
    }
    .process-card {
        margin-bottom: 2rem;
    }
}

/* ==========================================================================
/* ==========================================================================
   Klien Section (Infinite Marquee)
   ========================================================================== */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

/* Gradient masking for smooth fade on edges */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

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

.client-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    min-width: 200px;
    margin: 0 1.5rem; /* Replaces gap for perfect math in -50% translation */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,0,0,0.1);
}

.client-logo-wrap {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.client-logo-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.client-item:hover .client-logo-wrap {
    transform: scale(1.1);
}

.client-name {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.875rem;
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner-section {
    padding: 100px 0;
}

.cta-banner {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    overflow: hidden;
    color: white;
    box-shadow: var(--shadow-red);
}

.cta-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), #FF6B5B);
    z-index: 0;
}

.cta-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
}

.cta-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 0;
    max-width: 600px;
}

.cta-banner-btn {
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    color: var(--primary);
}

@media (max-width: 992px) {
    .cta-banner {
        text-align: center;
    }
    .cta-desc {
        margin: 0 auto 2rem;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
    background-color: var(--bg-dark);
    color: white;
    padding-top: 80px;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-desc {
    color: #9CA3AF;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #9CA3AF;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.25rem;
}

.footer-bottom {
    margin-top: 4rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #9CA3AF;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: white;
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
}

/* ==========================================================================
   TENTANG KAMI PAGE STYLES
   ========================================================================== */

/* Typography & Layouts */
.history-content p, .profile-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

/* Visi Misi Card */
.visimisi-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.visimisi-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.vm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.vm-icon.vm-icon-small {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    margin: 0;
}

.mission-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.mission-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.mission-list li::before {
    content: '\eb7b'; /* ri-check-line */
    font-family: 'remixicon';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Legality Timeline */
.legality-timeline {
    display: flex;
    flex-direction: column;
}

.legality-item {
    display: flex;
    align-items: stretch;
}

.legality-label {
    flex: 0 0 45%;
    text-align: right;
    padding: 1rem 1.5rem 1rem 0;
    font-weight: 800;
    color: #4a3e3d; /* Dark brown/red from screenshot */
    font-size: 0.95rem;
}

.legality-divider {
    flex: 0 0 40px;
    display: flex;
    justify-content: center;
    position: relative;
}

.legality-divider::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #A42525; /* Red line color */
    z-index: 1;
}

.legality-item:first-child .legality-divider::before {
    top: 1rem;
}
.legality-item:last-child .legality-divider::before {
    bottom: calc(100% - 1.5rem);
}

.legality-dot {
    width: 18px;
    height: 18px;
    background: #A42525;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    margin-top: 1.1rem;
}

.legality-value {
    flex: 1;
    padding: 1rem 0 1rem 1.5rem;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Expert Cards */
.expert-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.expert-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: rgba(230, 50, 35, 0.1);
}

.expert-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--secondary);
}

.expert-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .legality-item {
        flex-direction: column;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .legality-label {
        text-align: left;
        padding: 0 0 0.5rem 0;
        color: var(--primary);
    }
    
    .legality-divider {
        display: none;
    }
    
    .legality-value {
        padding: 0;
    }
}

/* Expert Large Cards (Modern Slider) */
.expert-modern-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.03);
    margin-bottom: 10px;
    margin-top: 10px;
}

.expert-avatar-modern {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #FF6B5B);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 5px solid white;
    box-shadow: var(--shadow-red);
    overflow: hidden;
}

.expert-avatar-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-name-modern {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-top: 1.25rem;
}

.expert-desc-modern {
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-light);
}

.expert-desc-modern .quote-icon {
    position: absolute;
    top: -20px;
    left: -15px;
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.6;
    z-index: 0;
}

.expert-desc-modern p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Custom Swiper Pagination for Experts */
.experts-pagination .swiper-pagination-bullet {
    width: 25px;
    height: 4px;
    border-radius: 2px;
    background: #E58E8B; /* light red */
    opacity: 1;
    transition: all 0.3s ease;
}

.experts-pagination .swiper-pagination-bullet-active {
    background: #C41E11; /* dark red */
    width: 35px;
}

/* Navbar Normal (White) */
.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
}

/* Glassmorphism Navbar (Scrolled) */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

