:root {
    --color-primary: #ff014f;
    --color-primary-rgb: 255, 1, 79;
    --color-bg-main: #0e1013;
    --color-bg-card: #17191c;
    --color-bg-card-hover: #1f2226;
    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --border-subtle: rgba(255, 255, 255, 0.03);
    --border-hover: rgba(255, 1, 79, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-main);
    background-image: radial-gradient(circle at top left, rgba(255, 1, 79, 0.08), transparent 30%);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

body, p, body .text-muted{
    color: #d9cdcd !important;
}

.btn-primary-hire{
    background: linear-gradient(135deg, var(--color-primary), #ff4f74);
    color: #ffffff !important;
    border: 1px solid rgba(255, 1, 79, 0.4);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* --- CREATIVE EXPERT CURSOR LAYER --- */
@media (min-width: 992px) {
    #expert-canvas-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    }
    a, button, .portfolio-filter-nav li, .social-icon-btn {
    cursor: none !important;
    }
}

#footer{
    padding-top: 20px;
    padding-bottom: 20px;
}

#services .premium-card {
    text-align: center;
}

/* --- CREATIVE INTERACTIVE EFFECTS --- */
.premium-card {
    background: var(--color-bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 1, 79, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.6s ease;
}

.premium-card:hover::before {
    opacity: 1;
}

.premium-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 1, 79, 0.03);
}

/* Structural Separators */
.section-separator {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 100px;
    margin-bottom: 100px;
}

/* Section Layout Header Engine */
.subtitle-tracker {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-display);
}

.title-tracker {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    font-family: var(--font-display);
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Navigation Overlay Styles */
.navbar-custom {
    background-color: rgba(14, 16, 19, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.navbar-toggler {
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.mobile-quick-actions {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 1050;
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgb(32 37 45 / 90%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    justify-content: center;
}

.mobile-quick-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
}

.mobile-quick-action.primary {
    background: linear-gradient(135deg, var(--color-primary), #ff4f74);
    color: #ffffff;
}

.mobile-quick-action.secondary {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
}

.navbar-brand-custom {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.navbar-brand-custom span {
    color: var(--color-primary);
}

.nav-link-custom {
    color: var(--text-muted) !important;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 14px;
    transition: color 0.3s ease;
    font-family: var(--font-display);
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: #ffffff !important;
}

.btn-action-premium {
    background: transparent;
    color: var(--color-primary) !important;
    border: 1px solid rgba(255, 1, 79, 0.4);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: var(--font-display);
}

.btn-action-premium:hover {
    background: var(--color-primary);
    color: #ffffff !important;
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(255, 1, 79, 0.3);
}

/* Premium Hero Component Interface Layout */
.hero-container {
    padding-top: 140px;
    padding-bottom: 60px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.12;
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.hero-title span {
    color: var(--color-primary);
}

.hero-specialty {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 10px;
    font-family: var(--font-display);
}

.hero-description {
    font-size: 15px;
    line-height: 1.7;
    margin-top: 18px;
    max-width: 90%;
}

.social-icon-btn {
    width: 52px;
    height: 52px;
    line-height: 50px;
    background: var(--color-bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    display: inline-block;
    text-align: center;
    color: var(--text-main);
    font-size: 16px;
    margin-right: 14px;
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.social-icon-btn.whatsapp-btn:hover,
.mobile-quick-action.whatsapp:hover {
    border-color: #25d366;
    color: #25d366;
    box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.2), 0 10px 24px rgba(37, 211, 102, 0.16);
}

.mobile-quick-action.whatsapp {
    color: #25d366;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.24);
}

.hero-img-wrap {
    position: relative;
}

.hero-img-wrap::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: 24px;
    z-index: 1;
    transition: all 0.4s ease;
}

.hero-img-wrap:hover::before {
    transform: translate(-8px, -8px);
}

.hero-img-wrap img {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    filter: grayscale(10%) contrast(105%);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* Capabilities Section Visual Elements */
.icon-box-wrapper i {
    color: var(--color-primary);
    font-size: 36px;
    display: block;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}
.premium-card:hover .icon-box-wrapper i {
    transform: scale(1.1);
}

.feature-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: var(--font-display);
}

.feature-card-text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Portfolio Section Optimization Blocks */
.portfolio-filter-nav {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.portfolio-filter-nav li {
    padding: 10px 22px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-display);
    border-radius: 30px;
    transition: all 0.3s ease;
    color: var(--text-muted);
    border: 1px solid transparent;
}

.portfolio-filter-nav li.filter-active, .portfolio-filter-nav li:hover {
    background: rgba(255, 1, 79, 0.08);
    color: var(--color-primary);
    border-color: rgba(255, 1, 79, 0.2);
}

.portfolio-item-node {
    display: flex !important;
}

.portfolio-item-thumbnail {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 22px;
    display: block;
    position: relative;
}

.portfolio-item-thumbnail img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover .portfolio-item-thumbnail img {
    transform: scale(1.06);
}

.portfolio-category-span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 600;
    display: block;
}

.portfolio-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 8px;
    font-family: var(--font-display);
}

/* Asymmetric Corporate Timeline Component Structure */
.timeline-container-main {
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    padding-left: 32px;
    position: relative;
}

.timeline-node-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
}

.timeline-node-item::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: var(--color-bg-main);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    position: absolute;
    left: -39px;
    top: 43px;
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-node-item:hover::before {
    background-color: var(--color-primary);
    box-shadow: 0 0 0 6px rgba(255, 1, 79, 0.2);
}

.timeline-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 16px;
    width: 100%;
}

.timeline-badge-duration {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    font-family: var(--font-display);
    white-space: nowrap;
}

.timeline-corporate-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    font-family: var(--font-display);
}

.timeline-corporate-subtitle {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 500;
    display: block;
    margin-top: 2px;
}

.timeline-skills-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.timeline-skills-tag-cloud span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

/* Core Technical Metrics Tuning Elements */
.progress-track-wrapper {
    margin-bottom: 24px;
}
.progress-track-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}
.progress-track-bg {
    height: 4px;
    background-color: rgba(255,255,255,0.04);
    border-radius: 2px;
    overflow: hidden;
}
.progress-track-fill {
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 2px;
}

/* Contact Subsystem Styles Configuration */
.contact-form-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 600;
    font-family: var(--font-display);
    display: block;
}

.contact-form-input {
    background-color: rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.contact-form-input:focus {
    border-color: rgba(255, 1, 79, 0.5) !important;
    background-color: rgba(0, 0, 0, 0.25) !important;
    box-shadow: none !important;
}

.contact-map-iframe {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    margin-top: 25px;
    filter: grayscale(100%) invert(92%) contrast(85%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-map-iframe:hover {
    opacity: 0.9;
}

/* Responsive Device Layout Configurations */
@keyframes mobileFloatGlow {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-6px, 8px, 0) scale(1.04); }
}

@media (max-width: 991px) {
    .title-tracker { font-size: 26px; }
    .hero-title { font-size: 32px; line-height: 1.08; }
    .hero-specialty { font-size: 18px; }
    .timeline-header-meta { flex-direction: column; gap: 8px; }
    .premium-card { padding: 26px; }
    .hero-container { padding-top: 110px; padding-bottom: 70px; }
    main.main { overflow: hidden; }
    .navbar-nav { padding: 12px 0 4px; gap: 4px; }
    .nav-link-custom { margin: 0; padding: 10px 0; font-size: 12px; }
    .btn-action-premium { width: 100%; text-align: center; margin-top: 8px; }
}

@media (max-width: 767px) {
    .portfolio-filter-nav li{
        padding: 5px 12px;
        font-size: 11px;
    }
    #footer{
        padding-bottom: 80px;
        padding-top: 0;
    }
    #expert-canvas-cursor { display: none; }
    .hero-container {
        padding-top: 120px;
        padding-bottom: 60px;
        position: relative;
    }

    .hero-container::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 1, 79, 0.16), transparent 60%);
        pointer-events: none;
        border-radius: 0 0 24px 24px;
    }

    .hero-container::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        right: -24px;
        top: 4px;
        background: radial-gradient(circle, rgba(255, 1, 79, 0.28), transparent 70%);
        filter: blur(24px);
        opacity: 0.9;
        animation: mobileFloatGlow 5s ease-in-out infinite alternate;
        pointer-events: none;
    }

    .subtitle-tracker {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.05;
        margin-bottom: 6px;
    }

    .hero-specialty {
        font-size: 17px;
        margin-top: 8px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.65;
        max-width: 100%;
        margin-top: 14px;
    }

    .hero-img-wrap {
        margin-top: 16px;
        margin-bottom: 4px;
    }

    .hero-img-wrap img {
        max-width: 260px;
    }

    .hero-img-wrap::before {
        top: 10px;
        left: 10px;
        border-radius: 20px;
    }

    .hero-container .d-flex.flex-wrap.gap-3.mb-5 {
        flex-direction: column;
        gap: 10px;
    }

    .hero-container .d-flex.flex-wrap.gap-3.mb-5 .btn {
        width: 100%;
        justify-content: center;
    }

    .timeline-skills-tag-cloud {
        gap: 8px;
        margin-top: 10px;
    }

    .timeline-skills-tag-cloud span {
        padding: 7px 11px;
        font-size: 10.5px;
        border-radius: 999px;
    }

    .social-icon-btn {
        width: 44px;
        height: 44px;
        line-height: 42px;
        margin-right: 10px;
        border-radius: 14px;
    }

    .section-separator {
        margin-top: 28px;
        margin-bottom: 28px;
    }

    .premium-card {
        padding: 20px;
        border-radius: 18px;
        position: relative;
        overflow: hidden;
    }

    .premium-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 1, 79, 0.12), transparent 55%);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .premium-card:active::after,
    .premium-card:hover::after {
        opacity: 1;
    }

    .premium-card:active {
        transform: scale(0.99);
    }

    .portfolio-item-thumbnail img {
        height: 190px;
    }

    .timeline-container-main {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding-left: 18px;
    }

    .timeline-node-item::before {
        left: -24px;
        top: 18px;
        width: 10px;
        height: 10px;
    }

    .navbar-collapse {
        background: rgba(10, 12, 15, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 18px;
        margin-top: 10px;
        padding: 8px;
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .nav-link-custom {
        margin: 0 0 6px;
        padding: 10px 12px;
        display: block;
        border-radius: 10px;
    }

    .nav-link-custom:hover, .nav-link-custom.active {
        background: rgba(255, 1, 79, 0.12);
    }
}

/* Structural Optimization for Isotope Filter Transitions */
.portfolio-isotope-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item-node {
  position: absolute;
  top: 0;
  left: 0;
}

#developer-ecosystem .premium-card a{
    text-decoration: none;
    color: var(--text-main);
    cursor: pointer;
}

