/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff0080;
    --accent-color: #00ff88;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #111111;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border-color: #333333;
    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(255, 0, 128, 0.5);
    --glow-accent: 0 0 20px rgba(0, 255, 136, 0.5);
}

body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
}

/* Floating particles background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, var(--primary-color), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--secondary-color), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--accent-color), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--primary-color), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--secondary-color), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float 20s linear infinite;
    opacity: 0.1;
    z-index: -1;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.98);
    box-shadow: var(--glow-primary);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1000;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link i {
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    animation: morph 15s ease-in-out infinite;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}



.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 128, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-badge i {
    font-size: 0.8rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.name-first {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.name-last {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 0, 128, 0.3);
}

.highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.typing-text {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.hero-documents {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    animation: fadeInUp 1s ease-out 1.8s both;
}

.btn-document {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    box-shadow: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-document:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.stat-item {
    text-align: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.8), rgba(25, 25, 25, 0.6));
    border: 1px solid var(--border-color);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: rgba(17, 17, 17, 0.8);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
}

.terminal {
    background: rgba(0, 0, 0, 0.95);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    font-family: 'JetBrains Mono', monospace;
    animation: fadeInRight 1s ease-out;
}

.terminal:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.2);
}

.terminal-header {
    background: linear-gradient(45deg, #2d2d2d, #1a1a1a);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.terminal-btn-close {
    background: #ff5f56;
}

.terminal-btn-close:hover {
    background: #ff4444;
    transform: scale(1.1);
}

.terminal-btn-minimize {
    background: #ffbd2e;
}

.terminal-btn-minimize:hover {
    background: #ffaa00;
    transform: scale(1.1);
}

.terminal-btn-maximize {
    background: #27ca3f;
}

.terminal-btn-maximize:hover {
    background: #22cc44;
    transform: scale(1.1);
}

.terminal-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.terminal-body {
    padding: 20px;
    min-height: 300px;
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}

.terminal-prompt {
    color: var(--primary-color);
    font-weight: bold;
    min-width: 200px;
    flex-shrink: 0;
}

.terminal-command {
    color: var(--text-primary);
    font-weight: 500;
}

.terminal-output {
    color: var(--text-secondary);
    margin-left: 28px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.terminal-text {
    display: block;
    margin-bottom: 4px;
    line-height: 1.5;
}

.terminal-text.success {
    color: var(--accent-color);
    font-weight: 600;
}

.terminal-cursor {
    color: var(--primary-color);
    animation: blink 1s infinite;
    font-weight: bold;
    position: relative;
}

.terminal-cursor::after {
    content: '_';
    animation: blink 1s infinite;
    color: var(--primary-color);
}

.typing-command {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    width: 0;
}

.typing-output {
    opacity: 0;
}

.terminal-line {
    opacity: 0;
}

.terminal-line.animate {
    animation: slideInLeft 0.6s ease-out forwards;
}

.typing-command.animate {
    animation: terminalTyping 1.5s steps(40, end) forwards;
}

.typing-output.animate {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* About Section */
        #about {
            background: var(--bg-darker);
        }

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-main {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text {
    animation: fadeInLeft 1s ease-out;
}

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

.expertise-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.expertise-item {
    background: rgba(17, 17, 17, 0.8);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.expertise-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.expertise-item:hover::before {
    left: 100%;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
    border-color: var(--primary-color);
}

.expertise-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.expertise-item:hover i {
    transform: scale(1.1) rotate(360deg);
}

.expertise-item h4 {
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.expertise-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Experience Section */
#experience {
    background: var(--bg-dark);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    animation: glow 2s ease-in-out infinite alternate;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

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

.timeline-item:nth-child(odd) {
    padding-right: 50%;
    text-align: right;
}

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

.timeline-content {
    background: rgba(17, 17, 17, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: var(--glow-primary);
}

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

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

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
    border-color: var(--primary-color);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.timeline-title {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-company {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-description ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
    list-style-type: none !important;
}

.timeline-description li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    list-style: none !important;
    list-style-type: none !important;
}

.timeline-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

/* Projects Section */
#projects {
    background: var(--bg-darker);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(17, 17, 17, 0.9);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(50px);
}

.project-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
    border-color: var(--primary-color);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.project-card:hover .project-image::before {
    transform: translateX(100%);
}

.project-image i {
    font-size: 3rem;
    color: white;
    z-index: 1;
    transition: all 0.3s ease;
}

.project-card:hover .project-image i {
    transform: scale(1.2) rotate(360deg);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-description ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
    list-style-type: none !important;
}

.project-description li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    list-style: none !important;
    list-style-type: none !important;
}

.project-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

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

.project-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.project-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

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

.project-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Skills Section */
#skills {
    background: var(--bg-dark);
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.skill-category {
    background: rgba(17, 17, 17, 0.6);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
}

.skill-category.animate {
    opacity: 1;
    transform: translateY(0);
}

.skill-category:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
    transform: translateY(-8px);
}

.skill-category h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: glow 2s ease-in-out infinite alternate;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.2rem;
}

.skill-item {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(25, 25, 25, 0.8));
    padding: 1.2rem 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95), rgba(30, 30, 30, 0.9));
}

.skill-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.skill-item:hover .skill-name {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.7);
    transform: scale(1.05);
}

/* Coursework Section */
#coursework {
    background: var(--bg-dark);
}

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

.coursework-category {
    background: rgba(17, 17, 17, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.coursework-category:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15);
}



.coursework-category h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.coursework-category h3 i {
    color: var(--primary-color);
    font-size: 1rem;
}

.coursework-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

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

.course-item {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.9), rgba(30, 30, 30, 0.8));
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.course-item:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.95), rgba(35, 35, 35, 0.9));
    transform: translateX(5px) translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
}

.course-code {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.5px;
}

.course-name {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(120, 119, 198, 0.2);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 14px;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(120, 119, 198, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 25px rgba(120, 119, 198, 0.4);
}

.contact-details h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.contact-details a,
.contact-details span {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.4;
}

.contact-details a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 119, 198, 0.5);
}

.contact-form-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: visible;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.contact-form-container h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 35px;
    text-align: center;
    letter-spacing: 0.5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.contact-form input,
.contact-form textarea {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 25px rgba(120, 119, 198, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(120, 119, 198, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(120, 119, 198, 0.4),
        0 0 20px rgba(255, 119, 198, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(3px);
}

/* Footer */
footer {
    background: var(--bg-dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-text {
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}



.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    transform: translateX(400px);
    transition: all 0.3s ease;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.notification.error {
    background: linear-gradient(45deg, #ff0080, #ff6b6b);
    box-shadow: 0 5px 20px rgba(255, 0, 128, 0.3);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: var(--glow-primary);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Interactive Welcome Screen */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.welcome-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    animation: welcomePulse 4s ease-in-out infinite;
}

.welcome-screen.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.welcome-content {
    text-align: center;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 2rem;
}

.welcome-logo {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: logoGlow 2s ease-in-out infinite alternate;
    cursor: pointer;
    transition: all 0.3s ease;
}

.welcome-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(255, 119, 198, 0.8));
}

.welcome-logo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    opacity: 0.1;
    filter: blur(20px);
    animation: logoPulse 2s ease-in-out infinite;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-family: 'JetBrains Mono', monospace;
    animation: titleSlideIn 1s ease-out 0.5s both;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: 'JetBrains Mono', monospace;
    animation: titleSlideIn 1s ease-out 0.8s both;
}

.welcome-interactive {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    animation: titleSlideIn 1s ease-out 1.1s both;
}

.welcome-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(120, 119, 198, 0.3);
    min-width: 200px;
    text-decoration: none;
    display: inline-block;
}

.welcome-btn.auto-progress {
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.welcome-btn.auto-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progressShimmer 2s ease-in-out infinite;
    z-index: 2;
}

.welcome-btn.auto-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    border-radius: 12px;
    transition: width 0.1s linear;
    pointer-events: none;
    z-index: 1;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.3);
    border-right: 2px solid rgba(255, 255, 255, 0.9);
}

.welcome-btn.auto-progress .btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.welcome-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.welcome-btn:hover::before {
    left: 100%;
}

.welcome-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(120, 119, 198, 0.4),
        0 0 20px rgba(255, 119, 198, 0.3);
}

.welcome-btn:active {
    transform: translateY(-1px);
}

.welcome-btn i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.welcome-btn:hover i {
    transform: translateX(3px);
}

.welcome-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.welcome-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat 6s linear infinite;
    transition: all 0.3s ease;
}



.welcome-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.welcome-particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.welcome-particle:nth-child(3) { top: 80%; left: 20%; animation-delay: 2s; }
.welcome-particle:nth-child(4) { top: 30%; left: 70%; animation-delay: 3s; }
.welcome-particle:nth-child(5) { top: 70%; left: 30%; animation-delay: 0.5s; }
.welcome-particle:nth-child(6) { top: 40%; left: 90%; animation-delay: 1.5s; }
.welcome-particle:nth-child(7) { top: 90%; left: 60%; animation-delay: 2.5s; }
.welcome-particle:nth-child(8) { top: 10%; left: 40%; animation-delay: 3.5s; }



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

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

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

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

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

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

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

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color); }
}

@keyframes terminalTyping {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: var(--primary-color); }
}

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

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

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

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

@keyframes progressGlow {
    0% { box-shadow: 0 0 5px var(--primary-color); }
    100% { box-shadow: 0 0 15px var(--primary-color), 0 0 25px var(--primary-color); }
}

/* Welcome Screen Animations */
@keyframes welcomePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

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

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 10px rgba(120, 119, 198, 0.5)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 119, 198, 0.8)); }
}

@keyframes logoPulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.1); }
}

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

@keyframes progressShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes textPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes textUnderline {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

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

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

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .hero-documents {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .btn-document {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    


    .hero-stats {
        justify-content: center;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -50px;
        right: auto;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact h2 {
        font-size: 2.5rem;
    }
    
    .contact-intro {
        font-size: 1.1rem;
    }
    
    .contact-form-container {
        padding: 35px 25px;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .skills-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skill-category {
        padding: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-left {
        gap: 1.5rem;
    }
    
    .expertise-under {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .expertise-side {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .coursework-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .coursework-category {
        padding: 1.5rem;
    }
    
    .courses-grid {
        gap: 0.6rem;
    }
    
    .course-item {
        padding: 0.7rem 0.9rem;
    }

    .terminal {
        margin-top: 2rem;
        font-size: 0.8rem;
    }

    .terminal-body {
        padding: 16px;
        min-height: 250px;
    }

    .terminal-line {
        margin-bottom: 6px;
    }

    .terminal-output {
        margin-left: 24px;
        margin-bottom: 10px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .terminal {
        font-size: 0.7rem;
        margin-top: 1.5rem;
    }

    .terminal-body {
        padding: 12px;
        min-height: 200px;
    }

    .terminal-header {
        padding: 8px 12px;
    }

    .terminal-title {
        font-size: 0.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .project-content {
        padding: 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 0 1rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }



/* Matrix Rain Effect */
@keyframes matrix-rain {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.matrix-column {
    position: absolute;
    top: -100vh;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1;
    text-shadow: 0 0 5px #00ff41;
    animation: matrix-rain 3s linear infinite;
}

/* Floating Particles */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
    }
}

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite, pulse-glow 2s ease-in-out infinite;
}

/* Morphing Shapes */
@keyframes morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.morphing-shape {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    border: 2px solid rgba(0, 212, 255, 0.3);
    animation: morph 8s ease-in-out infinite;
    pointer-events: none;
}

/* Glitch Effect */


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

/* Holographic Effect */
@keyframes holographic {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.holographic {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: holographic 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Neon Glow */


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

/* 3D Flip Card */
@keyframes flip3d {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.flip-card {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    animation: flip3d 1s ease-in-out;
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Liquid Button */
@keyframes liquid {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.liquid-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: liquid 3s ease-in-out infinite;
}

.liquid-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.liquid-btn:hover::before {
    left: 100%;
}

/* DNA Helix */
@keyframes dna-rotate {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.dna-helix {
    position: relative;
    width: 100px;
    height: 200px;
    perspective: 1000px;
}

.dna-strand {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00d4ff;
    border-radius: 50%;
    animation: dna-rotate 4s linear infinite;
}

/* Circuit Board Pattern */
@keyframes circuit-flow {
    0% {
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.circuit-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.circuit-path {
    stroke: #00d4ff;
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 10;
    stroke-dashoffset: 1000;
    animation: circuit-flow 3s ease-in-out infinite;
}

/* Energy Field */
@keyframes energy-field {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.energy-field {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid #00d4ff;
    border-radius: 50%;
    animation: energy-field 2s ease-in-out infinite;
    pointer-events: none;
}

/* Data Stream */
@keyframes data-stream {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.data-stream {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    animation: data-stream 2s linear infinite;
    pointer-events: none;
}

/* Quantum Particles */
@keyframes quantum-jump {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    25% {
        transform: translate(20px, -20px) scale(1.5);
        opacity: 0.7;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.5);
        opacity: 0.3;
    }
    75% {
        transform: translate(20px, 20px) scale(1.2);
        opacity: 0.8;
    }
}

.quantum-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00d4ff;
    border-radius: 50%;
    animation: quantum-jump 4s ease-in-out infinite;
    pointer-events: none;
}

/* Neural Network */
@keyframes neural-pulse {
    0%, 100% {
        stroke-width: 2;
        opacity: 0.5;
    }
    50% {
        stroke-width: 4;
        opacity: 1;
    }
}

.neural-node {
    fill: #00d4ff;
    animation: neural-pulse 2s ease-in-out infinite;
}

.neural-connection {
    stroke: #00d4ff;
    stroke-width: 2;
    fill: none;
    animation: neural-pulse 2s ease-in-out infinite;
}

/* Holographic Projection */
@keyframes hologram-scan {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.hologram-scan {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    animation: hologram-scan 3s ease-in-out infinite;
    pointer-events: none;
}
