:root {
    /* Custom Colors */
    --primary-navy: #011627;
    --primary-cyan: #38B5FE;
    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: #333;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Custom Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-cyan), #0093E9);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(56, 181, 254, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #289BDB, #007bb5);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(56, 181, 254, 0.4);
}

.btn-outline-custom {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    color: var(--primary-navy);
    border: 1.5px solid rgba(1, 22, 39, 0.1);
    font-weight: 600;
    padding: 13px 31px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-outline-custom:hover {
    background-color: var(--primary-navy);
    color: #fff;
    border-color: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(1, 22, 39, 0.2);
}

/* Navbar - Glassmorphism Light */
.navbar-custom {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-custom.navbar-scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.navbar-custom .navbar-brand {
    color: var(--primary-navy);
    font-size: 1.4rem;
    letter-spacing: 1px;
    line-height: 1.2;
    font-weight: 800;
}

.navbar-custom .navbar-brand span {
    color: #334155;
    font-weight: 600;
}

.navbar-custom .nav-link {
    color: var(--primary-navy);
    font-weight: 600;
    margin-left: 15px;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background-image: url('../assets/img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e2e8f0;
    padding: 80px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Semi-transparent overlay to ensure text is readable over the image details */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.82); /* Overlay kuat untuk fokus ke teks */
    z-index: -1;
    pointer-events: none;
}

.hero-section h1 {
    font-size: 3.6rem;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--primary-navy);
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.8);
    animation: fadeInDown 0.8s ease-out forwards;
}

.hero-section p {
    font-size: 1.15rem;
    color: #334155;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 500;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-section .d-flex {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

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

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

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: #f0f7fb; /* Biru sangat muda / icy blue */
}

.section-title {
    color: var(--primary-navy);
    margin-bottom: 60px;
    text-align: center;
    font-weight: 800;
}

.service-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: #fff;
    padding: 40px 30px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    color: var(--primary-cyan);
    margin-bottom: 24px;
    font-size: 40px;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin-bottom: 16px;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Skills Marquee Section */
.skills-section {
    padding: 70px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

/* Gradient fade on the left and right edges */
.marquee-container::before, 
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.marquee-content {
    display: inline-flex;
    animation: marquee 40s linear infinite;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 45px;
    color: #cbd5e1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-item i {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.tech-item span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tech-item:hover {
    color: var(--primary-cyan);
    transform: scale(1.1);
}

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

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: var(--primary-navy);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 22, 39, 0.85);
    color: white;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
    text-align: center;
    padding: 20px;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: var(--primary-cyan);
    margin-bottom: 12px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    font-size: 1.3rem;
}

.portfolio-overlay p {
    margin: 0;
    font-weight: 400;
    font-size: 0.95rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: var(--primary-navy);
    color: white;
    padding: 70px 0 30px;
}

.footer-logo {
    color: var(--primary-cyan);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-heading);
}

.footer p {
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer h5 {
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: 40px;
    text-align: center;
    color: #a0aec0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .hero-section {
        padding: 40px 15px 60px;
    }
}
/* Why Us Section Redesign */
.why-section {
    background-color: #fbfbfb;
    padding: 100px 0;
}
.why-badge {
    display: inline-block;
    background-color: rgba(0, 168, 204, 0.1);
    color: var(--primary-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.why-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 40px;
}
.why-desc-top {
    font-size: 1.25rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 50px;
}
.why-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(22, 43, 76, 0.05);
    color: var(--primary-cyan);
    border-radius: 8px;
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.why-feature-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 8px;
}
.why-feature-text {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}
.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    background-color: transparent;
    color: var(--primary-navy);
    padding: 10px 24px;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-outline-custom:hover {
    border-color: var(--primary-navy);
    color: var(--primary-navy);
    background-color: rgba(22, 43, 76, 0.02);
}
.btn-outline-custom i {
    margin-left: 10px;
    font-size: 0.9rem;
}
