/* ============================================================
   RALIABLE.ID — Custom Stylesheet
   Basis: Bootscore (Bootstrap 5) Child Theme
   Palet: Monokromatik, minimalis modern
============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ── Design Tokens ── */
:root {
    --rl-black:     #0c0c0c;
    --rl-dark:      #1a1a1a;
    --rl-dark-2:    #2d2d2d;
    --rl-gray:      #6b7280;
    --rl-gray-lt:   #9ca3af;
    --rl-border:    #e5e7eb;
    --rl-bg-light:  #f5f5f5;
    --rl-white:     #ffffff;
    --rl-section:   100px;
    --rl-radius:    3px;
    --rl-font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --rl-ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --rl-dur:       0.28s;
    --rl-transition: var(--rl-dur) var(--rl-ease);
}

/* ── Base Reset & Typography ── */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--rl-font);
    font-size: 1rem;
    color: var(--rl-dark);
    background: var(--rl-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; }
a:hover { color: inherit; }

img { max-width: 100%; height: auto; }

/* ── Scroll padding for fixed nav ── */
[id] { scroll-margin-top: 80px; }


/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */

.raliable-navbar {
    background: rgba(12, 12, 12, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: padding var(--rl-transition), box-shadow var(--rl-transition);
    z-index: 1050;
}

.raliable-navbar.navbar-scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

/* Logo */
.raliable-navbar .navbar-brand {
    padding: 0;
    line-height: 1;
}

.raliable-navbar .navbar-brand img,
.raliable-navbar .navbar-brand .custom-logo {
    height: 38px;
    width: auto;
    transition: opacity var(--rl-transition);
}

.raliable-navbar .navbar-brand:hover img { opacity: 0.8; }

/* Nav links */
.raliable-navbar .nav-link {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem !important;
    position: relative;
    transition: color var(--rl-transition);
}

.raliable-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0.85rem;
    right: 0.85rem;
    height: 1px;
    background: var(--rl-white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--rl-transition);
}

.raliable-navbar .nav-link:hover,
.raliable-navbar .nav-link.active {
    color: var(--rl-white) !important;
}

.raliable-navbar .nav-link:hover::after,
.raliable-navbar .nav-link.active::after {
    transform: scaleX(1);
}

/* CTA nav button */
.raliable-navbar .nav-cta {
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: var(--rl-radius);
    padding: 0.4rem 1.1rem !important;
}

.raliable-navbar .nav-cta:hover {
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: var(--rl-white) !important;
}

/* Mobile toggler */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.25);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2); }


/* ══════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════ */

.hero-section {
    min-height: 100vh;
    background-color: var(--rl-black);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Grid texture overlay */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

/* Diagonal lines (echo logo "/" motif) */
.hero-diag {
    position: absolute;
    top: -20%;
    bottom: -20%;
    width: 1px;
    transform: rotate(16deg);
    pointer-events: none;
}

.hero-diag-1 {
    right: 22%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.hero-diag-2 {
    right: 19.5%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.04), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 80px;
}

/* Label chip */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.hero-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

/* Heading */
.hero-heading {
    font-size: clamp(2.6rem, 6.5vw, 5.2rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--rl-white);
    margin-bottom: 1.5rem;
}

.hero-heading-accent {
    position: relative;
    display: inline-block;
    color: var(--rl-white);
}

.hero-heading-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
}

/* Sub text */
.hero-subtext {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* CTA buttons */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--rl-radius);
    border: 2px solid transparent;
    transition: var(--rl-transition);
    white-space: nowrap;
    line-height: 1;
}

.btn-hero-primary {
    background: var(--rl-white);
    color: var(--rl-black);
    border-color: var(--rl-white);
}

.btn-hero-primary:hover {
    background: transparent;
    color: var(--rl-white);
}

.btn-hero-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-hero-secondary:hover {
    border-color: var(--rl-white);
    color: var(--rl-white);
}

/* Scroll hint */
.hero-scroll-hint {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-scroll-hint span {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 1; }
}

/* Large logo mark (right side decorative) */
.hero-logo-mark {
    font-size: min(40vw, 380px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    letter-spacing: -0.12em;
    user-select: none;
    pointer-events: none;
    font-family: var(--rl-font);
}

/* ══════════════════════════════════════════
   HERO — GEOMETRIC SHAPES
══════════════════════════════════════════ */

/* Container untuk semua shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Base class */
.hs { position: absolute; }

/* ── Animasi ── */

/* Float naik-turun halus */
@keyframes hsFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* Rotasi sangat lambat */
@keyframes hsSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Pulse opacity */
@keyframes hsPulse {
    0%, 100% { opacity: 0.8; }
    50%       { opacity: 0.35; }
}

/* Wrapper yang menangani posisi + animasi float */
.hs-sq-wrap { }

.hs-float-1 { animation: hsFloat 7s ease-in-out infinite; }
.hs-float-2 { animation: hsFloat 9.5s ease-in-out infinite 1.8s; }
.hs-float-3 { animation: hsFloat 12s ease-in-out infinite 3.5s; }

/* ── Persegi / Rectangle ── */
.hs-sq {
    border: 1.5px solid rgba(255, 255, 255, 0.11);
    background: transparent;
}

/* Persegi latar belakang besar (sangat subtle, berputar pelan) */
.hs-sq-bg {
    width: 240px;
    height: 240px;
    top: 28%;
    right: 14%;
    border-color: rgba(255, 255, 255, 0.04);
    border-width: 1px;
    transform: rotate(12deg);
    animation: hsSpin 60s linear infinite;
}

/* Persegi A — medium, kanan atas, outline lebih jelas */
.hs-float-1 {
    top: 13%;
    right: 7%;
}
.hs-sq-a {
    width: 100px;
    height: 100px;
    transform: rotate(22deg);
    border-color: rgba(255, 255, 255, 0.14);
}

/* Persegi B — diamond (45°), kanan bawah */
.hs-float-2 {
    top: 60%;
    right: 5%;
}
.hs-sq-b {
    width: 68px;
    height: 68px;
    transform: rotate(45deg);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Persegi C — kecil, kiri tengah */
.hs-float-3 {
    top: 38%;
    left: 5%;
}
.hs-sq-c {
    width: 44px;
    height: 44px;
    transform: rotate(16deg);
    border-color: rgba(255, 255, 255, 0.09);
}

/* Persegi D — mini, pojok kiri bawah, static */
.hs-sq-d {
    width: 26px;
    height: 26px;
    bottom: 22%;
    left: 10%;
    transform: rotate(32deg);
    border-color: rgba(255, 255, 255, 0.12);
    animation: hsPulse 5s ease-in-out infinite 1s;
}

/* ── Segitiga (SVG) ── */
.hs-tri {
    fill: none;
    overflow: visible;
}

/* Segitiga A — besar, kanan atas, di depan persegi A */
.hs-tri-a {
    width: 88px;
    height: 78px;
    top: 16%;
    right: 3%;
    color: rgba(255, 255, 255, 0.1);
    /* inherits hs-float-1 — tapi float sendiri */
    animation: hsFloat 7s ease-in-out infinite 0.4s;
}

/* Segitiga B — medium, kanan bawah, menunjuk ke bawah */
.hs-tri-b {
    width: 60px;
    height: 52px;
    bottom: 18%;
    right: 28%;
    color: rgba(255, 255, 255, 0.07);
    animation: hsFloat 9.5s ease-in-out infinite 2.2s;
}

/* Segitiga C — kecil, kiri atas */
.hs-tri-c {
    width: 38px;
    height: 34px;
    top: 18%;
    left: 8%;
    color: rgba(255, 255, 255, 0.08);
    animation: hsPulse 8s ease-in-out infinite 0.5s;
}

/* ── Titik / Dot ── */
.hs-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: hsPulse 4s ease-in-out infinite;
}

.hs-dot-1 {
    top: 48%;
    right: 22%;
    animation-delay: 0s;
}

.hs-dot-2 {
    top: 72%;
    left: 18%;
    animation-delay: 1.2s;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.14);
}

.hs-dot-3 {
    top: 22%;
    right: 38%;
    animation-delay: 2.5s;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
}

/* ── Hide shapes yang lebih kecil di mobile ── */
@media (max-width: 767.98px) {
    .hs-sq-bg  { display: none; }
    .hs-tri-a  { width: 60px; height: 52px; right: 1%; }
    .hs-tri-b  { display: none; }
    .hs-sq-a   { width: 72px; height: 72px; }
    .hs-sq-b   { width: 48px; height: 48px; }
    .hs-float-3 { display: none; }
    .hs-sq-d   { display: none; }
}

@media (max-width: 479.98px) {
    .hs-tri-a  { display: none; }
    .hs-float-2 { display: none; }
}

/* ══════════════════════════════════════════
   SECTION COMMON
══════════════════════════════════════════ */

.section-pad { padding: var(--rl-section) 0; }

.bg-light-section { background: var(--rl-bg-light); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rl-gray);
    margin-bottom: 0.9rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--rl-gray);
    flex-shrink: 0;
}

.section-label-light {
    color: rgba(255, 255, 255, 0.4);
}

.section-label-light::before {
    background: rgba(255, 255, 255, 0.3);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--rl-dark);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.section-title-light { color: var(--rl-white); }

.section-subtitle {
    font-size: 1rem;
    color: var(--rl-gray);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 0;
}


/* ══════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════ */

.about-section { background: var(--rl-white); }

.about-text {
    font-size: 0.975rem;
    color: var(--rl-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rl-dark);
    text-decoration: none;
    margin-top: 0.75rem;
    transition: gap var(--rl-transition);
    gap: 6px;
}

.about-link:hover { gap: 12px; }

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--rl-border);
    border: 1px solid var(--rl-border);
}

.stat-item {
    background: var(--rl-white);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: background var(--rl-transition);
}

.stat-item:hover { background: var(--rl-bg-light); }

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--rl-dark);
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.stat-plus {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--rl-gray-lt);
    vertical-align: super;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rl-gray);
    margin-top: 0.5rem;
}


/* ══════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════ */

.services-section { background: var(--rl-bg-light); }

.service-card {
    background: var(--rl-white);
    border: 1px solid var(--rl-border);
    padding: 2rem 1.75rem;
    border-radius: var(--rl-radius);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform var(--rl-transition), box-shadow var(--rl-transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--rl-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--rl-transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 46px;
    height: 46px;
    background: var(--rl-dark);
    border-radius: var(--rl-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rl-white);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.service-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rl-dark);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.service-text {
    font-size: 0.88rem;
    color: var(--rl-gray);
    line-height: 1.7;
    margin: 0;
}


/* ══════════════════════════════════════════
   CLIENTS SECTION — INFINITE SLIDER
══════════════════════════════════════════ */

.clients-section { background: var(--rl-white); }

/* Outer wrapper — clips overflow and adds edge fade */
.clients-slider {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        black 100px,
        black calc(100% - 100px),
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0,
        black 100px,
        black calc(100% - 100px),
        transparent 100%
    );
    cursor: default;
}

/* Scrolling track — contains items × 2 for seamless loop */
.clients-track {
    display: flex;
    width: max-content;
    animation: clientsSlide var(--clients-duration, 24s) linear infinite;
    will-change: transform;
}

/* Pause on hover */
.clients-slider:hover .clients-track {
    animation-play-state: paused;
}

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

/* Individual slide card */
.client-slide {
    flex: 0 0 220px;
    width: 220px;
    margin: 0 10px;
    background: var(--rl-white);
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius);
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--rl-dark);
    transition: border-color var(--rl-transition), box-shadow var(--rl-transition), transform var(--rl-transition);
    user-select: none;
}

a.client-slide { cursor: pointer; }

a.client-slide:hover {
    border-color: var(--rl-dark);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
    transform: translateY(-3px);
    color: var(--rl-dark);
}

/* Logo wrapper */
.client-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    margin-bottom: 0.85rem;
}

/* Logo image */
.client-slide .client-logo {
    max-height: 52px;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(100%) opacity(0.6);
    transition: filter var(--rl-transition);
}

a.client-slide:hover .client-logo {
    filter: grayscale(0%) opacity(1);
}

/* Letter avatar */
.client-icon-letter {
    width: 50px;
    height: 50px;
    background: var(--rl-dark);
    border-radius: var(--rl-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rl-white);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    transition: background var(--rl-transition);
}

a.client-slide:hover .client-icon-letter { background: var(--rl-dark-2); }

.client-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--rl-dark);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.client-type {
    font-size: 0.7rem;
    color: var(--rl-gray-lt);
    letter-spacing: 0.03em;
}


/* ══════════════════════════════════════════
   PORTFOLIO CARDS  (reused home & archive)
══════════════════════════════════════════ */

.portfolio-preview-section { background: var(--rl-bg-light); }

.portfolio-card {
    display: flex;
    flex-direction: column;
    background: var(--rl-white);
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius);
    overflow: hidden;
    height: 100%;
    text-decoration: none;
    color: var(--rl-dark);
    transition: transform var(--rl-transition), box-shadow var(--rl-transition), color var(--rl-transition);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
    color: var(--rl-dark);
}

/* Image wrapper */
.portfolio-card-image {
    position: relative;
    width: 100%;
    padding-top: 62%;
    overflow: hidden;
    background: var(--rl-bg-light);
    flex-shrink: 0;
}

.portfolio-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--rl-ease), filter 0.45s var(--rl-ease);
    filter: grayscale(10%);
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 60%);
    pointer-events: none;
}

/* Placeholder when no image */
.portfolio-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rl-bg-light);
    color: var(--rl-border);
    font-size: 3rem;
}

/* Body */
.portfolio-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.portfolio-card-category {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rl-gray-lt);
    margin-bottom: 0.5rem;
}

.portfolio-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rl-dark);
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.portfolio-card-excerpt {
    font-size: 0.875rem;
    color: var(--rl-gray);
    line-height: 1.65;
    flex: 1;
}

.portfolio-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rl-border);
}

.portfolio-card-client {
    font-size: 0.78rem;
    color: var(--rl-gray-lt);
    display: flex;
    align-items: center;
    gap: 4px;
}

.portfolio-card-arrow {
    width: 30px;
    height: 30px;
    border: 1px solid var(--rl-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--rl-dark);
    flex-shrink: 0;
    transition: background var(--rl-transition), border-color var(--rl-transition), color var(--rl-transition);
}

.portfolio-card:hover .portfolio-card-arrow {
    background: var(--rl-dark);
    border-color: var(--rl-dark);
    color: var(--rl-white);
}

/* View all button */
.btn-view-all {
    display: inline-flex;
    align-items: center;
    background: var(--rl-dark);
    color: var(--rl-white);
    border: 2px solid var(--rl-dark);
    padding: 0.85rem 1.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--rl-radius);
    transition: background var(--rl-transition), color var(--rl-transition);
    white-space: nowrap;
}

.btn-view-all:hover {
    background: transparent;
    color: var(--rl-dark);
}


/* ══════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════ */

.contact-section { background: var(--rl-black); }

.contact-section-inner { padding: var(--rl-section) 0; }

.contact-intro {
    font-size: 0.975rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    margin: 1rem 0 2rem;
}

/* Info list */
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; }

.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }

.contact-info-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--rl-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-info-text strong {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.contact-info-text a,
.contact-info-text span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--rl-transition);
}

.contact-info-text a:hover { color: var(--rl-white); }

/* Form wrapper */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--rl-radius);
    padding: 2.25rem;
}

/* Alerts */
.contact-alert {
    padding: 0.875rem 1.25rem;
    border-radius: var(--rl-radius);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.contact-alert-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.contact-alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Form fields */
.contact-form label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-bottom: 0.45rem;
}

.contact-form .required { color: rgba(255, 255, 255, 0.3); }

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--rl-white);
    border-radius: var(--rl-radius);
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-family: var(--rl-font);
    transition: border-color var(--rl-transition), background var(--rl-transition);
    width: 100%;
}

.contact-form .form-control:focus {
    outline: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--rl-white);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

textarea.form-control { resize: vertical; min-height: 120px; }

/* Submit */
.btn-contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
    background: var(--rl-white);
    color: var(--rl-black);
    border: 2px solid var(--rl-white);
    border-radius: var(--rl-radius);
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--rl-font);
    transition: background var(--rl-transition), color var(--rl-transition);
    appearance: none;
}

.btn-contact-submit:hover {
    background: transparent;
    color: var(--rl-white);
}

.btn-contact-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */

.raliable-footer {
    background: #060606;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem 0;
}

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

.footer-logo {
    height: 28px;
    width: auto;
    filter: invert(1);
    opacity: 0.5;
    transition: opacity var(--rl-transition);
}

.footer-logo:hover { opacity: 0.8; }

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.03em;
}

.footer-nav {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: color var(--rl-transition);
}

.footer-nav a:hover { color: rgba(255, 255, 255, 0.7); }


/* ══════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 42px;
    height: 42px;
    background: var(--rl-dark);
    color: var(--rl-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--rl-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    z-index: 900;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--rl-transition), transform var(--rl-transition), background var(--rl-transition);
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover { background: var(--rl-dark-2); }


/* ══════════════════════════════════════════
   PORTFOLIO ARCHIVE PAGE
══════════════════════════════════════════ */

.portfolio-page-header {
    background: var(--rl-black);
    padding: 130px 0 70px;
    position: relative;
    overflow: hidden;
}

.portfolio-page-header::before {
    content: '';
    position: absolute;
    right: 15%;
    top: -20%;
    bottom: -20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.07), transparent);
    transform: rotate(16deg);
    pointer-events: none;
}

.portfolio-page-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--rl-white);
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin-bottom: 0.75rem;
}

.portfolio-page-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Filter */
.portfolio-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.filter-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--rl-border);
    background: transparent;
    color: var(--rl-gray);
    border-radius: var(--rl-radius);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--rl-transition), color var(--rl-transition), border-color var(--rl-transition);
    display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--rl-dark);
    color: var(--rl-white);
    border-color: var(--rl-dark);
}

/* Portfolio main area */
.portfolio-main { background: var(--rl-white); }

/* Empty state */
.portfolio-empty { padding: 3rem 0; }
.portfolio-empty-icon { font-size: 3.5rem; color: var(--rl-border); display: block; margin-bottom: 1rem; }
.portfolio-empty-title { font-size: 1.25rem; font-weight: 700; color: var(--rl-dark); margin-bottom: 0.5rem; }
.portfolio-empty-text { font-size: 0.9rem; color: var(--rl-gray); }


/* ══════════════════════════════════════════
   SINGLE PORTFOLIO
══════════════════════════════════════════ */

.portfolio-back-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color var(--rl-transition);
    margin-bottom: 0.5rem;
}

.portfolio-back-link:hover { color: rgba(255, 255, 255, 0.8); }

.portfolio-single-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 0.75rem;
}

/* Meta strip */
.portfolio-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-meta-item { display: flex; flex-direction: column; gap: 4px; }

.portfolio-meta-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.portfolio-meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.portfolio-meta-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color var(--rl-transition);
}

.portfolio-meta-link:hover { color: var(--rl-white); }

/* Featured image */
.portfolio-single-featured { background: var(--rl-bg-light); padding: 3rem 0; }

.portfolio-single-img {
    width: 100%;
    border-radius: var(--rl-radius);
    display: block;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.12);
}

/* Content body */
.portfolio-single-content { background: var(--rl-white); }

.portfolio-content-body {
    font-size: 1rem;
    color: var(--rl-dark);
    line-height: 1.85;
}

.portfolio-content-body p { margin-bottom: 1.5rem; color: var(--rl-gray); }
.portfolio-content-body h2,
.portfolio-content-body h3 { font-weight: 700; color: var(--rl-dark); margin-top: 2rem; margin-bottom: 0.75rem; }
.portfolio-content-body img { border-radius: var(--rl-radius); }


/* ══════════════════════════════════════════
   SCROLL REVEAL ANIMATION
══════════════════════════════════════════ */

.reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--rl-ease), transform 0.6s var(--rl-ease);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
	padding-top: 10px;
}


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 991.98px) {
    :root { --rl-section: 72px; }

    .hero-heading { font-size: clamp(2rem, 7vw, 3rem); }

    .navbar-collapse {
        background: rgba(12, 12, 12, 0.98);
        margin-top: 0.75rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: var(--rl-radius);
    }

    .raliable-navbar .nav-link { padding: 0.6rem 0.5rem !important; }
    .raliable-navbar .nav-link::after { display: none; }
    .raliable-navbar .nav-cta { margin-top: 0.5rem; display: inline-block; }

    .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
    :root { --rl-section: 56px; }

    .hero-content { padding-top: 96px; padding-bottom: 60px; }
    .hero-subtext { max-width: 100%; }

    .contact-form-wrapper { padding: 1.5rem; }

    .portfolio-meta-strip { gap: 1rem 1.5rem; }

    .footer-nav { justify-content: flex-start; }

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2.25rem; }
}

@media (max-width: 479.98px) {
    .hero-heading { font-size: 2rem; }

    .hero-cta-group { flex-direction: column; }
    .btn-hero { text-align: center; justify-content: center; }
}


/* ══════════════════════════════════════════
   CONTACT SECTION — ADDITIONS
   (Instagram, LinkedIn, Phone, Social Row)
══════════════════════════════════════════ */

/* Hint untuk admin jika data belum diisi */
.contact-setup-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 1rem;
    font-style: italic;
}

.contact-setup-hint a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-setup-hint a:hover { color: rgba(255, 255, 255, 0.9); }

/* Social button row (Instagram, LinkedIn, WhatsApp icons) */
.contact-social-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.contact-social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--rl-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    text-decoration: none;
    transition: border-color var(--rl-transition), color var(--rl-transition), background var(--rl-transition);
}

.contact-social-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--rl-white);
    background: rgba(255, 255, 255, 0.06);
}

/* Phone field in form */
.contact-form input[type="tel"].form-control {
    /* inherits .form-control styles, nothing extra needed */
}

/* Alert auto-hide class for JS usage */
.contact-alert { transition: opacity 0.3s ease; }
