:root {
    --bg-primary: #0a0f16;
    --bg-secondary: #0d1117;
    --text-primary: #e2e8f0;
    --text-secondary: #8b949e;
    --accent-primary: #00e5ff;
    --accent-secondary: #40e9ff;
    --terminal-cyan: #00e5ff;
    --terminal-cyan-rgb: 0, 229, 255;
    --terminal-red: #f85149;
    --font-mono: 'Source Code Pro', monospace;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Boot Sequence */
.boot-sequence {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    font-family: var(--font-mono);
}

.boot-sequence.hidden {
    opacity: 0;
    pointer-events: none;
}

.boot-content {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 229, 255, 0.4);
    position: relative;
}

.boot-header {
    margin-bottom: 1.5rem;
    color: var(--terminal-cyan);
    border-bottom: 1px solid rgba(0, 229, 255, 0.4);
    padding-bottom: 1rem;
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 3;
}

.system-info {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.boot-log-container {
    position: relative;
    height: 300px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.boot-log {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.3s ease-out;
    padding: 0.5rem 0;
}

.log-entry {
    color: var(--text-secondary);
    padding: 0.4rem 0;
    opacity: 0;
    transform: translateY(10px);
    font-size: 0.9rem;
    white-space: pre;
    line-height: 1.4;
    position: relative;
    padding-left: 1.5rem;
    text-shadow: 0 0 1px rgba(139, 148, 158, 0.2);
    background-color: var(--bg-secondary);
}

.log-entry::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--terminal-cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.log-entry.success {
    color: var(--terminal-cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.2);
}

.log-entry.error {
    color: var(--terminal-red);
    text-shadow: 0 0 8px rgba(248, 81, 73, 0.2);
}

.log-entry.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.boot-progress {
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 229, 255, 0.4);
    padding-top: 1rem;
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 3;
}

.progress-bar {
    width: 100%;
    height: 2px;
    background-color: rgba(0, 229, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--terminal-cyan);
    box-shadow: 0 0 10px var(--terminal-cyan);
    transition: width 0.3s ease-out;
}

.boot-progress-text {
    color: var(--terminal-cyan);
    font-size: 0.9rem;
    display: block;
    text-align: right;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

/* Loading State */
.loading {
    overflow: hidden;
}

.loading .navbar,
.loading .nav-links,
.loading .nav-brand {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    visibility: hidden;
}

.navbar.visible {
    opacity: 1;
    visibility: visible;
}

.nav-brand {
    font-family: var(--font-mono);
    color: var(--terminal-cyan);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Side Links */
.side-links {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    margin-top: 4rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
}

.social-icon {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Main Content */
main {
    padding: 6rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Profile Section */
.profile-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: auto;
    padding: 8rem 4rem;
    position: relative;
    gap: 3rem;
    opacity: 1;
    transform: none;
}

.photo-space {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--terminal-cyan);
    position: static;
    flex-shrink: 0;
    opacity: 1;
    transform: none;
}

.profile-content {
    max-width: 600px;
    text-align: left;
    opacity: 1;
    transform: none;
}

.role-text {
    color: var(--accent-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.glitch-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
    opacity: 1 !important;
    transform: none !important;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: left;
    opacity: 1 !important;
    transform: none !important;
}

.tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem;
    font-family: var(--mono-font);
    opacity: 0.9;
    text-align: left;
    opacity: 1 !important;
    transform: none !important;
}

.terminal-text {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding-top: 80px;
    opacity: 1;
    transform: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
    opacity: 1;
    transform: none;
    padding-top: 2rem;
}

.section {
    padding: 6rem 2rem;
    min-height: 100vh;
    position: relative;
    opacity: 1;
    transform: none;
}

.about-section .section-title {
    opacity: 1;
    transform: none;
    margin-bottom: 3rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -0.5rem;
    width: 60px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 2px;
    transform: translateX(-50%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    text-align: justify;
    padding: 0 1rem;
    opacity: 1;
    transform: none;
    word-spacing: normal;
    white-space: normal;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    word-spacing: normal;
    white-space: normal;
    word-wrap: break-word;
}

/* Skills and Certificates Layout */
.skills-certs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 0;
}

.skills-section, .certificates-section {
    padding: 0;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        align-items: center;
        padding: 6rem 1rem 2rem;
        gap: 2rem;
    }

    .photo-space {
        margin: 0;
    }

    .profile-content {
        text-align: center;
    }

    .glitch-text {
        font-size: 2rem;
        white-space: normal;
        word-wrap: break-word;
    }

    .side-links {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        padding: 1.5rem;
        margin-top: 3rem;
        background-color: var(--bg-secondary);
        border-radius: 8px;
    }
    
    .skills-certs-container {
        padding: 2rem 0;
    }

    .section {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-section {
        padding-top: 60px;
    }

    /* Add padding to main content to prevent overlap with fixed bottom bar */
    main {
        padding-bottom: 2rem;
    }

    /* Ensure content is not hidden behind the fixed bottom bar */
    .section:last-child {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 480px) {
    .side-links {
        padding: 1rem;
        gap: 1.5rem;
        margin-top: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Glitch Effect */
.glitch-text.glitch {
    animation: glitch 0.5s cubic-bezier(.25, .46, .45, .94) both infinite;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.glitch-text.glitch::before,
.glitch-text.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-primary);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--terminal-cyan);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
    }
    20% {
        clip: rect(12px, 9999px, 59px, 0);
    }
    40% {
        clip: rect(48px, 9999px, 29px, 0);
    }
    60% {
        clip: rect(73px, 9999px, 61px, 0);
    }
    80% {
        clip: rect(6px, 9999px, 92px, 0);
    }
    100% {
        clip: rect(25px, 9999px, 85px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 119px, 0);
    }
    20% {
        clip: rect(82px, 9999px, 73px, 0);
    }
    40% {
        clip: rect(128px, 9999px, 78px, 0);
    }
    60% {
        clip: rect(78px, 9999px, 52px, 0);
    }
    80% {
        clip: rect(17px, 9999px, 31px, 0);
    }
    100% {
        clip: rect(24px, 9999px, 13px, 0);
    }
}

/* Additional sections can be added following the same pattern */

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-mono);
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--terminal-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--terminal-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--terminal-cyan);
}

.nav-links a.active::after {
    width: 100%;
}

/* Skills Section */
.skills-section {
    padding: 6rem 0;
}

.skills-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.skill-category {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-header i {
    font-size: 1.5rem;
    color: var(--terminal-cyan);
}

.skill-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-family: var(--font-mono);
    margin: 0;
}

.skill-text {
    color: var(--text-secondary);
    font-family: var(--font-mono);
    line-height: 1.8;
    font-size: 0.95rem;
    word-spacing: normal;
    white-space: normal;
    word-wrap: break-word;
}

/* Add a subtle hover effect */
.skill-category:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .skills-container {
        padding: 0 1rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .skill-header h3 {
        font-size: 1.2rem;
    }
    
    .skill-text {
        font-size: 0.9rem;
    }
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid rgba(0, 229, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.4);
}

.project-content {
    padding: 1.5rem;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-header i {
    color: var(--terminal-cyan);
    font-size: 1.5rem;
}

.project-header h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-family: var(--font-mono);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: rgba(0, 229, 255, 0.1);
    color: var(--terminal-cyan);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-mono);
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--terminal-cyan);
}

/* Certificates Section */
.certificates-section {
    padding: 4rem 2rem;
}

.certificate-card {
    background: rgba(13, 17, 23, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    height: 100%;
}

.certificate-card:hover {
    transform: translateY(-5px);
}

.cert-logo {
    font-size: 2.5rem;
    color: var(--terminal-cyan);
    margin-bottom: 1.5rem;
}

.certificate-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
}

.certificate-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.cert-issuer {
    color: var(--terminal-cyan);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.cert-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #808080;
    font-family: var(--mono-font);
    font-size: 0.9rem;
    margin-bottom: auto;
}

.cert-id, .cert-date {
    color: #808080;
}

.verify-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 6px;
    color: #00e5ff;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    justify-content: center;
    width: fit-content;
}

.verify-link:hover {
    background: rgba(0, 229, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.1);
}

@media (max-width: 1024px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .certificate-card {
        padding: 1.5rem;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Responsiveness Fixes */
@media screen and (max-width: 768px) {
    /* Profile section mobile fixes */
    .profile-section {
        padding: 6rem 1rem 2rem;
        text-align: center;
        min-height: auto;
        gap: 1.5rem;
    }

    .nav-brand {
        font-size: 1rem;
    }

    .navbar {
        padding: 1rem;
    }

    main {
        padding-top: 4rem;
    }

    .profile-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .glitch-text {
        font-size: 1.8rem;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .subtitle {
        font-size: 1rem;
        text-align: center;
        margin: 0.75rem 0;
        line-height: 1.5;
    }

    .role-text {
        font-size: 0.85rem;
        margin: 0.5rem 0;
    }

    .profile-social-links {
        justify-content: center;
        margin-top: 1.5rem;
        gap: 2rem;
    }

    .profile-social-links .social-icon {
        font-size: 1.4rem;
    }

    /* Section spacing fixes */
    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        padding-top: 1rem;
    }

    .about-content p,
    .skill-text,
    .project-content p {
        word-spacing: normal;
        white-space: normal;
        word-wrap: break-word;
        text-align: left;
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    .profile-section {
        padding: 5rem 0.75rem 2rem;
    }

    .glitch-text {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 0.5rem 0;
    }

    .role-text {
        font-size: 0.8rem;
    }

    .profile-social-links {
        gap: 1.75rem;
        margin-top: 1.25rem;
    }

    .profile-social-links .social-icon {
        font-size: 1.3rem;
    }

    .nav-brand {
        font-size: 0.9rem;
    }

    .navbar {
        padding: 0.75rem;
    }
}

/* Small devices (landscape phones) */
@media (min-width: 576px) and (max-width: 767px) {
    .projects-grid,
    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Medium devices (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
    .projects-grid,
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large devices (desktops) */
@media (min-width: 992px) {
    main {
        padding: 6rem 4rem 2rem;
    }
}

/* Extra large devices */
@media (min-width: 1200px) {
    .projects-grid,
    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.skill-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.skill-name {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--mono-font);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.skill-name:hover {
    transform: translateY(-2px);
    background-color: rgba(0, 229, 255, 0.1);
}

/* Background Animation */
.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-primary);
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--terminal-cyan);
    opacity: 0.1;
    border-radius: 50%;
    pointer-events: none;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Enhancements */
.section {
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--terminal-cyan), transparent);
    opacity: 0.3;
}

/* Glow Effects */
.skill-category:hover,
.certificate-card:hover,
.project-card:hover {
    box-shadow: 0 0 20px rgba(var(--terminal-cyan-rgb), 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Matrix Rain Effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.03;
    pointer-events: none;
}

/* Cyber Grid */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(var(--terminal-cyan-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--terminal-cyan-rgb), 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Enhanced Section Transitions */
.section {
    transition: transform 0.6s ease-out;
}

.section.active {
    transform: scale(1);
}

.section:not(.active) {
    transform: scale(0.98);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--terminal-cyan);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--terminal-cyan-rgb), 0.8);
}

/* Section Scroll Animations */
@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Initial states */
.fade-in,
.skill-category,
.certificate-card,
.project-card {
    opacity: 0;
    will-change: transform, opacity;
}

/* Animation classes */
.profile-section .photo-space {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.profile-section .profile-content {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.about-section .about-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.skill-category {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.certificate-card {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.project-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Visible states */
.visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Staggered animations for cards */
.skills-section .skill-category:nth-child(1) { transition-delay: 0.1s; }
.skills-section .skill-category:nth-child(2) { transition-delay: 0.2s; }
.skills-section .skill-category:nth-child(3) { transition-delay: 0.3s; }

.certificates-section .certificate-card:nth-child(1) { transition-delay: 0.1s; }
.certificates-section .certificate-card:nth-child(2) { transition-delay: 0.2s; }
.certificates-section .certificate-card:nth-child(3) { transition-delay: 0.3s; }

.projects-section .project-card:nth-child(1) { transition-delay: 0.1s; }
.projects-section .project-card:nth-child(2) { transition-delay: 0.2s; }
.projects-section .project-card:nth-child(3) { transition-delay: 0.3s; }

/* Section titles animation */
.section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible .section-title {
    opacity: 1;
    transform: none;
}

/* Ensure animations play smoothly */
* {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Override any fade-in effects for these sections */
.profile-section.fade-in,
.about-section.fade-in,
.profile-content.fade-in,
.about-content.fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.profile-section .photo-space,
.profile-section .profile-content,
.about-section .about-content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Ensure text is visible */
.glitch-text,
.subtitle,
.role-text,
.tagline {
    opacity: 1 !important;
    transform: none !important;
}

/* Override any fade effects for section titles */
.section.fade-in .section-title,
.skills-section .section-title,
.projects-section .section-title,
.certificates-section .section-title {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
}

/* Section container visibility */
.skills-section,
.projects-section,
.certificates-section {
    opacity: 1 !important;
    visibility: visible !important;
}

.profile-social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.profile-social-links .social-icon {
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.profile-social-links .social-icon:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .profile-social-links {
        justify-content: center;
        margin-top: 1.25rem;
    }
} 
