:root {
    /* Neon Theme Colors */
    --primary: #0ef;
    --primary-dark: #0af;
    --secondary: #f0f;
    --tertiary: #0ff;
    --accent: #f0e;
    --dark: #0a0b1a;
    --darker: #070818;
    --light: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-800: #1e293b;
    --code-bg: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.neon-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(14, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(14, 255, 255, 0.05) 1px, transparent 1px);
    opacity: 0.4;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
}

a:hover {
    color: var(--tertiary);
    text-shadow: 0 0 8px rgba(14, 255, 255, 0.8);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
    position: relative;
}

/* Navigation */
.navbar {
    background-color: rgba(10, 11, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(14, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(14, 255, 255, 0.2);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(14, 255, 255, 0.5);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-300);
    transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(14, 255, 255, 0.8);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(14, 255, 255, 0.8);
}

/* Page Header */
.page-header {
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(14, 255, 255, 0.1), rgba(240, 0, 255, 0.1));
    z-index: -1;
}

.glow-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.glow-circle-1 {
    top: 30%;
    left: 20%;
    background-color: rgba(14, 255, 255, 0.3);
    animation: float 8s ease-in-out infinite;
}

.glow-circle-2 {
    top: 60%;
    right: 25%;
    background-color: rgba(240, 0, 255, 0.3);
    animation: float 10s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.2);
    }
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(14, 255, 255, 0.5);
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(14, 255, 255, 0.8);
}

.page-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-300);
    max-width: 600px;
    margin: 2rem auto 0;
}

/* About Content Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

.profile-image {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    border: 2px solid rgba(14, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary));
    z-index: -1;
    border-radius: 0.6rem;
    animation: border-glow 3s linear infinite;
}

@keyframes border-glow {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
}

.about-text {
    color: var(--gray-300);
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(14, 255, 255, 0.8);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.skill-tag {
    background: rgba(14, 255, 255, 0.1);
    border: 1px solid rgba(14, 255, 255, 0.3);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(14, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(14, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(14, 255, 255, 0.3);
}

/* Timeline Section */
.timeline-section {
    padding: 5rem 0;
    position: relative;
}

.timeline-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.timeline-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(14, 255, 255, 0.5);
}

.timeline-heading p {
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(14, 255, 255, 0.8), 
        rgba(240, 0, 255, 0.8), 
        rgba(14, 255, 255, 0.8));
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(14, 255, 255, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 2rem);
}

.timeline-content {
    background: rgba(10, 11, 26, 0.8);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(14, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--dark);
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 8px rgba(14, 255, 255, 0.8);
    top: 50%;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -3.6rem;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -3.6rem;
    transform: translateY(-50%);
}

.timeline-date {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-shadow: 0 0 5px rgba(14, 255, 255, 0.5);
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--gray-300);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 80px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
    }
}

/* Footer */
.footer {
    background-color: rgba(8, 9, 20, 0.9);
    border-top: 1px solid rgba(14, 255, 255, 0.2);
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(14, 255, 255, 0.5);
}

.footer-info p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(14, 255, 255, 0.1);
    border: 1px solid rgba(14, 255, 255, 0.3);
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(14, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(14, 255, 255, 0.3);
}

.quick-links h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(14, 255, 255, 0.5);
}

.links-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.links-list a {
    color: var(--gray-300);
    transition: all 0.3s ease;
    display: inline-block;
}

.links-list a:hover {
    color: var(--primary);
    transform: translateX(5px);
    text-shadow: 0 0 5px rgba(14, 255, 255, 0.5);
}

.footer-bottom {
    margin-top: 3rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(14, 255, 255, 0.1);
    color: var(--gray-300);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary);
    transition: text-shadow 0.3s ease;
}

.footer-bottom a:hover {
    text-shadow: 0 0 8px rgba(14, 255, 255, 0.8);
}
/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(14, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: glow 4s infinite;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}
.footer-logo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(14, 255, 255, 0.5);
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(14, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s;
    border: 1px solid rgba(14, 255, 255, 0.2);
}

.footer-social-link:hover {
    background-color: rgba(14, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(14, 255, 255, 0.3);
    border: 1px solid rgba(14, 255, 255, 0.4);
    transform: translateY(-3px);
}

.footer-social-link i {
    color: var(--primary);
    transition: color 0.3s;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--light);
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    box-shadow: 0 0 10px rgba(14, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--gray-400);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-link i {
    font-size: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(14, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}


@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .blog-title {
        font-size: 2.5rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}
