/* ==========================================================================
   1. Design System Tokens & Base Resets
   ========================================================================== */
:root {
    --bg-primary: #0A0E1A;
    --bg-secondary: #111a2e;
    --accent-blue: #00D4FF;
    --accent-purple: #7C3AED;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --card-bg: #16223f;
    --card-hover-bg: #1d2c4e;
    --border-color: #233554;
    --border-hover: #3b527d;
    
    --success: #10B981;
    --warning: #F59E0B;
    --gradient-accent: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    --gradient-dark: linear-gradient(180deg, #0A0E1A 0%, #060912 100%);
    
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease;
    
    --glow-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
    --glow-purple: 0 0 20px rgba(124, 58, 237, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

button, input, textarea {
    font-family: inherit;
}

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

/* ==========================================================================
   2. Utility Typography & Buttons
   ========================================================================== */
.section-padding {
    padding: 6.5rem 0;
}

.section-label {
    font-family: var(--font-mono);
    color: var(--accent-purple);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 3rem;
}

.text-accent {
    color: var(--accent-blue);
}

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

.btn-primary {
    background: var(--gradient-accent);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5), 0 0 10px rgba(0, 212, 255, 0.3);
}

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

.btn-secondary:hover {
    background: rgba(35, 53, 84, 0.3);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-icon-only {
    padding: 0.5rem 1rem;
    background: rgba(35, 53, 84, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.btn-icon-only:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.05);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   3. Header & Sticky Navbar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(35, 53, 84, 0.2);
    transition: var(--transition-smooth);
}

.header-scrolled {
    padding: 0.4rem 0;
    background: rgba(6, 9, 18, 0.95);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.logo-code {
    color: var(--accent-blue);
    font-weight: 400;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--accent-blue);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   4. Hero Section & Particle Network Canvas
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-primary);
    overflow: hidden;
    padding-top: 80px;
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 850px;
}

.hero-intro {
    font-family: var(--font-mono);
    color: var(--accent-blue);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    min-height: 4.2rem;
    color: var(--text-primary);
}

.headline-typewriter {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--accent-blue);
    margin-left: 2px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

/* Metrics Bar */
.metrics-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(35, 53, 84, 0.3);
}

.metric-card {
    background: rgba(22, 34, 63, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(35, 53, 84, 0.5);
    padding: 1.2rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.metric-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: var(--glow-shadow);
}

.metric-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-blue);
    line-height: 1;
}

.metric-suffix {
    font-size: 1.5rem;
    color: var(--accent-purple);
    font-weight: 700;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.learning-metric {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border-left: 2px solid var(--accent-purple);
}

.metric-icon {
    font-size: 1.8rem;
    color: var(--accent-purple);
    margin-bottom: 0.4rem;
}

/* ==========================================================================
   5. About Me Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.7;
}

.about-text .lead-text {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
}

.about-highlight {
    background: rgba(124, 58, 237, 0.08);
    border-left: 3px solid var(--accent-purple);
    padding: 1.2rem;
    border-radius: 0 8px 8px 0;
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-icon {
    font-size: 1.5rem;
    color: var(--accent-purple);
    margin-top: 0.1rem;
}

.about-highlight p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Visual avatar frame */
.about-visual {
    display: flex;
    justify-content: center;
}

.photo-frame {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 12px;
    padding: 8px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.photo-frame:hover {
    transform: rotate(2deg) scale(1.02);
    box-shadow: var(--glow-shadow), var(--glow-purple);
}

.photo-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.placeholder-avatar {
    font-size: 4rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    z-index: 2;
    animation: floating 4s ease-in-out infinite;
}

.photo-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    z-index: 2;
    font-family: var(--font-mono);
}

.neon-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================================================
   6. Skills & Tech Stack Section
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.skills-category-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.skills-category-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.highlighted-card {
    border: 1px solid rgba(124, 58, 237, 0.4);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(124, 58, 237, 0.05) 100%);
}

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

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(35, 53, 84, 0.3);
}

.category-icon {
    font-size: 1.4rem;
    color: var(--accent-blue);
}

.text-glow {
    color: var(--accent-purple);
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.category-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Glowing Pill Tag System */
.skill-tag {
    position: relative;
    padding: 0.5rem 1rem;
    background: rgba(35, 53, 84, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: help;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.skill-tag:hover {
    transform: scale(1.05);
    background: var(--card-hover-bg);
}

.badge-comfortable {
    border-color: rgba(0, 212, 255, 0.4);
}
.badge-comfortable:hover {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    border-color: var(--accent-blue);
}

.badge-familiar {
    border-color: rgba(124, 58, 237, 0.4);
}
.badge-familiar:hover {
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
    border-color: var(--accent-purple);
}

.badge-learning {
    border-color: rgba(245, 158, 11, 0.4);
}
.badge-learning:hover {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
    border-color: var(--warning);
}

.learning-badge {
    border-color: rgba(0, 245, 160, 0.3);
}
.learning-badge:hover {
    box-shadow: 0 0 15px rgba(0, 245, 160, 0.3);
    border-color: #00F5A0;
}

.skill-dot {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
}

/* Tooltip on pills */
.skill-tooltip {
    visibility: hidden;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-primary);
    border: 1px solid var(--accent-blue);
    color: var(--text-primary);
    text-align: center;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.skill-tag:hover .skill-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* ==========================================================================
   7. Timeline System (Experience & Education)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-purple) 50%, var(--border-color) 100%);
}

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

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

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 4px solid var(--accent-purple);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-dot-accent {
    border-color: var(--accent-blue);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-blue);
    transform: scale(1.2);
}

.timeline-date {
    font-family: var(--font-mono);
    color: var(--accent-blue);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Highlight Timeline Card for Fresher Principal Credentials */
.highlight-timeline-card {
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.05);
}

.highlight-timeline-card:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--glow-shadow);
}

.experience-type-tag, .education-gpa-tag {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.3rem 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border-radius: 4px;
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-purple);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.education-gpa-tag {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.experience-title, .education-degree {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.experience-company, .education-school {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

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

.experience-bullets {
    list-style: none;
    margin-bottom: 1.5rem;
}

.experience-bullets li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.experience-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

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

.tech-tag {
    padding: 0.25rem 0.6rem;
    background: rgba(35, 53, 84, 0.3);
    border: 1px solid rgba(35, 53, 84, 0.6);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Timeline Internal Custom Sub-Boxes */
.coursework-box, .education-project-box {
    background: rgba(10, 14, 26, 0.4);
    border: 1px solid rgba(35, 53, 84, 0.5);
    border-radius: 8px;
    padding: 1.2rem;
    margin-top: 1.2rem;
}

.coursework-box h5, .education-project-box h5 {
    font-family: var(--font-display);
    color: var(--accent-blue);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.coursework-box p, .education-project-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.experience-empty-note {
    background: rgba(22, 34, 63, 0.2);
    border: 1px dashed var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: center;
    max-width: 900px;
    margin: 3rem auto 0 auto;
}

.experience-empty-note i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.experience-empty-note p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ==========================================================================
   8. Project Cards
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition-smooth);
}

/* Hover Scale + Glow */
.project-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--accent-blue);
    box-shadow: var(--glow-shadow);
}

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

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

.project-domain-tag {
    font-family: var(--font-mono);
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 500;
}

.project-type-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    border: 1px solid rgba(100, 116, 139, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-learning {
    background: rgba(10, 14, 26, 0.4);
    border-left: 2px solid var(--accent-purple);
    padding: 0.8rem 1rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 1.5rem;
}

.project-learning h4 {
    font-size: 0.85rem;
    color: var(--accent-purple);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.project-learning p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.project-tech-stack {
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(35, 53, 84, 0.2);
    margin-bottom: 1.5rem;
}

.project-links {
    display: flex;
    gap: 0.8rem;
}

/* ==========================================================================
   9. Certifications Section
   ========================================================================== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
}

.cert-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

.cert-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--accent-purple);
}

.cert-card:hover .cert-icon-wrapper {
    background: var(--accent-purple);
    color: #ffffff;
    transform: rotateY(360deg);
    transition: transform 0.6s ease;
}

.cert-icon {
    font-size: 1.6rem;
}

.cert-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.cert-status-badge {
    margin-top: auto;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.status-completed {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.cert-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cert-note i {
    color: var(--accent-blue);
    margin-right: 0.4rem;
}

/* ==========================================================================
   10. Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-headline {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtext {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.status-banner {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    align-self: flex-start;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.status-text {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.detail-icon {
    width: 38px;
    height: 38px;
    background: rgba(35, 53, 84, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 0.95rem;
}

.detail-link:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* Social Icon System */
.social-channels {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 46px;
    height: 46px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: var(--glow-shadow);
}

/* Form Styles */
.contact-form-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
}

.contact-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.15);
}

.resume-download-box {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(35, 53, 84, 0.3);
    text-align: center;
}

.resume-download-box p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.footer {
    background: #060912;
    border-top: 1px solid rgba(35, 53, 84, 0.3);
    padding: 2.5rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.heart {
    color: red;
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.footer-note {
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

/* ==========================================================================
   12. Responsive Adjustments & Accessibility
   ========================================================================== */

/* Animation classes (Scroll triggers) */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .section-padding {
        padding: 5rem 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
        min-height: 3.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-visual {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        border-top: 1px solid var(--border-color);
        transition: var(--transition-smooth);
        padding: 2.5rem;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2.2rem;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.2rem;
        min-height: 5.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 19px;
    }
    
    .timeline-item {
        padding-left: 45px;
    }
    
    .timeline-dot {
        left: 8px;
    }
    
    .experience-type-tag, .education-gpa-tag {
        position: relative;
        top: 0;
        right: 0;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* prefers-reduced-motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }
    
    .scroll-animate {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .placeholder-avatar, .heart, .status-dot {
        animation: none !important;
    }
    
    .project-card:hover {
        transform: none !important;
    }
    
    .photo-frame:hover {
        transform: none !important;
    }
}

