/* Modern Portfolio Styles */
:root {
    --primary-color: #64ffda;
    --secondary-color: #0a192f;
    --accent-color: #f7931e;
    --text-light: #a8b2d1;
    --text-dark: #e6f1ff;
    --text-medium: #ccd6f6;
    --bg-dark: #0a192f;
    --bg-darker: #020c1b;
    --bg-light: #112240;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --font-mono: 'JetBrains Mono', Monaco, Consolas, 'Courier New', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
    --shadow-hover: 0 20px 30px -15px rgba(2,12,27,0.7);
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Particles Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navigation */
.navbar {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(10, 25, 47, 0.98);
    box-shadow: var(--shadow);
}

.navbar-brand .brand-text {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

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

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(17, 34, 64, 0.8) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.profile-image-container {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
    transition: var(--transition);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(100, 255, 218, 0.5);
}

.profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-color), var(--accent-color), var(--primary-color));
    z-index: -1;
    animation: rotate 4s linear infinite;
    opacity: 0.7;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.hero-name {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-alias {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-family: var(--font-mono);
}

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

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    min-height: 50px;
    font-family: var(--font-mono);
}

.typing-text {
    color: var(--primary-color);
}

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

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

.hero-badges {
    margin-bottom: 2rem;
}

.hero-badges .badge {
    margin: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 25px;
    border: 1px solid;
}

.badge-primary {
    background: rgba(100, 255, 218, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.badge-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    color: #f59e0b;
}

.social-links {
    margin-bottom: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 0.5rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.3);
    text-decoration: none;
}

.cta-buttons .btn {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--primary-color);
}

.btn-outline-light:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(-10px); }
    60% { transform: rotate(45deg) translateY(-5px); }
}

/* Section Styles */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title.light {
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 4rem;
}

.section-subtitle.light {
    color: var(--text-medium);
}

/* About Section */
.about-content .lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-content p {
    color: var(--text-medium);
    line-height: 1.6;
}

.project-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.achievement-highlight {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(247, 147, 30, 0.1);
    border-left: 4px solid var(--accent-color);
    margin: 2rem 0;
    border-radius: 5px;
}

.achievement-highlight i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.quick-link:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px);
    text-decoration: none;
    color: var(--primary-color);
}

.quick-link i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(100, 255, 218, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
}

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

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Domains Section */
.domains-section {
    background: var(--bg-light);
    padding: 100px 0;
}

.domain-card {
    display: block;
    padding: 2.5rem 2rem;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transition: var(--transition);
}

.domain-card:hover::before {
    left: 100%;
}

.domain-card:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.2);
    text-decoration: none;
    color: var(--text-dark);
}

.domain-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.domain-card:hover .domain-icon {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.domain-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.domain-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.domain-arrow {
    color: var(--primary-color);
    transition: var(--transition);
}

.domain-card:hover .domain-arrow {
    transform: translateX(5px);
}

/* Skills Section */
.skills-category {
    margin-bottom: 3rem;
}

.skills-category h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.skills-category h4 i {
    margin-right: 1rem;
    color: var(--primary-color);
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-info span {
    font-weight: 500;
}

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

.skill-bar {
    height: 8px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0%;
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Experience Timeline Enhancements */
.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.current-role {
    background: var(--accent-color);
    color: var(--bg-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--accent-color);
    }
    50% {
        box-shadow: 0 0 20px var(--accent-color), 0 0 30px var(--accent-color);
    }
}

.timeline-location {
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.timeline-location::before {
    content: "📍 ";
    margin-right: 0.25rem;
}

.experience-description {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.experience-highlights {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: none;
}

.experience-highlights li {
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.experience-highlights li::before {
    content: "▶";
    color: var(--primary-color);
    position: absolute;
    left: -1.5rem;
    top: 0;
    font-size: 0.8rem;
}

/* Project Card Enhancements */
.project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.project-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.category-badge {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.duration-badge {
    background: rgba(247, 147, 30, 0.1);
    border: 1px solid rgba(247, 147, 30, 0.3);
    color: var(--accent-color);
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    font-weight: 400;
    white-space: nowrap;
}

.project-private {
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: auto;
}

.project-private i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* Category-specific colors */
.category-badge:contains("ETL/Analytics") {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #10b981;
}

.category-badge:contains("Backend") {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
}

.category-badge:contains("DevOps") {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
}

.category-badge:contains("AI/ML") {
    background: rgba(168, 85, 247, 0.1);
    border-color: #a855f7;
    color: #a855f7;
}

.category-badge:contains("Integration") {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    color: #f59e0b;
}

.category-badge:contains("Mobile") {
    background: rgba(236, 72, 153, 0.1);
    border-color: #ec4899;
    color: #ec4899;
}

.category-badge:contains("Automation") {
    background: rgba(14, 165, 233, 0.1);
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 45%;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 55%;
    text-align: left;
}

.timeline-content {
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.2);
}

.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.timeline-item.left .timeline-icon {
    right: -85px;
}

.timeline-item.right .timeline-icon {
    left: -85px;
}

.timeline-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content h4 a {
    color: var(--primary-color);
    text-decoration: none;
}

.timeline-content h5 {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.tech-stack {
    margin-top: 1rem;
}

.tech-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-color);
    margin: 0.25rem;
    font-family: var(--font-mono);
}

/* Projects Section */
.project-card {
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card.featured {
    border-color: var(--accent-color);
    background: rgba(247, 147, 30, 0.05);
}

.project-card.featured::before {
    content: 'FEATURED';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--bg-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.project-card:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.2);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.project-card:hover .project-icon {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.project-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    margin-top: auto;
}

.project-link:hover {
    color: var(--accent-color);
    text-decoration: none;
    transform: translateX(5px);
}

.project-link i {
    margin-right: 0.5rem;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.contact-link {
    display: block;
    padding: 2rem;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.contact-link:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.2);
}

.contact-link i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.contact-link span {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-link small {
    color: var(--text-medium);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 3rem 0 2rem;
    position: relative;
}

.footer-text {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-links span {
    color: var(--text-medium);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-medium);
    margin-top: 0.5rem;
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    transform: scale(0);
}

.scroll-to-top.show {
    opacity: 1;
    transform: scale(1);
}

.scroll-to-top:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-alias {
        font-size: 1.2rem;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        left: 70px !important;
        text-align: left !important;
    }
    
    .timeline-item .timeline-icon {
        left: -85px !important;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar-nav {
        background: rgba(10, 25, 47, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(100, 255, 218, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Selection Color */
/* Navigation Enhancements */
.navbar.nav-hidden {
    transform: translateY(-100%);
}

.navbar-toggler.active {
    transform: rotate(90deg);
}

/* Hover Effects */
.pulse {
    animation: pulse 0.6s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hovered {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.3) !important;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.7;
    transition: transform 0.1s ease;
}

/* Enhanced Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

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

/* Glitch Effect for Hero Text */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0000;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
    }
    10% {
        transform: translate(-2px, -2px);
    }
    20% {
        transform: translate(2px, 2px);
    }
    30% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(2px, -2px);
    }
    50% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    70% {
        transform: translate(-2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-1 {
    0%, 90%, 100% {
        clip: rect(0, 9999px, 0, 0);
    }
    10% {
        clip: rect(0, 9999px, 30px, 0);
    }
    20% {
        clip: rect(30px, 9999px, 60px, 0);
    }
    30% {
        clip: rect(60px, 9999px, 90px, 0);
    }
    40% {
        clip: rect(90px, 9999px, 120px, 0);
    }
    50% {
        clip: rect(120px, 9999px, 150px, 0);
    }
}

@keyframes glitch-2 {
    0%, 90%, 100% {
        clip: rect(0, 9999px, 0, 0);
    }
    15% {
        clip: rect(15px, 9999px, 45px, 0);
    }
    25% {
        clip: rect(45px, 9999px, 75px, 0);
    }
    35% {
        clip: rect(75px, 9999px, 105px, 0);
    }
    45% {
        clip: rect(105px, 9999px, 135px, 0);
    }
    55% {
        clip: rect(135px, 9999px, 165px, 0);
    }
}

/* Matrix Rain Effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}

.matrix-column {
    position: absolute;
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 14px;
    animation: matrix-fall linear infinite;
}

@keyframes matrix-fall {
    to {
        transform: translateY(100vh);
    }
}

/* Floating Elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

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

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
    position: relative;
}

.text-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    animation: reveal 1.5s ease-in-out;
}

@keyframes reveal {
    0% {
        left: 0;
        width: 0;
    }
    50% {
        left: 0;
        width: 100%;
    }
    100% {
        left: 100%;
        width: 0;
    }
}

/* Neon Glow Effect */
.neon-glow {
    text-shadow: 
        0 0 5px var(--primary-color),
        0 0 10px var(--primary-color),
        0 0 15px var(--primary-color),
        0 0 20px var(--primary-color);
}

/* Cyberpunk Border */
.cyber-border {
    position: relative;
    border: 2px solid var(--primary-color);
}

.cyber-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
    z-index: -1;
    border-radius: inherit;
    animation: cyber-rotate 3s linear infinite;
}

@keyframes cyber-rotate {
    0% {
        background: linear-gradient(0deg, var(--primary-color), var(--accent-color), var(--primary-color));
    }
    33% {
        background: linear-gradient(120deg, var(--primary-color), var(--accent-color), var(--primary-color));
    }
    66% {
        background: linear-gradient(240deg, var(--primary-color), var(--accent-color), var(--primary-color));
    }
    100% {
        background: linear-gradient(360deg, var(--primary-color), var(--accent-color), var(--primary-color));
    }
}

/* Terminal Window Effect */
.terminal-window {
    background: var(--bg-darker);
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.terminal-header {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--primary-color);
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

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

.terminal-button.red {
    background: #ff5f56;
}

.terminal-button.yellow {
    background: #ffbd2e;
}

.terminal-button.green {
    background: #27ca3f;
}

.terminal-content {
    padding: 1rem;
    font-family: var(--font-mono);
    color: var(--primary-color);
    line-height: 1.4;
}

/* Code Syntax Highlighting */
.code-block {
    background: var(--bg-darker);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    font-family: var(--font-mono);
    overflow-x: auto;
}

.keyword {
    color: #ff6b6b;
}

.string {
    color: #4ecdc4;
}

.number {
    color: #ffe66d;
}

.comment {
    color: var(--text-light);
    font-style: italic;
}

/* Performance Optimizations */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax {
        transform: none !important;
    }
}

/* Dark Mode Toggle */
.theme-toggle {
    position: fixed;
    top: 50%;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--bg-dark);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    transform: translateY(-50%);
}

.theme-toggle:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

/* Additional Responsive Improvements */
@media (max-width: 576px) {
    .hero-text {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        display: flex;
    }
    
    .cta-buttons {
        text-align: center;
    }
    
    .cta-buttons .btn {
        display: block;
        margin: 0.5rem auto;
        width: 80%;
    }
}

/* Blog Section Styles */
.blog-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.blog-card {
    background: rgba(17, 34, 64, 0.6);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: var(--shadow-hover);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-date {
    font-family: var(--font-mono);
    color: var(--primary-color);
}

.blog-readtime {
    color: var(--text-light);
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.blog-tags .tag {
    background: rgba(100, 255, 218, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: var(--transition);
}

.blog-tags .tag:hover {
    background: rgba(100, 255, 218, 0.2);
    border-color: var(--primary-color);
}

/* Blog Responsive Styles */
@media (max-width: 768px) {
    .blog-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .blog-title {
        font-size: 1.125rem;
    }
}