/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0A0A0A;
    --bg-secondary: #171717;
    --text-primary: #ffffff;
    --text-secondary: #d4d4d4;
    --text-muted: #a3a3a3;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-500: #737373;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;
    --purple-500: #a855f7;
    --purple-700: #7e22ce;
    --violet-900: #4c1d95;
    --blue-500: #3b82f6;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --zinc-800: #27272a;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Geist Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Navbar === */
.navbar-wrapper {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 95%;
    padding: 0;
}

.navbar {
    padding: 12px 24px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    flex-wrap: wrap;
    justify-content: center;
}

.navbar .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
    margin: 0 auto;
}

.navbar .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.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.2em;
    height: 1.2em;
}

.navbar .navbar-collapse {
    flex-basis: 100%;
}

.navbar .navbar-nav {
    padding-top: 8px;
}

@media (min-width: 768px) {
    .navbar .navbar-nav {
        padding-top: 0;
        flex-direction: row;
    }

    .navbar .navbar-collapse {
        flex-basis: auto;
    }
}

.nav-item {
    cursor: pointer;
    color: var(--text-primary) !important;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    padding: 8px 12px;
    position: relative;
    text-align: center;
}

.nav-item:hover {
    opacity: 0.9;
}

.nav-item.active {
    opacity: 1;
}

/* === Hero Section === */
.hero-section {
    position: relative;
    display: flex;
    min-height: 100vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: #000;
    overflow: hidden;
}

.dot-pattern {
    position: absolute;
    inset: 0;
    background-size: 20px 20px;
    background-image: radial-gradient(#404040 1px, transparent 1px);
    z-index: 0;
}

.hero-fade-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    mask-image: radial-gradient(ellipse at center, transparent 20%, black);
    -webkit-mask-image: radial-gradient(ellipse at center, transparent 20%, black);
    z-index: 1;
}

.hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    z-index: 2;
}

.spotlight-svg {
    pointer-events: none;
    position: absolute;
    z-index: 1;
    height: 169%;
    width: 84%;
    opacity: 0;
    top: -80px;
    left: 240px;
    animation: spotlight 2s ease 0.75s 1 forwards;
}

@keyframes spotlight {
    0% {
        opacity: 0;
        transform: translate(-72%, -62%) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -40%) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    padding: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    background: linear-gradient(to bottom, #fafafa, #a3a3a3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
    margin-top: 0;
}

.hero-description {
    margin-top: 16px;
    font-weight: 400;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    max-width: 576px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-button-wrapper {
    margin-top: 16px;
}

.hero-button {
    position: relative;
    display: inline-flex;
    height: 48px;
    overflow: hidden;
    border-radius: 9999px;
    padding: 1px;
    cursor: pointer;
}

.hero-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #94a3b8, 0 0 0 4px #f8fafc;
}

.hero-button-glow {
    position: absolute;
    inset: -1000%;
    background: conic-gradient(from 90deg at 50% 50%, #E2CBFF 0%, #393BB2 50%, #E2CBFF 100%);
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-button-text {
    display: inline-flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background-color: #020617;
    padding: 12px 24px;
    font-size: 1.125rem;
    font-weight: 500;
    color: white;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(30px);
}

/* === About Me Section === */
.about-section {
    position: relative;
    min-height: 100vh;
    background-color: var(--neutral-900);
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    overflow: hidden;
    padding: 48px 24px;
    border-radius: 6px;
}

.stars-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 1100px;
}

.about-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 512px;
    padding: 24px;
    text-align: center;
}

.about-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
}

.about-para {
    margin-top: 16px;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    color: #d1d5db;
    line-height: 1.7;
}

.about-para+.about-para {
    margin-top: 24px;
}

.about-image-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image {
    border: 4px solid #374151;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 400px;
}

/* === Projects Section (Tabs on Home) === */
.projects-section {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 1024px;
    margin: 48px auto 96px;
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 320px;
    padding: 0 16px;
}

.projects-header {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.projects-title {
    font-size: 1.875rem;
    font-weight: 600;
}

.tabs-container {
    width: 100%;
    perspective: 1000px;
}

.tabs-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs-buttons::-webkit-scrollbar {
    display: none;
}

.tab-button {
    position: relative;
    padding: 8px 16px;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 14px;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.tab-button .tab-active-bg {
    display: none;
    position: absolute;
    inset: 0;
    background-color: var(--zinc-800);
    border-radius: 9999px;
    z-index: 0;
}

.tab-button.active .tab-active-bg {
    display: block;
    animation: tabFadeIn 0.3s ease;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tab-button .tab-label {
    position: relative;
    z-index: 1;
    display: block;
}

.tabs-content {
    position: relative;
    width: 100%;
    min-height: 320px;
    margin-top: 32px;
}

.tab-panel {
    display: none;
    width: 100%;
    animation: tabContentFade 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes tabContentFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-card {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    padding: 40px;
}

.purple-gradient {
    background: linear-gradient(135deg, var(--purple-700), var(--violet-900));
}

.tab-card-title {
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.tab-card-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    object-position: left top;
}

/* === Tech Stack Section === */
.techstack-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    overflow: hidden;
    padding: 24px 16px;
}

.techstack-title-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 896px;
    padding: 24px;
    text-align: center;
    color: var(--text-primary);
    border-radius: 6px;
}

.techstack-title {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 500;
}

.techstack-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 896px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-radius: 6px;
    padding: 24px;
}

.techstack-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
}

.techstack-label {
    width: 100%;
    text-align: center;
}

.techstack-label h2 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    color: var(--text-primary);
}

.techstack-icons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.tech-icon {
    height: 48px;
    width: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tech-icon:hover {
    transform: scale(1.15);
}

.tech-icon.invert {
    filter: invert(1);
}

/* === Projects Page (Timeline) === */
.projects-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: var(--bg-primary);
}

.projects-page-inner {
    width: 100%;
    max-width: 1024px;
    margin-top: 60px;
}

.timeline-wrapper {
    width: 100%;
    background-color: var(--neutral-950);
    font-family: var(--font-sans);
    padding: 0 40px;
}

.timeline-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 16px 0;
}

.timeline-main-title {
    font-size: clamp(1.125rem, 3vw, 2.25rem);
    margin-bottom: 16px;
    color: var(--text-primary);
    max-width: 896px;
    font-weight: 600;
}

.timeline-subtitle {
    color: var(--text-secondary);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    max-width: 384px;
    line-height: 1.6;
}

.timeline {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.timeline-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 40px;
    gap: 0;
}

.timeline-left {
    position: sticky;
    top: 160px;
    display: flex;
    flex-direction: column;
    z-index: 40;
    align-items: flex-start;
    align-self: flex-start;
    max-width: 256px;
    width: 100%;
    flex-shrink: 0;
}

.timeline-dot-wrapper {
    height: 40px;
    width: 40px;
    position: absolute;
    left: 12px;
    top: 4px;
    border-radius: 50%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background-color: var(--neutral-800);
    border: 1px solid #404040;
    padding: 8px;
}

.timeline-item-title {
    font-weight: 700;
    color: var(--neutral-500);
}

.timeline-item-title.desktop-only {
    display: none;
    font-size: clamp(1.25rem, 3vw, 3rem);
    padding-left: 80px;
    padding-top: 0;
    line-height: 1.2;
}

.timeline-item-title.mobile-only {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-align: left;
}

.timeline-right {
    position: relative;
    padding-left: 80px;
    padding-right: 16px;
    width: 100%;
    flex: 1;
    min-width: 0;
}

.timeline-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.timeline-item-desc {
    color: var(--text-secondary);
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    font-weight: 400;
    margin-bottom: 32px;
}

.timeline-link {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.timeline-link:hover {
    color: var(--text-primary);
}

.timeline-images {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-image {
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    height: auto;
    box-shadow:
        0 0 24px rgba(34, 42, 53, 0.06),
        0 1px 1px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(34, 42, 53, 0.04),
        0 0 4px rgba(34, 42, 53, 0.08),
        0 16px 68px rgba(47, 48, 55, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Timeline vertical line */
.timeline-line {
    position: absolute;
    left: 32px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--neutral-700) 10%, var(--neutral-700) 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    overflow: hidden;
}

.timeline-line-progress {
    position: absolute;
    inset: 0 0 auto 0;
    width: 2px;
    height: 0;
    background: linear-gradient(to top, var(--purple-500), var(--blue-500), transparent);
    border-radius: 9999px;
    transition: height 0.1s linear;
}

/* === Contact Page === */
.contact-page {
    min-height: 100vh;
    background-color: #111827;
    padding: 48px 16px;
    padding-top: 144px;
    position: relative;
    overflow: hidden;
}

.background-beams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.beams-svg {
    z-index: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    position: absolute;
}

.contact-container {
    max-width: 672px;
    margin: 0 auto;
    padding: 16px;
    position: relative;
    z-index: 10;
}

.contact-title {
    font-size: clamp(1.125rem, 5vw, 4.5rem);
    text-align: center;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.contact-success {
    color: #22c55e;
    text-align: center;
    margin-bottom: 16px;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--neutral-800);
    background-color: var(--neutral-950);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    outline: none;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: var(--neutral-700);
}

.contact-input:focus,
.contact-textarea:focus {
    box-shadow: 0 0 0 2px var(--teal-500);
    border-color: var(--teal-500);
}

.contact-submit {
    padding: 8px 24px;
    border-radius: 8px;
    background-color: var(--teal-500);
    color: white;
    font-weight: 500;
    font-size: 1rem;
    font-family: var(--font-sans);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start;
}

.contact-submit:hover {
    background-color: var(--teal-600);
}

.contact-submit:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--teal-500), 0 0 0 4px rgba(20, 184, 166, 0.3);
}

/* === Animated Beam Paths (Contact page) === */
.beam-path {
    stroke-opacity: 0;
    stroke-width: 0.5;
    animation: beamGlow 8s ease-in-out infinite;
}

@keyframes beamGlow {

    0%,
    100% {
        stroke-opacity: 0;
    }

    30%,
    70% {
        stroke-opacity: 0.4;
    }
}

/* === Responsive === */

/* --- Mobile (< 768px) --- */
@media (max-width: 767.98px) {
    .navbar-wrapper {
        top: 10px;
        max-width: 92%;
    }

    .navbar {
        border-radius: 16px;
        padding: 10px 16px;
    }

    .nav-item {
        font-size: 14px;
        padding: 10px 12px;
    }

    .hero-title {
        margin-top: 80px;
    }

    .hero-description {
        padding: 0 8px;
    }

    .spotlight-svg {
        top: -160px;
        left: 0;
        width: 138%;
    }

    /* About Section Mobile */
    .about-section {
        padding: 40px 16px;
        min-height: auto;
    }

    .about-content {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .about-text {
        text-align: center;
        padding: 16px 8px;
        max-width: 100%;
    }

    .about-image-container {
        max-width: 200px;
    }

    .about-title {
        font-size: 1.75rem;
    }

    /* Tech Stack Mobile */
    .techstack-section {
        min-height: auto;
        padding: 40px 8px;
    }

    .techstack-container {
        padding: 12px;
        gap: 16px;
    }

    .techstack-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 12px 8px;
    }

    .tech-icon {
        height: 40px;
        width: 40px;
    }

    .techstack-icons {
        gap: 16px;
    }

    /* Timeline Mobile */
    .timeline-wrapper {
        padding: 0 8px;
    }

    .timeline-header {
        padding: 60px 8px 0;
    }

    .timeline-main-title {
        font-size: 1.25rem;
    }

    .timeline-item {
        flex-direction: column;
        padding-top: 24px;
        gap: 0;
    }

    .timeline-left {
        position: relative;
        top: auto;
        max-width: 100%;
        width: 100%;
        padding-left: 48px;
    }

    .timeline-item-title.desktop-only {
        display: none;
    }

    .timeline-item-title.mobile-only {
        display: block;
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .timeline-right {
        padding-left: 48px;
        padding-right: 8px;
    }

    .timeline-item-header {
        flex-direction: column;
        gap: 8px;
    }

    .timeline-item-desc {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }

    .timeline-image {
        height: auto;
        max-height: 160px;
    }

    .timeline-images {
        gap: 20px;
    }

    .timeline-line {
        left: 24px;
    }

    .timeline-dot-wrapper {
        left: 4px;
    }

    /* Experience Page Mobile */
    .experience-details {
        padding: 14px 16px;
    }

    .experience-list li {
        font-size: 0.8rem;
        padding-left: 16px;
    }

    .timeline-date {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    /* Contact Page Mobile */
    .contact-page {
        padding-top: 100px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .contact-container {
        padding: 8px;
    }

    .contact-title {
        font-size: 1.75rem;
    }

    .contact-input,
    .contact-textarea {
        padding: 12px;
        font-size: 0.9rem;
    }

    .contact-submit {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    /* Projects Page Mobile */
    .projects-page {
        padding: 8px;
    }

    .projects-page-inner {
        margin-top: 40px;
    }
}

/* --- Tablet & Up (>= 768px) --- */
@media (min-width: 768px) {
    .about-section {
        flex-direction: row;
        padding: 48px;
    }

    .about-content {
        flex-direction: row;
    }

    .about-text {
        text-align: left;
        padding: 40px;
    }

    .about-image-container {
        max-width: 448px;
    }

    .techstack-row {
        flex-direction: row;
        gap: 32px;
    }

    .techstack-label {
        width: 33.33%;
        text-align: left;
    }

    .techstack-icons {
        width: 66.67%;
    }

    .tech-icon {
        height: 64px;
        width: 64px;
    }

    .timeline-item {
        padding-top: 120px;
        gap: 40px;
    }

    .timeline-item-title.desktop-only {
        display: block;
    }

    .timeline-item-title.mobile-only {
        display: none;
    }

    .timeline-right {
        padding-left: 16px;
    }

    .timeline-image {
        height: 200px;
    }

    .projects-section {
        min-height: 640px;
    }

    .spotlight-svg {
        top: -80px;
        left: 240px;
    }
}

/* --- Desktop (>= 1024px) --- */
@media (min-width: 1024px) {
    .timeline-item {
        padding-top: 160px;
    }

    .timeline-image {
        height: 240px;
    }
}

/* --- Small phones (< 400px) --- */
@media (max-width: 399.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.8rem;
    }

    .hero-button-text {
        font-size: 0.95rem;
        padding: 10px 18px;
    }

    .about-title {
        font-size: 1.5rem;
    }

    .about-para {
        font-size: 0.8rem;
    }

    .about-image-container {
        max-width: 160px;
    }

    .techstack-title {
        font-size: 1rem;
    }

    .techstack-label h2 {
        font-size: 0.85rem;
    }

    .tech-icon {
        height: 32px;
        width: 32px;
    }

    .contact-title {
        font-size: 1.5rem;
    }
}

/* === Utility === */
.no-visible-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.no-visible-scrollbar::-webkit-scrollbar {
    display: none;
}

/* === Main Content wrapper === */
.main-content {
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.96);
}

/* === Experience Page Styles === */
.timeline-date {
    display: inline-block;
    color: var(--neutral-500);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--neutral-800);
    background: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    margin-top: 4px;
}

.experience-details {
    margin-top: 8px;
    padding: 20px 24px;
    border-radius: 10px;
    border: 1px solid var(--neutral-800);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
}

.experience-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.experience-list li {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
    transition: color 0.3s ease;
}

.experience-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--teal-500);
    font-size: 1rem;
}

.experience-list li:hover {
    color: var(--text-primary);
}

.experience-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}