/* Tailwind-like base reset and variables block */

:root {
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    --color-indigo-500: #6366f1;
    --color-indigo-600: #4f46e5;

    --color-white: #ffffff;
    --color-black: #000000;
}

*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: currentColor;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    margin: 0;
    background-color: var(--color-gray-50);
    color: var(--color-gray-900);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* Typography & Core Utilities parsed from Tailwind classes used in HTML */

.bg-gray-100 {
    background-color: var(--color-gray-100);
}

.bg-gray-200 {
    background-color: var(--color-gray-200);
}

.bg-gray-50 {
    background-color: var(--color-gray-50);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-indigo-500 {
    background-color: var(--color-indigo-500);
}

.bg-black\/95 {
    background-color: rgba(0, 0, 0, 0.95);
}

.bg-black\/10 {
    background-color: rgba(0, 0, 0, 0.1);
}

.bg-black\/0 {
    background-color: rgba(0, 0, 0, 0);
}

.bg-white\/70 {
    background-color: rgba(255, 255, 255, 0.7);
}

.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.9);
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.text-gray-400 {
    color: var(--color-gray-400);
}

.text-gray-500 {
    color: var(--color-gray-500);
}

.text-gray-600 {
    color: var(--color-gray-600);
}

.text-gray-700 {
    color: var(--color-gray-700);
}

.text-gray-800 {
    color: var(--color-gray-800);
}

.text-gray-900 {
    color: var(--color-gray-900);
}

.text-white {
    color: var(--color-white);
}

.text-white\/50 {
    color: rgba(255, 255, 255, 0.5);
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

.hover\:text-gray-900:hover {
    color: var(--color-gray-900);
}

.hover\:text-gray-300:hover {
    color: var(--color-gray-300);
}

.hover\:text-\[\#0a66c2\]:hover {
    color: #0a66c2;
}

.hover\:text-white:hover {
    color: var(--color-white);
}

.hover\:bg-gray-50:hover {
    background-color: var(--color-gray-50);
}

.hover\:bg-indigo-600:hover {
    background-color: var(--color-indigo-600);
}

.hover\:bg-white\/20:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.group:hover .group-hover\:bg-black\/10 {
    background-color: rgba(0, 0, 0, 0.1);
}

.border-gray-100 {
    border-color: var(--color-gray-100);
}

.border-gray-200 {
    border-color: var(--color-gray-200);
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.hover\:border-gray-900:hover {
    border-color: var(--color-gray-900);
}

.hover\:border-\[\#0a66c2\]:hover {
    border-color: #0a66c2;
}


/* Sizing & Layout */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.w-10 {
    width: 2.5rem;
}

.h-10 {
    height: 2.5rem;
}

.w-32 {
    width: 8rem;
}

.h-32 {
    height: 8rem;
}

.w-36 {
    width: 9rem;
}

.w-48 {
    width: 12rem;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.h-16 {
    height: 4rem;
}

.h-60 {
    height: 15rem;
}

.h-\[120px\] {
    height: 120px;
}

.max-w-full {
    max-width: 100%;
}

.max-h-full {
    max-height: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-16 {
    margin-top: 4rem;
}

.pt-3 {
    padding-top: 0.75rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pt-12 {
    padding-top: 3rem;
}

.pt-16 {
    padding-top: 4rem;
}

.pt-20 {
    padding-top: 5rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

/* Flexbox & Grid */
.flex {
    display: flex;
}

.grid {
    display: grid;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Typography specifics */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.75rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.uppercase {
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

.whitespace-pre-wrap {
    white-space: pre-wrap;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Truncation (Line clamp) */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Borders and Effects */
.border {
    border-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-4 {
    border-width: 4px;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

.overflow-hidden {
    overflow: hidden;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.pointer-events-none {
    pointer-events: none;
}

/* Positioning */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-6 {
    top: 1.5rem;
}

.right-6 {
    right: 1.5rem;
}

.bottom-8 {
    bottom: 2rem;
}

.left-1\/2 {
    left: 50%;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

.-translate-x-1\/2 {
    transform: translateX(-50%);
}

/* Transitions & Animations */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-700 {
    transition-duration: 700ms;
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/* Custom utility combinations */
.backdrop-blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Hover scale effect logic */
.hover\:scale-\[1\.01\]:hover {
    transform: scale(1.01);
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Transform utils */
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:translate-y-0 {
    transform: translateY(0);
}

.translate-y-4 {
    transform: translateY(1rem);
}


/* Profile Banner */
.profile-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #4a2c6e 40%, #c2185b 100%);
}

/* Negative margin for avatar overlap */
.-mt-16 {
    margin-top: -4rem;
}

.mt-0\.5 {
    margin-top: 0.125rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-2\.5 {
    gap: 0.625rem;
}

.pt-4 {
    padding-top: 1rem;
}

.h-36 {
    height: 9rem;
}

.w-28 {
    width: 7rem;
}

.h-28 {
    height: 7rem;
}

.border-2 {
    border-width: 2px;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.border-white {
    border-color: white;
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
    .sm\:w-44 {
        width: 11rem;
    }

    .sm\:h-44 {
        height: 11rem;
    }

    .sm\:h-72 {
        height: 18rem;
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm\:min-w-0 {
        min-width: 0;
    }

    .sm\:pb-1 {
        padding-bottom: 0.25rem;
    }

    .sm\:space-y-0\.5> :not([hidden])~ :not([hidden]) {
        --tw-space-y-reverse: 0;
        margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));
        margin-bottom: calc(0.125rem * var(--tw-space-y-reverse));
    }

    .sm\:w-36 {
        width: 9rem;
    }

    .sm\:h-36 {
        height: 9rem;
    }

    .sm\:-mt-20 {
        margin-top: -5rem;
    }

    .sm\:h-44 {
        height: 11rem;
    }

    .sm\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .sm\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .sm\:text-base {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .sm\:w-auto {
        width: auto;
    }
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:hidden {
        display: none;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:items-start {
        align-items: flex-start;
    }

    .md\:items-end {
        align-items: flex-end;
    }

    .md\:justify-end {
        justify-content: flex-end;
    }

    .md\:text-left {
        text-align: left;
    }

    .md\:text-right {
        text-align: right;
    }

    .md\:mx-0 {
        margin-left: 0;
        margin-right: 0;
    }

    .md\:max-w-full {
        max-width: 100%;
    }

    .md\:mt-4 {
        margin-top: 1rem;
    }

    .md\:mt-1 {
        margin-top: 0.25rem;
    }

    .md\:w-48 {
        width: 12rem;
    }

    .md\:w-full {
        width: 100%;
    }
}


@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }

    .lg\:flex-row {
        flex-direction: row;
    }

    .lg\:flex-col {
        flex-direction: column;
    }

    .lg\:items-start {
        align-items: flex-start;
    }

    .lg\:justify-end {
        justify-content: flex-end;
    }

    .lg\:justify-between {
        justify-content: space-between;
    }

    .lg\:text-left {
        text-align: left;
    }

    .lg\:mx-0 {
        margin-left: 0;
        margin-right: 0;
    }

    .lg\:ml-6 {
        margin-left: 1.5rem;
    }

    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:w-48 {
        width: 12rem;
    }

    .lg\:w-auto {
        width: auto;
    }

    .lg\:mt-0 {
        margin-top: 0;
    }

    .lg\:mt-24 {
        margin-top: 6rem;
    }

    .lg\:mb-2 {
        margin-bottom: 0.5rem;
    }

    .lg\:pt-0 {
        padding-top: 0;
    }

    .lg\:pb-0 {
        padding-bottom: 0;
    }

    .lg\:max-w-full {
        max-width: 100%;
    }

    .lg\:border-t-0 {
        border-top-width: 0px;
    }

    .lg\:border-b-0 {
        border-bottom-width: 0px;
    }

    .lg\:inline-block {
        display: inline-block;
    }

    .lg\:block {
        display: block;
    }
}

/* ===================== */
/* Project Detail Styles */
/* ===================== */

.font-sans {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.leading-tight {
    line-height: 1.25;
}

.leading-loose {
    line-height: 2;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.gap-3 {
    gap: 0.75rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.bg-indigo-50 {
    background-color: #eef2ff;
}

.border-indigo-200 {
    border-color: #c7d2fe;
}

.text-indigo-600 {
    color: #4f46e5;
}

.text-indigo-700 {
    color: #4338ca;
}

.hover\:bg-indigo-100:hover {
    background-color: #e0e7ff;
}

.hover\:opacity-90:hover {
    opacity: 0.9;
}

/* Transition for opacity */
.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Project story rich text styling */
.project-story h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-story h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.project-story p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--color-gray-700);
}

.project-story img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.project-story img:hover {
    opacity: 0.92;
}

.project-story hr {
    border: none;
    border-top: 1px solid var(--color-gray-200);
    margin: 1.5rem 0;
}

[data-youtube-video] {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: var(--color-gray-900);
    margin: 3rem 0;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

[data-youtube-video] iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.project-story em {
    font-style: italic;
}

.project-story strong {
    font-weight: 600;
    color: var(--color-gray-900);
}

/* Skeleton loading pulse animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Inline flex for skills chips */
.inline-flex {
    display: inline-flex;
}

/* Added for Company Names & Showspace Tile Layout */
.w-3 {
    width: 0.75rem;
}

.h-3 {
    height: 0.75rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.h-\[130px\] {
    height: 130px;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* --- CODE BLOCKS --- */
pre[class*="language-"] {
    margin: 0 !important;
    padding: 1.5rem !important;
    background: #1e1e1e !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
}

code[class*="language-"] {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace !important;
    text-shadow: none !important;
}

/* Inline code */
:not(pre)>code[class*="language-"] {
    padding: 0.2rem 0.4rem !important;
    border-radius: 0.3rem !important;
    background: #f3f4f6 !important;
    color: #ef4444 !important;
    border: 1px solid #e5e7eb !important;
    font-size: 0.85em !important;
}

/* Project Story Links */
.project-story a {
    color: #2563eb;
    transition: all 0.2s ease;
}

.project-story a:hover {
    color: #1d4ed8;
    text-decoration-color: #1e40af;
}

/* Image Zoom Indicator */
.cursor-zoom-in {
    cursor: zoom-in;
}

/* Smooth Horizontal Divider */
hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}