/* style.css - Premium 3D Interactive CV Design System */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Dark Theme Variable Palette */
    --bg-primary: #08090d;
    --bg-secondary: #10121a;
    --bg-tertiary: #181b28;
    --bg-glass: rgba(16, 18, 26, 0.75);
    
    --border-color: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(0, 242, 254, 0.2);
    
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-cyan: #00f2fe;
    --accent-emerald: #10B981;
    --accent-purple: #9c27b0;
    --accent-orange: #ff9800;
    
    --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --emerald-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --purple-gradient: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    --glow-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
    
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease-out;
}

[data-theme="light"] {
    /* Light Theme Variable Palette */
    --bg-primary: #f0f2f5;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e4e7eb;
    --bg-glass: rgba(255, 255, 255, 0.8);
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(2, 132, 199, 0.15);
    
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    
    --accent-cyan: #0284c7;
    --accent-emerald: #059669;
    
    --accent-gradient: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    --emerald-gradient: linear-gradient(135deg, #059669 0%, #047857 100%);
    
    --card-shadow: 0 15px 35px rgba(31, 38, 135, 0.06);
    --glow-shadow: 0 0 15px rgba(2, 132, 199, 0.2);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
    border: 3px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Canvas Particle Grid Overlay */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.25;
}

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

section {
    padding: 90px 0;
    position: relative;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 12px;
    position: relative;
    letter-spacing: -0.5px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 30%;
    width: 40%;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

nav.scrolled {
    padding: 8px 0;
    box-shadow: var(--card-shadow);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

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

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

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

.nav-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: var(--glow-shadow);
}

.burger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
}

/* 3D Tilted Card Base styling */
.tilt-card-parent {
    perspective: 1000px;
}

.tilt-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.1s ease-out, box-shadow 0.15s ease, border-color 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
}

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

/* Ensure inner elements pop out in 3D */
.tilt-card-content {
    transform: translateZ(50px);
    transform-style: preserve-3d;
}

.tilt-card-pop {
    transform: translateZ(75px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(circle at 15% 20%, rgba(0, 242, 254, 0.06) 0%, transparent 45%),
                radial-gradient(circle at 85% 75%, rgba(16, 185, 129, 0.05) 0%, transparent 45%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h4 {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 28px;
    min-height: 45px;
}

.typing-cursor {
    color: var(--accent-cyan);
    animation: blink 0.8s infinite;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin: 0 auto 40px auto;
    max-width: 750px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #08090d;
    border: none;
    box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.7);
}

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

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: var(--glow-shadow);
}

.btn-emerald {
    background: var(--emerald-gradient);
    color: #08090d;
    border: none;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.7);
}

/* 3D Cyber Status Badge */
.hero-visual {
    display: flex;
    justify-content: center;
}

.cyber-badge-3d {
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(16, 18, 26, 0.95) 0%, rgba(8, 9, 13, 0.95) 100%);
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: var(--card-shadow), inset 0 0 30px rgba(0, 242, 254, 0.05);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, box-shadow 0.2s ease;
    cursor: pointer;
}

.cyber-badge-3d:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 45px rgba(0, 242, 254, 0.15), var(--glow-shadow);
}

.badge-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    transform: translateZ(30px);
}

.badge-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #08090d;
    font-weight: 800;
    box-shadow: var(--glow-shadow);
}

.badge-title h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
}

.badge-title p {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.badge-body {
    transform: translateZ(40px);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.badge-item i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.badge-status {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--accent-emerald);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    transform: translateZ(50px);
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.service-card-inner {
    padding: 35px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.service-card-inner:hover {
    border-color: var(--hover-color) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px var(--hover-color);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card-inner:hover .service-icon-box {
    background: var(--hover-color);
    color: #08090d !important;
    box-shadow: 0 0 20px var(--hover-color);
    border-color: transparent;
    transform: scale(1.1) translateZ(30px);
}

.service-card-inner h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.service-card-inner p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Counter Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 80px;
}

.stat-card {
    padding: 30px 20px;
    text-align: center;
}

.stat-card h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* About Section */
.profile-content-card {
    padding: 45px;
    border-radius: 24px;
    margin-bottom: 40px;
}

.profile-grid-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
    font-size: 1rem;
}

.profile-grid-details p {
    margin-bottom: 12px;
}

.profile-grid-details a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.profile-grid-details a:hover {
    color: var(--text-primary);
    text-shadow: var(--glow-shadow);
}

/* Skills Terminal */
.skills-terminal {
    background: #0b0c13;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    max-width: 950px;
    margin: 0 auto;
}

.terminal-header {
    background: #111320;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

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

.terminal-btn.red { background: #ff5f56; }
.terminal-btn.yellow { background: #ffbd2e; }
.terminal-btn.green { background: #27c93f; }

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

.terminal-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: #090a10;
    overflow-x: auto;
}

.terminal-tab {
    background: none;
    border: none;
    border-right: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.terminal-tab:hover {
    background: rgba(255,255,255,0.02);
    color: var(--text-primary);
}

.terminal-tab.active {
    background: #0b0c13;
    color: var(--accent-cyan);
    border-bottom: 2px solid var(--accent-cyan);
}

.terminal-body {
    padding: 40px;
    min-height: 300px;
}

.skill-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 48px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.skill-percentage {
    color: var(--accent-cyan);
    font-family: var(--font-mono);
}

.skill-bar-wrapper {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.1, 0.8, 0.2, 1);
    position: relative;
}

.skill-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 8px #fff;
}

/* Resume & Qualifications Timeline */
.resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.timeline-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 35px;
}

.timeline-title-wrap i {
    font-size: 1.6rem;
    color: var(--accent-cyan);
}

.timeline-title-wrap h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
}

.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -34px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent-cyan);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-item:hover::before {
    background: var(--accent-cyan);
    box-shadow: var(--glow-shadow);
    transform: scale(1.25);
}

.time-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    margin-bottom: 14px;
    font-weight: 600;
}

.timeline-item h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-item .company {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 14px;
}

.timeline-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.timeline-highlights {
    margin-top: 14px;
    padding-left: 18px;
    list-style-type: square;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

/* Projects & Articles Section */
.filter-tabs-container {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 45px;
}

.filter-tab-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
}

.filter-tab-btn:hover, .filter-tab-btn.active {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: var(--glow-shadow);
}

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

.grid-card-inner {
    padding: 35px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border-radius: 20px;
}

.card-icon {
    font-size: 2.2rem;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.tilt-card:hover .card-icon {
    transform: scale(1.1) translateZ(30px);
}

.grid-card-inner h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.3;
}

.grid-card-inner p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    transform: translateZ(20px);
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.card-action-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-cyan);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-smooth);
    margin-top: auto;
    width: fit-content;
}

.card-action-link:hover {
    color: var(--text-primary);
}

.card-action-link i {
    transition: transform 0.3s ease;
}

.card-action-link:hover i {
    transform: translateX(6px);
}

/* Social Hub Section */
.social-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.social-card-inner {
    padding: 35px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.social-card-inner:hover {
    border-color: var(--hover-color) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px var(--hover-color);
}

.social-icon-box {
    width: 75px;
    height: 75px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.02);
}

.social-icon-box svg {
    width: 34px;
    height: 34px;
    transition: var(--transition-smooth);
}

.social-card-inner:hover .social-icon-box {
    background: var(--hover-color);
    color: #08090d !important;
    box-shadow: 0 0 25px var(--hover-color);
    border-color: transparent;
    transform: scale(1.1) translateZ(35px);
}

.social-card-inner h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.social-card-inner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card-box {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-card-box i {
    font-size: 1.4rem;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 242, 254, 0.15);
}

.info-card-box h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.info-card-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

..info-card-box a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.info-card-box a:hover {
    color: var(--accent-cyan);
}

/* Dynamic Email Channels List styling */
.email-channels-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
}

.email-channel-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition-smooth);
    width: 100%;
}

.email-channel-item:hover {
    border-color: var(--channel-color) !important;
    background: color-mix(in srgb, var(--channel-color) 4%, transparent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.channel-icon {
    font-size: 1rem;
    color: var(--channel-color);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--channel-color) 8%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.email-channel-item:hover .channel-icon {
    background: var(--channel-color);
    color: #08090d !important;
}

.channel-details {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Prevents overflow */
}

.channel-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.channel-link {
    color: var(--text-primary) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    word-break: break-all;
}

.email-channel-item:hover .channel-link {
    color: var(--channel-color) !important;
}

.contact-form-panel {
    padding: 45px;
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.form-field label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.form-input {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

textarea.form-input {
    resize: vertical;
    min-height: 150px;
}

.form-feedback {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    display: none;
    font-weight: 600;
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: block;
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
}

/* Footer styling */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

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

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 28px;
}

.footer-social-links a {
    color: var(--text-secondary);
    font-size: 1.35rem;
    transition: var(--transition-smooth);
}

.footer-social-links a:hover {
    color: var(--accent-cyan);
    transform: scale(1.2);
}

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

/* System Animations */
@keyframes blink {
    50% { opacity: 0; }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .resume-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cards-display-grid {
        grid-template-columns: 1fr;
    }
    
    .social-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
    }
    
    .hero-content h1 {
        font-size: 3.25rem;
    }
    
    .burger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 36px;
        transition: left 0.4s ease;
        padding-bottom: 100px;
    }
    
    .nav-links.open {
        left: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skill-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .social-hub-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
}

/* Print Layout System */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 10pt !important;
    }
    
    #bg-canvas, nav, .theme-toggle-btn, .burger, .hero-btns, .filter-tabs-container, .contact-form-panel, footer, .btn {
        display: none !important;
    }
    
    section {
        padding: 15px 0 !important;
        page-break-inside: avoid;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .tilt-card, .cyber-badge-3d, .profile-content-card {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: #000 !important;
        padding: 0 !important;
        margin-bottom: 15px !important;
    }
    
    .section-header h2 {
        font-size: 16pt !important;
        color: #000 !important;
        background: none !important;
        -webkit-text-fill-color: initial !important;
        border-bottom: 1.5pt solid #000 !important;
        padding-bottom: 4px !important;
    }
    
    .section-header h2::after {
        display: none !important;
    }
    
    .hero {
        min-height: auto !important;
        padding-top: 0 !important;
    }
    
    .hero-grid {
        grid-template-columns: 1fr !important;
        text-align: left !important;
    }
    
    .hero-content h1 {
        font-size: 20pt !important;
        color: #000 !important;
    }
    
    .hero-content h1 span {
        background: none !important;
        -webkit-text-fill-color: initial !important;
        color: #000 !important;
    }
    
    .hero-subtitle {
        font-size: 12pt !important;
        color: #444 !important;
    }
    
    .resume-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
    
    .timeline::before {
        background: #999 !important;
    }
    
    .timeline-item::before {
        border-color: #000 !important;
        background: #fff !important;
    }
    
    .skill-bar-wrapper {
        border: 0.5pt solid #888 !important;
        background: #eee !important;
    }
    
    .skill-bar {
        background: #444 !important;
    }
    
    .cards-display-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }
    
    .grid-card-inner {
        border: 0.5pt solid #888 !important;
        padding: 10px !important;
        background: transparent !important;
    }
    
    .social-hub-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px !important;
    }
    
    .social-card-inner {
        border: 0.5pt solid #888 !important;
        padding: 8px !important;
    }
}
