/* Cyberpunk Theme Colors */
:root {
    --primary: #ff003c;
    --secondary: #00fff9;
    --accent: #ff9e00;
    --dark: #120458;
    --darker: #000814;
    --text: #ffffff;
    --text-secondary: #8f8f8f;
}

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

/* Enhanced animation classes */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.slide-up {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stagger-fade {
    animation: staggerFade 0.6s ease-out forwards;
}

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

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

@keyframes staggerFade {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Loading Screen Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    color: var(--text);
}

.loading-logo {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
    margin-bottom: 2rem;
    animation: logoPulse 2s ease-in-out infinite;
}

.loading-text {
    font-size: 1.2rem;
    color: var(--secondary);
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    animation: textFlicker 1.5s ease-in-out infinite;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    width: 0%;
    animation: progressFill 2s ease-in-out forwards;
    position: relative;
}

.loading-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 1.5s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 10px var(--primary);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 20px var(--primary), 0 0 30px var(--primary);
    }
}

@keyframes textFlicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

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

/* Smooth transitions for all interactive elements */
.project-card,
.skill-category-card,
.cyber-button,
.social-link,
.nav-links a,
.logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background-color: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Scrollbar (Right-side) - Cyberpunk theme */
html {
    /* Prevent layout shift when scrollbar appears */
    scrollbar-gutter: stable;
}

/* Firefox */
body,
.project-card .project-description.expanded,
.project-grid,
.timeline,
.experience-cards {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255, 255, 255, 0.08);
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
    height: 10px; /* for horizontal areas */
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-left: 1px solid var(--primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.6);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary), var(--primary));
    box-shadow: 0 0 12px rgba(0, 255, 249, 0.7);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Glitch Overlay */
.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    z-index: 1000;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 3rem;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background 0.3s ease;
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary);
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text);
    text-shadow: 0 0 5px var(--secondary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--text);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    background: var(--secondary);
    color: var(--darker);
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
}

.highlight {
    color: var(--primary);
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 0 5%;
    position: relative;
    /* Remove or comment out the background-image so the video is visible */
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1546098433-84654b38d1a1'); */
    background: none;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* Optional: darken video for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 10000px;
    opacity: 0;
    transform: translateY(50px);
    animation: heroFadeIn 1.2s ease-out 0.5s forwards;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1,
.hero-content .subtitle,
.hero-content .description {
    margin-bottom: 0.2rem;
}

.hero-content h1 {
    margin-top: 0;
}

.hero-content .explore-btn {
    margin-top: 0.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
}

.hero .subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.2em;
}

.hero .description {
    font-size: 1rem;
    color: var(--text);
}

.explore-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 2px solid var(--text);
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

.cyber-subtitle {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: var(--text-secondary);
    letter-spacing: 3px;
}

/* Sections */
section {
    padding: 6rem 3rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--secondary);
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: flex-start;
}

.about-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-image-container {
    position: relative;
    width: 250px;
    height: 250px;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.image-border-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.7;
}

.contact-info {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--primary);
    padding: 1.5rem;
    border-radius: 10px;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info i {
    color: var(--secondary);
}

.about-right h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.about-right h4 {
    font-size: 1.2rem;
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

.bio {
    color: var(--text-secondary);
    line-height: 1.7;
}

.skill-bar {
    margin-bottom: 1.2rem;
}

.skill-bar-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.skill-bar-track {
    width: 100%;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    border-radius: 5px;
}

.skill-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 5px;
    width: 0; /* Initial width for animation */
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 10px var(--primary);
}

/* Projects Section */
.project-scroll {
    position: relative;
    width: 100%;
    padding: 1rem 0;
}

.project-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2rem;
    align-items: stretch;
}

.project-grid::-webkit-scrollbar {
    display: none;
}

/* Custom Scrollbar */
.custom-scrollbar {
    position: relative;
    width: 50%;  /* Make it shorter, only 50% of container width */
    height: 12px; /* Make it thicker */
    margin: 2rem auto; /* Center it and add margin */
    background: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    padding: 2px;
    border: 1px solid var(--primary);
}

.scrollbar-track {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.3);
}

.scrollbar-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--secondary) 50%, 
        var(--primary) 100%
    );
    opacity: 0.5;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.scrollbar-thumb {
    position: absolute;
    height: 100%;
    width: 20%;
    background: var(--primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--primary);
}

.scrollbar-thumb::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--primary);
    filter: blur(8px);
    opacity: 0.7;
}

.scrollbar-thumb:hover {
    background: var(--secondary);
    box-shadow: 0 0 20px var(--secondary);
}

.scrollbar-thumb:hover::before {
    background: var(--secondary);
}

/* Project Cards */
.project-card {
    min-width: 350px;
    max-width: 350px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 500px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 0, 60, 0.1) 100%
    );
    z-index: -1;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.3);
    border-color: var(--secondary);
}

.project-image {
    width: 100%;
    height: 200px;
    background: var(--dark);
    margin-bottom: 1rem;
    border: 1px solid var(--secondary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 0, 60, 0.2) 0%,
        transparent 100%
    );
}

.scroll-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

.scroll-left,
.scroll-right {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-left:hover,
.scroll-right:hover {
    background: var(--primary);
    color: var(--darker);
    box-shadow: 0 0 15px var(--primary);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    margin-bottom: 0;
    align-items: center;
    justify-content: flex-start;
}

.project-card > .project-links {
    margin-top: auto;
}

.project-description {
    position: relative;
    max-height: 80px; /* Show only a few lines */
    overflow: hidden;
    margin-bottom: 0.5rem;
    transition: max-height 0.3s;
}

.project-description--truncated::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2.5em;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7));
    pointer-events: none;
}

.read-more {
    color: var(--secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    font-size: 1rem;
    margin-top: 0.5rem;
    align-self: flex-start;
    display: none;
}

.project-card.truncated .read-more {
    display: block;
}

.project-card .project-description.expanded {
    max-height: 300px;
    overflow: auto;
}

.project-card .project-description.expanded::after {
    display: none;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: var(--secondary);
    border: 2px solid var(--primary);
    border-radius: 50%;
}

/* Skills Section */
.skills-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.skill-category-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    min-width: 300px;
    flex: 1;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px 0 rgba(var(--primary), 0.3);
}

.skill-category-card h3 {
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.skill-category-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.skill-item i {
    font-size: 1.2rem;
    color: var(--primary);
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-item:hover i {
    transform: scale(1.1);
}

.skill-item span {
    color: var(--text);
    font-size: 1rem;
}

/* Contact Section */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

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

input, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    color: var(--text);
    font-size: 1rem;
}

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

label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
}

input:focus + label,
textarea:focus + label,
input:valid + label,
textarea:valid + label {
    transform: translateY(-1.5rem);
    color: var(--secondary);
    font-size: 0.8rem;
}

.cyber-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    cursor: pointer;
}

.cyber-button:hover {
    color: var(--darker);
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: transform 0.3s ease;
    z-index: -1;
}

.cyber-button:hover::before {
    transform: translateX(100%);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--primary);
}

.social-link {
    color: var(--text);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 0, 60, 0.1);
    border: 1px solid var(--primary);
    position: relative;
}

.social-link:hover {
    color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--primary);
    border-color: var(--secondary);
}

.social-link::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::after {
    opacity: 1;
}

/* Fixed Social Links Bar */
.social-links-sidebar {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--primary);
    backdrop-filter: blur(10px);
}

.social-link {
    color: var(--text);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 0, 60, 0.1);
    border: 1px solid var(--primary);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInFromBottom 0.6s ease-out forwards;
}

@keyframes slideInFromBottom {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-link:hover {
    color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 0 15px var(--primary);
    border-color: var(--secondary);
}

.social-link::after {
    content: attr(title);
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text);
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--primary);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-bottom: 0.5rem;
}

.social-link:hover::after {
    opacity: 1;
    bottom: calc(100% + 5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item::before {
        left: 0;
    }

    .social-links-sidebar {
        padding: 0.8rem 1.5rem;
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .project-card {
        min-width: 300px;
    }
    
    .custom-scrollbar {
        width: 70%;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .social-links-sidebar {
        bottom: 1rem;
        padding: 0.6rem 1rem;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .project-card {
        min-width: 280px;
    }

    .custom-scrollbar {
        width: 80%;
        height: 8px;
    }
}

/* Animations */
@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 5px var(--text),
                     0 0 10px var(--text),
                     0 0 15px var(--primary),
                     0 0 20px var(--primary),
                     0 0 25px var(--primary);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* Responsive design for skills */
@media (max-width: 1200px) {
    .skills-container {
        gap: 1.5rem;
    }
    
    .skill-category-card {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .skill-category-card {
        min-width: 100%;
    }
}

/* Custom icons for coding platforms */
.custom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    font-family: 'Consolas', monospace;
}

.fa-codeforces::before {
    content: "CF";
    font-family: 'Consolas', monospace;
    font-weight: bold;
    font-style: normal;
    background: linear-gradient(135deg, #1a8cff 0%, #4646ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2rem;
}

.leetcode {
    background: linear-gradient(135deg, #ffa116 0%, #ff6b6b 100%);
    color: #000000;
}

.codeforces {
    background: linear-gradient(135deg, #1a8cff 0%, #4646ff 100%);
    color: white;
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text);
}

.about-card-glass {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 30px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 2px solid var(--primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem 2rem;
    margin: 3rem auto 0 auto;
    max-width: 1100px;
    position: relative;
}

.quick-facts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2.5rem 0 1.5rem 0;
    justify-content: flex-start;
    align-items: center;
}

.quick-fact {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 0.7rem 1.3rem;
    font-size: 1rem;
    color: var(--text);
    box-shadow: 0 0 8px var(--primary);
    border: 1px solid var(--primary);
    transition: background 0.3s, box-shadow 0.3s;
}

.quick-fact i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.quick-fact:hover {
    background: var(--primary);
    color: var(--darker);
    box-shadow: 0 0 16px var(--secondary);
}

.about-quote-neon {
    margin-top: 2rem;
    padding: 1.2rem 2rem;
    border-radius: 18px;
    background: rgba(0,0,0,0.6);
    border: 2px solid var(--secondary);
    color: var(--secondary);
    font-size: 1.2rem;
    font-style: italic;
    text-align: center;
    box-shadow: 0 0 18px var(--secondary), 0 0 8px var(--primary);
    position: relative;
}

.about-quote-neon i {
    color: var(--primary);
    margin: 0 0.5rem;
}

.about-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 3rem auto 0 auto;
    max-width: 700px;
    padding: 2.5rem 1.5rem;
}

.about-content-centered {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-content-centered h3 {
    margin-bottom: 1.2rem;
    color: var(--secondary);
    font-size: 1.7rem;
    text-transform: uppercase;
}

.about-content-centered .bio {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-content-centered .quick-facts-row {
    justify-content: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .about-centered {
        max-width: 98vw;
        padding: 1.2rem 0.5rem;
    }
    .about-content-centered .quick-facts-row {
        gap: 1rem;
    }
} 

/* Vertical Timeline for Experience Section */
.timeline-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    margin: 2rem 0 2rem 2rem;
    border-left: 3px solid var(--secondary);
    padding-left: 2rem;
}
.timeline-year {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary);
    margin: 1.5rem 0 0.5rem 0;
    position: relative;
    left: -2.5rem;
}
.timeline-item.expandable {
    position: relative;
    margin-bottom: 2rem;
    cursor: pointer;
    padding-left: 1.5rem;
    transition: background 0.2s;
}
.timeline-item.expandable:hover {
    background: rgba(0,0,0,0.05);
}
.timeline-dot {
    position: absolute;
    left: -2.1rem;
    top: 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    background: var(--secondary);
    border-radius: 50%;
    border: 3px solid var(--primary);
    z-index: 1;
}
.timeline-date {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 0.2rem;
}
.timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.2rem;
}
.timeline-location {
    font-size: 0.95em;
    color: var(--primary);
    margin-left: 0.5em;
}
.timeline-details {
    display: none;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    color: var(--text);
    font-size: 0.98rem;
}
.timeline-item.expanded .timeline-details {
    display: block;
    animation: fadeIn 0.4s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
} 

/* Horizontal Timeline for Experience Section */
.timeline-horizontal {
    width: 100%;
    margin: 2rem 0 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.timeline-bar {
    width: 80%;
    height: 4px;
    background: #222;
    position: relative;
    margin-bottom: 2.5rem;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    z-index: 1;
}
.timeline-year-label {
    position: absolute;
    top: -2.2rem;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: bold;
    z-index: 2;
}
.timeline-year-label.left {
    left: 0;
}
.timeline-year-label.right {
    right: 0;
}
.experience-cards {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}
.experience-card {
    background: #181818;
    border: 1.5px solid #333;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.15);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 320px;
    max-width: 350px;
    color: var(--text);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
    opacity: 0.85;
}
.experience-card.active, .experience-card:hover {
    border: 2px solid #333;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.13);
    background: #222;
    opacity: 1;
}
.exp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.exp-company {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--secondary);
}
.exp-badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.2em 0.7em;
    margin-left: 0.7em;
    letter-spacing: 1px;
}
.exp-role {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.exp-meta {
    font-size: 0.98rem;
    color: var(--text-secondary);
    margin-bottom: 0.7rem;
    display: flex;
    gap: 1.2em;
    flex-wrap: wrap;
}
.exp-desc {
    font-size: 1.01rem;
    margin-bottom: 0.7rem;
    color: var(--text);
}
.exp-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-bottom: 0.7rem;
}
.exp-skills span {
    background: #232323;
    color: var(--secondary);
    border-radius: 6px;
    padding: 0.2em 0.7em;
    font-size: 0.95em;
    font-weight: 500;
}
.exp-cert {
    margin-top: 0.5rem;
}
.exp-cert-link {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    border-radius: 6px;
    padding: 0.25em 0.9em;
    font-size: 0.98em;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.exp-cert-link:hover {
    background: var(--primary);
    color: #fff;
}
.experience-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}
@media (max-width: 900px) {
    .experience-cards {
        flex-direction: column;
        align-items: center;
    }
    .timeline-bar {
        width: 95%;
    }
} 

/* Experience Details Panel Styles - WIDER, more horizontal, centered */
/* Responsive two-column layout for experience details */
.exp-details-panel {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    animation: fadeIn 0.5s;
}
.exp-details-card {
    background: #181818;
    border: 2px solid var(--secondary);
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 var(--secondary), 0 2px 16px 0 rgba(0,0,0,0.18);
    padding: 2rem 3.5rem 2rem 3.5rem;
    max-width: 1100px;
    min-width: 700px;
    width: 70vw;
    color: var(--text);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    opacity: 0.97;
    align-items: flex-start;
}
.exp-details-left {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.exp-details-right {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.exp-details-header {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}
.exp-details-role {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
}
.exp-details-company {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}
.exp-details-meta {
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    gap: 1.2em;
    flex-wrap: wrap;
    margin-top: 0.2rem;
}
.exp-details-section h4 {
    color: var(--secondary);
    font-size: 1.08rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}
.exp-details-achievements {
    margin: 0 0 0.5rem 1.2rem;
    padding: 0;
    list-style: disc;
    color: var(--text);
    font-size: 1.01rem;
}
.exp-details-achievements li {
    margin-bottom: 0.3em;
}
.exp-details-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}
.exp-details-tech span {
    background: #232323;
    color: var(--secondary);
    border-radius: 6px;
    padding: 0.2em 0.7em;
    font-size: 0.97em;
    font-weight: 500;
}
.exp-details-quote {
    font-style: italic;
    color: var(--primary);
    background: #232323;
    border-left: 4px solid var(--secondary);
    padding: 0.7em 1em;
    border-radius: 8px;
    margin-top: 0.5em;
    font-size: 1.01em;
}
.exp-details-cert {
    margin-top: 0.7em;
}
.exp-details-cert .exp-cert-link {
    background: var(--secondary);
    color: #fff;
    border-radius: 6px;
    padding: 0.25em 0.9em;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.exp-details-cert .exp-cert-link:hover {
    background: var(--primary);
    color: #fff;
}
@media (max-width: 1200px) {
    .exp-details-card {
        max-width: 98vw;
        min-width: 0;
        width: 98vw;
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
} 

/* Unified box for experience details with two columns */
.exp-details-box {
    background: #232323;
    border: 2px solid var(--primary);
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.12);
    padding: 2.2rem 2.5rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: flex-start;
    min-width: 400px;
    max-width: 1100px;
    width: 70vw;
    margin: 0 auto;
}
.exp-details-left, .exp-details-right {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
@media (max-width: 900px) {
    .exp-details-box {
        grid-template-columns: 1fr;
        width: 98vw;
        max-width: 98vw;
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
        gap: 1.2rem;
    }
} 

/* Truncate experience description to 3 lines with ellipsis */
.exp-desc-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.5em;
    margin-bottom: 0.7em;
    color: var(--text-secondary);
    font-size: 1.01em;
}
/* Truncate skills to one line with ellipsis and show +view more if needed */
.exp-skills-truncate {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    gap: 0.5em;
    margin-bottom: 0.7em;
    font-size: 0.97em;
    align-items: center;
}
.exp-skills-truncate .exp-skill-more {
    color: var(--secondary);
    font-weight: 600;
    margin-left: 0.5em;
    cursor: pointer;
    white-space: nowrap;
}
/* More space between company, role, date, location */
.exp-header {
    margin-bottom: 0.5em;
}
.exp-role {
    margin-bottom: 0.5em;
    margin-top: 0.2em;
}
.exp-meta {
    margin-bottom: 0.5em;
} 

/* Subtle box for tech skills inside experience details */
.exp-details-techbox {
    background: #262626;
    border: 1.5px solid var(--secondary);
    border-radius: 8px;
    padding: 1rem 1.2rem 0.7rem 1.2rem;
    margin-top: 0.2rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 1px 6px 0 rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.exp-details-techbox h4 {
    margin: 0 0 0.5em 0;
    color: var(--secondary);
    font-size: 1.08rem;
    font-weight: 600;
}
.exp-details-techbox .exp-details-tech {
    margin: 0;
    gap: 0.5em;
    flex-wrap: wrap;
} 

/* Technologies Used heading above tech box */
.exp-tech-heading {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.13rem;
    margin-bottom: 0.5em;
    display: flex;
    align-items: center;
    gap: 0.4em;
    letter-spacing: 0.5px;
} 

/* Reduce space below experience dropdown */
.exp-details-panel {
    margin-bottom: 0.5rem !important;
}
.timeline-horizontal {
    margin-bottom: 0.5rem !important;
} 

/* Adjust experience card size and spacing */
.experience-card {
    min-width: 340px;
    max-width: 420px;
    width: 370px;
    padding: 1.1rem 1.1rem 0.9rem 1.1rem;
    margin-bottom: 0.7rem;
    border-radius: 14px;
    /* keep other existing styles */
}
.exp-header {
    margin-bottom: 0.15em;
}
.exp-role {
    margin-bottom: 0.15em;
    margin-top: 0.1em;
}
.exp-meta {
    margin-bottom: 0.15em;
}
.exp-desc-truncate {
    margin-bottom: 0.3em;
}
.exp-skills-truncate {
    margin-bottom: 0.3em;
}
.exp-company, .exp-badge, .exp-role, .exp-date, .exp-location, .exp-desc-truncate, .exp-skills-truncate {
    line-height: 1.1;
} 

/* More visible space between sentences in experience cards */
.experience-card .exp-header,
.experience-card .exp-role,
.experience-card .exp-meta,
.experience-card .exp-desc-truncate,
.experience-card .exp-skills-truncate {
    margin-bottom: 0.32em !important;
    line-height: 2.00 !important;
} 

/* Space between company, role, date, location in experience card */
.experience-card .exp-company,
.experience-card .exp-role,
.experience-card .exp-date,
.experience-card .exp-location {
    display: block;
    margin-bottom: 0.32em !important;
    line-height: 1.25 !important;
}
/* Remove extra space from description and skills paragraph */
.experience-card .exp-desc-truncate,
.experience-card .exp-skills-truncate {
    margin-bottom: 0.08em !important;
    line-height: 1.15 !important;
} 

/* Add space between description and skills in experience card */
.experience-card .exp-desc-truncate {
    margin-bottom: 0.6em !important;
}
.experience-card .exp-skills-truncate {
    margin-top: 0.35em !important;
} 

/* Achievements Section Styles - Updated for grey background and max 3 per row */
.achievements {
    padding: 6rem 3rem;
    
}
.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 900px) {
    .achievements-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
.achievement-card {
    background: rgba(0, 0, 0, 0.10);
    border: 1.5px solid var(--secondary);
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(0,255,249,0.08);
    padding: 2rem 1.5rem;
    min-width: 0;
    max-width: 350px;
    width: 100%;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s, border 0.2s, background 0.2s;
}
.achievement-card h3 {
    color: var(--secondary);
    margin-bottom: 0.7rem;
    font-size: 1.2rem;
}
.achievement-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}
.achievement-card .cert-date {
    color: var(--accent);
    font-size: 0.95rem;
    margin-top: auto;
}
.achievement-card:hover {
    border: 1.5px solid var(--primary);
    box-shadow: 0 4px 24px 0 var(--primary), 0 2px 16px 0 rgba(0,0,0,0.18);
    background: rgba(0, 255, 249, 0.13);
}
@media (max-width: 900px) {
    .achievements-container {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .achievement-card {
        max-width: 100%;
    }
} 

/* Achievement meta row: date and button on same line */
.achievement-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
    gap: 1rem;
}
.achievement-meta .cert-date {
    color:#fff;
    margin: 0;
}
.achievement-meta .cyber-button {
    margin: 0;
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
} 

/* About Me: Education & Tech Skills Two-Column Layout */
.about-edu-skills {
    display: flex;
    gap: 2.2rem;
    justify-content: center;
    align-items: flex-start;
    margin: 2.5rem auto 0 auto;
    max-width: 900px;
}
.about-education-box, .about-techskills-box {
    background: #111111ee;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.18);
    padding: 1.2rem 1.2rem 1rem 1.2rem;
    min-width: 320px;
    max-width: 420px;
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
    flex: 1 1 340px;
}
@media (max-width: 950px) {
    .about-edu-skills {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        max-width: 98vw;
    }
    .about-education-box, .about-techskills-box {
        max-width: 98vw;
        min-width: 0;
        flex: 1 1 100%;
    }
}
.about-education-box h3, .about-techskills-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}
.edu-degree {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}
.edu-degree span {
    color: #ff6a1a;
}
.edu-college {
    font-size: 0.98rem;
    margin-bottom: 0.3rem;
}
.edu-cgpa {
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
}
.edu-dates {
    color: #fff;
    font-size: 1rem;
    margin-left: 1.5rem;
}
.edu-courses-title {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    margin-top: 0.7rem;
}
.edu-courses-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.4rem;
}
.edu-course {
    background: #2a140a;
    color: #ff6a1a;
    border-radius: 6px;
    padding: 0.25rem 0.7rem;
    font-size: 0.93rem;
    margin-bottom: 0.2rem;
    display: inline-block;
}
.edu-course.more {
    background: #444;
    color: #ccc;
}
.about-techskills-box {
    margin-left: 0;
}
.techskills-section {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.techskills-title {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}
.techskills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.4rem;
    margin-bottom: 0.3rem;
}
.techskill {
    background: #222;
    color: #ccc;
    border-radius: 6px;
    padding: 0.25rem 0.7rem;
    font-size: 0.93rem;
    margin-bottom: 0.2rem;
    display: inline-block;
}
.techskills-note {
    font-size: 0.9rem;
    margin-top: 0.3rem;
}
@media (max-width: 1100px) {
    .about-edu-skills {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    .about-education-box, .about-techskills-box {
        max-width: 100%;
        min-width: 0;
    }
} 

/* Larger, more prominent bio in About section */
.about-bio-large {
    font-size: 1.35rem;
    line-height: 1.8;
    margin-bottom: 2.2rem;
    color: #fff;
    font-weight: 400;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
} 

/* About Me Intro Box Style */
.about-intro-box {
    background: #111111ee;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.18);
    padding: 1.2rem 1.2rem 1rem 1.2rem;
    margin-bottom: 1.2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Unified box for Education & Tech Skills in About section */
.about-info-box, .about-education-box, .about-techskills-box {
    background: #111111ee;
    border-radius: 22px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.22);
    border: 1.5px solid var(--secondary);
    position: relative;
    overflow: hidden;
}
.about-info-box::before, .about-education-box::before, .about-techskills-box::before {
    content: none;
}
.edu-course, .techskill {
    background: #232323;
    color: #fff;
    border-radius: 6px;
    padding: 0.25rem 0.7rem;
    font-size: 0.93rem;
    margin-bottom: 0.2rem;
    display: inline-block;
    border: 1px solid #333;
    box-shadow: none;
    transition: background 0.3s, color 0.3s;
}
.edu-course.more {
    background: #444;
    color: #ccc;
    border: 1px solid #444;
}
.techskill {
    background: #232323;
    color: #00fff9;
    border: 1px solid #222;
}
.edu-course:hover, .techskill:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--secondary);
    box-shadow: none;
}
@media (max-width: 950px) {
    .about-techskills-box {
        max-width: 98vw;
        min-width: 0;
        flex: 1 1 100%;
    }
}
