/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d0d14;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    
    --text-primary: #ffffff;
    --text-secondary: #8b8b9e;
    --text-muted: #5a5a6e;
    
    --accent-purple: #7c3aed;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    
    --gradient-text: linear-gradient(135deg, #a78bfa 0%, #7c3aed 25%, #06b6d4 75%, #22d3ee 100%);
    --gradient-glow: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(6, 182, 212, 0.3));
    
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(255, 255, 255, 0.1);
    
    --font-primary: 'Outfit', 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

/* ===== Particle Canvas ===== */
#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== Floating Orbs ===== */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    top: -100px;
    right: -100px;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-cyan);
    bottom: -50px;
    left: -50px;
    animation: float-orb 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-pink);
    top: 50%;
    left: 50%;
    animation: float-orb 30s ease-in-out infinite;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(-50px, -20px) scale(1.05); }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mobile-menu-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    opacity: 0;
    transition: var(--transition);
    border-radius: 11px;
}

.mobile-menu-btn:hover::before,
.mobile-menu-btn.active::before {
    opacity: 0.15;
}

.mobile-menu-btn:hover {
    border-color: var(--accent-purple);
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    position: relative;
    z-index: 1;
}

.mobile-menu-btn:hover .hamburger-line {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
    background: var(--accent-cyan);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    background: var(--accent-purple);
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-text);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

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

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Hero Section ===== */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 3rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
}

/* Hero Side Decorations - Positioned at screen edges */
.hero-side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 340px;
    z-index: 0;
}

.hero-left {
    left: 2rem;
    align-items: center;
}

.hero-right {
    right: 2rem;
    align-items: center;
}

/* Code Block Decoration */
.code-block {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.08) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
}

.code-line {
    color: var(--text-muted);
    line-height: 1.6;
}

.code-keyword {
    color: var(--accent-purple);
    font-weight: 600;
}

.code-property {
    color: var(--accent-cyan);
}

.code-string {
    color: #4ade80;
}

.code-boolean {
    color: var(--accent-pink);
}

/* Terminal Block Decoration */
.terminal-block {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(6, 182, 212, 0.08) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.15);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-body {
    padding: 1.75rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.terminal-line {
    color: var(--accent-cyan);
}

.terminal-line::before {
    content: '$ ';
    color: var(--accent-purple);
}

.terminal-output {
    color: var(--text-secondary);
    padding-left: 1rem;
    opacity: 0.8;
}

/* Floating Icons */
.floating-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.floating-icon {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--text-secondary);
    transition: var(--transition);
    animation: float-icon 4s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    color: #61dafb;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    color: #68a063;
    animation-delay: 0.7s;
}

.floating-icon:nth-child(3) {
    color: #3776ab;
    animation-delay: 1.4s;
}

.hero-right .floating-icon:nth-child(1) {
    color: #2496ed;
}

.hero-right .floating-icon:nth-child(2) {
    color: #fcc624;
}

.hero-right .floating-icon:nth-child(3) {
    color: #f05032;
}

.floating-icon:hover {
    transform: translateY(-3px) scale(1.2);
    filter: drop-shadow(0 4px 8px currentColor);
}

.floating-icon:hover {
    border-color: var(--accent-purple);
    color: var(--accent-cyan);
    transform: translateY(-5px);
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero side elements hidden on smaller screens - see consolidated responsive section */
@media (max-width: 1200px) {
    .hero-side {
        display: none;
    }
}

.hero-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(6, 182, 212, 0); }
}

.hero-name {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    animation: glow-text 3s ease-in-out infinite alternate;
}

@keyframes glow-text {
    from { filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.3)); }
    to { filter: drop-shadow(0 0 40px rgba(6, 182, 212, 0.4)); }
}

.hero-title {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* ===== Tags ===== */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.tag {
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border-hover);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tag:hover {
    border-color: var(--accent-purple);
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.1);
}

/* ===== Stats Cards ===== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.stat-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    line-height: 1.3;
}

/* ===== Social Icons ===== */
.hero-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-icon:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

/* ===== Sections ===== */
.section {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* ===== Experience / Timeline Section ===== */
.timeline {
    position: relative;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.timeline-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.timeline-item:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.timeline-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 12px;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1.25rem;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.timeline-content h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Timeline responsive styles in consolidated section below */

/* ===== Certifications Section ===== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cert-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.cert-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 12px;
    font-size: 1.25rem;
    color: white;
}

.cert-content h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cert-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Certifications responsive styles in consolidated section below */

/* ===== Projects Section ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Projects responsive styles in consolidated section below */

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.15);
}

.project-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 14px;
    font-size: 1.5rem;
    color: white;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tech span {
    padding: 0.35rem 0.75rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-purple);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-hover);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.project-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* ===== Learnings Section ===== */
.learnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.learning-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.learning-category:hover {
    border-color: var(--border-hover);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-header i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.category-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: var(--width);
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    border-radius: 3px;
    transition: width 1s ease;
}

.currently-learning {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: fit-content;
    margin: 0 auto;
}

.currently-learning h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.currently-learning i {
    color: #22c55e;
}

.exploring-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.explore-tag {
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #22c55e;
    transition: var(--transition);
}

.explore-tag:hover {
    background: rgba(34, 197, 94, 0.2);
}

/* ===== Contact Section ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--accent-purple);
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.contact-card h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: var(--text-primary);
}

/* ===== Contact Form ===== */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-hover);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -0.75rem;
    font-size: 0.75rem;
    color: var(--accent-purple);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border: none;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3);
}

/* ===== Footer ===== */
.footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-text .highlight {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    transform: translateY(-3px);
}

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

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

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 992px) {
    .navbar {
        gap: 1.5rem;
        padding: 1.25rem 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .hero {
        padding: 7rem 1.5rem 3rem;
    }
    
    .hero-name {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .hero-title {
        font-size: clamp(1rem, 2vw, 1.25rem);
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-tags {
        gap: 0.5rem;
    }
    
    .tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .footer {
        padding: 3rem 1.5rem;
    }
}

/* Small Tablets and Large Phones */
@media (max-width: 768px) {
    .navbar {
        justify-content: flex-end;
        padding: 1rem 1.5rem;
        z-index: 1000;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        background: var(--bg-primary);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 2rem;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1rem 2rem;
        letter-spacing: 0.15em;
        color: var(--text-secondary);
        border: 1px solid transparent;
        border-radius: 12px;
        transition: var(--transition);
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--text-primary);
        background: rgba(124, 58, 237, 0.1);
        border-color: var(--accent-purple);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hero {
        padding: 6rem 1rem 2rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-name {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .hero-title {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
        padding: 0;
        margin-bottom: 1.5rem;
    }
    
    .hero-tags {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .tag {
        padding: 0.45rem 0.9rem;
        font-size: 0.75rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .stat-card {
        padding: 1.25rem 0.75rem;
    }
    
    .stat-value {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .hero-social {
        gap: 0.75rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    /* Timeline */
    .timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline-item {
        padding: 1.5rem;
    }
    
    .timeline-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    /* Certifications */
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cert-card {
        padding: 1.5rem;
    }
    
    .cert-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .cert-content h3 {
        font-size: 1rem;
    }
    
    .cert-content p {
        font-size: 0.85rem;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .project-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .project-content h3 {
        font-size: 1.1rem;
    }
    
    .project-content p {
        font-size: 0.9rem;
    }
    
    .project-tech {
        gap: 0.4rem;
    }
    
    .project-tech span {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .project-links {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .project-btn {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }
    
    /* Learnings */
    .learnings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .learning-category {
        padding: 1.5rem;
    }
    
    .category-header i {
        font-size: 1.25rem;
    }
    
    .category-header h3 {
        font-size: 1rem;
    }
    
    .skill-name {
        font-size: 0.85rem;
    }
    
    .currently-learning {
        padding: 1.5rem;
        width: 100%;
    }
    
    .currently-learning h3 {
        font-size: 0.9rem;
    }
    
    .exploring-tags {
        gap: 0.5rem;
    }
    
    .explore-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .contact-card i {
        font-size: 1.25rem;
    }
    
    .contact-card h4 {
        font-size: 0.8rem;
    }
    
    .contact-card p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 1rem;
    }
    
    .footer-content {
        max-width: 100%;
    }
    
    .footer-text {
        font-size: 0.9rem;
    }
    
    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    /* Orbs - reduce size on mobile */
    .orb-1 {
        width: 250px;
        height: 250px;
    }
    
    .orb-2 {
        width: 200px;
        height: 200px;
    }
    
    .orb-3 {
        width: 150px;
        height: 150px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .navbar {
        gap: 0.25rem;
        padding: 0.75rem 0.5rem;
    }
    
    .nav-link {
        font-size: 0.65rem;
        padding: 0.4rem 0.5rem;
        letter-spacing: 0.05em;
    }
    
    .hero {
        padding: 5.5rem 0.75rem 2rem;
    }
    
    .hero-name {
        font-size: clamp(1.75rem, 12vw, 2.5rem);
    }
    
    .hero-title {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .hero-tags {
        gap: 0.4rem;
    }
    
    .tag {
        padding: 0.4rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem 0.5rem;
        border-radius: 12px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
        letter-spacing: 0.05em;
    }
    
    .hero-social {
        gap: 0.6rem;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Timeline */
    .timeline-item {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .timeline-date {
        font-size: 0.75rem;
    }
    
    .timeline-content h3 {
        font-size: 0.95rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Certifications */
    .cert-card {
        padding: 1.25rem;
        border-radius: 16px;
        gap: 1rem;
    }
    
    .cert-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .cert-content h3 {
        font-size: 0.95rem;
    }
    
    .cert-content p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    /* Projects */
    .project-card {
        padding: 1.25rem;
        border-radius: 16px;
        gap: 1rem;
    }
    
    .project-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    
    .project-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .project-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }
    
    .project-tech {
        gap: 0.35rem;
        margin-bottom: 0.75rem;
    }
    
    .project-tech span {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .project-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    
    /* Learnings */
    .learning-category {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .category-header {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .category-header i {
        font-size: 1.1rem;
    }
    
    .category-header h3 {
        font-size: 0.95rem;
    }
    
    .skills-list {
        gap: 1rem;
    }
    
    .skill-name {
        font-size: 0.8rem;
    }
    
    .skill-bar {
        height: 5px;
    }
    
    .currently-learning {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .currently-learning h3 {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .explore-tag {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
    }
    
    /* Contact */
    .contact-card {
        padding: 1rem;
        border-radius: 12px;
        gap: 0.75rem;
    }
    
    .contact-card i {
        font-size: 1.1rem;
    }
    
    .contact-card h4 {
        font-size: 0.75rem;
    }
    
    .contact-card p {
        font-size: 0.85rem;
        word-break: break-word;
    }
    
    .contact-form {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.75rem 0;
    }
    
    .form-group label {
        font-size: 0.9rem;
        top: 0.75rem;
    }
    
    .form-group input:focus ~ label,
    .form-group input:valid ~ label,
    .form-group textarea:focus ~ label,
    .form-group textarea:valid ~ label {
        font-size: 0.7rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .submit-btn {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0.75rem;
    }
    
    .footer-text {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .footer-social {
        gap: 0.75rem;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
    
    /* Orbs - even smaller on phones */
    .orb-1 {
        width: 180px;
        height: 180px;
        filter: blur(60px);
    }
    
    .orb-2 {
        width: 140px;
        height: 140px;
        filter: blur(50px);
    }
    
    .orb-3 {
        width: 100px;
        height: 100px;
        filter: blur(40px);
    }
}

/* Extra Small Phones */
@media (max-width: 360px) {
    .navbar {
        padding: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.6rem;
        padding: 0.35rem 0.4rem;
    }
    
    .hero {
        padding: 5rem 0.5rem 1.5rem;
    }
    
    .hero-name {
        font-size: 1.6rem;
    }
    
    .hero-title {
        font-size: 0.8rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .tag {
        padding: 0.35rem 0.6rem;
        font-size: 0.65rem;
    }
    
    .stat-card {
        padding: 0.75rem 0.35rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.5rem;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
}

/* Landscape Mode on Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 5rem 1.5rem 2rem;
        min-height: auto;
    }
    
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 0.75rem 0.5rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.5rem;
    }
    
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .learnings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .orb {
        filter: blur(100px);
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge { animation-delay: 0.1s; }
.hero-name { animation-delay: 0.2s; }
.hero-title { animation-delay: 0.3s; }
.hero-description { animation-delay: 0.4s; }
.hero-tags { animation-delay: 0.5s; }
.hero-stats { animation-delay: 0.6s; }
.hero-social { animation-delay: 0.7s; }

/* ===== Scroll Animations ===== */
.project-card,
.learning-category,
.contact-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.project-card.visible,
.learning-category.visible,
.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}
