@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Giaza';
    src: url('assets/fonts/Giaza-Font/Giaza.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'Giaza Stencil';
    src: url('assets/fonts/Giaza-Font/Giaza Stencil.otf') format('opentype');
    font-weight: 400;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #0a0e27;
    --accent-color: #6b5b95;
    --accent-purple: #7c3aed;
    --accent-pink: #ec4899;
    --light-bg: #1a1f3a;
    --text-dark: #e0e0e0;
    --text-light: #a0a0a0;
    --border-color: #2a3050;
    --dark-bg: #0f1419;
    --card-bg: #11152b;
    --text-white: #ffffff;
    --bg-primary: #02090e;
    --bg-secondary: #060c1d;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: 1px;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
    position: relative;
}

p {
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.3;
    color: var(--text-dark);
}

.about-content p,
.about-highlights p,
.contact-info p,
.timeline-content p {
    color: var(--text-light);
}

.highlight p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: 'Courier New', Courier, monospace;
    opacity: 1;
}

body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    width: 15px;
    height: 100vh;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 212, 255, 0.1) 10px,
        rgba(0, 212, 255, 0.1) 12px
    );
    pointer-events: none;
    z-index: 10000;
}

body::before {
    left: 0;
}

body::after {
    right: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 64px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    background: rgba(15, 20, 25, 0.95);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 10001;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--text-white);
}

.logo {
    width: 40px;
    height: 40px;
    color: var(--text-white);
    object-fit: contain;
    border-radius: 28px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-family: 'Giaza', sans-serif;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-purple));
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-white);
    transition: all 0.3s ease;
    z-index: 10002;
}

.menu-toggle.active {
    transform: rotate(90deg);
}

/* Mobile Sidebar */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.sidebar-overlay.active {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 0 30px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.85) 0%, rgba(123, 60, 237, 0.3) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 80px 30px;
}

.hero-text {
    color: var(--text-white);
}

.hero-top-text {
    display: inline-block;
    border-bottom: 1px solid var(--primary-color);
    font-size: 1.8rem;
    font-family: 'Giaza', 'Courier New', sans-serif;
    font-weight: 400;
}

.hero-title-group {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideInUp 0.8s ease 0.1s forwards;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-white), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Giaza', sans-serif;
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-title2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--primary-color);
    font-family: 'Giaza', sans-serif;
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInUp 0.8s ease 0.2s forwards;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.8;
    opacity: 0;
    animation: slideInUp 0.8s ease 0.3s forwards;
    letter-spacing: 0.3px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideInUp 0.8s ease 0.4s forwards;
}

.btn {
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #00a8cc);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    font-weight: 700;
}

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

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

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    opacity: 0;
    animation: slideInUp 0.8s ease 0.5s forwards;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

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

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

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

/* About Section */
.about {
    padding: 200px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: #666;
    opacity: 1;
    z-index: 10;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: #666;
    opacity: 1;
    z-index: 10;
}

.section-title {
    font-size: 2.25rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-white);
    font-family: 'Giaza', sans-serif;
    font-weight: 600;
    position: relative;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-purple));
    border-radius: 2px;
}

.about-content {
    opacity: 1;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 48px;
    opacity: 1;
}

.highlight {
    padding: 32px;
    background: rgba(26, 31, 58, 0.8);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
    opacity: 1;
}

.highlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.15);
}

.highlight h4 {
    font-size: 1.125rem;
    color: var(--text-white);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-family: 'Giaza', sans-serif;
}

/* Projects Section */
.projects {
    padding: 200px 0;
    background: var(--bg-primary);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: #666;
    opacity: 1;
    z-index: 1;
}

.projects::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: #666;
    opacity: 1;
    z-index: 1;
}


/* Masonry Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    grid-auto-rows: 150px;
}

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 212, 255, 0.15);
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.9) 0%, rgba(21, 27, 47, 0.9) 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
}

/* Different sizes for Pinterest effect */
.project-card.small {
    grid-row: span 2;
}

.project-card.medium {
    grid-row: span 3;
}

.project-card.large {
    grid-row: span 4;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 14, 39, 0.3) 0%,
        rgba(10, 14, 39, 0.6) 50%,
        rgba(10, 14, 39, 0.9) 100%
    );
    transition: background 0.4s ease;
    z-index: 1;
}

.project-card:hover .project-overlay {
    background: linear-gradient(
        to bottom,
        rgba(10, 14, 39, 0.1) 0%,
        rgba(10, 14, 39, 0.4) 50%,
        rgba(10, 14, 39, 0.8) 100%
    );
}

.project-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    color: white;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.4s ease;
}

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

.project-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.project-card:hover .project-logo {
    transform: scale(1.1);
}

.project-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Giaza', sans-serif;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.project-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.project-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.project-tech span {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.project-tech span:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.25rem;
        grid-auto-rows: 130px;
    }
    
    .project-card.small {
        grid-row: span 1;
    }
    
    .project-card.medium {
        grid-row: span 1;
    }
    
    .project-card.large {
        grid-row: span 1;
    }
    
    .project-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
    }
    
    .project-card.small,
    .project-card.medium,
    .project-card.large {
        grid-row: span 1;
    }
    
    .project-content {
        padding: 0.75rem;
    }
}

/* Skills Section */
.skills {
    padding: 200px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: #666;
    opacity: 1;
    z-index: 10;
}

.skills::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: #666;
    opacity: 1;
    z-index: 10;
}

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

.skill-category {
    padding: 32px;
    background: rgba(26, 31, 58, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.skill-category h3 {
    font-size: 1.125rem;
    color: var(--text-white);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-family: 'Giaza', sans-serif;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 60, 237, 0.15));
    color: var(--primary-color);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
    letter-spacing: 0.3px;
}

.skill-badge:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

/* Experience Section */
.experience {
    padding: 200px 0;
    background: var(--bg-primary);
    position: relative;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: #666;
    opacity: 1;
    z-index: 10;
}

.experience::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: #666;
    opacity: 1;
    z-index: 10;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-purple));
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    top: 0;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    width: 24px;
    height: 24px;
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 8px rgba(0, 212, 255, 0.3);
}

.timeline-content {
    width: calc(50% - 2rem);
    margin-left: 50%;
    padding-left: 2rem;
    background: rgba(26, 31, 58, 0.8);
    padding: 32px;
    border-radius: 12px;
    border-left: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.15);
    transform: translateX(-5px);
}

.timeline-content h3 {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-family: 'Giaza', sans-serif;
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

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

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: #666;
    opacity: 1;
    z-index: 10;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.5px;
    background: #666;
    opacity: 1;
    z-index: 10;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    opacity: 0;
    animation: slideInUp 0.8s ease 0.1s forwards;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Giaza', sans-serif;
    letter-spacing: -0.01em;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-details {
    margin: 32px 0;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(26, 31, 58, 0.8);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-label {
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 4px;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    animation: slideInUp 0.8s ease 0.2s forwards;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 16px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: rgba(26, 31, 58, 0.8);
    color: var(--text-white);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    background: rgba(0, 212, 255, 0.02);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color), #1a1f3a);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 48px;
    }

    .hero .container {
        gap: 2rem;
    }

    .masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        grid-auto-rows: 140px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 32px;
    }

    .hero-background {
        display: none;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(15, 20, 25, 0.98);
        width: 70%;
        text-align: left;
        transition: left 0.3s ease;
        gap: 0;
        padding: 2rem 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
        border-right: 1px solid rgba(0, 212, 255, 0.1);
        z-index: 9999;
    }

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

    .nav-links a {
        padding: 1.25rem 2rem;
        display: block;
        border-bottom: 1px solid rgba(0, 212, 255, 0.05);
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }

    .nav-links a:hover {
        background: rgba(0, 212, 255, 0.1);
        padding-left: 2.5rem;
    }

    .nav-links a::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 20px 0;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        padding: 0 32px;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
    }

    .hero-title-group {
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
    }

    /* About Section Mobile */
    .about {
        padding: 120px 0;
    }

    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .about-highlights {
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .highlight {
        padding: 24px;
    }

    .highlight h4 {
        font-size: 1rem;
    }

    .highlight p {
        font-size: 0.9rem;
    }

    /* Projects Section Mobile */
    .projects {
        margin: 0px 0 120px;
        padding: 120px 0;
    }

    .projects::before,
    .projects::after {
        display: none;
    }

    .masonry-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 2rem;
        grid-auto-rows: 130px;
    }

    .project-card.small {
        grid-row: span 1;
    }

    .project-card.medium {
        grid-row: span 1;
    }

    .project-card.large {
        grid-row: span 1;
    }

    .project-content {
        padding: 1rem;
    }

    .project-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 0.5rem;
    }

    .project-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .project-tag {
        font-size: 0.65rem;
        padding: 3px 8px;
        margin-bottom: 0.5rem;
    }

    .project-content p {
        font-size: 0.75rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .project-tech span {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    /* Skills Section Mobile */
    .skills {
        padding: 120px 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-category {
        padding: 24px;
    }

    .skill-category h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .skill-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    /* Experience Section Mobile */
    .experience {
        padding: 120px 0;
    }

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

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

    .timeline-marker {
        left: 8px;
        width: 14px;
        height: 14px;
    }

    .timeline-item:hover .timeline-marker {
        width: 14px;
        height: 14px;
        transform: translateX(0) scale(1);
    }

    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 0;
        padding-left: 2rem;
        padding: 20px;
        padding-left: 2rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-date {
        font-size: 0.8rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    /* Contact Section Mobile */
    .contact {
        padding: 120px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .contact-info p {
        font-size: 0.95rem;
    }

    .contact-item {
        padding: 16px;
        gap: 12px;
    }

    .contact-icon {
        font-size: 1.25rem;
    }

    .contact-label {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 12px;
    }

    .social-link {
        padding: 10px 20px;
        font-size: 0.9rem;
        flex: 1;
        text-align: center;
    }

    .contact-form {
        gap: 12px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 14px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    body::before,
    body::after {
        width: 10px;
    }

    .navbar .container {
        padding: 1rem 10px;
    }

    .nav-brand {
        font-size: 1rem;
    }

    .logo {
        width: 32px;
        height: 32px;
    }

    .nav-links {
        top: 65px;
    }

    .nav-links a {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Hero Mobile Small */
    .hero {
        min-height: auto;
    }

    .hero .container {
        gap: 2rem;
        padding: 40px 20px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-bottom: 1rem;
    }

    .hero-title-group {
        margin-bottom: 0.75rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* About Mobile Small */
    .about {
        padding: 80px 0;
    }

    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .highlight {
        padding: 20px;
    }

    .highlight h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .highlight p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Projects Mobile Small */
    .projects {
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        grid-auto-rows: 120px;
    }

    .project-card.small,
    .project-card.medium,
    .project-card.large {
        grid-row: span 1;
    }

    .project-content {
        padding: 0.75rem;
    }

    .project-logo {
        width: 40px;
        height: 40px;
        margin-bottom: 0.25rem;
    }

    .project-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }

    .project-tag {
        font-size: 0.6rem;
        padding: 2px 6px;
        margin-bottom: 0.25rem;
    }

    .project-content p {
        font-size: 0.7rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
        display: none;
    }

    .project-tech {
        gap: 0.25rem;
    }

    .project-tech span {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    /* Skills Mobile Small */
    .skills {
        padding: 80px 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .skill-category {
        padding: 20px;
    }

    .skill-category h3 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .skill-items {
        gap: 8px;
    }

    .skill-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    /* Experience Mobile Small */
    .experience {
        padding: 80px 0;
    }

    .timeline {
        padding: 1rem 0;
    }

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

    .timeline-marker {
        left: 6px;
        width: 12px;
        height: 12px;
        border-width: 3px;
    }

    .timeline-content {
        width: calc(100% - 35px);
        padding: 16px;
        padding-left: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .timeline-date {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Contact Mobile Small */
    .contact {
        padding: 80px 0;
    }

    .contact-content {
        gap: 1.5rem;
    }

    .contact-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .contact-details {
        margin: 1.5rem 0;
    }

    .contact-item {
        padding: 12px;
        gap: 10px;
        margin-bottom: 1rem;
    }

    .contact-icon {
        font-size: 1.1rem;
    }

    .contact-label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .contact-item p:last-child {
        font-size: 0.8rem;
    }

    .social-links {
        gap: 8px;
        margin-top: 1.5rem;
    }

    .social-link {
        padding: 9px 16px;
        font-size: 0.85rem;
        flex: 1;
    }

    .contact-form {
        gap: 10px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 12px;
        font-size: 16px;
        border-radius: 6px;
    }

    .contact-form textarea {
        min-height: 100px;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 0;
    }

    .footer p {
        font-size: 0.85rem;
        margin: 0.4rem 0;
    }
}
