/* ==========================================================================
   PORTFOLIO DESIGN SYSTEM & STYLESHEET
   Author: Tanush Rajkumar
   Aesthetics: Deep Slate Dark-Mode, Minimal Clean UI, Glowing Glassmorphism
   ========================================================================== */

/* Custom CSS Properties / Tokens */
:root {
    --bg-dark: #07090e;
    --bg-card: rgba(13, 19, 33, 0.55);
    --bg-card-hover: rgba(17, 26, 46, 0.75);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-color-hover: rgba(99, 102, 241, 0.3);
    
    --primary: #6366f1;       /* Indigo Glow */
    --primary-rgb: 99, 102, 241;
    --secondary: #14b8a6;     /* Cool Teal */
    --secondary-rgb: 20, 184, 166;
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #6b7280;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
    --shadow-glow-hover: 0 0 40px rgba(99, 102, 241, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Particle Canvas Container */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.65;
}

/* General Layout Utilities */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    position: relative;
    z-index: 1;
}

.section-padding {
    padding: 6.5rem 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, var(--primary) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header & Nav Menu */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 9, 14, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    background: rgba(7, 9, 14, 0.85);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    display: flex;
    align-items: center;
}

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

.logo-accent {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--primary);
    color: #ffffff !important;
}

.nav-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.nav-btn::after {
    display: none !important;
}

/* Mobile Toggle Bar */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-hover);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color-hover);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: #ffffff;
    transform: translateY(-3px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* Section Header Styles */
.section-header {
    margin-bottom: 4rem;
    position: relative;
}

.section-header.center-align {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.subtitle-accent {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.header-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.header-line.center {
    margin: 0 auto;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 1rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.hero-glow-1, .hero-glow-2 {
    position: absolute;
    width: 35vw;
    height: 35vw;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.18;
}

.hero-glow-1 {
    top: 10%;
    left: -5%;
    background: var(--primary);
}

.hero-glow-2 {
    bottom: 10%;
    right: -5%;
    background: var(--secondary);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.badge-accent {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
    animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { border-color: rgba(99, 102, 241, 0.25); box-shadow: 0 0 0 rgba(99, 102, 241, 0); }
    50% { border-color: rgba(99, 102, 241, 0.55); box-shadow: 0 0 10px rgba(99, 102, 241, 0.15); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-tagline {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 580px;
    margin-bottom: 2.2rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
}

.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.highlight-card:hover {
    transform: translateX(8px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.highlight-icon-wrapper {
    color: var(--primary);
    margin-bottom: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.08);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.highlight-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.highlight-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 5;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translate(-50%, 5px);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-dark);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    animation: scrollAnimation 1.8s infinite;
}

@keyframes scrollAnimation {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-lead {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.about-paragraph {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.contact-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.quick-link-item svg {
    color: var(--primary);
    transition: var(--transition-bounce);
}

.quick-link-item:hover {
    color: #ffffff;
}

.quick-link-item:hover svg {
    transform: scale(1.2);
}

.quick-link-item.location {
    cursor: default;
}

.quick-link-item.location:hover {
    color: var(--text-muted);
}

/* About Visual Monogram Card */
.about-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    position: relative;
    width: 280px;
    height: 340px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
}

.visual-card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.visual-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
    z-index: 2;
}

.visual-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(20, 184, 166, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
    position: relative;
}

.visual-avatar::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px dashed rgba(20, 184, 166, 0.3);
    animation: rotateDashed 25s infinite linear;
}

@keyframes rotateDashed {
    100% { transform: rotate(360deg); }
}

.avatar-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visual-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.visual-role {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.visual-univ {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.visual-deco-line {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
}

.visual-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow-hover);
}

/* Skills Section & Tabs */
.skills-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3.5rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
    display: block;
}

.skill-card.hidden {
    display: none;
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
    background: var(--bg-card-hover);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.skill-name {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
}

.skill-cat-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(20, 184, 166, 0.08);
    padding: 0.25rem 0.6rem;
    border-radius: 30px;
    border: 1px solid rgba(20, 184, 166, 0.15);
}

.skill-details-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    line-height: 1.5;
}

/* Experience Vertical Timeline */
.timeline {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 31px;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
    padding-left: 5rem;
}

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

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 4px solid var(--primary);
    box-shadow: 0 0 10px var(--primary);
    z-index: 2;
    transition: var(--transition-bounce);
}

.timeline-item:hover .timeline-dot {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
    transform: scale(1.2);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.timeline-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.timeline-role {
    font-size: 1.3rem;
    font-weight: 700;
}

.timeline-company {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 0.2rem;
}

.timeline-location {
    font-size: 0.85rem;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-summary-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.experience-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.experience-tech-tags span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.3rem 0.7rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.experience-tech-tags span:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

/* Projects Carousel Scrollable Row */
.projects-carousel-container {
    position: relative;
    width: 100%;
}

.projects-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem 2rem 0.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.3) rgba(255, 255, 255, 0.02);
}

.projects-grid::-webkit-scrollbar {
    height: 8px;
}

.projects-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.projects-grid::-webkit-scrollbar-thumb {
    background-color: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
    border: 2px solid var(--bg-dark);
}

.project-card {
    position: relative;
    flex: 0 0 350px; /* Fixed card width so it scrolls horizontally */
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-link-wrapper:hover {
    text-decoration: none;
    color: inherit;
}

.project-github-link {
    position: absolute;
    top: 1.8rem;
    right: 1.8rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    opacity: 0.6;
    z-index: 5;
}

.project-card:hover .project-github-link {
    color: var(--primary);
    opacity: 1;
    transform: scale(1.1);
}

.clickable-card {
    cursor: pointer;
}

.clickable-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow);
}

.projects-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Objective Tags */
.about-objective-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}

.about-objective-tags span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    padding: 0.35rem 0.9rem;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.about-objective-tags span:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.15);
}

.project-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(99, 102, 241, 0.08), transparent 40%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0;
}

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

.project-card-content {
    padding: 2.2rem;
    position: relative;
    z-index: 2;
}

.project-icon {
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.project-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.project-description {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

.project-bullets {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.8rem;
}

.project-bullets li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
}

.project-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech-stack span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.3rem 0.7rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

/* Education Layout */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2rem;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2.2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.edu-icon-box {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--primary);
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edu-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.edu-timeline {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    padding: 0.25rem 0.8rem;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.edu-degree {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.edu-school {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.1rem;
}

.edu-loc {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.gpa-badge {
    color: var(--secondary);
}

/* Achievements Layout */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
}

.achievement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.ach-badge-wrapper {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-bounce);
}

.achievement-card:hover .ach-badge-wrapper {
    color: var(--secondary);
    border-color: rgba(20, 184, 166, 0.3);
    background: rgba(20, 184, 166, 0.06);
    transform: rotate(-10deg) scale(1.1);
}

.ach-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.ach-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Grid & Form */
.contact-container {
    max-width: 900px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: flex-start;
}

.contact-info-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 2rem;
}

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

.info-icon {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--primary);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.info-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
}

.info-link:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.info-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
}

/* Premium Form Elements */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.8rem;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 0.85rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.form-textarea {
    resize: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.02);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.1);
}

/* Floating label design */
.form-label {
    position: absolute;
    left: 1.2rem;
    top: 0.85rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-textarea ~ .form-label {
    top: 0.85rem;
}

/* Float logic based on input placeholder pseudo-class */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -0.65rem;
    left: 0.8rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    background: #0f1422; /* Card background mask */
    padding: 0 0.4rem;
    border-radius: 4px;
}

.btn-submit {
    width: 100%;
    border: none;
}

.contact-form:focus-within {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: var(--shadow-glow);
}

/* Footer Section */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0;
    background: #04060a;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: var(--text-muted);
}

.footer-socials a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Media Queries & Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-tagline {
        max-width: 100%;
    }
    .hero-highlights {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        display: grid;
    }
    .highlight-card:hover {
        transform: translateY(-5px);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .about-visual {
        order: -1;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4.5rem 0;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    /* Mobile Menu Toggle Navigation */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #090e1a;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition-bounce);
        z-index: 99;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    /* Toggle active animation */
    .mobile-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        padding-left: 3rem;
    }
    .timeline-dot {
        left: 9px;
    }
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   COMPACT SKILLS ALTERNATIVE STYLES
   ========================================================================== */
.skills-compact-section {
    padding-top: 4rem;
}
.skills-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.skills-compact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 1.8rem;
    transition: var(--transition-smooth);
}
.skills-compact-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}
.compact-cat-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.6rem;
}
.compact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.compact-tags span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}
.compact-tags span:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

/* ==========================================================================
   CAROUSEL NAVIGATION BUTTONS
   ========================================================================== */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    color: var(--text-muted);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-md);
}

.carousel-nav-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -1.5rem;
}

.next-btn {
    right: -1.5rem;
}

@media (max-width: 1200px) {
    .prev-btn {
        left: -0.5rem;
    }
    .next-btn {
        right: -0.5rem;
    }
}

@media (max-width: 768px) {
    .carousel-nav-btn {
        display: none;
    }
}
