:root {
    --bg-color: #0a0a0a;
    --primary-color: #2dd4bf;
    /* Teal */
    --secondary-color: #9333ea;
    /* Purple */
    --text-color: #e5e7eb;
    --card-bg: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Aurora Background */
.aurora-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.aurora-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -150px;
    left: -150px;
    animation: move-aurora-1 20s infinite alternate ease-in-out;
}

.aurora-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -100px;
    right: -100px;
    animation: move-aurora-2 25s infinite alternate ease-in-out;
}

@keyframes move-aurora-1 {
    from {
        transform: translate(-50px, -50px) rotate(0deg);
    }
    to {
        transform: translate(100px, 100px) rotate(360deg);
    }
}

@keyframes move-aurora-2 {
    from {
        transform: translate(50px, 50px) rotate(0deg);
    }
    to {
        transform: translate(-100px, -100px) rotate(360deg);
    }
}

/* Glassmorphism Header */
header {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section Gradient Text */
.hero-gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Skill Card with Glassmorphism and Tilt */
.skill-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.skill-card:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg) scale(1.05);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

/* Portfolio Item Hover Effect */
.portfolio-item .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item img {
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Form Styling */
.form-input {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.3);
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    background-size: 200% 100%;
    transition: background-position 0.5s ease;
}

.btn-primary:hover {
    background-position: 100% 0;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hide desktop-only elements by default */
#pic {
    display: none; /* Hidden by default, shown via media query */
}

/* Adjustments for smaller screens (Mobile) */
@media (max-width: 767px) {
    #home {
        min-height: auto;
        align-items: flex-start;
    }

    /* Hide the globe and show the picture on mobile */
    #globe-container {
        display: none;
    }

    #pic {
        display: block; /* Show the profile picture on mobile */
    }
}