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

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #0a0a0a;
    background-image: radial-gradient(circle at 25% 25%, rgba(109, 40, 217, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}
/* Background Grid Pattern */
.bg-grid-pattern {
    background-image: 
        linear-gradient(to right, rgba(109, 40, 217, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(6, 182, 212, 0.08) 1px, transparent 1px),
        radial-gradient(circle at center, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    background-size: 40px 40px;
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

.project-card {
    perspective: 1000px;
    transform-style: preserve-3d;
}
/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: rgba(109, 40, 217, 0.9);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
    background-color: rgba(91, 33, 182, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: rgba(6, 182, 212, 0.9);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
    background-color: rgba(8, 145, 178, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Skills Tags */
.skill-tag {
    display: inline-block;
    background-color: rgba(109, 40, 217, 0.1);
    color: #a78bfa;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background-color: rgba(109, 40, 217, 0.2);
    transform: scale(1.05);
}

/* Project Cards */
.project-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.project-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 50px -12px rgba(109, 40, 217, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}
.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.7) 0%, rgba(109, 40, 217, 0.7) 100%);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateZ(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

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

.project-link {
    display: inline-flex;
    align-items: center;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #a78bfa;
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: translateX(5px);
}

.tech-tag {
    display: inline-block;
    background-color: rgba(6, 182, 212, 0.1);
    color: #22d3ee;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Resume Timeline */
.resume-timeline {
    position: relative;
    padding-left: 1.5rem;
}

.resume-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

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

.timeline-dot {
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    margin-left: 0.5rem;
}

/* Certification Cards */
.certification-card {
    background-color: rgba(31, 41, 55, 0.5);
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.certification-card:hover {
    background-color: rgba(31, 41, 55, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Form Elements */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(109, 40, 217, 0.5);
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
}

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    .project-image {
        height: 220px;
    }
}