/* Modern Reset & Base Styles */
:root {
    --primary-color: #00D4FF;
    --secondary-color: #0A192F;
    --accent-color: #00A8E8;
    --text-primary: #FFFFFF;
    --text-secondary: #D3D3D3;
    --gradient-primary: linear-gradient(135deg, #00D4FF 0%, #00A8E8 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background: var(--secondary-color);
    color: var(--text-primary);
    overflow-x: hidden;
}












.navbar {
    background: transparent;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    animation: bluePurpleGradientChange 10s infinite; /* Durasi animasi: 3 detik */
    transition: color 0.3s ease;
}

.nav-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}


/* pc */
@media (min-width: 769px) {
    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:  linear-gradient(120deg, transparent 0%, transparent 50%, rgba(37, 99, 235, 0.1) 50%, rgba(37, 99, 235, 0.1) 100%);
        transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
        transform: translateX(-100%);
        z-index: 0;
    }

    .nav-link:hover::before {
        transform: translateX(0);
    }

    .nav-link span {
        position: relative;
        z-index: 1;
    }

    .nav-link:hover {
        color: #2563eb;
    }

    .nav-link:hover i {
        transform: translateY(-3px) rotate(-10deg);
    }

    .nav-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #2563eb, #6366f1);
        transition: width 0.3s ease, left 0.3s ease;
    }

    .nav-item:hover::after {
        width: 100%;
        left: 0;
    }
}

/* hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
    background-color: transparent;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    background-color: rgb(221, 243, 255);
    border-radius: 2px;
}

/* hp */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger:hover {
        background-color: rgba(37, 99, 235, 0.1);
        transform: scale(1.05);
    }

    .hamburger.active {
        transform: rotate(180deg);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-15px);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background: transparent;
        width: 300px;
        padding: 2rem;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0);
        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform: translateX(100px) scale(0.8);
        opacity: 0;
        pointer-events: none;
    }

    .nav-menu.active {
        right: 10px;
        transform: translateX(0) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-item {
        width: 100%;
        margin: 8px 0;
        transform: translateX(50px);
        opacity: 0;
        transition: all 0.5s ease;
    }

    .nav-menu.active .nav-item {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        background: rgba(195, 226, 246, 0.888);
        border: 1px solid rgba(37, 99, 235, 0.1);
        width: 100%;
        transition: all 0.3s ease;
    }

    /* hamburger active */
    .nav-link:hover {
        background: linear-gradient(135deg, rgb(183, 255, 238), rgba(136, 138, 247, 0.341));
        color: #2563eb;
        transform: translateX(10px);
        border-color: rgba(37, 99, 235, 0.3);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    }

    .nav-link:hover i {
        transform: translateX(5px) rotate(15deg);
        color: #2563eb;
    }

    /* animasi delay */
    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu.active .nav-item:nth-child(6) { transition-delay: 0.6s; }
    .nav-menu.active .nav-item:nth-child(7) { transition-delay: 0.7s; }

    /* animasi pu,ses */
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.02); }
        100% { transform: scale(1); }
    }

    .nav-link:active {
        animation: pulse 0.3s ease;
    }
}

/* halaman active */
.nav-link.active {
    color: #2563eb;
    background: linear-gradient(135deg, rgb(0, 255, 195), rgba(136, 138, 247, 0.341));
    font-weight: 600;
}

/* animasi pas scrolling */
html {
    scroll-behavior: smooth;
}


/* navbar pas scroll */
.navbar.scrolled {

background-color: rgba(0, 0, 0, 0.223);
backdrop-filter: blur(2px);

}

/* indikator animasi */
.scroll-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-indicator.visible {
    opacity: 1;
}

@keyframes bluePurpleGradientChange {
  0% {
      color: #1e3a8a; /* Biru Tua */
  }
  25% {
      color: #2563eb; /* Biru Sedang */
  }
  50% {
      color: #7c3aed; /* Ungu Tua */
  }
  75% {
      color: #a78bfa; /* Ungu Muda */
  }
  100% {
      color: #1e3a8a; /* Kembali ke Biru Tua */
  }
}









/* Particles Background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Services Section */
.services-section {
    position: relative;
    padding: 6rem 2rem;
    overflow: hidden;
    z-index: 2;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
}

#float1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
    animation: float 8s infinite alternate;
}

#float2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: -150px;
    right: -150px;
    animation: float 10s infinite alternate-reverse;
}

#float3 {
    width: 250px;
    height: 250px;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 6s infinite;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, 20px) rotate(10deg); }
}

@keyframes pulse {
    0% { transform: scale(1) translate(-50%, -50%); }
    50% { transform: scale(1.2) translate(-50%, -50%); }
    100% { transform: scale(1) translate(-50%, -50%); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.badge {
    background: var(--gradient-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 2rem;
    display: inline-block;
    color: var(--secondary-color);
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* service cards */
.service-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-content {
    position: relative;
    padding: 2.5rem;
    z-index: 2;
}

.card-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover .card-backdrop {
    opacity: 0.05;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--secondary-color);
}

.service-details h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-details ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-details ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.service-details ul li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 0.875rem;
}

.service-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* fitur card*/
.service-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 3;
}

/* button */
.service-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.service-button:hover {
    background: var(--gradient-primary);
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* CTA  */
.cta-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.cta-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* CTA - ini lanjutanua */
.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--secondary-color);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* responsive design */
@media screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .service-card.featured {
        transform: scale(1);
        grid-column: span 2;
    }
}

@media screen and (max-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        grid-column: auto;
    }
    
    .cta-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .cta-content {
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* animasi */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

.scale-in {
    animation: scaleIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}







/* Footer Styling */
.footer {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    color: #ccd6f6;
    padding: 60px 0;
    position: relative;
    z-index: 3;
  }
  
  .footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .footer-logo img {
    width: 50px;
    height: 50px;
  }
  
  .footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #64ffda;
  }
  
  .footer-links {
    display: flex;
    gap: 40px;
  }
  
  .footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .footer-column-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 12px;
  }
  
  .footer-link {
    color: #a8b2d1;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-link:hover {
    color: #64ffda;
  }
  
  .footer-social {
    display: flex;
    gap: 20px;
  }
  
  .social-icon {
    color: #a8b2d1;
    font-size: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .social-icon:hover {
    color: #64ffda;
    transform: scale(1.2);
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 40px;
    text-align: center;
    color: #8892b0;
  }
  
  /* Responsive Adjustments */
  @media only screen and (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
      gap: 40px;
      padding: 0 24px;
    }
  
    .footer-links {
      flex-direction: column;
      gap: 30px;
      align-items: center;
    }
  
    .footer-column {
      align-items: center;
    }
  
    .footer-social {
      justify-content: center;
    }
  }
  
  @media only screen and (max-width: 480px) {
    .footer {
      padding: 40px 0;
    }
  
    .footer-logo-text {
      font-size: 20px;
    }
  
    .footer-links {
      gap: 20px;
    }
  
    .social-icon {
      font-size: 20px;
    }
  }
  
    