@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Platypi:ital,wght@0,400;0,600;1,400;1,500;1,600&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

:root {
    --bg-light: #f0f0f3;
    --bg-dark: #1b1d22;
    --bg-dark-card: #23262d;
    --bg-dark-surface: #1c1e23;
    --text-dark: #151618;
    --text-light: #f8f8fb;
    --text-muted: #8c8f96;
    --accent-orange: #e8622f;
    --accent-green: #8eff3e;
    --border-dark: rgba(255, 255, 255, 0.15);
    --border-light: rgba(0, 0, 0, 0.1);
    --font-sans: 'Be Vietnam Pro', sans-serif;
    --font-serif: 'Platypi', serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #343842;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a505e;
}

/* Top Reading Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #151618, var(--accent-orange), var(--accent-green));
    width: 0%;
    z-index: 10000;
    transition: width 0.1s linear;
}

/* Custom Floating Cursor */
.custom-cursor {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.85);
    mix-blend-mode: difference;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s var(--ease-out-expo), width 0.2s, height 0.2s;
}

.custom-cursor.active {
    transform: translate(-50%, -50%) scale(3);
    background: rgba(232, 98, 47, 0.9);
    mix-blend-mode: normal;
}

/* Rounded Outline Stroke Badge */
.badge-stroke-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    transition: all 0.3s var(--ease-out-expo);
}

.badge-stroke-pill:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.badge-stroke-dark {
    border-color: rgba(21, 22, 24, 0.3);
    color: #151618;
}

.badge-stroke-dark:hover {
    border-color: #151618;
    background: rgba(21, 22, 24, 0.05);
}

/* Tag Pill Curved Stroke Style */
.tag-pill-curved {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 9999px;
    background: #ffffff;
    color: #151618;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s var(--ease-out-expo);
    cursor: default;
}

.tag-pill-curved:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    background: #151618;
    color: #ffffff;
    border-color: #151618;
}

/* 1) About Section Interactive Hover Card */
.about-card-hover {
    position: relative;
    background: #23262d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 32px;
    transition: transform 0.4s var(--ease-out-expo), border-color 0.4s, box-shadow 0.4s, background-color 0.4s;
    overflow: hidden;
}

.about-card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.7s var(--ease-out-expo);
}

.about-card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: #292d35;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.about-card-hover:hover::before {
    left: 100%;
}

/* 2) Horizontal Scroll Section for Services */
.services-horizontal-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.services-horizontal-track {
    display: flex;
    gap: 32px;
    width: max-content;
    padding-bottom: 24px;
}

.services-slide-card {
    scroll-snap-align: center;
    width: min(85vw, 1100px);
    flex-shrink: 0;
}

/* 4) Featured Portfolio Cards Scroll & Hover Effects */
.portfolio-card {
    position: relative;
    background: #23262d;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-expo), border-color 0.5s, box-shadow 0.5s;
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.portfolio-img-zoom {
    transition: transform 0.6s var(--ease-out-expo);
}

.portfolio-card:hover .portfolio-img-zoom {
    transform: scale(1.05);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Floating Navbar Glassmorphism */
.nav-floating-pill {
    background: rgba(248, 248, 251, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08), 0px 8px 32px rgba(0, 0, 0, 0.04);
}

/* Tab button indicator */
.tab-btn {
    transition: all 0.3s var(--ease-out-expo);
}

.tab-btn.active {
    color: #ffffff;
    border-top-color: #ffffff !important;
}
@keyframes spin-reverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

