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

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #64748b;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --light: #f8fafc;
    --accent: #3b82f6;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-lighter);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.nav-links a {
    color: var(--light);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 500;
    padding: 0.5rem 0;
}

.nav-links a.active {
    color: var(--primary);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light);
    transition: all 0.3s ease;
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 8rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 0;
    background-image: 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='%232563eb' fill-opacity='0.4'%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");
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.shape2 {
    width: 300px;
    height: 300px;
    background: #764ba2;
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(50px, -50px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

.hero-left {
    z-index: 1;
    animation: fadeInUp 1s ease;
}

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

.hero-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 0 2rem 0;
    background: var(--gradient);
    padding: 5px;
    position: relative;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { box-shadow: 0 0 0 25px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.hero-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
}

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

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.hero-right {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 30px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    z-index: 1;
    animation: fadeInUp 1s ease 0.2s backwards;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-right::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(37, 99, 235, 0.1), transparent 30%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.hero-right h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.about-item {
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.about-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.about-item:hover::before {
    width: 300px;
    height: 300px;
}

.about-item:hover {
    transform: scale(1.05);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.about-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.about-item:hover .about-icon {
    transform: scale(1.3) rotate(360deg);
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-content h3 {
    color: var(--light);
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.about-content p {
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.4;
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    background: var(--dark);
    position: relative;
    z-index: 2;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.65rem;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--dark), 0 0 0 7px var(--primary);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 4px var(--dark), 0 0 0 7px var(--primary); }
    50% { box-shadow: 0 0 0 4px var(--dark), 0 0 0 12px rgba(37, 99, 235, 0.3); }
}

.work-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.work-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
    transition: left 0.8s ease;
}

.work-card:hover::after {
    left: 150%;
}

.work-card:hover {
    transform: translateX(15px) scale(1.02);
    border-color: var(--primary);
    box-shadow: -10px 10px 40px rgba(37, 99, 235, 0.3);
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.company {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--light);
}

.work-date {
    color: var(--primary);
    font-size: 0.9rem;
}

.work-description {
    color: #cbd5e1;
    line-height: 1.6;
}

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

.project-card {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(37, 99, 235, 0.3);
}

.project-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, transparent 70%, var(--primary));
    border-radius: 25px;
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

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

.project-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.6);
    border-color: var(--primary);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(0.8) contrast(1.1);
}

.project-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.2) saturate(1.4);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.project-overlay p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.projects-list {
    position: relative;
    padding-left: 2rem;
}

.projects-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, #764ba2 100%);
}

.project-item {
    position: relative;
    padding-bottom: 2rem;
}

.project-item::before {
    content: '💻';
    position: absolute;
    left: -2.95rem;
    top: 1.5rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 4px var(--dark);
    animation: pulse-dot 2s infinite;
}

.project-card-simple {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    overflow: hidden;
    transition: all 0.4s ease;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: 200px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.project-card-simple:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: -5px 5px 30px rgba(37, 99, 235, 0.3);
}

.project-image {
    width: 280px;
    height: 100%;
    min-height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--dark-lighter);
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card-simple:hover .project-image::after {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.9);
}

.project-card-simple:hover .project-image img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.project-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
}

.project-content h3 {
    font-size: 1.4rem;
    color: var(--light);
    margin-bottom: 0.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-card-simple:hover .project-content h3 {
    color: var(--primary);
}

.project-description {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.3rem;
}

.tech-tag {
    background: rgba(37, 99, 235, 0.15);
    color: #94a3b8;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

.project-card-simple:hover .tech-tag {
    background: rgba(37, 99, 235, 0.25);
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.4);
}

.tech-tag:hover {
    transform: translateY(-2px);
    background: rgba(37, 99, 235, 0.3);
}

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

.skill-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
    padding: 1.5rem 1rem;
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: -100%;
    background: conic-gradient(from 0deg, transparent, var(--primary), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.skill-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-radius: 16px;
}

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

.skill-card:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.skill-icon {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.skill-card:hover .skill-icon {
    transform: rotateY(360deg) scale(1.3);
}

.skill-card > div {
    position: relative;
    z-index: 1;
    font-weight: 500;
    font-size: 0.9rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    perspective: 2000px;
}

.gallery-item {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(37, 99, 235, 0.3);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from var(--angle), transparent 70%, var(--primary));
    border-radius: 25px;
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.15) translateZ(80px);
    box-shadow: 0 35px 80px rgba(37, 99, 235, 0.6);
    z-index: 100;
    border-color: var(--primary);
}

.gallery-item:nth-child(1):hover {
    transform: scale(1.15) rotateY(12deg) rotateX(-8deg) translateZ(80px);
}

.gallery-item:nth-child(2):hover {
    transform: scale(1.15) rotateY(-12deg) rotateX(-8deg) translateZ(80px);
}

.gallery-item:nth-child(3):hover {
    transform: scale(1.15) rotateY(12deg) rotateX(8deg) translateZ(80px);
}

.gallery-item:nth-child(4):hover {
    transform: scale(1.15) rotateY(-12deg) rotateX(8deg) translateZ(80px);
}

.gallery-item:nth-child(5):hover {
    transform: scale(1.15) rotateY(12deg) rotateX(-8deg) translateZ(80px);
}

.gallery-item:nth-child(6):hover {
    transform: scale(1.15) rotateY(-12deg) rotateX(8deg) translateZ(80px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(0.8) contrast(1.1);
}

.gallery-item:hover img {
    transform: scale(1.25) rotate(3deg);
    filter: brightness(1.1) contrast(1.2) saturate(1.4);
}

@keyframes pulse-gallery {
    0%, 100% {
        border-color: rgba(37, 99, 235, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    50% {
        border-color: rgba(37, 99, 235, 0.6);
        box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    }
}

.gallery-item:nth-child(1) { animation: pulse-gallery 3s ease-in-out infinite; animation-delay: 0s; }
.gallery-item:nth-child(2) { animation: pulse-gallery 3s ease-in-out infinite; animation-delay: 0.5s; }
.gallery-item:nth-child(3) { animation: pulse-gallery 3s ease-in-out infinite; animation-delay: 1s; }
.gallery-item:nth-child(4) { animation: pulse-gallery 3s ease-in-out infinite; animation-delay: 1.5s; }
.gallery-item:nth-child(5) { animation: pulse-gallery 3s ease-in-out infinite; animation-delay: 2s; }
.gallery-item:nth-child(6) { animation: pulse-gallery 3s ease-in-out infinite; animation-delay: 2.5s; }

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-form {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 10px;
    color: var(--light);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--dark-lighter);
    margin-top: 4rem;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s ease;
    font-weight: bold;
}

.social-links a:hover {
    transform: translateY(-8px) rotate(360deg) scale(1.2);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 6rem;
        gap: 2rem;
    }

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-lighter);
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

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

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

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

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

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

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

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

    .project-card-simple {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 200px;
    }

    .project-content {
        padding: 1.5rem;
    }
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 4px solid var(--dark-lighter);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}