/* ==========================================================================
   RISHI PAL PORTFOLIO - BLOCKCHAIN ENGINEERING AESTHETIC
   ========================================================================== */

/* CSS Variables - Cyber/Blockchain Theme */
:root {
    /* Colors - Deep space with electric accents */
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f18;
    --bg-tertiary: #151521;
    --bg-card: #12121c;
    
    --accent-primary: #00f5d4;
    --accent-secondary: #00bbf9;
    --accent-tertiary: #f15bb5;
    --accent-gold: #fee440;
    
    --text-primary: #e8e8ed;
    --text-secondary: #9898a6;
    --text-muted: #5a5a6e;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 245, 212, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-tertiary) 0%, var(--accent-secondary) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Animated Grid Background */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 245, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 212, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Floating Nodes Animation */
.floating-nodes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
    box-shadow: 0 0 20px var(--accent-primary);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50px) translateX(-30px);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-150px) translateX(20px);
        opacity: 0.5;
    }
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 40px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
}

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

.logo-text {
    color: var(--text-primary);
    margin: 0 4px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-medium);
}

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 999;
    padding: 100px 40px;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 60px;
    position: relative;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.name-highlight {
    display: block;
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 2.5rem;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

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

.cursor {
    animation: blink 1s infinite;
    color: var(--accent-primary);
}

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

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-description .highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Buttons */
.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-medium);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 245, 212, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual - Code Window */
.hero-visual {
    flex: 1;
    max-width: 520px;
    z-index: 1;
    animation: fadeInRight 1s ease 0.4s forwards;
    opacity: 0;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.code-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 50px rgba(0, 0, 0, 0.5);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 8px;
}

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

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.window-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.code-content {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
    overflow-x: auto;
}

.code-content .key {
    color: var(--accent-secondary);
}

.code-content .string {
    color: var(--accent-primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
    transform: rotate(45deg);
}

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

/* Section Styles */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-tertiary);
    margin-bottom: 16px;
}

.section-tag.closing {
    display: block;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-lead {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-text .highlight {
    color: var(--accent-primary);
    font-weight: 500;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-medium);
}

.highlight-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(8px);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 245, 212, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.highlight-content h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.highlight-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Terminal Window */
.image-frame {
    position: relative;
}

.terminal-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 50px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.terminal-line {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.prompt {
    color: var(--accent-primary);
}

.command {
    color: var(--accent-secondary);
}

.terminal-output {
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 24px;
}

.cursor-blink {
    animation: blink 1s infinite;
    color: var(--accent-primary);
}

/* Expertise Grid - About Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-medium);
}

.expertise-card:hover {
    border-color: rgba(0, 245, 212, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.expertise-card.featured {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.08) 0%, rgba(0, 187, 249, 0.08) 100%);
    border-color: rgba(0, 245, 212, 0.3);
}

.expertise-card.featured::before {
    opacity: 1;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
}

.expertise-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.expertise-icon svg {
    width: 32px;
    height: 32px;
}

.expertise-icon.blockchain {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.2) 0%, rgba(0, 245, 212, 0.05) 100%);
}
.expertise-icon.blockchain svg {
    stroke: var(--accent-primary);
}

.expertise-icon.platform {
    background: linear-gradient(135deg, rgba(0, 187, 249, 0.2) 0%, rgba(0, 187, 249, 0.05) 100%);
}
.expertise-icon.platform svg {
    stroke: var(--accent-secondary);
}

.expertise-icon.devops {
    background: linear-gradient(135deg, rgba(241, 91, 181, 0.2) 0%, rgba(241, 91, 181, 0.05) 100%);
}
.expertise-icon.devops svg {
    stroke: var(--accent-tertiary);
}

.expertise-icon.network {
    background: linear-gradient(135deg, rgba(254, 228, 64, 0.2) 0%, rgba(254, 228, 64, 0.05) 100%);
}
.expertise-icon.network svg {
    stroke: var(--accent-gold);
}

.expertise-icon.metermate {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.3) 0%, rgba(0, 187, 249, 0.2) 100%);
    box-shadow: 0 0 30px rgba(0, 245, 212, 0.3);
}
.expertise-icon.metermate svg {
    stroke: var(--accent-primary);
}

.expertise-icon.ai {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2) 0%, rgba(241, 91, 181, 0.1) 100%);
}
.expertise-icon.ai svg {
    stroke: #a855f7;
}

.expertise-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.expertise-card p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.expertise-card p em {
    color: var(--accent-primary);
    font-style: normal;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.expertise-tags span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.expertise-card:hover .expertise-tags span {
    background: rgba(0, 245, 212, 0.1);
    border-color: rgba(0, 245, 212, 0.2);
    color: var(--accent-primary);
}

.expertise-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.expertise-link:hover {
    gap: 12px;
    color: var(--accent-secondary);
}

/* About text styling */
.about-text p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-text p em {
    color: var(--accent-secondary);
    font-style: italic;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 50%, var(--accent-tertiary) 100%);
}

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

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

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 0;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    position: relative;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition-medium);
}

.timeline-content:hover {
    border-color: rgba(0, 245, 212, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-primary);
}

.timeline-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(0, 245, 212, 0.15);
    color: var(--accent-primary);
    border-radius: 100px;
    font-weight: 600;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.timeline-company .location {
    color: var(--text-muted);
    font-weight: 400;
}

.timeline-points {
    list-style: none;
    margin-bottom: 20px;
}

.timeline-points li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.timeline-points li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tech span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 6px 12px;
    background: rgba(0, 187, 249, 0.1);
    color: var(--accent-secondary);
    border-radius: 6px;
    border: 1px solid rgba(0, 187, 249, 0.2);
}

.timeline-item.collapsed .timeline-content {
    opacity: 0.7;
}

.timeline-item.collapsed .timeline-points {
    margin-bottom: 0;
}

/* Skills Section */
.skills {
    background: var(--bg-secondary);
}

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

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: var(--transition-medium);
}

.skill-category:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.category-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 245, 212, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.category-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.skill-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    font-size: 0.8rem;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 6px;
    transition: var(--transition-fast);
}

.skill-category:hover .skill-tags span {
    background: rgba(0, 245, 212, 0.1);
    color: var(--accent-primary);
}

/* Certifications */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

.cert-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cert-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-badge.aws {
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
}

.cert-badge.k8s {
    background: linear-gradient(135deg, #326ce5 0%, #1e4db7 100%);
}

.cert-badge svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.cert-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cert-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact {
    background: var(--bg-secondary);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition-medium);
}

.contact-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 245, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.contact-details {
    text-align: center;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: var(--transition-medium);
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 245, 212, 0.1);
    transform: translateY(-4px);
}

.social-link:hover svg {
    fill: var(--accent-primary);
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.footer-text {
    color: var(--text-muted);
    margin-bottom: 8px;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .skills-grid,
    .certs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 140px 24px 80px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .name-highlight {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-card {
        padding: 24px;
    }
    
    .skills-grid,
    .certs-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 24px;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-marker {
        left: -24px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 16px 20px;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .name-highlight {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
}

