:root {
    --primary-color: #00ff88;
    --secondary-color: #0066ff;
    --background-dark: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #ff00ff;
    --gradient-1: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --gradient-2: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    --primary-rgb: 0, 255, 136;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    cursor: none !important;
}

body {
    background-color: var(--background-dark);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Custom Cursor Styles */
.cursor-dot,
.cursor-dot-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 9999;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #00ff95, #00d9ff);
    box-shadow: 0 0 10px rgba(0, 255, 149, 0.5),
        0 0 20px rgba(0, 217, 255, 0.3);
}

.cursor-dot-outline {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid rgba(0, 255, 149, 0.5);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

/* Hide default cursor */
* {
    cursor: none !important;
}

/* Hover effects for interactive elements */
a:hover~.cursor-dot,
button:hover~.cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
    background: linear-gradient(45deg, #ff00ea, #00ff95);
    box-shadow: 0 0 15px rgba(255, 0, 234, 0.5),
        0 0 30px rgba(0, 255, 149, 0.3);
}

a:hover~.cursor-dot-outline,
button:hover~.cursor-dot-outline {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: rgba(255, 0, 234, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 149, 0.3);
}

/* Show cursors when JavaScript is loaded */
.cursor-dot.active,
.cursor-dot-outline.active {
    opacity: 1;
}

/* Interactive elements cursor effect */
a:hover~.cursor-glow,
button:hover~.cursor-glow {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color),
        0 0 40px var(--accent-color),
        0 0 60px var(--accent-color);
    animation: cursorHover 1s infinite alternate;
}

.nav-link:hover~.cursor-glow {
    transform: translate(-50%, -50%) scale(1.5) rotate(45deg);
    border-radius: 5px;
}

.social-links a:hover~.cursor-glow {
    transform: translate(-50%, -50%) scale(1.2);
    background: var(--gradient-1);
    animation: cursorSpin 2s linear infinite;
}

@keyframes cursorPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
}

@keyframes cursorTrail {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.5;
    }

    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

@keyframes cursorHover {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
    }
}

@keyframes cursorSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
}

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

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

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.glitch-text {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    text-shadow:
        2px 2px var(--primary-color),
        -2px -2px var(--accent-color);
    animation: glitch 1s infinite;
}

.typing-text {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.cursor {
    animation: blink 0.7s infinite;
}

.hero-description {
    font-size: 1.2rem;
    margin: 1rem 0;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

/* Particle Network */
.particle-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%),
        radial-gradient(circle at top right, rgba(255, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at bottom left, rgba(0, 255, 136, 0.15) 0%, transparent 50%);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300ff88' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230066ff' fill-opacity='0.05'%3E%3Cpath d='M50 50l20-20h-40l20 20zm0 0l20 20h-40l20-20z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
    margin-bottom: 2rem;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--background-dark);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.year {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline .content {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.timeline .content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.timeline .content h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

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

/* Timeline responsive adjustments */
@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::before {
        left: 21px;
    }

    .year {
        position: relative;
        left: -45px;
        margin-bottom: 1rem;
    }
}

/* Projects Section */
.projects-section {
    padding: 8rem 2rem;
    position: relative;
    background:
        linear-gradient(180deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%),
        radial-gradient(circle at top right, rgba(255, 0, 255, 0.15) 0%, transparent 50%);
    margin: 4rem 0;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300ff88' fill-opacity='0.05'%3E%3Cpath d='M30 0L60 30L30 60L0 30z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: -1;
    animation: floatBg 20s linear infinite;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg,
            var(--primary-color),
            var(--secondary-color),
            var(--accent-color),
            var(--primary-color));
    border-radius: inherit;
    z-index: -1;
    background-size: 400% 400%;
    animation: borderGradient 8s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-card:hover::before {
    opacity: 0.3;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.demo-btn,
.github-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.demo-btn {
    background: var(--gradient-1);
    color: var(--text-color);
}

.github-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-btn:hover,
.github-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    position: relative;
    background:
        linear-gradient(225deg, rgba(0, 255, 136, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%),
        radial-gradient(circle at bottom right, rgba(0, 102, 255, 0.15) 0%, transparent 50%);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300ff88' fill-opacity='0.05'%3E%3Cpath d='M0 0h20L0 20z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: -1;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.contact-form {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
}

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

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, color 0.3s ease;
    pointer-events: none;
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:valid+label,
.form-group textarea:valid+label {
    transform: translateY(-1.5rem) scale(0.8);
    color: var(--primary-color);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 25px;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: scale(1.05);
}

/* Jarvis Chat */
.jarvis-chat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1rem;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.chat-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 25px;
    color: var(--text-color);
    margin-top: 1rem;
}

/* Animations */
@keyframes glitch {
    0% {
        text-shadow: 2px 2px var(--primary-color), -2px -2px var(--accent-color);
    }

    25% {
        text-shadow: -2px 2px var(--primary-color), 2px -2px var(--accent-color);
    }

    50% {
        text-shadow: 2px -2px var(--primary-color), -2px 2px var(--accent-color);
    }

    75% {
        text-shadow: -2px -2px var(--primary-color), 2px 2px var(--accent-color);
    }

    100% {
        text-shadow: 2px 2px var(--primary-color), -2px -2px var(--accent-color);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .timeline::before,
    .timeline-item::before {
        left: 30px;
    }

    .timeline::after {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 50px;
    }

    .year {
        left: 30px;
        transform: translateX(-50%);
    }

    .content {
        width: calc(100% - 50px);
        margin-top: 3rem;
    }

    .content::before {
        width: 20px;
        left: -20px !important;
        right: auto !important;
    }
}

/* Achievements Section */
.achievements-section {
    padding: 8rem 2rem;
    position: relative;
    background:
        linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%),
        radial-gradient(circle at top left, rgba(255, 0, 255, 0.15) 0%, transparent 50%);
    overflow: hidden;
    margin: 4rem 0;
}

.achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300ff88' fill-opacity='0.05'%3E%3Cpath d='M25 0L50 25L25 50L0 25z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: -1;
    animation: floatBg 20s linear infinite;
}

@keyframes floatBg {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

.achievements-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cert-card {
    width: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: none;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    margin: 0;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg,
            var(--accent-color),
            var(--primary-color),
            var(--secondary-color),
            var(--accent-color));
    border-radius: inherit;
    z-index: -1;
    background-size: 400% 400%;
    animation: borderGradient 8s ease infinite;
    opacity: 0.3;
}

.cert-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
}

.cert-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cert-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 136, 0.1));
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 0, 255, 0.2);
}

.cert-content h3 {
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.cert-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

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

.cert-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cert-link:hover {
    color: var(--accent-color);
}

.cert-link:hover::after {
    transform: translateX(10px);
}

/* Add shine effect */
.cert-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.cert-card:hover::after {
    animation: shine 1s;
}

/* Stagger animation for cards */
.cert-card:nth-child(3n+1) {
    animation-delay: 0.1s;
}

.cert-card:nth-child(3n+2) {
    animation-delay: 0.2s;
}

.cert-card:nth-child(3n+3) {
    animation-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
}

/* Blog Section */
.blog-section {
    padding: 8rem 2rem;
    position: relative;
    background:
        linear-gradient(225deg, rgba(255, 0, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%),
        radial-gradient(circle at bottom right, rgba(0, 102, 255, 0.15) 0%, transparent 50%);
    overflow: hidden;
    margin: 4rem 0;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff00ff' fill-opacity='0.05'%3E%3Cpath d='M30 0L60 30L30 60L0 30z M15 15L45 15L45 45L15 45z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: -1;
    animation: floatBg 15s linear infinite reverse;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: none;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg,
            var(--accent-color),
            var(--primary-color),
            var(--secondary-color),
            var(--accent-color));
    border-radius: inherit;
    z-index: -1;
    background-size: 400% 400%;
    animation: borderGradient 8s ease infinite;
    opacity: 0.3;
}

.blog-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
}

.blog-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 136, 0.1));
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 0, 255, 0.2);
}

.blog-content h3 {
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

.read-more:hover::after {
    transform: translateX(10px);
}

/* Add floating animation to cards */
.cert-card,
.blog-card {
    animation: float 6s ease-in-out infinite;
}

/* Add shine effect */
.cert-card::after,
.blog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.cert-card:hover::after,
.blog-card:hover::after {
    animation: shine 1s;
}

@keyframes shine {
    100% {
        left: 200%;
    }
}

/* AI Assistant */
.ai-assistant {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.ai-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.chat-popup {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    width: 350px;
    height: 500px;
    background: rgba(10, 10, 10, 0.95);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

.chat-popup.active {
    display: flex;
}

.chat-header {
    padding: 1rem;
    background: var(--gradient-1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0;
}

.chat-actions {
    display: flex;
    gap: 0.5rem;
}

.clear-chat,
.close-chat {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.clear-chat:hover,
.close-chat:hover {
    opacity: 1;
    transform: scale(1.1);
}

.close-chat:hover {
    transform: rotate(90deg) scale(1.1);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.chat-input-container {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.send-message {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.send-message:hover {
    transform: scale(1.1);
}

.message {
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: messageSlideIn 0.3s ease forwards;
}

.message.user {
    text-align: right;
}

.message-content {
    display: inline-block;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    max-width: 80%;
}

.message.jarvis .message-content {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.message.user .message-content {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    text-align: left;
}

.sender {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 0.3rem;
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

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

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.personal-description {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.personal-description::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg,
            var(--primary-color),
            var(--secondary-color),
            var(--accent-color),
            var(--primary-color));
    border-radius: inherit;
    z-index: -1;
    background-size: 400% 400%;
    animation: borderGradient 8s ease infinite;
    opacity: 0.3;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.personal-description p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.future-goals {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 102, 255, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.future-goals h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.future-goals ul {
    list-style: none;
    padding: 0;
}

.future-goals li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.future-goals li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.mission-statement {
    font-size: 1.2rem !important;
    font-weight: 500;
    color: var(--accent-color) !important;
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255, 0, 255, 0.05);
    border: 1px solid rgba(255, 0, 255, 0.2);
    margin-top: 2rem !important;
}

/* Timeline Section (My Journey) */
.timeline-section {
    position: relative;
    background:
        linear-gradient(45deg, rgba(0, 102, 255, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%),
        radial-gradient(circle at center, rgba(0, 255, 136, 0.15) 0%, transparent 60%);
    padding: 5rem 2rem;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url("data:image/svg+xml,%3Csvg width='84' height='84' viewBox='0 0 84 84' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff00ff' fill-opacity='0.05'%3E%3Cpath d='M84 23c-4.417 0-8-3.584-8-7.998V8h-7.002C64.58 8 61 4.42 61 0H23c0 4.417-3.584 8-7.998 8H8v7.002C8 19.42 4.42 23 0 23v38c4.417 0 8 3.584 8 7.998V76h7.002C19.42 76 23 79.58 23 84h38c0-4.417 3.584-8 7.998-8H76v-7.002C76 64.58 79.58 61 84 61V23zM59.05 83H43V66.95c5.054-.5 9-4.764 9-9.948V52h5.002c5.18 0 9.446-3.947 9.95-9H83v16.05c-5.054.5-9 4.764-9 9.948V74h-5.002c-5.18 0-9.446 3.947-9.95 9zm-34.1 0H41V66.95c-5.053-.502-9-4.768-9-9.948V52h-5.002c-5.184 0-9.447-3.946-9.95-9H1v16.05c5.053.502 9 4.768 9 9.948V74h5.002c5.184 0 9.447 3.946 9.95 9zm0-82H41v16.05c-5.054.5-9 4.764-9 9.948V32h-5.002c-5.18 0-9.446 3.947-9.95 9H1V24.95c5.054-.5 9-4.764 9-9.948V10h5.002c5.18 0 9.446-3.947 9.95-9zm34.1 0H43v16.05c5.053.502 9 4.768 9 9.948V32h5.002c5.184 0 9.447 3.946 9.95 9H83V24.95c-5.053-.502-9-4.768-9-9.948V10h-5.002c-5.184 0-9.447-3.946-9.95-9zM50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: -1;
}

/* Add subtle floating animation to cards */
.personal-description,
.timeline-item .content,
.contact-form {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Add interactive gradient borders */
.personal-description,
.timeline-item .content,
.contact-form {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: none;
}

.personal-description::before,
.timeline-item .content::before,
.contact-form::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg,
            var(--primary-color),
            var(--secondary-color),
            var(--accent-color),
            var(--primary-color));
    border-radius: inherit;
    z-index: -1;
    background-size: 400% 400%;
    animation: borderGradient 8s ease infinite;
    opacity: 0.3;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Add glow effect on hover */
.personal-description:hover,
.timeline-item .content:hover,
.contact-form:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Add section separators */
.achievements-section::after,
.blog-section::after,
.projects-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            var(--primary-color),
            var(--secondary-color),
            var(--accent-color),
            transparent);
}

/* Enhance section transitions */
.achievements-section,
.blog-section,
.projects-section {
    position: relative;
    overflow: hidden;
}

/* Add hover effect for project cards */
.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: 0.5s;
}

.project-card:hover::after {
    left: 100%;
    transition: 0.5s;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .achievements-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .cert-card,
    .blog-card {
        margin-bottom: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {

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

/* Stagger animation for cards */
.cert-card,
.blog-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Mobile Message */
.mobile-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: var(--gradient-1);
    color: var(--text-color);
    text-align: center;
    z-index: 9999;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 1023px) {
    .mobile-message {
        display: block;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Add glow effect when scrolling */
::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    box-shadow: 0 0 20px var(--primary-color);
}

/* End of file */