:root {
    --primary: #6C63FF; /* Vibrant purple */
    --secondary: #4D8BFF; /* Bright blue */
    --accent: #FF6584; /* Pink accent */
    --dark: #2D3748;
    --light: #F7FAFC;
    --success: #48BB78;
    /* Gradient backgrounds */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, #1A202C 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* Add to site.css */
.skills-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background: var(--light);
}

.skill-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}

    .skill-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        border-color: rgba(108, 99, 255, 0.2);
    }

    .skill-card h3 {
        position: relative;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
        color: var(--primary);
    }

        .skill-card h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 3px;
        }

/* Animated background elements */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -30px;
    right: -30px;
    animation-delay: 3s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 20%;
    animation-delay: 6s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Ultra-responsive adjustments */
@media (max-width: 992px) {
    .hero {
        padding-top: 5rem;
        padding-bottom: 5rem;
        height: auto;
    }

    .hero-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .display-3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

        .hero .btn {
            width: 100%;
        }

    .floating-shapes {
        display: none;
    }
}

@media (max-width: 576px) {
    .skill-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1rem;
    }
}

/* Fluid typography */
html {
    font-size: 16px;
}

@media (min-width: 576px) {
    html {
        font-size: calc(16px + (20 - 16) * ((100vw - 576px) / (1200 - 576)));
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 20px;
    }
}

/* Hover effects */
.hover-scale {
    transition: all 0.3s ease;
}

    .hover-scale:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.hover-float {
    display: inline-block;
    transition: transform 0.3s ease;
}

    .hover-float:hover {
        transform: translateY(-3px);
        color: var(--primary) !important;
    }

.hover-rotate {
    transition: transform 0.5s ease;
}

    .hover-rotate:hover {
        transform: rotate(-2deg) scale(1.02);
    }

/* Social links */
.social-links a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        opacity: 1;
        text-decoration: none;
    }

/* Layout Structure */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
    position: relative;
}

/* Content Container */
.container.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Footer Links */
.hover-footer-link {
    transition: all 0.3s ease;
    opacity: 0.75;
}

    .hover-footer-link:hover {
        opacity: 1;
        color: white !important;
        transform: translateX(5px);
    }

/* Floating Shapes (for hero and footer) */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

/* Animation Keyframes */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, 20px) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero {
        text-align: center;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-image-wrapper {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .footer .col-md-4 {
        margin-bottom: 2rem;
    }

    .footer .text-md-end {
        text-align: left !important;
    }
}

/* Portfolio Section */
.portfolio-section {
    background-color: #f8f9fa;
}

.hover-scale {
    transition: transform 0.3s ease;
}

    .hover-scale:hover {
        transform: translateY(-5px);
    }

/* Project card animations */
.project-item {
    transition: all 0.3s ease;
}

/* Filter buttons */
.project-filters .btn {
    margin: 0.25rem;
    transition: all 0.3s ease;
}

    .project-filters .btn.active {
        background-color: var(--primary);
        color: white;
        border-color: var(--primary);
    }