:root {
    --primary-dark: #0B1F5B;
    --primary: #145BFF;
    --primary-light: #2CB7FF;
    --white: #FFFFFF;
    --light: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-400: #94A3B8;
    --gray-600: #475569;
    --gray-900: #0F172A;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 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);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-family);
    color: var(--gray-900);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container, .container-fluid {
    overflow-x: hidden;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-100);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

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

.btn-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

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

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

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1050;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-collapse {
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
}

@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
}

.brand-logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 20px;
}

/* Logo Sizes - Easy to Adjust! */
.logo-img {
    height: 60px; /* Ubah angka ini untuk ukuran logo navbar & footer */
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-img-admin {
    height: 100px; /* Ubah angka ini untuk ukuran logo admin login */
    width: auto;
    object-fit: contain;
}

/* Optional: Smaller logo on scroll for navbar */
.navbar.scrolled .logo-img {
    height: 60px !important; /* Ubah angka ini untuk ukuran logo saat di-scroll */
}

.brand-name {
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.3s ease;
    margin: 0 0.5rem;
    padding: 0.75rem 0.5rem !important;
}

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

@media (max-width: 991.98px) {
    .nav-link {
        margin: 0;
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid var(--gray-100);
    }
    .nav-link:last-of-type {
        border-bottom: none;
    }
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background-image: url('../images/logo/baground.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Hero Row Background - remove the row background now */
.hero-row-bg {
    position: relative;
    padding: 0;
    margin: 0;
}

/* Dynamic Background Blobs */
.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: 0;
    animation: blobFloat 12s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    bottom: -50px;
    left: -50px;
    animation-delay: 4s;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 8s;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.05);
    }
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(44, 183, 255, 0.15) 0%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(20, 91, 255, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

@keyframes textShimmer {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
}

/* Modern Buttons */
.hero-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(20, 91, 255, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(20, 91, 255, 0.4);
}

.hero-btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.hero-btn-outline:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(20, 91, 255, 0.3);
}

.hero-btn-outline:hover::before {
    left: 0;
}

/* Illustration Wrapper */
.illustration-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration {
    position: relative;
    height: auto;
    min-height: 450px;
    max-width: 100%;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon {
    max-height: 350px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite, glow 4s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 20px rgba(20, 91, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 40px rgba(44, 183, 255, 0.5));
    }
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.illustration-card {
    position: absolute;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.illustration-card:hover {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 20px 50px rgba(20, 91, 255, 0.4);
}

.card-1 { 
    top: 5%; 
    left: 5%; 
    animation: floatCard 4s ease-in-out infinite; 
}

.card-2 { 
    top: 55%; 
    right: 5%; 
    animation: floatCard 5s ease-in-out infinite 0.5s; 
}

.card-3 { 
    bottom: 15%; 
    left: 15%; 
    animation: floatCard 4.5s ease-in-out infinite 1s; 
}

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

.illustration-main {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-main .hero-icon {
    max-height: 350px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite, glow 4s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

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

section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 91, 255, 0.1) 0%, rgba(44, 183, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

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

.client-logos {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.client-logos-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

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

.client-logo {
    min-width: 200px;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.accordion-button {
    border-radius: var(--radius);
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(20, 91, 255, 0.05) 0%, rgba(44, 183, 255, 0.05) 100%);
    color: var(--primary-dark);
}

.cta-card {
    box-shadow: var(--shadow-xl);
}

.footer-section {
    background: var(--gray-900);
}

.text-gray-400 {
    color: var(--gray-400);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
}

.page-section {
    padding-top: 180px !important; /* Sesuaikan angka ini agar konten tidak tertutup navbar */
    padding-bottom: 80px !important;
}

/* For sections that are not .page-section, add margin-top to clear navbar */
section:not(.hero-section) {
    padding-top: 80px;
    padding-bottom: 80px;
}

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