/* ==========================================================================
   Design System & Base Styles
   ========================================================================== */

:root {
    --bg-primary: #151312;
    --bg-card: #1d1b1a;
    --bg-input: #262423;
    --border-color: rgba(255, 255, 255, 0.07);
    --border-color-hover: rgba(255, 255, 255, 0.15);
    
    --accent-lime: #c5ff41;
    --accent-lime-glow: rgba(197, 255, 65, 0.25);
    --accent-orange: #f46c38;
    --accent-orange-glow: rgba(244, 108, 56, 0.25);
    
    --text-primary: #ffffff;
    --text-secondary: #998f8f;
    --text-muted: #5e5757;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor to enable custom liquid cursor */
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    position: relative;
    background: transparent;
}

/* Interactive Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-input);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-lime);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Custom Cursor */
.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-lime);
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-ring {
    width: 17px;
    height: 17px;
    border: 1.5px solid var(--accent-lime);
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

/* Cursor Hover states */
.custom-cursor-ring.cursor-hover {
    width: 25px;
    height: 25px;
    border-color: var(--accent-lime);
    background-color: rgba(197, 255, 65, 0.05);
}

.custom-cursor-ring.cursor-click {
    transform: translate(-50%, -50%) scale(0.8);
    background-color: var(--accent-lime-glow);
}

.custom-cursor-ring.cursor-orange {
    border-color: var(--accent-orange);
    background-color: rgba(244, 108, 56, 0.05);
}
.custom-cursor-dot.cursor-orange {
    background-color: var(--accent-orange);
}

.custom-cursor-ring.cursor-dark,
body:has(.social-btn:hover) .custom-cursor-ring,
body:has(.stat-item:hover) .custom-cursor-ring {
    border-color: var(--bg-primary) !important;
    background-color: rgba(21, 19, 18, 0.08) !important;
}
.custom-cursor-dot.cursor-dark,
body:has(.social-btn:hover) .custom-cursor-dot,
body:has(.stat-item:hover) .custom-cursor-dot {
    background-color: var(--bg-primary) !important;
}

/* ==========================================================================
   Typography & Reusable Utilities
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Glassmorphism utility */
.glass {
    background: rgba(29, 27, 26, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
}

.glass-interactive {
    background: rgba(29, 27, 26, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.glass-interactive:hover {
    border-color: var(--border-color-hover);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

/* Button & Link styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-lime);
    color: var(--bg-primary);
    border: 1px solid var(--accent-lime);
    padding: 12px 24px;
    border-radius: 99px;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-lime);
    box-shadow: 0 0 20px var(--accent-lime-glow);
    transform: translateY(-2px) scale(1.02);
}

.btn-sec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 99px;
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.btn-sec:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Badges and titles */
.section-badge {
    display: inline-block;
    color: var(--accent-lime);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.1;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin-top: -30px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-section {
    scroll-margin-top: 20px;
}

/* Scroll reveal trigger styles */
.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */

.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    width: calc(100% - 48px);
    max-width: 820px;
    border-radius: 99px;
    z-index: 1000;
    padding: 8px 16px;
    transition: var(--transition-smooth);
}

.navbar.nav-scrolled {
    background: rgba(21, 19, 18, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 20px;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.05em;
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 99px;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.nav-item:hover, .nav-logo:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active, .nav-logo.active {
    color: var(--accent-lime);
    background: rgba(197, 255, 65, 0.08);
    border-color: rgba(197, 255, 65, 0.2);
    box-shadow: 0 0 15px rgba(197, 255, 65, 0.15);
}

/* ==========================================================================
   Hero / Intro Section
   ========================================================================== */

.hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 32px;
    align-items: start;
}

/* Left Column Info Card */
.hero-intro-card {
    padding: 24px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.avatar-container {
    position: relative;
    width: 380px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 380 / 400;
    margin-bottom: 24px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    overflow: hidden;
}

.avatar-container:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                0 0 30px rgba(255, 122, 0, 0.6);
}

.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: var(--transition-smooth);
}

.avatar-dashed-circle {
    position: absolute;
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: 2;
}

.avatar-dashed-circle-2 {
    position: absolute;
    width: 600;
    height: 600px;
    pointer-events: none;
    z-index: 2;
}

.avatar-dashed-circle-3 {
    position: absolute;
    width: 600;
    height: 600px;
    pointer-events: none;
    z-index: 2;
}

.intro-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-lime);
    background-color: rgba(197, 255, 65, 0.08);
    border: 1px solid rgba(197, 255, 65, 0.15);
    padding: 3px 10px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.intro-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
}

.intro-title + .contact-pills {
    margin-top: 12px;
}

.intro-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 20px;
}

.contact-pills {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 20px;
}

.contact-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13.5px;
    text-decoration: none;
    white-space: nowrap;
}

.contact-pill svg {
    width: 16px;
    height: 16px;
}

.contact-pill:hover {
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--accent-lime);
    border: 1px solid rgba(197, 255, 65, 0.4);
    background: rgba(197, 255, 65, 0.02);
    transition: var(--transition-smooth);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.social-btn:hover {
    color: var(--bg-primary);
    background-color: var(--accent-lime);
    border-color: var(--accent-lime);
    box-shadow: 0 0 15px var(--accent-lime-glow);
    transform: translateY(-2px);
}

.download-btn {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 600;
    padding: 0 20px;
    gap: 8px;
    border-radius: 10px;
}

.download-btn svg {
    width: 18px;
    height: 18px;
}

/* Right Column Big Typography Card */
.hero-main-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.big-title-container {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 84px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    gap: 20px;
}

.accent-glow-text {
    color: var(--accent-lime);
    text-shadow: 0 0 40px var(--accent-lime-glow);
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
}

.hero-pitch-lead {
    color: var(--text-primary);
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 24px;
}

.hero-pitch-text {
    color: var(--text-secondary);
    font-size: clamp(12px, 2.5vw, 18px);
    line-height: 1.6;
    max-width: 940px;
    margin-bottom: 40px;
}

.hero-pitch-text em {
    font-size: 0.8em;
    opacity: 0.85;
}

/* Stats Layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-item {
    padding: 24px;
    border-radius: 16px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.stat-number {
    display: block;
    font-size: clamp(28px, 4vw, 42px);
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-lime);
    margin-bottom: 4px;
    transition: var(--transition-smooth);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.4;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Infinite Marquee
   ========================================================================== */

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 60px 0 60px 0;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    animation: marquee-run 25s linear infinite;
    gap: 30px;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
}

.marquee-bullet {
    color: var(--accent-lime) !important;
}

@keyframes marquee-run {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* ==========================================================================
   Education Section
   ========================================================================== */

.education-section {
    padding: 60px 0;
}

.education-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1080px; /* Increased width to prevent wrapping */
    margin: 0 auto;
}

.education-card {
    padding: 32px;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.college-logo-container {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.college-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.education-card:hover .college-logo {
    transform: scale(1.04);
}

.education-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.edu-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 16px;
}

.college-name {
    font-size: 22px;
    color: var(--text-primary);
    font-weight: 700;
}

.edu-degree-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.degree-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: nowrap; /* Forces degree on a single line on desktop */
}

.education-gpa {
    font-size: 14px;
    color: var(--accent-lime);
    font-weight: 600;
    white-space: nowrap;
}

.education-location {
    font-size: 13px;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.education-location svg {
    margin-bottom: -2px;
}

.education-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-lime);
    background-color: rgba(197, 255, 65, 0.08);
    border: 1px solid rgba(197, 255, 65, 0.15);
    padding: 4px 12px;
    border-radius: 99px;
    white-space: nowrap;
}

.separator {
    color: var(--text-muted);
}

.education-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 4px;
}

/* 3D tilt card effect styling */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* ==========================================================================
   Experience Section
   ========================================================================== */

.experience-section {
    padding: 60px 0;
}

.experience-timeline {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding-left: 32px;
}

/* The vertical timeline bar */
.experience-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-lime) 0%, var(--bg-card) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Dynamic dot */
.timeline-dot {
    position: absolute;
    left: -32px;
    top: 30px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 3px solid var(--accent-lime);
    z-index: 1;
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent-lime);
    box-shadow: 0 0 10px var(--accent-lime);
}

.timeline-card {
    padding: 24px 32px;
    border-radius: 16px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
    gap: 16px;
    flex-wrap: wrap;
}

.job-role {
    font-size: 18px;
    font-weight: 700;
}

.company-name {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.timeline-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-lime);
    background-color: rgba(197, 255, 65, 0.08);
    border: 1px solid rgba(197, 255, 65, 0.15);
    padding: 4px 12px;
    border-radius: 99px;
    white-space: nowrap;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.timeline-bullets {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.timeline-bullets li {
    margin-bottom: 8px;
}

.timeline-bullets li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Projects Grid Section
   ========================================================================== */

.projects-section {
    padding: 60px 0 20px 0;
}

/* Carousel header layout */
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.projects-header .section-title {
    margin-bottom: 0;
}

/* Carousel Arrows Positioning */
.projects-carousel-wrapper {
    position: relative;
    width: 100%;
}

/* Faded blur effects behind arrows */
.projects-carousel-wrapper::before,
.projects-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0; /* aligns with track padding */
    width: 150px;
    z-index: 5;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.projects-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary) 30%, rgba(21, 19, 18, 0) 100%);
    mask-image: linear-gradient(to right, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 30%, transparent 100%);
}

.projects-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary) 30%, rgba(21, 19, 18, 0) 100%);
    mask-image: linear-gradient(to left, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%);
}

.carousel-arrow {
    width: 96px;
    height: 96px;
    background: transparent;
    border: none;
    color: var(--accent-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: absolute;
    top: calc(50% - 5px);
    transform: translateY(-50%);
    z-index: 10;
}

.prev-arrow {
    left: -48px;
}

.next-arrow {
    right: -48px;
}

.carousel-arrow:hover {
    color: var(--accent-lime);
    filter: drop-shadow(0 0 12px var(--accent-lime-glow)) drop-shadow(0 0 4px var(--accent-lime));
    transform: translateY(-50%) scale(1.2);
}

.carousel-arrow.disabled {
    opacity: 0.15;
    filter: blur(1.5px);
    pointer-events: none;
}

.carousel-arrow svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 72px;
    max-height: 72px;
    transition: transform var(--transition-medium);
}

.carousel-arrow:active svg {
    transform: scale(0.85);
}

/* Horizontal track structures */
.projects-carousel-container {
    width: 100%;
    overflow: visible; /* Allows glowing card hover bounds */
}

.projects-carousel-track {
    display: flex;
    gap: 36px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 40px 120px 40px 120px; /* Horizontal padding keeps cards clear of blur zones at extremes, vertical prevents glow clipping */
    scrollbar-width: none; /* Firefox */
}

.projects-carousel-track::-webkit-scrollbar {
    display: none; /* WebKit/Blink (Chrome/Safari) */
}

.project-card {
    flex: 0 0 calc(30% - 24px);
    scroll-snap-align: center;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.project-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 
                0 0 30px rgba(197, 255, 65, 0.32);
    border-color: rgba(197, 255, 65, 0.52);
}

.project-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
    pointer-events: none;
}

.overlay-btn {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 99px;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.project-card:hover .project-thumbnail {
    transform: scale(1.05);
}

.project-card:hover .project-hover-overlay {
    opacity: 1;
}

.project-card:hover .overlay-btn {
    transform: translateY(0);
}

.project-info {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.project-tag {
    font-size: 9.5px;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 1.5px 8px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.project-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-card-excerpt {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* ==========================================================================
   Certifications & Awards
   ========================================================================== */

.credentials-section {
    padding: 60px 0;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.credentials-col {
    padding: 32px;
    border-radius: 24px;
}

/* Hover Glows for Experience, Education, and Stats Cards */
.timeline-card,
.education-card,
.stat-item {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: var(--transition-smooth);
}

.glass-interactive.timeline-card:hover,
.glass-interactive.education-card:hover {
    border-color: rgba(197, 255, 65, 0.45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 
                0 0 15px rgba(197, 255, 65, 0.22);
}

.glass-interactive.stat-item:hover {
    border-color: var(--accent-lime);
    background-color: var(--accent-lime);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 
                0 0 35px rgba(197, 255, 65, 0.4);
}

.glass-interactive.stat-item:hover .stat-number {
    color: var(--bg-primary);
}

.glass-interactive.stat-item:hover .stat-label {
    color: rgba(29, 27, 26, 0.85);
}

/* Certifications Double Column Grid */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 16px;
}

/* Individual Certification Card styling as a vertical card */
a.cert-card {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 32px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    gap: 24px;
    transition: var(--transition-medium);
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.cert-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(197, 255, 65, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                0 0 25px rgba(197, 255, 65, 0.3), 
                0 0 12px rgba(197, 255, 65, 0.15);
}

.cert-card.cert-databricks:hover {
    border-color: rgba(255, 148, 77, 0.65);
    background-color: rgba(255, 148, 77, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(255, 148, 77, 0.45);
}

.cert-card.cert-snowflake:hover {
    border-color: rgba(77, 148, 255, 0.65);
    background-color: rgba(77, 148, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(77, 148, 255, 0.45);
}

.cert-card.cert-google:hover {
    border-color: rgba(34, 139, 34, 0.65);
    background-color: rgba(34, 139, 34, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(34, 139, 34, 0.65);
}

.cert-logo-container {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-badge-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-medium);
}

.cert-card:hover .cert-badge-img {
    transform: scale(1.06) rotate(1.5deg);
}

/* Google Certification Image Container Styling */
.cert-google .cert-logo-container {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.cert-google .cert-badge-img {
    border-radius: 8px;
}

.cert-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 8px;
    gap: 8px;
}

.cert-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

.cert-card-issuer {
    font-size: 13px;
    color: var(--text-secondary);
}



/* Responsive updates for certification grid */
@media (max-width: 768px) {
    .certs-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cert-logo-container {
        width: 150px;
        height: 150px;
    }
}

.credential-col-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.credential-col-title svg {
    color: var(--accent-lime);
}

.credentials-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

a.credential-item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.credential-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 40px;
    border-radius: 16px;
    gap: 16px;
    transition: var(--transition-fast);
}

.credential-item:hover {
    border-color: rgba(255, 215, 0, 0.65);
    background-color: rgba(255, 215, 0, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(255, 215, 0, 0.45);
}

.cred-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cred-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.cred-org {
    font-size: 12px;
    color: var(--text-secondary);
}

.cred-id, .cred-year {
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--accent-lime);
    background-color: rgba(197, 255, 65, 0.08);
    border: 1px solid rgba(197, 255, 65, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

/* ==========================================================================
   Vibecoding Spaces Section (Playground Widgets)
   ========================================================================== */

.vibecoding-section {
    padding: 60px 0;
}

.playground-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.playground-card {
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 440px;
}

.playground-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.play-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.play-icon {
    font-size: 18px;
}

.play-card-title {
    font-size: 16px;
    font-weight: 700;
}

.play-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-orange);
    background-color: rgba(244, 108, 56, 0.08);
    border: 1px solid rgba(244, 108, 56, 0.15);
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Canvas Widget Viewport */
.canvas-viewport {
    position: relative;
    width: 100%;
    height: 240px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.canvas-viewport canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.canvas-instruction {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.play-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.speed-slider-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.speed-slider-group input[type="range"] {
    appearance: none;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    height: 6px;
    border-radius: 99px;
    width: 120px;
}

.speed-slider-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-lime);
}

/* Game Widget Viewport */
.game-viewport {
    position: relative;
    width: 100%;
    height: 240px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.game-intro, .game-play, .game-over {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.cyber-shield-icon {
    font-size: 32px;
    color: var(--accent-orange);
    margin-bottom: 12px;
    text-shadow: 0 0 15px var(--accent-orange-glow);
}

.game-intro p, .game-over p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 320px;
}

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

.game-hud {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 11px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.accent-text {
    color: var(--accent-lime);
    font-weight: 700;
}

.orange-text {
    color: var(--accent-orange);
    font-weight: 700;
}

.cyber-display {
    font-family: monospace;
    font-size: 13px;
    margin: 8px 0;
    color: var(--text-secondary);
}

.glowing-code {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-orange);
    text-shadow: 0 0 10px var(--accent-orange-glow);
    background: rgba(255, 255, 255, 0.02);
    padding: 4px 12px;
    border-radius: 6px;
    margin-left: 6px;
    border: 1px solid rgba(254, 110, 50, 0.2);
}

.cyber-keyboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 340px;
}

.key-btn {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
    padding: 10px;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.key-btn:hover {
    border-color: var(--accent-lime);
    color: var(--accent-lime);
}

.key-btn.target-blink {
    background-color: rgba(197, 255, 65, 0.08);
    border-color: var(--accent-lime);
    color: var(--accent-lime);
    box-shadow: 0 0 8px var(--accent-lime-glow);
}

.game-result-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-lime);
    text-shadow: 0 0 15px var(--accent-lime-glow);
    margin-bottom: 8px;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Hobbies & Interests Section
   ========================================================================== */

.hobbies-section {
    padding: 60px 0;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hobby-card {
    padding: 20px 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-height: 100px;
}

.hobby-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-lime);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.hobby-card:hover .hobby-icon-wrap {
    background-color: var(--accent-lime);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--accent-lime-glow);
}

.hobby-title {
    font-size: 22px;
    font-weight: 700;
}

.hobby-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

/* Hobby Cards Custom Hover Color Glows & Hints of Hue */

/* Sports - Red */
.hobby-sports:hover {
    border-color: rgba(255, 77, 77, 0.65) !important;
    background-color: rgba(255, 77, 77, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 77, 77, 0.45) !important;
}
.hobby-sports:hover .hobby-icon-wrap {
    background-color: #ff4d4d !important;
    color: var(--bg-primary) !important;
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.55) !important;
}

/* Photography - Orange */
.hobby-photography:hover {
    border-color: rgba(255, 148, 77, 0.65) !important;
    background-color: rgba(255, 148, 77, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 148, 77, 0.45) !important;
}
.hobby-photography:hover .hobby-icon-wrap {
    background-color: #ff944d !important;
    color: var(--bg-primary) !important;
    box-shadow: 0 0 20px rgba(255, 148, 77, 0.55) !important;
}

/* Music - Pink */
.hobby-music:hover {
    border-color: rgba(255, 77, 166, 0.65) !important;
    background-color: rgba(255, 77, 166, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 77, 166, 0.45) !important;
}
.hobby-music:hover .hobby-icon-wrap {
    background-color: #ff4da6 !important;
    color: var(--bg-primary) !important;
    box-shadow: 0 0 20px rgba(255, 77, 166, 0.55) !important;
}

/* Cooking - Yellow */
.hobby-cooking:hover {
    border-color: rgba(255, 219, 77, 0.65) !important;
    background-color: rgba(255, 219, 77, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 219, 77, 0.45) !important;
}
.hobby-cooking:hover .hobby-icon-wrap {
    background-color: #ffdb4d !important;
    color: var(--bg-primary) !important;
    box-shadow: 0 0 20px rgba(255, 219, 77, 0.55) !important;
}

/* Travel - Blue */
.hobby-travel:hover {
    border-color: rgba(77, 148, 255, 0.65) !important;
    background-color: rgba(77, 148, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(77, 148, 255, 0.45) !important;
}
.hobby-travel:hover .hobby-icon-wrap {
    background-color: #4d94ff !important;
    color: var(--bg-primary) !important;
    box-shadow: 0 0 20px rgba(77, 148, 255, 0.55) !important;
}

/* Fitness - Purple */
.hobby-fitness:hover {
    border-color: rgba(179, 102, 255, 0.65) !important;
    background-color: rgba(179, 102, 255, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(179, 102, 255, 0.45) !important;
}
.hobby-fitness:hover .hobby-icon-wrap {
    background-color: #b366ff !important;
    color: var(--bg-primary) !important;
    box-shadow: 0 0 20px rgba(179, 102, 255, 0.55) !important;
}

/* Hobby Drawer Custom Theme Colors (8% Hue Blend + Themed Border) */
#drawer-hobby1 .drawer-container {
    background: linear-gradient(rgba(255, 77, 77, 0.08), rgba(255, 77, 77, 0.08)), rgba(29, 27, 26, 0.95) !important;
    border-left: 1px solid rgba(255, 77, 77, 0.3) !important;
}
#drawer-hobby2 .drawer-container {
    background: linear-gradient(rgba(255, 148, 77, 0.08), rgba(255, 148, 77, 0.08)), rgba(29, 27, 26, 0.95) !important;
    border-left: 1px solid rgba(255, 148, 77, 0.3) !important;
}
#drawer-hobby3 .drawer-container {
    background: linear-gradient(rgba(255, 77, 166, 0.08), rgba(255, 77, 166, 0.08)), rgba(29, 27, 26, 0.95) !important;
    border-left: 1px solid rgba(255, 77, 166, 0.3) !important;
}
#drawer-hobby4 .drawer-container {
    background: linear-gradient(rgba(255, 219, 77, 0.08), rgba(255, 219, 77, 0.08)), rgba(29, 27, 26, 0.95) !important;
    border-left: 1px solid rgba(255, 219, 77, 0.3) !important;
}
#drawer-hobby5 .drawer-container {
    background: linear-gradient(rgba(77, 148, 255, 0.08), rgba(77, 148, 255, 0.08)), rgba(29, 27, 26, 0.95) !important;
    border-left: 1px solid rgba(77, 148, 255, 0.3) !important;
}
#drawer-hobby6 .drawer-container {
    background: linear-gradient(rgba(179, 102, 255, 0.08), rgba(179, 102, 255, 0.08)), rgba(29, 27, 26, 0.95) !important;
    border-left: 1px solid rgba(179, 102, 255, 0.3) !important;
}

/* ==========================================================================
   Contact Section & Form
   ========================================================================== */

.contact-section {
    padding: 60px 0 120px 0;
}

.contact-section .container {
    display: flex;
    flex-direction: column;
}

.contact-header {
    margin-bottom: 0px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 60px;
    width: 100%;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
}

.contact-pitch {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 120px;
    max-width: 570px;
}

.direct-contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    align-self: flex-start;
    padding: 4px 8px;
    margin-left: -8px;
    border-radius: 8px;
}

.contact-form-block {
    padding: 30px 40px 40px 40px;
    border-radius: 24px;
}

#portfolio-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    width: 100%;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-lime);
    box-shadow: 0 0 10px rgba(197, 255, 65, 0.05);
}

textarea {
  resize: none;
}

.send-mail-button {
    padding-top: 20px;
}

.submit-form-btn {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.submit-form-btn svg {
    width: 20px;
    height: 20px;
}

.submit-form-btn.success {
    background-color: var(--accent-lime);
    border-color: var(--accent-lime);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--accent-lime-glow);
}

.submit-form-btn.error {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-orange-glow);
}

/* Spinner & Success animations */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(21, 19, 18, 0.2);
    border-top: 2px solid var(--bg-primary);
    border-radius: 50%;
    animation: spin-loop 0.8s linear infinite;
}

.submit-form-btn:hover .spinner {
    border-color: rgba(197, 255, 65, 0.2);
    border-top-color: var(--accent-lime);
}

.checkmark-icon {
    font-weight: bold;
    font-size: 16px;
}

@keyframes spin-loop {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
    background-color: var(--bg-primary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright, .footer-powered {
    font-size: 12px;
    color: var(--text-muted);
}

.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
}

.back-to-top:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Case Study Drawers (Slide-in Overlays)
   ========================================================================== */

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(21, 19, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.drawer-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    max-width: 640px;
    min-width: 480px;
    height: 100%;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.active .drawer-container {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-project-tag {
    font-size: 11px;
    color: var(--accent-lime);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.drawer-project-title {
    font-size: 20px;
    font-weight: 800;
}

.btn-close {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px 28px;
    scrollbar-width: none;
}

.drawer-body::-webkit-scrollbar {
    display: none;
}

.drawer-hero-img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    aspect-ratio: 16/6;
    object-fit: cover;
}

.drawer-content-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-main-content h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.drawer-main-content h3:not(:first-child) {
    margin-top: 12px;
}

.drawer-main-content p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 8px;
}

.drawer-sidebar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 8px;
}

.sidebar-block {
    flex: 1 1 calc(50% - 8px);
    min-width: 160px;
}

.sidebar-block.tech-stack-block,
.sidebar-block.project-links-block {
    flex: 1 1 100%;
}

.sidebar-block h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.sidebar-block p {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.03);
}

.project-link svg {
    stroke-width: 2px;
    transition: stroke 0.3s ease;
}

.project-link:hover {
    border-color: var(--accent-lime);
    color: var(--accent-lime);
    box-shadow: 0 0 12px rgba(197, 255, 65, 0.25);
    background: rgba(197, 255, 65, 0.05);
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-pill {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 3px 8px;
    border-radius: 6px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .drawer-container {
        width: 60%;
        min-width: 380px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-intro-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-main-card {
        text-align: center;
        align-items: center;
    }
    
    .stats-grid {
        width: 100%;
        max-width: 600px;
    }
    
    .projects-carousel-track {
        gap: 28px;
        padding: 10px 90px 30px 90px;
    }
    
    .project-card {
        flex: 0 0 calc(45% - 14px);
        scroll-snap-align: center;
    }
    
    .projects-carousel-wrapper::before,
    .projects-carousel-wrapper::after {
        width: 80px;
    }
    
    .carousel-arrow {
        width: 72px;
        height: 72px;
    }
    
    .carousel-arrow svg {
        max-width: 48px;
        max-height: 48px;
    }
    
    .projects-carousel-wrapper .prev-arrow {
        left: -36px;
    }
    
    .projects-carousel-wrapper .next-arrow {
        right: -36px;
    }
    
    .playground-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 12px;
        width: calc(100% - 24px);
    }
    
    .nav-links {
        display: none; /* In a real product, we'd add a hamburger menu. But we can keep it clean for high fidelity */
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .education-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px;
    }
    .college-logo-container {
        width: 150px;
        height: 150px;
        align-self: center;
    }
    .edu-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }
    .edu-degree-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .edu-degree-group .separator {
        display: none;
    }
    .degree-title {
        white-space: normal; /* Restore wrapping on mobile */
    }
    
    .projects-carousel-track {
        gap: 20px;
        padding: 10px 60px 30px 60px;
    }
    
    .project-card {
        flex: 0 0 82%;
        scroll-snap-align: center;
    }
    
    .projects-carousel-wrapper::before,
    .projects-carousel-wrapper::after {
        width: 50px;
    }
    
    .carousel-arrow {
        width: 52px;
        height: 52px;
    }
    
    .carousel-arrow svg {
        max-width: 32px;
        max-height: 32px;
    }
    
    .projects-carousel-wrapper .prev-arrow {
        left: -20px;
    }
    
    .projects-carousel-wrapper .next-arrow {
        right: -20px;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-block {
        padding: 24px;
    }
    
    .drawer-container {
        width: 100%;
        min-width: unset;
    }
    
    .drawer-body {
        padding: 20px 24px;
    }
    
    .drawer-header {
        padding: 16px 24px;
    }

    .sidebar-block {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .budget-selector-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
