/* ===== CSS Variables ===== */
:root {
    --primary-dark: #29103A;
    --primary: #331052;
    --accent: #8121D0;
    --cyan: #0CCFED;
    --light-purple: #E1BBED;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #8121D0 0%, #331052 100%);
    --gradient-2: linear-gradient(135deg, #0CCFED 0%, #8121D0 100%);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--primary-dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Animated Background ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

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

.glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: var(--cyan);
    bottom: 20%;
    left: -100px;
    animation-delay: -5s;
}

.glow-3 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    bottom: -200px;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, 50px) scale(1.1); }
    50% { transform: translate(0, 100px) scale(1); }
    75% { transform: translate(-50px, 50px) scale(0.9); }
}

/* ===== Cosmic Background (Dark Theme) ===== */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    background: linear-gradient(180deg, #0a0a1a 0%, #1a1035 40%, #29103A 100%);
}

/* Stars Layer */
.cosmic-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 50px 50px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 150px 120px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 250px 80px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 350px 200px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 450px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 100px 300px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 200px 400px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 300px 350px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 400px 280px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 500px 380px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 80px 180px, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 180px 250px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 280px 150px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 380px 50px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 480px 220px, rgba(255,255,255,0.5), transparent);
    background-size: 550px 450px;
    animation: subtleTwinkle 8s ease-in-out infinite;
}

@keyframes subtleTwinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.5; }
}

/* Moon */
.cosmic-moon {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #d4d4d4 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255,255,255,0.5), 0 0 60px rgba(129, 33, 208, 0.3);
}

.cosmic-moon::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    width: 15px;
    height: 15px;
    background: rgba(180,180,180,0.5);
    border-radius: 50%;
}

.cosmic-moon::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 40px;
    width: 20px;
    height: 20px;
    background: rgba(180,180,180,0.4);
    border-radius: 50%;
}

/* Hide cosmic bg in nature theme */
body.nature-theme .cosmic-bg {
    display: none;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(41, 16, 58, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-hi {
    color: var(--white);
    background: var(--accent);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

.logo-dev {
    color: var(--cyan);
    margin-left: 0.3rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--cyan);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-greeting {
    font-size: 1.5rem;
    color: var(--light-purple);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--light-purple);
    margin-bottom: 2rem;
}

.hero-socials {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(129, 33, 208, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

.image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--cyan);
    border-radius: 20px;
    z-index: 1;
}

/* ===== Animations ===== */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    animation: slideUp 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== Stats Section ===== */
.stats {
    background: var(--primary);
    padding: 2rem;
    transform: translateY(-50px);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--cyan);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-purple);
    line-height: 1.4;
}

.tech-icons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.tech-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tech-icon i {
    font-size: 3rem;
    color: #ffffff;
    display: block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Brand colors for each tech icon */
.tech-icon:nth-child(1) i {
    color: #F7DF1E; /* JavaScript - Yellow */
}

.tech-icon:nth-child(2) i {
    color: #61DAFB; /* React - Cyan Blue */
}

.tech-icon:nth-child(3) i {
    color: #777BB4; /* PHP - Purple */
}

.tech-icon:nth-child(4) i {
    color: #3776AB; /* Python - Blue */
}

.tech-icon:nth-child(5) i {
    color: #E34F26; /* HTML5 - Orange Red */
}

.tech-icon:nth-child(6) i {
    color: #1572B6; /* CSS3 - Blue */
}

.tech-icon:nth-child(7) i {
    color: #F05032; /* Git - Orange Red */
}

.tech-icon:nth-child(8) i {
    color: #47A248; /* Database/MongoDB - Green */
}

/* Cyan glowing dot for tech icons */
.tech-glow {
    position: absolute;
    top: -6px;
    left: -6px;
    background: #0CCFED;
    border-radius: 50%;
    box-shadow: 0 0 15px #0CCFED, 0 0 30px #0CCFED, 0 0 50px rgba(12, 207, 237, 0.5);
    animation: tech-glow-pulse 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes tech-glow-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 15px #0CCFED, 0 0 30px #0CCFED, 0 0 50px rgba(12, 207, 237, 0.5);
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
        box-shadow: 0 0 20px #0CCFED, 0 0 40px #0CCFED, 0 0 70px rgba(12, 207, 237, 0.7);
    }
}

/* Smooth floating animation for tech icons */
@keyframes float-tech {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Apply floating to each tech icon with staggered delays */
.tech-icon:nth-child(1) {
    animation: float-tech 3.5s ease-in-out infinite;
    animation-delay: 0s;
}

.tech-icon:nth-child(2) {
    animation: float-tech 3.5s ease-in-out infinite;
    animation-delay: 0.3s;
}

.tech-icon:nth-child(3) {
    animation: float-tech 3.5s ease-in-out infinite;
    animation-delay: 0.6s;
}

.tech-icon:nth-child(4) {
    animation: float-tech 3.5s ease-in-out infinite;
    animation-delay: 0.9s;
}

.tech-icon:nth-child(5) {
    animation: float-tech 3.5s ease-in-out infinite;
    animation-delay: 1.2s;
}

.tech-icon:nth-child(6) {
    animation: float-tech 3.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.tech-icon:nth-child(7) {
    animation: float-tech 3.5s ease-in-out infinite;
    animation-delay: 1.8s;
}

.tech-icon:nth-child(8) {
    animation: float-tech 3.5s ease-in-out infinite;
    animation-delay: 2.1s;
}

/* Hover effects for tech icons */
.tech-icon:hover {
    animation-play-state: paused;
}

.tech-icon:hover i {
    filter: drop-shadow(0 0 20px currentColor) brightness(1.2);
    transform: translateY(-6px) rotate(-5deg) scale(1.1);
}

/* Enhanced brand color glow on hover */
.tech-icon:nth-child(1):hover i {
    filter: drop-shadow(0 0 20px #F7DF1E) brightness(1.2);
}

.tech-icon:nth-child(2):hover i {
    filter: drop-shadow(0 0 20px #61DAFB) brightness(1.2);
}

.tech-icon:nth-child(3):hover i {
    filter: drop-shadow(0 0 20px #777BB4) brightness(1.2);
}

.tech-icon:nth-child(4):hover i {
    filter: drop-shadow(0 0 20px #3776AB) brightness(1.2);
}

.tech-icon:nth-child(5):hover i {
    filter: drop-shadow(0 0 20px #E34F26) brightness(1.2);
}

.tech-icon:nth-child(6):hover i {
    filter: drop-shadow(0 0 20px #1572B6) brightness(1.2);
}

.tech-icon:nth-child(7):hover i {
    filter: drop-shadow(0 0 20px #F05032) brightness(1.2);
}

.tech-icon:nth-child(8):hover i {
    filter: drop-shadow(0 0 20px #47A248) brightness(1.2);
}

.tech-icon:hover .tech-glow {
    transform: scale(1.3);
    animation: tech-glow-pulse-fast 0.8s ease-in-out infinite;
}

@keyframes tech-glow-pulse-fast {
    0%, 100% {
        transform: scale(1.3);
        box-shadow: 0 0 20px #0CCFED, 0 0 40px #0CCFED, 0 0 70px rgba(12, 207, 237, 0.7);
    }
    50% {
        transform: scale(1.5);
        box-shadow: 0 0 25px #0CCFED, 0 0 50px #0CCFED, 0 0 90px rgba(12, 207, 237, 0.9);
    }
}

/* ===== About Section ===== */
.about {
    padding: 6rem 2rem;
    background: var(--white);
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    margin-top: -50px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title.light {
    color: var(--white);
}

.section-title.light::after {
    background: var(--cyan);
}

.about-text {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ===== Skills Section ===== */
.skills {
    padding: 6rem 2rem;
    background: var(--white);
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
}

.skills-header {
    text-align: center;
    margin-bottom: 4rem;
}

.skills-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.skill-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(129, 33, 208, 0.15);
}

.skill-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.skill-icon.js {
    background: #f7df1e;
    color: #323330;
}

.skill-icon.react {
    background: #61dafb;
    color: #282c34;
}

.skill-icon.node {
    background: #339933;
    color: white;
}

.skill-icon.ts {
    background: #3178c6;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.skill-icon.next {
    background: #000;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.skill-icon.mongo {
    background: #47a248;
    color: white;
}

.skill-icon.aws {
    background: #ff9900;
    color: #232f3e;
}

.skill-icon.docker {
    background: #2496ed;
    color: white;
}

.skill-name {
    font-weight: 600;
    color: var(--primary-dark);
}

/* ===== Projects Section ===== */
.projects {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--white) 0%, #f8f9fa 100%);
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(129, 33, 208, 0.15);
}

.project-image {
    position: relative;
    height: 200px;
    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.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(129, 33, 208, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--cyan);
    color: var(--white);
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.project-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(129, 33, 208, 0.1);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== Contact Section ===== */
.contact {
    padding: 6rem 2rem;
    background: var(--primary);
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding-top: 3rem;
}

.contact-highlight {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-highlight .cyan {
    color: var(--cyan);
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--light-purple);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--cyan);
}

.contact-item i {
    font-size: 1.2rem;
}

.contact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.contact-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-tag:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--cyan);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(12, 207, 237, 0.3);
}

.form-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-social {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.form-social:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: inline-flex;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--light-purple);
    margin-bottom: 1.5rem;
}

.footer-text .highlight {
    color: var(--cyan);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-social {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--cyan);
    transform: translateY(-5px);
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .image-wrapper {
        width: 350px;
        height: 350px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        margin-left: 0;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1002;
        order: 3;
    }
    
    .theme-switch {
        order: 2;
        margin-left: auto;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-socials {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .social-icon-animated i {
        font-size: 2.2rem;
    }
    
    .social-icon-animated:hover {
        transform: translateY(-10px) scale(1.1);
    }
    
    .social-glow {
        width: 14px;
        height: 14px;
    }
    
    .image-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .stats {
        margin: 0 1rem;
        transform: translateY(-30px);
    }
    
    .stats-container {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-item {
        flex-direction: column;
    }
    
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about {
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact {
        text-align: center;
    }
    
    .contact-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .image-wrapper {
        width: 220px;
        height: 220px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    .social-icon-animated i {
        font-size: 2rem;
    }
    
    .social-glow {
        width: 12px;
        height: 12px;
    }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--cyan);
}

/* ===== Selection ===== */
::selection {
    background: var(--accent);
    color: var(--white);
}

/* ===== Loading Animation ===== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ===== Enhanced Particle & Bubble Effects ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    pointer-events: none;
}

/* Tiny twinkling stars */
.particle.star-tiny {
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
    animation: starTwinkle 3s ease-in-out infinite, starDrift 15s linear infinite;
}

/* Small stars */
.particle.star-small {
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(12, 207, 237, 0.8), 0 0 12px rgba(12, 207, 237, 0.4);
    animation: starTwinkle 4s ease-in-out infinite, starDrift 18s linear infinite;
}

/* Sparkle particles with cross shape */
.particle.sparkle {
    width: 8px;
    height: 8px;
    background: transparent;
    animation: sparklePulse 2s ease-in-out infinite, starDrift 12s linear infinite;
}

.particle.sparkle::before,
.particle.sparkle::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
}

.particle.sparkle::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.particle.sparkle::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

/* Glowing orbs - realistic ethereal spheres */
.particle.glow-orb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 35% 35%,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.4) 10%,
        rgba(129, 33, 208, 0.6) 40%,
        rgba(129, 33, 208, 0.3) 60%,
        rgba(129, 33, 208, 0.1) 80%,
        transparent 100%
    );
    box-shadow: 
        0 0 10px rgba(129, 33, 208, 0.8),
        0 0 25px rgba(129, 33, 208, 0.5),
        0 0 50px rgba(129, 33, 208, 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    animation: orbFloat 25s ease-in-out infinite, orbPulse 5s ease-in-out infinite, orbGlow 3s ease-in-out infinite;
}

/* Different orb color variations */
.particle.glow-orb:nth-child(3n) {
    background: radial-gradient(
        circle at 35% 35%,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.4) 10%,
        rgba(12, 207, 237, 0.6) 40%,
        rgba(12, 207, 237, 0.3) 60%,
        rgba(12, 207, 237, 0.1) 80%,
        transparent 100%
    );
    box-shadow: 
        0 0 10px rgba(12, 207, 237, 0.8),
        0 0 25px rgba(12, 207, 237, 0.5),
        0 0 50px rgba(12, 207, 237, 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.particle.glow-orb:nth-child(5n) {
    background: radial-gradient(
        circle at 35% 35%,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.4) 10%,
        rgba(225, 187, 237, 0.6) 40%,
        rgba(225, 187, 237, 0.3) 60%,
        rgba(225, 187, 237, 0.1) 80%,
        transparent 100%
    );
    box-shadow: 
        0 0 10px rgba(225, 187, 237, 0.8),
        0 0 25px rgba(225, 187, 237, 0.5),
        0 0 50px rgba(225, 187, 237, 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Size variations */
.particle.glow-orb:nth-child(2n) {
    width: 18px;
    height: 18px;
}

.particle.glow-orb:nth-child(4n) {
    width: 30px;
    height: 30px;
}

/* Shooting stars */
.particle.shooting-star {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(12, 207, 237, 0.6), transparent);
    border-radius: 2px;
    transform: rotate(-45deg);
    animation: shootingStar 6s linear infinite;
    opacity: 0;
}

/* Star twinkle animation */
@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Star drift animation */
@keyframes starDrift {
    0% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-15px) translateX(10px);
    }
    50% {
        transform: translateY(-5px) translateX(-8px);
    }
    75% {
        transform: translateY(-20px) translateX(5px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

/* Sparkle pulse animation */
@keyframes sparklePulse {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(45deg);
    }
}

/* Orb float animation - smooth ethereal movement */
@keyframes orbFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
    }
    15% {
        transform: translateY(-20px) translateX(15px) scale(1.02);
    }
    30% {
        transform: translateY(-35px) translateX(-10px) scale(0.98);
    }
    45% {
        transform: translateY(-15px) translateX(25px) scale(1.03);
    }
    60% {
        transform: translateY(-45px) translateX(-5px) scale(0.97);
    }
    75% {
        transform: translateY(-25px) translateX(20px) scale(1.01);
    }
    90% {
        transform: translateY(-10px) translateX(-15px) scale(0.99);
    }
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }
}

/* Orb pulse animation - breathing glow effect */
@keyframes orbPulse {
    0%, 100% {
        opacity: 0.5;
        filter: brightness(1);
    }
    25% {
        opacity: 0.65;
        filter: brightness(1.1);
    }
    50% {
        opacity: 0.8;
        filter: brightness(1.2);
    }
    75% {
        opacity: 0.6;
        filter: brightness(1.05);
    }
}

/* Orb glow animation - outer glow pulsing */
@keyframes orbGlow {
    0%, 100% {
        box-shadow: 
            0 0 10px rgba(129, 33, 208, 0.8),
            0 0 25px rgba(129, 33, 208, 0.5),
            0 0 50px rgba(129, 33, 208, 0.3),
            inset 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 0 15px rgba(129, 33, 208, 0.9),
            0 0 35px rgba(129, 33, 208, 0.6),
            0 0 70px rgba(129, 33, 208, 0.4),
            inset 0 0 15px rgba(255, 255, 255, 0.4);
    }
}

/* Shooting star animation */
@keyframes shootingStar {
    0% {
        opacity: 0;
        top: -10%;
        left: 110%;
    }
    5% {
        opacity: 1;
    }
    30% {
        opacity: 1;
        top: 60%;
        left: -10%;
    }
    31%, 100% {
        opacity: 0;
        top: 60%;
        left: -10%;
    }
}


/* ===== Custom Cursor ===== */
.custom-cursor {
    width: 10px;
    height: 10px;
    background: var(--cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.custom-cursor.hover {
    width: 20px;
    height: 20px;
    background: var(--accent);
}

.cursor-follower.hover {
    width: 50px;
    height: 50px;
    border-color: var(--cyan);
}

@media (max-width: 768px) {
    .custom-cursor,
    .cursor-follower,
    .cosmic-trail-container {
        display: none;
    }
}

/* ===== Cosmic Mouse Trail Effect ===== */
.cosmic-trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.trail-particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: trailFade 1s ease-out forwards;
}

/* Star trail particle */
.trail-star {
    background: var(--trail-color, #0CCFED);
    box-shadow: 
        0 0 6px var(--trail-color, #0CCFED),
        0 0 12px var(--trail-color, #0CCFED);
}

/* Sparkle trail particle */
.trail-sparkle {
    background: transparent;
    width: 8px !important;
    height: 8px !important;
}

.trail-sparkle::before,
.trail-sparkle::after {
    content: '';
    position: absolute;
    background: var(--trail-color, #ffffff);
    border-radius: 2px;
}

.trail-sparkle::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    box-shadow: 0 0 4px var(--trail-color, #ffffff);
}

.trail-sparkle::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    box-shadow: 0 0 4px var(--trail-color, #ffffff);
}

/* Dot trail particle */
.trail-dot {
    background: radial-gradient(circle, var(--trail-color, #E1BBED) 0%, transparent 70%);
    box-shadow: 0 0 8px var(--trail-color, #E1BBED);
}

/* Trail fade animation */
@keyframes trailFade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.5);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) translateY(-20px);
    }
}

/* Hide trail in nature theme */
body.nature-theme .cosmic-trail-container {
    display: none;
}

/* ===== Nature Mouse Trail Effect ===== */
.nature-trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
    display: none;
}

body.nature-theme .nature-trail-container {
    display: block;
}

.nature-trail-particle {
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%) rotate(var(--rotation, 0deg));
    animation: natureTrailFade 1.2s ease-out forwards;
}

/* Leaf trail particle */
.nature-trail-leaf {
    width: 12px !important;
    height: 12px !important;
    background: var(--nature-color, #22c55e);
    border-radius: 0 70% 0 70%;
    box-shadow: 0 0 4px var(--nature-color, #22c55e);
    animation: natureLeafFall 1.2s ease-out forwards;
}

.nature-trail-leaf::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 60%;
    background: rgba(0, 0, 0, 0.2);
    left: 50%;
    top: 20%;
    transform: translateX(-50%) rotate(-10deg);
}

/* Petal trail particle */
.nature-trail-petal {
    width: 10px !important;
    height: 14px !important;
    background: var(--nature-color, #f472b6);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 0 0 6px var(--nature-color, #f472b6);
    animation: naturePetalFall 1.2s ease-out forwards;
}

/* Sparkle trail particle (like sunlight) */
.nature-trail-sparkle {
    background: transparent;
    width: 10px !important;
    height: 10px !important;
}

.nature-trail-sparkle::before,
.nature-trail-sparkle::after {
    content: '';
    position: absolute;
    background: var(--nature-color, #fbbf24);
    border-radius: 2px;
}

.nature-trail-sparkle::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    box-shadow: 0 0 6px var(--nature-color, #fbbf24);
}

.nature-trail-sparkle::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    box-shadow: 0 0 6px var(--nature-color, #fbbf24);
}

/* Dot trail particle (like pollen/dust) */
.nature-trail-dot {
    background: radial-gradient(circle, var(--nature-color, #86efac) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--nature-color, #86efac);
}

/* Nature trail fade animation */
@keyframes natureTrailFade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--rotation, 0deg)) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--rotation, 0deg)) scale(0.3) translateY(15px);
    }
}

/* Leaf falling animation */
@keyframes natureLeafFall {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--rotation, 0deg)) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) rotate(calc(var(--rotation, 0deg) + 45deg)) scale(1.1) translateX(10px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(calc(var(--rotation, 0deg) + 90deg)) scale(0.5) translateY(30px);
    }
}

/* Petal floating animation */
@keyframes naturePetalFall {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--rotation, 0deg)) scale(1);
    }
    30% {
        transform: translate(-50%, -50%) rotate(calc(var(--rotation, 0deg) + 30deg)) scale(1.2) translateX(-8px);
    }
    60% {
        transform: translate(-50%, -50%) rotate(calc(var(--rotation, 0deg) + 60deg)) scale(1) translateX(8px) translateY(15px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(calc(var(--rotation, 0deg) + 120deg)) scale(0.4) translateY(35px);
    }
}

/* Hide nature trail in cosmic theme */
body:not(.nature-theme) .nature-trail-container {
    display: none;
}

@media (max-width: 768px) {
    .nature-trail-container {
        display: none !important;
    }
}

/* ===== Glowing Text Effect ===== */
.glow-text {
    text-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan), 0 0 30px var(--cyan);
}

/* ===== Card Shine Effect ===== */
.skill-card::before {
    content: '';
    position: absolute;
    top: var(--y, 50%);
    left: var(--x, 50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(129, 33, 208, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.skill-card {
    position: relative;
    overflow: hidden;
}

/* ===== Gradient Border Animation ===== */
.gradient-border {
    position: relative;
    background: var(--primary);
    border-radius: 20px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--cyan), var(--accent), var(--cyan), var(--accent));
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    animation: gradientBorder 3s ease infinite;
}

@keyframes gradientBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== Pulse Animation ===== */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== Shake Animation ===== */
.shake:hover {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ===== Bounce Animation ===== */
.bounce {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Tech icon animations are now defined above with the main tech-icon styles */

/* ===== Image Hover Effects ===== */
.about-img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 30px 80px rgba(129, 33, 208, 0.2);
}

/* ===== Button Ripple Effect ===== */
.submit-btn {
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:active::after {
    width: 300px;
    height: 300px;
}

/* ===== Social Link Tooltip ===== */
.social-link {
    position: relative;
}

.social-link::before {
    content: attr(aria-label);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}


/* ===== Additional Contact Styles ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* ===== Navbar Mobile Overlay ===== */
.nav-links::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-links.active::before {
    opacity: 1;
    visibility: visible;
}

/* ===== Hero CTA Button ===== */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-2);
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(12, 207, 237, 0.3);
}

.hero-cta i {
    transition: transform 0.3s ease;
}

.hero-cta:hover i {
    transform: translateX(5px);
}

/* ===== Project Card Badge ===== */
.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
}

/* ===== Animated Underline ===== */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.animated-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ===== Stats Section Enhancement ===== */
.stats {
    position: relative;
    z-index: 10;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(129, 33, 208, 0.1) 0%, rgba(12, 207, 237, 0.1) 100%);
    border-radius: 20px;
    z-index: -1;
}

/* ===== Skill Progress Bar (Alternative) ===== */
.skill-progress {
    width: 100%;
    height: 6px;
    background: rgba(129, 33, 208, 0.2);
    border-radius: 3px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: var(--gradient-2);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease;
}

.skill-card.active .skill-progress-bar {
    transform: scaleX(1);
}

/* ===== Floating Action Button ===== */
.fab-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
}

.fab {
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fab:hover {
    transform: scale(1.1);
}

/* ===== Text Gradient Animation ===== */
.gradient-text-animated {
    background: linear-gradient(90deg, var(--cyan), var(--accent), var(--cyan));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s linear infinite;
}

@keyframes gradientText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ===== Card 3D Effect ===== */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

/* ===== Glassmorphism Effect ===== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

/* ===== Neon Glow Effect ===== */
.neon-glow {
    box-shadow: 
        0 0 5px var(--cyan),
        0 0 10px var(--cyan),
        0 0 20px var(--cyan),
        0 0 40px var(--cyan);
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .scroll-top,
    .bg-animation,
    .particles,
    .custom-cursor,
    .cursor-follower,
    .loading {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .about,
    .skills,
    .projects,
    .contact {
        clip-path: none;
        padding: 2rem;
    }
}


/* ===== Hero Buttons Container ===== */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta-animated,
    .hero-cta-secondary-animated {
        width: 100%;
        max-width: 250px;
    }
}


/* ===== Social Icons - Reference Image Style ===== */
.social-icon-animated {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-icon-animated i {
    font-size: 3rem;
    color: #ffffff;
    display: block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Smooth floating animation */
@keyframes float-social {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Apply floating to each icon with staggered delays */
.social-icon-animated:nth-child(1) {
    animation: float-social 4s ease-in-out infinite;
    animation-delay: 0s;
}

.social-icon-animated:nth-child(2) {
    animation: float-social 4s ease-in-out infinite;
    animation-delay: 0.4s;
}

.social-icon-animated:nth-child(3) {
    animation: float-social 4s ease-in-out infinite;
    animation-delay: 0.8s;
}

.social-icon-animated:nth-child(4) {
    animation: float-social 4s ease-in-out infinite;
    animation-delay: 1.2s;
}

.social-icon-animated:nth-child(5) {
    animation: float-social 4s ease-in-out infinite;
    animation-delay: 1.6s;
}

/* Cyan glowing dot */
.social-glow {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 0;
    height: 0;
    background: #0CCFED;
    box-shadow: 0 0 20px #0CCFED, 0 0 40px #0CCFED, 0 0 60px rgba(12, 207, 237, 0.5);
    animation: glow-pulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes glow-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 20px #0CCFED, 0 0 40px #0CCFED, 0 0 60px rgba(12, 207, 237, 0.5);
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
        box-shadow: 0 0 25px #0CCFED, 0 0 50px #0CCFED, 0 0 80px rgba(12, 207, 237, 0.7);
    }
}

/* Hover effects */
.social-icon-animated:hover {
    animation-play-state: paused;
}

.social-icon-animated:hover i {
    color: #ffffff;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    transform: translateY(-8px) rotate(-5deg) scale(1.1);
}

.social-icon-animated:hover .social-glow {
    transform: scale(1.3);
    animation: glow-pulse-fast 0.8s ease-in-out infinite;
    border-radius:50%;
    height: 16px;
    width:16px;
}

@keyframes glow-pulse-fast {
    0%, 100% {
        transform: scale(1.3);
        box-shadow: 0 0 25px #0CCFED, 0 0 50px #0CCFED, 0 0 80px rgba(12, 207, 237, 0.7);
    }
    50% {
        transform: scale(1.5);
        box-shadow: 0 0 30px #0CCFED, 0 0 60px #0CCFED, 0 0 100px rgba(12, 207, 237, 0.9);
    }
}

/* Brand color glow on hover */
.social-icon-animated:nth-child(1):hover .social-glow {
    background: #1877f2;
    box-shadow: 0 0 25px #1877f2, 0 0 50px #1877f2, 0 0 80px rgba(24, 119, 242, 0.7);
}

.social-icon-animated:nth-child(2):hover .social-glow {
    background: #e4405f;
    box-shadow: 0 0 25px #e4405f, 0 0 50px #e4405f, 0 0 80px rgba(228, 64, 95, 0.7);
}

.social-icon-animated:nth-child(3):hover .social-glow {
    background: #1da1f2;
    box-shadow: 0 0 25px #1da1f2, 0 0 50px #1da1f2, 0 0 80px rgba(29, 161, 242, 0.7);
}

.social-icon-animated:nth-child(4):hover .social-glow {
    background: #ffffff;
    box-shadow: 0 0 25px #ffffff, 0 0 50px #ffffff, 0 0 80px rgba(255, 255, 255, 0.7);
}

.social-icon-animated:nth-child(5):hover .social-glow {
    background: #ea4c89;
    box-shadow: 0 0 25px #ea4c89, 0 0 50px #ea4c89, 0 0 80px rgba(234, 76, 137, 0.7);
}

/* Entrance animation */
.hero-socials .social-icon-animated {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-socials .social-icon-animated:nth-child(1) {
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, float-social 4s ease-in-out infinite;
    animation-delay: 1.2s, 1.2s;
}

.hero-socials .social-icon-animated:nth-child(2) {
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, float-social 4s ease-in-out infinite;
    animation-delay: 1.35s, 1.75s;
}

.hero-socials .social-icon-animated:nth-child(3) {
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, float-social 4s ease-in-out infinite;
    animation-delay: 1.5s, 2.3s;
}

.hero-socials .social-icon-animated:nth-child(4) {
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, float-social 4s ease-in-out infinite;
    animation-delay: 1.65s, 2.85s;
}

.hero-socials .social-icon-animated:nth-child(5) {
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, float-social 4s ease-in-out infinite;
    animation-delay: 1.8s, 3.4s;
}

/* Active/Click effect */
.social-icon-animated:active {
    transform: scale(0.95);
}

.social-icon-animated:active .social-glow {
    transform: scale(1.6);
}

/* ===== Professional Tech Stacks Section ===== */
.tech-stacks-pro {
    padding: 3rem 2rem;
    background: #0d1117;
    margin: 2rem;
    border-radius: 10px;
    border-left: 3px solid var(--cyan);
}

.tech-stacks-pro-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-stacks-pro-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.tech-stacks-pro-header i {
    color: var(--cyan);
    font-size: 1.2rem;
}

.tech-stacks-pro-header h2 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
}

.tech-stacks-pro-content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
}

.stack-row .stack-label {
    color: #8b949e;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.stack-row .stack-value {
    color: rgba(255,255,255,0.6);
    font-style: italic;
    font-size: 0.85rem;
}

/* ===== Skills Showcase Section ===== */
.skills-showcase {
    padding: 6rem 2rem;
    background: var(--primary-dark);
    position: relative;
}

.skills-showcase-container {
    max-width: 1200px;
    margin: 0 auto;
}

.skills-showcase-header {
    margin-bottom: 4rem;
}

.skills-showcase-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.skills-showcase-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--cyan);
    border-radius: 2px;
}

.skills-showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    justify-items: center;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s ease;
    cursor: pointer;
}

.skill-item:hover {
    transform: translateY(-10px);
}

.skill-icon-large {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    background: rgba(51, 16, 82, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.skill-item:hover .skill-icon-large {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.skill-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Skill Icon Colors - Vibrant Brand Colors */

/* PHP - Purple */
.skill-icon-large.php {
    color: #777BB4;
    border-color: rgba(119, 123, 180, 0.5);
    filter: drop-shadow(0 0 8px rgba(119, 123, 180, 0.3));
}

.skill-icon-large.php:hover {
    background: rgba(119, 123, 180, 0.15);
    border-color: #777BB4;
    box-shadow: 0 20px 40px rgba(119, 123, 180, 0.4), 0 0 30px rgba(119, 123, 180, 0.3);
}

/* JavaScript - Yellow */
.skill-icon-large.javascript {
    color: #F7DF1E;
    border-color: rgba(247, 223, 30, 0.5);
    filter: drop-shadow(0 0 8px rgba(247, 223, 30, 0.3));
}

.skill-icon-large.javascript:hover {
    background: rgba(247, 223, 30, 0.15);
    border-color: #F7DF1E;
    box-shadow: 0 20px 40px rgba(247, 223, 30, 0.4), 0 0 30px rgba(247, 223, 30, 0.3);
}

/* Python - Blue/Yellow */
.skill-icon-large.python {
    color: #3776AB;
    border-color: rgba(55, 118, 171, 0.5);
    filter: drop-shadow(0 0 8px rgba(55, 118, 171, 0.3));
}

.skill-icon-large.python:hover {
    background: rgba(55, 118, 171, 0.15);
    border-color: #3776AB;
    box-shadow: 0 20px 40px rgba(55, 118, 171, 0.4), 0 0 30px rgba(55, 118, 171, 0.3);
}

/* SQL - Orange */
.skill-icon-large.sql {
    color: #F29111;
    border-color: rgba(242, 145, 17, 0.5);
    filter: drop-shadow(0 0 8px rgba(242, 145, 17, 0.3));
}

.skill-icon-large.sql:hover {
    background: rgba(242, 145, 17, 0.15);
    border-color: #F29111;
    box-shadow: 0 20px 40px rgba(242, 145, 17, 0.4), 0 0 30px rgba(242, 145, 17, 0.3);
}

/* HTML5 - Orange */
.skill-icon-large.html {
    color: #E34F26;
    border-color: rgba(227, 79, 38, 0.5);
    filter: drop-shadow(0 0 8px rgba(227, 79, 38, 0.3));
}

.skill-icon-large.html:hover {
    background: rgba(227, 79, 38, 0.15);
    border-color: #E34F26;
    box-shadow: 0 20px 40px rgba(227, 79, 38, 0.4), 0 0 30px rgba(227, 79, 38, 0.3);
}

/* CSS3 - Blue */
.skill-icon-large.css {
    color: #264DE4;
    border-color: rgba(38, 77, 228, 0.5);
    filter: drop-shadow(0 0 8px rgba(38, 77, 228, 0.3));
}

.skill-icon-large.css:hover {
    background: rgba(38, 77, 228, 0.15);
    border-color: #264DE4;
    box-shadow: 0 20px 40px rgba(38, 77, 228, 0.4), 0 0 30px rgba(38, 77, 228, 0.3);
}

/* React - Cyan */
.skill-icon-large.react {
    color: #61DAFB;
    border-color: rgba(97, 218, 251, 0.5);
    filter: drop-shadow(0 0 8px rgba(97, 218, 251, 0.3));
}

.skill-icon-large.react:hover {
    background: rgba(97, 218, 251, 0.15);
    border-color: #61DAFB;
    box-shadow: 0 20px 40px rgba(97, 218, 251, 0.4), 0 0 30px rgba(97, 218, 251, 0.3);
}

/* TypeScript - Blue */
.skill-icon-large.typescript {
    color: #3178C6;
    border-color: rgba(49, 120, 198, 0.5);
    filter: drop-shadow(0 0 8px rgba(49, 120, 198, 0.3));
}

.skill-icon-large.typescript:hover {
    background: rgba(49, 120, 198, 0.15);
    border-color: #3178C6;
    box-shadow: 0 20px 40px rgba(49, 120, 198, 0.4), 0 0 30px rgba(49, 120, 198, 0.3);
}

.skill-icon-large.typescript svg {
    filter: drop-shadow(0 0 15px rgba(49, 120, 198, 0.5));
}

/* Git - Orange Red */
.skill-icon-large.git {
    color: #F05032;
    border-color: rgba(240, 80, 50, 0.5);
    filter: drop-shadow(0 0 8px rgba(240, 80, 50, 0.3));
}

.skill-icon-large.git:hover {
    background: rgba(240, 80, 50, 0.15);
    border-color: #F05032;
    box-shadow: 0 20px 40px rgba(240, 80, 50, 0.4), 0 0 30px rgba(240, 80, 50, 0.3);
}

/* Bootstrap - Purple */
.skill-icon-large.bootstrap {
    color: #7952B3;
    border-color: rgba(121, 82, 179, 0.5);
    filter: drop-shadow(0 0 8px rgba(121, 82, 179, 0.3));
}

.skill-icon-large.bootstrap:hover {
    background: rgba(121, 82, 179, 0.15);
    border-color: #7952B3;
    box-shadow: 0 20px 40px rgba(121, 82, 179, 0.4), 0 0 30px rgba(121, 82, 179, 0.3);
}

/* SVG Icon Styling */
.skill-icon-large svg {
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon-large svg {
    transform: scale(1.1);
}

/* ===== Explored Tools and Technologies Section ===== */
.explored-tools-section {
    padding: 6rem 2rem;
    background: var(--primary-dark);
}

.explored-tools-container {
    max-width: 1200px;
    margin: 0 auto;
}

.explored-tools-header {
    text-align: center;
    margin-bottom: 4rem;
}

.explored-tools-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.explored-tools-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--cyan);
    border-radius: 2px;
}

.explored-tools-subtitle {
    color: var(--light-purple);
    font-size: 1.1rem;
}

.explored-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.tool-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: rgba(51, 16, 82, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-badge i,
.tool-badge svg {
    font-size: 3.2rem;
    transition: all 0.3s ease;
}

.tool-badge svg {
    width: 20px;
    height: 20px;
}

/* Hover effects */
.tool-badge:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(129, 33, 208, 0.6);
    border-color: var(--cyan);
    box-shadow: 0 10px 30px rgba(12, 207, 237, 0.3), 0 0 20px rgba(129, 33, 208, 0.4);
}

.tool-badge:hover i,
.tool-badge:hover svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 8px var(--cyan));
}

/* Glow effect on hover */
.tool-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(12, 207, 237, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.tool-badge:hover::before {
    width: 200%;
    height: 200%;
}

.tool-badge span {
    position: relative;
    z-index: 1;
}

/* Continuous floating animation */
@keyframes float-badge {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Pulse glow animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
    }
    50% {
        box-shadow: 0 0 20px currentColor, 0 0 40px currentColor;
    }
}

/* Brand Colors and Animations for Each Tool - Brighter Text */
.tool-badge:nth-child(1) { /* Kali Linux */
    background: rgba(36, 113, 163, 0.25);
    border-color: rgba(100, 180, 230, 0.6);
    color: #64B4E6;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.05s, 0.05s;
}

.tool-badge:nth-child(2) { /* Ubuntu */
    background: rgba(233, 84, 32, 0.25);
    border-color: rgba(255, 120, 80, 0.6);
    color: #FF7850;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.1s, 0.4s;
}

.tool-badge:nth-child(3) { /* JavaScript */
    background: rgba(247, 223, 30, 0.25);
    border-color: rgba(255, 235, 100, 0.6);
    color: #FFEB64;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.15s, 0.75s;
}

.tool-badge:nth-child(4) { /* PHP */
    background: rgba(119, 123, 180, 0.25);
    border-color: rgba(160, 165, 220, 0.6);
    color: #A0A5DC;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.2s, 1.1s;
}

.tool-badge:nth-child(5) { /* C */
    background: rgba(0, 89, 156, 0.25);
    border-color: rgba(80, 150, 220, 0.6);
    color: #5096DC;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.25s, 1.45s;
}

.tool-badge:nth-child(6) { /* C++ */
    background: rgba(0, 89, 156, 0.25);
    border-color: rgba(80, 150, 220, 0.6);
    color: #5096DC;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.3s, 1.8s;
}

.tool-badge:nth-child(7) { /* HTML5 */
    background: rgba(227, 79, 38, 0.25);
    border-color: rgba(255, 120, 90, 0.6);
    color: #FF785A;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.35s, 2.15s;
}

.tool-badge:nth-child(8) { /* CSS3 */
    background: rgba(38, 77, 228, 0.25);
    border-color: rgba(100, 140, 255, 0.6);
    color: #648CFF;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.4s, 2.5s;
}

.tool-badge:nth-child(9) { /* Python */
    background: rgba(55, 118, 171, 0.25);
    border-color: rgba(100, 170, 230, 0.6);
    color: #64AAE6;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.45s, 0.2s;
}

.tool-badge:nth-child(10) { /* Bootstrap */
    background: rgba(121, 82, 179, 0.25);
    border-color: rgba(170, 130, 230, 0.6);
    color: #AA82E6;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.5s, 0.55s;
}

.tool-badge:nth-child(11) { /* MySQL */
    background: rgba(0, 117, 143, 0.25);
    border-color: rgba(60, 180, 210, 0.6);
    color: #3CB4D2;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.55s, 0.9s;
}

.tool-badge:nth-child(12) { /* React */
    background: rgba(97, 218, 251, 0.25);
    border-color: rgba(130, 230, 255, 0.6);
    color: #82E6FF;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.6s, 1.25s;
}

.tool-badge:nth-child(13) { /* Tailwind CSS */
    background: rgba(6, 182, 212, 0.25);
    border-color: rgba(60, 220, 245, 0.6);
    color: #3CDCF5;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.65s, 1.6s;
}

.tool-badge:nth-child(14) { /* Express.js */
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    color: #FFFFFF;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.7s, 1.95s;
}

.tool-badge:nth-child(15) { /* React Native */
    background: rgba(97, 218, 251, 0.25);
    border-color: rgba(130, 230, 255, 0.6);
    color: #82E6FF;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.75s, 2.3s;
}

.tool-badge:nth-child(16) { /* Git */
    background: rgba(240, 80, 50, 0.25);
    border-color: rgba(255, 130, 100, 0.6);
    color: #FF8264;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.8s, 2.65s;
}

.tool-badge:nth-child(17) { /* GitHub */
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    color: #FFFFFF;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.85s, 0.35s;
}

.tool-badge:nth-child(18) { /* VS Code */
    background: rgba(0, 122, 204, 0.25);
    border-color: rgba(60, 170, 240, 0.6);
    color: #3CAAF0;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.9s, 0.7s;
}

.tool-badge:nth-child(19) { /* Cursor */
    background: rgba(0, 204, 237, 0.25);
    border-color: rgba(60, 230, 255, 0.6);
    color: #3CE6FF;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 0.95s, 1.05s;
}

.tool-badge:nth-child(20) { /* Stack Overflow */
    background: rgba(244, 128, 36, 0.25);
    border-color: rgba(255, 170, 100, 0.6);
    color: #FFAA64;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 1s, 1.4s;
}

.tool-badge:nth-child(21) { /* Hugging Face */
    background: rgba(255, 213, 0, 0.25);
    border-color: rgba(255, 230, 100, 0.6);
    color: #FFE664;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 1.05s, 1.75s;
}

.tool-badge:nth-child(22) { /* Trae */
    background: rgba(129, 33, 208, 0.25);
    border-color: rgba(180, 100, 240, 0.6);
    color: #B464F0;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 1.1s, 2.1s;
}

.tool-badge:nth-child(23) { /* Kiro */
    background: rgba(12, 207, 237, 0.25);
    border-color: rgba(80, 230, 255, 0.6);
    color: #50E6FF;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 1.15s, 2.45s;
}

.tool-badge:nth-child(24) { /* Canva */
    background: rgba(0, 193, 213, 0.25);
    border-color: rgba(60, 230, 245, 0.6);
    color: #3CE6F5;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 1.2s, 2.8s;
}

.tool-badge:nth-child(25) { /* Adobe Photoshop */
    background: rgba(49, 168, 255, 0.25);
    border-color: rgba(100, 200, 255, 0.6);
    color: #64C8FF;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 1.25s, 0.15s;
}

.tool-badge:nth-child(26) { /* Make.ai */
    background: rgba(108, 99, 255, 0.25);
    border-color: rgba(160, 150, 255, 0.6);
    color: #A096FF;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 1.3s, 0.5s;
}

.tool-badge:nth-child(27) { /* Meta Ads */
    background: rgba(0, 102, 255, 0.25);
    border-color: rgba(80, 160, 255, 0.6);
    color: #50A0FF;
    animation: fadeInUp 0.6s ease forwards, float-badge 3s ease-in-out infinite;
    animation-delay: 1.35s, 0.85s;
}

/* Enhanced hover with brand colors */
.tool-badge:hover {
    transform: translateY(-8px) scale(1.08);
    filter: brightness(1.2);
    animation-play-state: paused;
}

/* Responsive for Explored Tools */
@media (max-width: 768px) {
    .explored-tools-section {
        padding: 4rem 1.5rem;
    }
    
    .explored-tools-title {
        font-size: 2rem;
    }
    
    .tool-badge {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .tool-badge i,
    .tool-badge svg {
        font-size: 1rem;
    }
}

/* Responsive for Skills Showcase */
@media (max-width: 1024px) {
    .skills-showcase-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    .skill-icon-large {
        width: 100px;
        height: 100px;
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .skills-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .skill-icon-large {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
    
    .skill-label {
        font-size: 0.75rem;
    }
    
    .skills-showcase-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .skills-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .skill-icon-large {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    .skill-label {
        font-size: 0.7rem;
    }
}

/* ===== Professional Interest Areas Section ===== */
.interest-areas-pro {
    padding: 4rem 2rem;
    background: #0d1117;
    margin: 0 2rem 2rem;
    border-radius: 10px;
}

.interest-pro-container {
    max-width: 1200px;
    margin: 0 auto;
}

.interest-pro-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.interest-pro {
    display: inline-flex;
    align-items: stretch;
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.interest-pro:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.interest-pro .interest-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
    min-width: 32px;
}

.interest-pro .interest-text {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.8rem 0.5rem 0.4rem;
    color: white;
}

/* Interest Colors - Gradient Style */
.interest-pro.webdev .interest-icon { background: #E34F26; color: white; }
.interest-pro.webdev .interest-text { background: linear-gradient(90deg, #E34F26, #ff6b4a); }

.interest-pro.automation .interest-icon { background: #FF9800; color: white; }
.interest-pro.automation .interest-text { background: linear-gradient(90deg, #FF9800, #ffb74d); }

.interest-pro.webdesign .interest-icon { background: #F24E1E; color: white; }
.interest-pro.webdesign .interest-text { background: linear-gradient(90deg, #F24E1E, #ff7043); }

.interest-pro.graphics .interest-icon { background: #9C27B0; color: white; }
.interest-pro.graphics .interest-text { background: linear-gradient(90deg, #9C27B0, #ba68c8); }

.interest-pro.seo .interest-icon { background: #FFA726; color: white; }
.interest-pro.seo .interest-text { background: linear-gradient(90deg, #FFA726, #ffcc80); }

.interest-pro.wordpress .interest-icon { background: #21759B; color: white; }
.interest-pro.wordpress .interest-text { background: linear-gradient(90deg, #21759B, #0097a7); }

.interest-pro.marketing .interest-icon { background: #FF5722; color: white; }
.interest-pro.marketing .interest-text { background: linear-gradient(90deg, #FF5722, #ff8a65); }

.interest-pro.github-pages .interest-icon { background: #6e40c9; color: white; }
.interest-pro.github-pages .interest-text { background: linear-gradient(90deg, #24292e, #444d56); }


/* ===== Animated Hero Buttons ===== */
.hero-cta-animated {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 13rem;
    overflow: hidden;
    height: 3rem;
    background-size: 300% 300%;
    cursor: pointer;
    backdrop-filter: blur(1rem);
    border-radius: 5rem;
    transition: 0.5s;
    animation: gradient_301 5s ease infinite;
    border: double 4px transparent;
    background-image: linear-gradient(#29103A, #29103A), 
                      linear-gradient(137.48deg, #0CCFED 10%, #8121D0 45%, #E1BBED 67%, #0CCFED 87%);
    background-origin: border-box;
    background-clip: content-box, border-box;
    position: relative;
}

#container-stars {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: 0.5s;
    backdrop-filter: blur(1rem);
    border-radius: 5rem;
}

.hero-cta-animated strong {
    z-index: 2;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 0 4px white;
}

#glow {
    position: absolute;
    display: flex;
    width: 12rem;
}

.circle {
    width: 100%;
    height: 30px;
    filter: blur(2rem);
    animation: pulse_3011 4s infinite;
    z-index: -1;
}

.circle:nth-of-type(1) {
    background: rgba(12, 207, 237, 0.636);
}

.circle:nth-of-type(2) {
    background: rgba(129, 33, 208, 0.704);
}

.hero-cta-animated:hover #container-stars {
    z-index: 1;
    background-color: #29103A;
}

.hero-cta-animated:hover {
    transform: scale(1.1);
}

.hero-cta-animated:active {
    border: double 4px #8121D0;
    background-origin: border-box;
    background-clip: content-box, border-box;
    animation: none;
}

.hero-cta-animated:active .circle {
    background: #8121D0;
}

#stars {
    position: relative;
    background: transparent;
    width: 200rem;
    height: 200rem;
}

#stars::after {
    content: "";
    position: absolute;
    top: -10rem;
    left: -100rem;
    width: 100%;
    height: 100%;
    animation: animStarRotate 90s linear infinite;
}

#stars::after {
    background-image: radial-gradient(#ffffff 1px, transparent 1%);
    background-size: 50px 50px;
}

#stars::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 170%;
    height: 500%;
    animation: animStar 60s linear infinite;
}

#stars::before {
    background-image: radial-gradient(#ffffff 1px, transparent 1%);
    background-size: 50px 50px;
    opacity: 0.5;
}

@keyframes animStar {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-135rem);
    }
}

@keyframes animStarRotate {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0);
    }
}

@keyframes gradient_301 {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse_3011 {
    0% {
        transform: scale(0.75);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(0.75);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* Secondary Button - Animated Border */
.hero-cta-secondary-animated {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 13rem;
    height: 3rem;
    cursor: pointer;
    backdrop-filter: blur(1rem);
    border-radius: 5rem;
    transition: 0.5s;
    border: 2px solid var(--accent);
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-cta-secondary-animated strong {
    z-index: 2;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffffff;
}

.secondary-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(129, 33, 208, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-cta-secondary-animated:hover .secondary-glow {
    opacity: 1;
}

.hero-cta-secondary-animated:hover {
    transform: scale(1.05);
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(12, 207, 237, 0.5);
}

/* ===== Responsive for Professional Sections ===== */
@media (max-width: 768px) {
    .tech-stacks-pro,
    .explored-tools-pro,
    .interest-areas-pro {
        margin: 1rem;
        padding: 2rem 1rem;
    }
    
    .pro-section-title {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .tool-pro,
    .interest-pro {
        font-size: 0.7rem;
    }
    
    .tool-pro .tool-icon,
    .interest-pro .interest-icon {
        padding: 0.3rem 0.4rem;
        min-width: 24px;
        font-size: 0.75rem;
    }
    
    .tool-pro .tool-text,
    .interest-pro .interest-text {
        padding: 0.3rem 0.5rem 0.3rem 0.2rem;
    }
    
    .stack-row {
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta,
    .hero-cta-secondary {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* ===== Skill Card Image Icons ===== */
.skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

/* ===== Animation for Professional Tool Badges ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-pro {
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}

.tools-pro-grid .tool-pro:nth-child(1) { animation-delay: 0.02s; }
.tools-pro-grid .tool-pro:nth-child(2) { animation-delay: 0.04s; }
.tools-pro-grid .tool-pro:nth-child(3) { animation-delay: 0.06s; }
.tools-pro-grid .tool-pro:nth-child(4) { animation-delay: 0.08s; }
.tools-pro-grid .tool-pro:nth-child(5) { animation-delay: 0.1s; }
.tools-pro-grid .tool-pro:nth-child(6) { animation-delay: 0.12s; }
.tools-pro-grid .tool-pro:nth-child(7) { animation-delay: 0.14s; }
.tools-pro-grid .tool-pro:nth-child(8) { animation-delay: 0.16s; }
.tools-pro-grid .tool-pro:nth-child(9) { animation-delay: 0.18s; }
.tools-pro-grid .tool-pro:nth-child(10) { animation-delay: 0.2s; }
.tools-pro-grid .tool-pro:nth-child(11) { animation-delay: 0.22s; }
.tools-pro-grid .tool-pro:nth-child(12) { animation-delay: 0.24s; }
.tools-pro-grid .tool-pro:nth-child(13) { animation-delay: 0.26s; }
.tools-pro-grid .tool-pro:nth-child(14) { animation-delay: 0.28s; }
.tools-pro-grid .tool-pro:nth-child(15) { animation-delay: 0.3s; }
.tools-pro-grid .tool-pro:nth-child(16) { animation-delay: 0.32s; }
.tools-pro-grid .tool-pro:nth-child(17) { animation-delay: 0.34s; }
.tools-pro-grid .tool-pro:nth-child(18) { animation-delay: 0.36s; }
.tools-pro-grid .tool-pro:nth-child(19) { animation-delay: 0.38s; }
.tools-pro-grid .tool-pro:nth-child(20) { animation-delay: 0.4s; }
.tools-pro-grid .tool-pro:nth-child(21) { animation-delay: 0.42s; }
.tools-pro-grid .tool-pro:nth-child(22) { animation-delay: 0.44s; }
.tools-pro-grid .tool-pro:nth-child(23) { animation-delay: 0.46s; }
.tools-pro-grid .tool-pro:nth-child(24) { animation-delay: 0.48s; }
.tools-pro-grid .tool-pro:nth-child(25) { animation-delay: 0.5s; }
.tools-pro-grid .tool-pro:nth-child(26) { animation-delay: 0.52s; }
.tools-pro-grid .tool-pro:nth-child(27) { animation-delay: 0.54s; }
.tools-pro-grid .tool-pro:nth-child(28) { animation-delay: 0.56s; }

/* ===== Interest Badge Animation ===== */
.interest-pro {
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}

.interest-pro-grid .interest-pro:nth-child(1) { animation-delay: 0.05s; }
.interest-pro-grid .interest-pro:nth-child(2) { animation-delay: 0.1s; }
.interest-pro-grid .interest-pro:nth-child(3) { animation-delay: 0.15s; }
.interest-pro-grid .interest-pro:nth-child(4) { animation-delay: 0.2s; }
.interest-pro-grid .interest-pro:nth-child(5) { animation-delay: 0.25s; }
.interest-pro-grid .interest-pro:nth-child(6) { animation-delay: 0.3s; }
.interest-pro-grid .interest-pro:nth-child(7) { animation-delay: 0.35s; }
.interest-pro-grid .interest-pro:nth-child(8) { animation-delay: 0.4s; }

/* ===== Decorative Elements ===== */
.tech-stacks-pro,
.explored-tools-pro,
.interest-areas-pro {
    position: relative;
    overflow: hidden;
}

.explored-tools-pro::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(129, 33, 208, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.interest-areas-pro::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(12, 207, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
}


/* ===== GLASSMORPHISM STYLES ===== */

/* Glass Card Base */
.glass-card {
    background: rgba(41, 16, 58, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Stats Section - Glassmorphism */
.stats {
    background: rgba(51, 16, 82, 0.6) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.stats::before {
    display: none;
}

/* Skills Showcase - Glassmorphism */
.skills-showcase {
    background: var(--primary-dark) !important;
}

.skill-icon-large {
    background: rgba(51, 16, 82, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Projects Section - Dark with Glass Cards */
.projects {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #1a0a2e 100%) !important;
    padding: 6rem 2rem;
}

.projects .section-title {
    color: var(--white);
}

.projects .section-title::after {
    background: var(--cyan);
}

.projects-subtitle {
    color: var(--light-purple) !important;
}

.project-card {
    background: rgba(51, 16, 82, 0.5) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.project-card:hover {
    background: rgba(51, 16, 82, 0.7) !important;
    border-color: rgba(12, 207, 237, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(129, 33, 208, 0.3);
}

.project-info {
    background: transparent;
}

.project-title {
    color: var(--white) !important;
}

.project-desc {
    color: var(--light-purple) !important;
}

.tag {
    background: rgba(129, 33, 208, 0.3) !important;
    color: var(--cyan) !important;
    border: 1px solid rgba(12, 207, 237, 0.2);
}

/* About Section - Dark Theme */
.about {
    background: var(--primary-dark) !important;
    clip-path: none;
    margin-top: 0;
    padding: 6rem 2rem;
}

.about .section-title {
    color: var(--white);
}

.about .section-title::after {
    background: var(--cyan);
}

.about-text {
    color: var(--light-purple) !important;
}

.about-img {
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(129, 33, 208, 0.3);
}

/* Contact Form - Enhanced Glass */
.contact-form-wrapper {
    background: rgba(51, 16, 82, 0.5) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(12, 207, 237, 0.2);
}

/* Tech Stacks - Glass Effect */
.tech-stacks-pro {
    background: rgba(51, 16, 82, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--cyan);
}

/* Explored Tools - Glass Effect */
.explored-tools-pro {
    background: rgba(51, 16, 82, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Interest Areas - Glass Effect */
.interest-areas-pro {
    background: rgba(51, 16, 82, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navbar - Glass Effect when scrolled */
.navbar.scrolled {
    background: rgba(41, 16, 58, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero Image Wrapper - Glass Border */
.image-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--accent), var(--cyan), var(--accent));
    border-radius: 25px;
    z-index: 0;
    opacity: 0.5;
    filter: blur(10px);
}

.profile-img {
    border: 3px solid rgba(255, 255, 255, 0.1);
}

/* Contact Section - Enhanced */
.contact {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    clip-path: none;
}

/* Footer - Glass Effect */
.footer {
    background: rgba(41, 16, 58, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Scroll Top Button - Glass */
.scroll-top {
    background: rgba(129, 33, 208, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-top:hover {
    background: rgba(12, 207, 237, 0.8) !important;
}

/* Tech Icons - No background, styled like social icons above */

/* Social Icons - Enhanced Glass Effect (already styled above) */

/* Form Socials - Glass */
.form-social {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-social:hover {
    background: rgba(129, 33, 208, 0.5) !important;
}

/* Footer Socials - Glass */
.footer-social {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social:hover {
    background: rgba(129, 33, 208, 0.5) !important;
}

/* Contact Tags - Glass */
.contact-tag {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-tag:hover {
    background: rgba(129, 33, 208, 0.5) !important;
    border-color: var(--accent);
}

/* Loading Screen - Glass */
.loading {
    background: rgba(41, 16, 58, 0.95) !important;
    backdrop-filter: blur(20px);
}

/* Animated Background Enhancement */
.glow-1 {
    opacity: 0.4;
}

.glow-2 {
    opacity: 0.3;
}

.glow-3 {
    opacity: 0.35;
}

/* Glass Button Style */
.glass-btn {
    background: rgba(129, 33, 208, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
}

.glass-btn:hover {
    background: rgba(129, 33, 208, 0.6);
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(129, 33, 208, 0.3);
}

/* Subtle Glow on Hover for Cards */
.skill-card::after,
.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(12, 207, 237, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.skill-card:hover::after,
.project-card:hover::after {
    opacity: 1;
}

/* Inner Glow Effect */
.inner-glow {
    box-shadow: inset 0 0 30px rgba(129, 33, 208, 0.2);
}

/* Frosted Glass Variant */
.frosted-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== UNIVERSE OF UI STYLE PROJECT CARDS ===== */
.project-card-ui {
    background: linear-gradient(145deg, rgba(51, 16, 82, 0.7) 0%, rgba(41, 16, 58, 0.9) 100%);
    border: 1px solid rgba(129, 33, 208, 0.3);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    position: relative;
    animation: cardFloat 6s ease-in-out infinite;
}

/* Staggered floating animation for each card */
.project-card-ui:nth-child(1) { animation-delay: 0s; }
.project-card-ui:nth-child(2) { animation-delay: 1s; }
.project-card-ui:nth-child(3) { animation-delay: 2s; }
.project-card-ui:nth-child(4) { animation-delay: 3s; }
.project-card-ui:nth-child(5) { animation-delay: 0.5s; }
.project-card-ui:nth-child(6) { animation-delay: 1.5s; }

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(0.5deg);
    }
}

/* Glowing border effect */
.project-card-ui::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, transparent 0%, rgba(12, 207, 237, 0.3) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

.project-card-ui:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(129, 33, 208, 0.4),
        0 0 30px rgba(12, 207, 237, 0.2),
        0 0 0 1px rgba(12, 207, 237, 0.3) inset;
    border-color: rgba(12, 207, 237, 0.5);
    animation-play-state: paused;
}

/* Browser Bar */
.card-browser-bar {
    background: rgba(20, 20, 30, 0.9);
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.browser-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.browser-dots .dot:nth-child(1) {
    background: #ff5f56;
}

.browser-dots .dot:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots .dot:nth-child(3) {
    background: #27c93f;
}

.browser-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.browser-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    transition: all 0.3s ease;
    padding: 0.3rem;
}

.browser-icon:hover {
    color: var(--cyan);
    transform: scale(1.1);
}

/* Content Area with Gradients */
.card-content-area {
    position: relative;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content-area.gradient-cyan {
    background: linear-gradient(135deg, #0CCFED 0%, #0a9fb8 100%);
}

.card-content-area.gradient-purple {
    background: linear-gradient(135deg, #8121D0 0%, #5e1896 100%);
}

.card-content-area.gradient-blue {
    background: linear-gradient(135deg, #4F46E5 0%, #3730a3 100%);
}

.card-content-area.gradient-green {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.project-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: all 0.5s ease;
}

.project-card-ui:hover .project-preview {
    transform: scale(1.05);
    opacity: 1;
}

/* Info Section */
.card-info-section {
    background: linear-gradient(180deg, rgba(20, 20, 30, 0.9) 0%, rgba(41, 16, 58, 0.95) 100%);
    padding: 1.5rem;
    position: relative;
}

.card-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(12, 207, 237, 0.5), transparent);
}

.card-project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.project-card-ui:hover .card-project-title {
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(12, 207, 237, 0.5);
}

.card-project-desc {
    font-size: 0.9rem;
    color: var(--light-purple);
    margin-bottom: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.card-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.card-tag {
    background: linear-gradient(135deg, rgba(129, 33, 208, 0.4) 0%, rgba(12, 207, 237, 0.2) 100%);
    color: var(--cyan);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(12, 207, 237, 0.2);
    transition: all 0.3s ease;
}

.card-tag:hover {
    background: linear-gradient(135deg, rgba(12, 207, 237, 0.4) 0%, rgba(129, 33, 208, 0.3) 100%);
    border-color: rgba(12, 207, 237, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(12, 207, 237, 0.3);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(12, 207, 237, 0.2);
    transition: all 0.3s ease;
}

.card-tag:hover {
    background: rgba(12, 207, 237, 0.3);
    border-color: var(--cyan);
    transform: translateY(-2px);
}

/* Hover Glow Effect */
.project-card-ui::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 50%, rgba(12, 207, 237, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

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

/* Responsive for Universe UI Cards */
@media (max-width: 768px) {
    .card-content-area {
        height: 200px;
    }
    
    .card-info-section {
        padding: 1.2rem;
    }
    
    .card-project-title {
        font-size: 1.1rem;
    }
    
    .card-project-desc {
        font-size: 0.85rem;
    }
    
    .card-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
    
    .browser-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    .browser-icon {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .card-content-area {
        height: 180px;
    }
    
    .card-browser-bar {
        padding: 0.6rem 0.8rem;
    }
    
    .browser-dots .dot {
        width: 8px;
        height: 8px;
    }
    
    .card-info-section {
        padding: 1rem;
    }
    
    .card-project-title {
        font-size: 1rem;
    }
}


/* ===== ENHANCED GLASS SECTIONS WITH VISIBLE BUBBLES ===== */

/* Particles container - ensure it's above background but below content */
.particles {
    z-index: 2 !important;
}

/* All major sections - glass effect with transparency for bubbles */
.hero,
.stats,
.about,
.skills-showcase,
.explored-tools-section,
.projects,
.contact {
    position: relative;
    z-index: 3;
}

/* Hero Section - Transparent glass */
.hero {
    background: transparent !important;
}

/* Stats Section - Enhanced glass with bubble visibility */
.stats {
    background: rgba(51, 16, 82, 0.5) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 60px rgba(129, 33, 208, 0.1);
}

/* About Section - Glass with bubble visibility */
.about {
    background: rgba(41, 16, 58, 0.65) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    clip-path: none !important;
    margin-top: 0 !important;
}

/* Skills Showcase - Glass effect */
.skills-showcase {
    background: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Explored Tools Section - Glass effect */
.explored-tools-section {
    background: rgba(41, 16, 58, 0.5) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Projects Section - Glass effect */
.projects {
    background: none !important;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact Section - Glass effect */
.contact {
    background: rgba(51, 16, 82, 0.65) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    clip-path: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer - Glass effect */
.footer {
    background: rgba(41, 16, 58, 0.8) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Enhanced Particle Styles */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* Small glowing particles */
.particle.small {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle at 30% 30%, rgba(12, 207, 237, 0.9), rgba(12, 207, 237, 0.2));
    box-shadow: 0 0 10px rgba(12, 207, 237, 0.6), 0 0 20px rgba(12, 207, 237, 0.3);
    opacity: 0.8;
    animation: particleFloat 20s infinite ease-in-out;
}

/* Medium bubbles */
.particle.medium {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), rgba(129, 33, 208, 0.15), transparent);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(129, 33, 208, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2), inset -5px -5px 15px rgba(129, 33, 208, 0.1);
    opacity: 0.65;
    animation: particleFloat 22s infinite ease-in-out;
}

/* Large bubbles */
.particle.large {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.35), rgba(12, 207, 237, 0.1), transparent);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 40px rgba(12, 207, 237, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.15), inset -8px -8px 20px rgba(129, 33, 208, 0.1);
    backdrop-filter: blur(2px);
    opacity: 0.55;
    animation: bubbleWobble 28s infinite ease-in-out;
}

/* Extra large bubbles */
.particle.xlarge {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.25), rgba(129, 33, 208, 0.08), transparent);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 60px rgba(129, 33, 208, 0.25), inset 0 0 30px rgba(255, 255, 255, 0.1), inset -12px -12px 30px rgba(12, 207, 237, 0.08);
    backdrop-filter: blur(3px);
    opacity: 0.45;
    animation: bubbleWobble 35s infinite ease-in-out;
}

/* Particle float animation */
@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    25% {
        transform: translateY(75vh) translateX(20px) rotate(90deg) scale(0.8);
    }
    50% {
        transform: translateY(50vh) translateX(-15px) rotate(180deg) scale(1);
        opacity: 0.8;
    }
    75% {
        transform: translateY(25vh) translateX(25px) rotate(270deg) scale(0.9);
    }
    95% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) translateX(-10px) rotate(360deg) scale(0.6);
        opacity: 0;
    }
}

/* Bubble wobble animation for larger particles */
@keyframes bubbleWobble {
    0% {
        transform: translateY(100vh) translateX(0) scale(0.8);
        opacity: 0;
    }
    5% {
        opacity: 0.5;
    }
    15% {
        transform: translateY(85vh) translateX(30px) scale(0.9);
    }
    30% {
        transform: translateY(70vh) translateX(-25px) scale(1.05);
    }
    45% {
        transform: translateY(55vh) translateX(35px) scale(0.95);
    }
    60% {
        transform: translateY(40vh) translateX(-30px) scale(1);
        opacity: 0.55;
    }
    75% {
        transform: translateY(25vh) translateX(25px) scale(1.02);
    }
    90% {
        transform: translateY(10vh) translateX(-15px) scale(0.9);
        opacity: 0.4;
    }
    100% {
        transform: translateY(-10vh) translateX(0) scale(0.85);
        opacity: 0;
    }
}

/* Shimmer effect for bubbles */
.particle.large::after,
.particle.xlarge::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 30%;
    height: 20%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
    border-radius: 50%;
    filter: blur(1px);
}

/* Ensure sections don't block bubbles completely */
section {
    isolation: isolate;
}

/* Glass inner glow for sections */
.stats::after,
.about::after,
.skills-showcase::after,
.explored-tools-section::after,
.projects::after,
.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(129, 33, 208, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 100%, rgba(12, 207, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Subtle animated gradient overlay for glass sections */
@keyframes glassShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Mobile optimization for particles */
@media (max-width: 768px) {
    .particle.xlarge {
        width: 50px;
        height: 50px;
    }
    
    .particle.large {
        width: 30px;
        height: 30px;
    }
    
    .particle.medium {
        width: 15px;
        height: 15px;
    }
}


/* ===== THEME SWITCH BUTTON ===== */
.theme-switch {
    --toggle-size: 16px;
    --container-width: 5.625em;
    --container-height: 2.5em;
    --container-radius: 6.25em;
    --container-light-bg: #3D7EAE;
    --container-night-bg: #1D1F2C;
    --circle-container-diameter: 3.375em;
    --sun-moon-diameter: 2.125em;
    --sun-bg: #ECCA2F;
    --moon-bg: #C4C9D1;
    --spot-color: #959DB1;
    --circle-container-offset: calc((var(--circle-container-diameter) - var(--container-height)) / 2 * -1);
    --stars-color: #fff;
    --clouds-color: #F3FDFF;
    --back-clouds-color: #AACADF;
    --transition: .5s cubic-bezier(0, -0.02, 0.4, 1.25);
    --circle-transition: .3s cubic-bezier(0, -0.02, 0.35, 1.17);
    font-size: var(--toggle-size);
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}

.theme-switch__container {
    width: var(--container-width);
    height: var(--container-height);
    background-color: var(--container-night-bg);
    border-radius: var(--container-radius);
    overflow: hidden;
    position: relative;
}

.theme-switch__checkbox {
    display: none;
}

.theme-switch__circle-container {
    width: var(--circle-container-diameter);
    height: var(--circle-container-diameter);
    background-color: rgba(255, 255, 255, 0.1);
    position: absolute;
    left: var(--circle-container-offset);
    top: var(--circle-container-offset);
    border-radius: 50%;
    display: flex;
    transition: var(--circle-transition);
    pointer-events: none;
}

.theme-switch__sun-moon-container {
    pointer-events: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: var(--sun-moon-diameter);
    height: var(--sun-moon-diameter);
    border-radius: 50%;
    background-color: var(--sun-bg);
    box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset,
        0em -0.062em 0.062em 0em #a1872a inset,
        0.25em 0.25em 0.25em 0em rgba(0, 0, 0, 0.25),
        0em 0em 0.125em 0em rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: var(--transition);
}

.theme-switch__moon {
    transform: translateX(100%);
    width: 100%;
    height: 100%;
    background-color: var(--moon-bg);
    border-radius: inherit;
    box-shadow: 0.062em 0.062em 0.062em 0em rgba(254, 255, 239, 0.61) inset,
        0em -0.062em 0.062em 0em #969696 inset;
    transition: var(--transition);
    position: relative;
}

.theme-switch__spot {
    position: absolute;
    background-color: var(--spot-color);
    border-radius: 50%;
}

.theme-switch__spot:nth-child(1) {
    width: 0.75em;
    height: 0.75em;
    top: 0.75em;
    left: 0.312em;
}

.theme-switch__spot:nth-child(2) {
    width: 0.375em;
    height: 0.375em;
    top: 0.937em;
    left: 1.125em;
}

.theme-switch__spot:nth-child(3) {
    width: 0.25em;
    height: 0.25em;
    top: 0.312em;
    left: 0.812em;
}

.theme-switch__clouds {
    width: 1.25em;
    height: 1.25em;
    background-color: var(--clouds-color);
    border-radius: 50%;
    position: absolute;
    bottom: -0.625em;
    left: 0.312em;
    box-shadow: 0.937em 0.312em var(--clouds-color),
        -0.312em -0.312em var(--back-clouds-color),
        1.437em 0.375em var(--clouds-color),
        0.5em -0.125em var(--back-clouds-color),
        2.187em 0 var(--clouds-color),
        1.25em -0.062em var(--back-clouds-color),
        2.937em 0.312em var(--clouds-color),
        2em -0.312em var(--back-clouds-color),
        3.625em -0.062em var(--clouds-color),
        2.625em 0em var(--back-clouds-color),
        4.5em -0.312em var(--clouds-color),
        3.375em -0.437em var(--back-clouds-color),
        4.625em -1.75em 0 0.437em var(--clouds-color),
        4em -0.625em var(--back-clouds-color),
        4.125em -2.125em 0 0.437em var(--back-clouds-color);
    transition: 0.5s cubic-bezier(0, -0.02, 0.4, 1.25);
}

.theme-switch__stars-container {
    position: absolute;
    color: var(--stars-color);
    top: -100%;
    left: 0.312em;
    width: 2.75em;
    height: auto;
    transition: var(--transition);
}

/* Checked State - Sun/Day Mode */
.theme-switch__checkbox:checked + .theme-switch__container {
    background-color: var(--container-light-bg);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__circle-container {
    left: calc(100% - var(--circle-container-offset) - var(--circle-container-diameter));
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__moon {
    transform: translateX(0);
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__clouds {
    bottom: -4.062em;
}

.theme-switch__checkbox:checked + .theme-switch__container .theme-switch__stars-container {
    top: 50%;
    transform: translateY(-50%);
}

/* ===== NATURE THEME (Light/Day Mode) ===== */
body.nature-theme {
    --primary-dark: #0a2e1a;
    --primary: #134d2e;
    --accent: #2d8659;
    --cyan: #4ade80;
    --light-purple: #a7f3d0;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #2d8659 0%, #134d2e 100%);
    --gradient-2: linear-gradient(135deg, #4ade80 0%, #2d8659 100%);
}

/* Nature Theme Background - Light Blue Sky Gradient */
body.nature-theme .bg-animation {
    background: linear-gradient(180deg, 
        #87ceeb 0%,
        #a8dced 10%,
        #bde4f0 20%,
        #d0ecf4 35%,
        #e0f2f6 50%,
        #d8efe8 65%,
        #c5e5dc 80%,
        #a8d5c8 100%);
}

/* Forest Landscape Container */
body.nature-theme .forest-landscape {
    display: block;
}

.forest-landscape {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Sun - Solid white circle like reference */
.forest-sun {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.95) 60%,
        rgba(255, 255, 255, 0.7) 80%,
        transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.8), 0 0 100px rgba(255, 255, 255, 0.4);
}

/* Clouds Layer */
.clouds-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    filter: blur(2px);
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.cloud-1 {
    width: 200px;
    height: 50px;
    top: 8%;
    left: 25%;
    animation: cloudFloat 80s linear infinite;
}

.cloud-1::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 30px;
}

.cloud-1::after {
    width: 100px;
    height: 100px;
    top: -50px;
    left: 80px;
}

.cloud-2 {
    width: 180px;
    height: 45px;
    top: 12%;
    left: 60%;
    animation: cloudFloat 90s linear infinite;
    animation-delay: -20s;
}

.cloud-2::before {
    width: 70px;
    height: 70px;
    top: -35px;
    left: 25px;
}

.cloud-2::after {
    width: 90px;
    height: 90px;
    top: -45px;
    left: 70px;
}

.cloud-3 {
    width: 150px;
    height: 40px;
    top: 6%;
    left: 75%;
    animation: cloudFloat 70s linear infinite;
    animation-delay: -40s;
}

.cloud-3::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 20px;
}

.cloud-3::after {
    width: 75px;
    height: 75px;
    top: -38px;
    left: 55px;
}

.cloud-4 {
    width: 220px;
    height: 55px;
    top: 15%;
    left: 10%;
    animation: cloudFloat 100s linear infinite;
    animation-delay: -60s;
}

.cloud-4::before {
    width: 90px;
    height: 90px;
    top: -45px;
    left: 35px;
}

.cloud-4::after {
    width: 110px;
    height: 110px;
    top: -55px;
    left: 90px;
}

@keyframes cloudFloat {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(calc(100vw + 100%)); }
}

/* Flying Birds */
.birds-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    pointer-events: none;
    overflow: hidden;
}

.bird {
    position: absolute;
    color: #2a4a4a;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.2));
}

.bird svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.bird .wing-left {
    transform-origin: 25px 13px;
    animation: wingFlapLeft 0.4s ease-in-out infinite;
}

.bird .wing-right {
    transform-origin: 25px 13px;
    animation: wingFlapRight 0.4s ease-in-out infinite;
}

.bird-1 {
    width: 40px;
    height: 20px;
    top: 18%;
    animation: birdFly1 28s linear infinite, birdBob 2s ease-in-out infinite;
}

.bird-1 .wing-left,
.bird-1 .wing-right {
    animation-duration: 0.35s;
}

.bird-2 {
    width: 32px;
    height: 16px;
    top: 25%;
    animation: birdFly2 35s linear infinite, birdBob 2.5s ease-in-out infinite;
    animation-delay: -12s, -0.5s;
}

.bird-2 .wing-left,
.bird-2 .wing-right {
    animation-duration: 0.4s;
}

.bird-3 {
    width: 45px;
    height: 22px;
    top: 12%;
    animation: birdFly3 24s linear infinite, birdBob 1.8s ease-in-out infinite;
    animation-delay: -18s, -1s;
}

.bird-3 .wing-left,
.bird-3 .wing-right {
    animation-duration: 0.32s;
}

.bird-4 {
    width: 28px;
    height: 14px;
    top: 32%;
    animation: birdFly4 40s linear infinite, birdBob 2.8s ease-in-out infinite;
    animation-delay: -6s, -0.3s;
}

.bird-4 .wing-left,
.bird-4 .wing-right {
    animation-duration: 0.45s;
}

.bird-5 {
    width: 36px;
    height: 18px;
    top: 22%;
    animation: birdFly5 32s linear infinite, birdBob 2.2s ease-in-out infinite;
    animation-delay: -25s, -0.8s;
}

.bird-5 .wing-left,
.bird-5 .wing-right {
    animation-duration: 0.38s;
}

/* Wing flapping animations - using transform for filled wings */
@keyframes wingFlapLeft {
    0%, 100% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: rotateX(60deg) rotateY(-15deg);
    }
}

@keyframes wingFlapRight {
    0%, 100% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: rotateX(60deg) rotateY(15deg);
    }
}

/* Flight path animations - each bird has unique path */
@keyframes birdFly1 {
    0% { left: -8%; }
    100% { left: 108%; }
}

@keyframes birdFly2 {
    0% { left: -6%; }
    100% { left: 106%; }
}

@keyframes birdFly3 {
    0% { left: -10%; }
    100% { left: 110%; }
}

@keyframes birdFly4 {
    0% { left: -5%; }
    100% { left: 105%; }
}

@keyframes birdFly5 {
    0% { left: -7%; }
    100% { left: 107%; }
}

/* Gentle bobbing motion while flying */
@keyframes birdBob {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-2deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(5px) rotate(2deg);
    }
}

/* Mountain Layers - Smooth rolling hills */
.mountain-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Layer 5 - Furthest mountains (lightest) */
.mountain-layer-5 {
    height: 45%;
    bottom: 22%;
    background: #a8d4d4;
    clip-path: polygon(0% 100%, 0% 60%, 8% 45%, 18% 55%, 28% 35%, 40% 50%, 52% 30%, 65% 45%, 78% 25%, 88% 40%, 100% 30%, 100% 100%);
}

/* Layer 4 - Second mountain range */
.mountain-layer-4 {
    height: 45%;
    bottom: 18%;
    background: #8ec4c4;
    clip-path: polygon(0% 100%, 0% 50%, 10% 35%, 22% 50%, 35% 28%, 48% 45%, 60% 25%, 72% 42%, 85% 30%, 95% 45%, 100% 35%, 100% 100%);
}

/* Layer 3 - Middle mountains */
.mountain-layer-3 {
    height: 42%;
    bottom: 14%;
    background: #6aadad;
    clip-path: polygon(0% 100%, 0% 45%, 12% 30%, 25% 48%, 38% 22%, 50% 40%, 62% 20%, 75% 38%, 88% 28%, 100% 42%, 100% 100%);
}

/* Layer 2 - Closer mountains */
.mountain-layer-2 {
    height: 38%;
    bottom: 10%;
    background: #4d9494;
    clip-path: polygon(0% 100%, 0% 55%, 15% 38%, 28% 52%, 42% 30%, 55% 48%, 68% 32%, 82% 50%, 95% 40%, 100% 52%, 100% 100%);
}

/* Layer 1 - Closest hills */
.mountain-layer-1 {
    height: 32%;
    bottom: 6%;
    background: #3a7a7a;
    clip-path: polygon(0% 100%, 0% 50%, 12% 40%, 25% 55%, 40% 35%, 55% 52%, 70% 38%, 85% 55%, 100% 45%, 100% 100%);
}

/* Pine Tree Layers - Clean triangular trees */

/* Far trees layer */
.trees-far {
    position: absolute;
    bottom: 6%;
    left: 0;
    width: 100%;
    height: 15%;
    background: 
        linear-gradient(135deg, #4a8080 50%, transparent 50%) 0 100%,
        linear-gradient(-135deg, #4a8080 50%, transparent 50%) 0 100%,
        linear-gradient(135deg, #4a8080 50%, transparent 50%) 20px 100%,
        linear-gradient(-135deg, #4a8080 50%, transparent 50%) 20px 100%,
        linear-gradient(135deg, #4a8080 50%, transparent 50%) 45px 100%,
        linear-gradient(-135deg, #4a8080 50%, transparent 50%) 45px 100%;
    background-size: 12px 20px, 12px 20px, 15px 28px, 15px 28px, 10px 18px, 10px 18px;
    background-repeat: repeat-x;
}

/* Mid trees layer */
.trees-mid {
    position: absolute;
    bottom: 3%;
    left: 0;
    width: 100%;
    height: 18%;
    background: 
        linear-gradient(130deg, #2d6060 50%, transparent 50%) 0 100%,
        linear-gradient(-130deg, #2d6060 50%, transparent 50%) 0 100%,
        linear-gradient(130deg, #2d6060 50%, transparent 50%) 30px 100%,
        linear-gradient(-130deg, #2d6060 50%, transparent 50%) 30px 100%,
        linear-gradient(130deg, #2d6060 50%, transparent 50%) 55px 100%,
        linear-gradient(-130deg, #2d6060 50%, transparent 50%) 55px 100%;
    background-size: 18px 32px, 18px 32px, 22px 40px, 22px 40px, 14px 26px, 14px 26px;
    background-repeat: repeat-x;
}

/* Front trees layer */
.trees-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 22%;
    background: 
        linear-gradient(125deg, #1a4040 50%, transparent 50%) 0 100%,
        linear-gradient(-125deg, #1a4040 50%, transparent 50%) 0 100%,
        linear-gradient(125deg, #1a4040 50%, transparent 50%) 40px 100%,
        linear-gradient(-125deg, #1a4040 50%, transparent 50%) 40px 100%,
        linear-gradient(125deg, #1a4040 50%, transparent 50%) 75px 100%,
        linear-gradient(-125deg, #1a4040 50%, transparent 50%) 75px 100%;
    background-size: 25px 45px, 25px 45px, 30px 55px, 30px 55px, 20px 38px, 20px 38px;
    background-repeat: repeat-x;
}

/* Ground base */
.ground-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3%;
    background: #0f2828;
}

/* Responsive */
@media (max-width: 768px) {
    .forest-sun {
        width: 150px;
        height: 150px;
        top: 10%;
    }
    
    .palm-1, .palm-2, .palm-3, .palm-4, .palm-5, .palm-6 {
        height: 120px;
    }
    
    .trees-layer {
        height: 25%;
    }
}

body.nature-theme .glow-1 {
    background: rgba(100, 180, 180, 0.3);
    filter: blur(150px);
    top: -100px;
    right: 20%;
}

body.nature-theme .glow-2 {
    background: rgba(80, 160, 160, 0.25);
    filter: blur(120px);
    bottom: 30%;
    left: 10%;
}

body.nature-theme .glow-3 {
    background: rgba(60, 140, 140, 0.2);
    filter: blur(130px);
    bottom: 10%;
    right: 30%;
}

/* Nature Theme - Sun/Light source */
body.nature-theme::before {
    content: '';
    position: fixed;
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(240, 255, 255, 0.6) 25%,
        rgba(200, 240, 240, 0.3) 45%,
        transparent 65%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Nature Theme Sections */
body.nature-theme .hero {
    background: transparent !important;
}

body.nature-theme .stats {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 134, 89, 0.2);
}

body.nature-theme .stat-number {
    color: #166534 !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

body.nature-theme .stat-label {
    color: #14532d !important;
}

body.nature-theme .about {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(45, 134, 89, 0.15);
}

body.nature-theme .about .section-title {
    color: #14532d;
}

body.nature-theme .about .section-title::after {
    background: #22c55e;
}

body.nature-theme .about-text {
    color: #166534 !important;
}

body.nature-theme .skills-showcase {
    background: none !important;
}

body.nature-theme .explored-tools-section {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(2px);
}

body.nature-theme .projects {
    background: NONE !important;
    backdrop-filter: blur(4px);
}

body.nature-theme .contact {
    background: rgba(34, 197, 94, 0.15) !important;
    backdrop-filter: blur(3px);
}

body.nature-theme .footer {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(34, 197, 94, 0.3);
}

body.nature-theme .footer-logo .logo-hi {
    background: #22c55e;
}

body.nature-theme .footer-logo .logo-dev {
    color: #166534;
}

body.nature-theme .footer-text {
    color: #166534;
}

body.nature-theme .footer-text .highlight {
    color: #16a34a;
}

/* Nature Theme Navbar */
body.nature-theme .navbar {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

body.nature-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

body.nature-theme .logo-hi {
    background: #22c55e;
}

body.nature-theme .logo-dev {
    color: #166534;
}

body.nature-theme .nav-link {
    color: #14532d;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

body.nature-theme .nav-link::after {
    background: #22c55e;
}

body.nature-theme .nav-link:hover,
body.nature-theme .nav-link.active {
    color: #16a34a;
}

/* Nature Theme Hero */
body.nature-theme .hero-title {
    color: #14532d;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

body.nature-theme .hero-title .highlight {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body.nature-theme .hero-subtitle {
    color: #166534;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

body.nature-theme .hero-greeting {
    color: #15803d;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Nature Theme Buttons */
body.nature-theme .hero-cta-animated {
    background-image: linear-gradient(#166534, #166534), 
                      linear-gradient(137.48deg, #4ade80 10%, #22c55e 45%, #86efac 67%, #4ade80 87%);
}

body.nature-theme .hero-cta-animated .circle:nth-of-type(1) {
    background: rgba(74, 222, 128, 0.6);
}

body.nature-theme .hero-cta-animated .circle:nth-of-type(2) {
    background: rgba(34, 197, 94, 0.7);
}

body.nature-theme .hero-cta-secondary-animated {
    border-color: #22c55e;
    color: #166534;
}

body.nature-theme .hero-cta-secondary-animated:hover {
    border-color: #16a34a;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

/* Nature Theme Social Icons */
body.nature-theme .social-icon-animated i {
    color: #166534;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.5));
}

body.nature-theme .social-icon-animated:hover i {
    color: #16a34a !important;
    filter: drop-shadow(0 0 15px rgba(34, 197, 94, 0.6)) !important;
}

body.nature-theme .social-glow {
    background: #22c55e;
    box-shadow: 0 0 15px #22c55e, 0 0 30px rgba(34, 197, 94, 0.5);
}

body.nature-theme .social-icon-animated:hover .social-glow {
    background: #22c55e !important;
    box-shadow: 0 0 25px #22c55e, 0 0 50px rgba(34, 197, 94, 0.7) !important;
}

body.nature-theme .tech-glow {
    background: #22c55e;
    box-shadow: 0 0 12px #22c55e, 0 0 25px rgba(34, 197, 94, 0.5);
}

body.nature-theme .tech-icon:hover .tech-glow {
    background: #22c55e !important;
    box-shadow: 0 0 20px #22c55e, 0 0 40px rgba(34, 197, 94, 0.7) !important;
}

/* Nature Theme Skills */
body.nature-theme .skill-icon-large {
    background: rgba(255, 255, 255, 0.3) !important;
    border: 2px solid rgba(34, 197, 94, 0.3);
    backdrop-filter: blur(5px);
}

body.nature-theme .skill-icon-large:hover {
    background: rgba(255, 255, 255, 0.5) !important;
    border-color: #22c55e;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

body.nature-theme .skill-label {
    color: #14532d !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

body.nature-theme .skills-showcase-title {
    color: #14532d;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

body.nature-theme .skills-showcase-title::after {
    background: #22c55e;
}

/* Nature Theme Project Cards */
body.nature-theme .project-card-ui {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 253, 244, 0.9) 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    box-shadow: 
        0 10px 40px rgba(34, 197, 94, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

body.nature-theme .project-card-ui::before {
    background: linear-gradient(135deg, transparent 0%, rgba(34, 197, 94, 0.4) 50%, transparent 100%);
}

body.nature-theme .project-card-ui:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(220, 252, 231, 0.95) 100%);
    border-color: #22c55e;
    box-shadow: 
        0 30px 60px rgba(34, 197, 94, 0.25),
        0 0 30px rgba(34, 197, 94, 0.15),
        0 0 0 1px rgba(34, 197, 94, 0.3) inset;
}

body.nature-theme .card-browser-bar {
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.95) 0%, rgba(220, 252, 231, 0.9) 100%);
    border-bottom: 1px solid rgba(34, 197, 94, 0.15);
}

body.nature-theme .card-info-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 244, 0.95) 100%);
}

body.nature-theme .card-info-section::before {
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.5), transparent);
}

body.nature-theme .card-project-title {
    color: #14532d;
}

body.nature-theme .project-card-ui:hover .card-project-title {
    color: #16a34a;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

body.nature-theme .card-project-desc {
    color: #166534;
}

body.nature-theme .card-tag {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(74, 222, 128, 0.15) 100%);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

body.nature-theme .card-tag:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.4) 0%, rgba(74, 222, 128, 0.3) 100%);
    border-color: #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
}

body.nature-theme .browser-icon {
    color: #166534;
}

body.nature-theme .browser-icon:hover {
    color: #16a34a;
}

body.nature-theme .projects .section-title {
    color: #14532d;
}

body.nature-theme .projects-subtitle {
    color: #166534 !important;
}

/* Nature Theme Contact */
body.nature-theme .contact-highlight {
    color: #14532d;
}

body.nature-theme .contact-highlight .cyan {
    color: #16a34a;
}

body.nature-theme .contact-item {
    color: #166534;
}

body.nature-theme .contact-item:hover {
    color: #16a34a;
}

body.nature-theme .contact-tag {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #166534;
}

body.nature-theme .contact-tag:hover {
    background: #22c55e !important;
    color: #ffffff !important;
    border-color: #22c55e !important;
}

body.nature-theme .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(34, 197, 94, 0.2);
    backdrop-filter: blur(10px);
}

body.nature-theme .form-group input,
body.nature-theme .form-group textarea {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #14532d;
}

body.nature-theme .form-group input::placeholder,
body.nature-theme .form-group textarea::placeholder {
    color: rgba(22, 101, 52, 0.6);
}

body.nature-theme .form-group input:focus,
body.nature-theme .form-group textarea:focus {
    border-color: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.25);
    background: rgba(255, 255, 255, 0.5);
}

body.nature-theme .submit-btn {
    background: #22c55e;
    color: #ffffff;
}

body.nature-theme .submit-btn:hover {
    background: #16a34a !important;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4) !important;
}

/* Nature Theme Scroll Top */
body.nature-theme .scroll-top {
    background: #22c55e !important;
}

body.nature-theme .scroll-top:hover {
    background: #16a34a !important;
}

/* Nature Theme Custom Cursor */
body.nature-theme .custom-cursor {
    background: #22c55e;
}

body.nature-theme .cursor-follower {
    border-color: #16a34a;
}

/* Nature Theme Image Border */
body.nature-theme .image-border {
    border-color: #22c55e;
}

body.nature-theme .image-wrapper::before {
    background: linear-gradient(135deg, #16a34a, #4ade80, #16a34a);
}

/* Nature Theme Tool Badges */
body.nature-theme .tool-badge {
    background: rgba(255, 255, 255, 0.35) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    backdrop-filter: blur(5px);
}

body.nature-theme .tool-badge span {
    color: #14532d !important;
}


body.nature-theme .tool-badge:hover {
    background: rgba(34, 197, 94, 0.3) !important;
    border-color: #22c55e !important;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.25);
}

/* Nature Theme Explored Tools Header */
body.nature-theme .explored-tools-title {
    color: #14532d !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

body.nature-theme .explored-tools-subtitle {
    color: #166534 !important;
}

/* Nature Theme Section Titles */
body.nature-theme .section-title.light::after,
body.nature-theme .explored-tools-title::after {
    background: #22c55e;
}

/* Nature Theme Loading */
body.nature-theme .loading {
    background: linear-gradient(180deg, #87ceeb 0%, #98d8c8 100%) !important;
}

body.nature-theme .loader {
    border-top-color: #22c55e;
}

/* Nature Theme Social Links */
body.nature-theme .social-link {
    border-color: #22c55e;
    color: #166534;
}

body.nature-theme .social-link:hover {
    background: #22c55e;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

/* Nature Theme Project Links */
body.nature-theme .project-link {
    color: #166534;
}

body.nature-theme .project-link:hover {
    background: #22c55e;
    color: #ffffff;
}

/* Nature Theme Project Overlay */
body.nature-theme .project-overlay {
    background: rgba(34, 197, 94, 0.9);
}

/* Nature Theme Tags */
body.nature-theme .tag {
    background: rgba(34, 197, 94, 0.15);
    color: #166534;
}

/* Nature Theme Form Socials */
body.nature-theme .form-social {
    background: rgba(255, 255, 255, 0.3);
    color: #166534;
}

body.nature-theme .form-social:hover {
    background: #22c55e !important;
    color: #ffffff !important;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.4) !important;
}

/* Nature Theme Footer Socials */
body.nature-theme .footer-social {
    background: rgba(34, 197, 94, 0.15) !important;
    color: #166534 !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

body.nature-theme .footer-social:hover {
    background: #22c55e !important;
    color: #ffffff !important;
    border-color: #22c55e !important;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.4) !important;
}

/* Nature Theme Scrollbar */
body.nature-theme::-webkit-scrollbar-thumb {
    background: #22c55e;
}

body.nature-theme::-webkit-scrollbar-thumb:hover {
    background: #16a34a;
}

body.nature-theme::-webkit-scrollbar-track {
    background: #d1fae5;
}

/* Nature Theme Selection */
body.nature-theme ::selection {
    background: #22c55e;
    color: #ffffff;
}

/* Nature Theme Cursor Hover */
body.nature-theme .custom-cursor.hover {
    background: #16a34a;
}

body.nature-theme .cursor-follower.hover {
    border-color: #22c55e;
}

/* Nature Theme Skill Card Hover */
body.nature-theme .skill-card:hover {
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
}

/* Nature Theme Tech Icons */
body.nature-theme .tech-icon:hover i {
    filter: drop-shadow(0 0 15px #22c55e);
}

/* Nature Theme Glow Effects */
body.nature-theme .glow-1 {
    background: rgba(134, 239, 172, 0.3);
}

body.nature-theme .glow-2 {
    background: rgba(74, 222, 128, 0.25);
}

body.nature-theme .glow-3 {
    background: rgba(34, 197, 94, 0.2);
}

/* ===== FLOATING LEAVES ===== */
.leaves-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
    display: none;
}

body.nature-theme .leaves-container {
    display: block;
}

body.nature-theme .particles {
    display: none;
}

.leaf {
    position: absolute;
    width: 25px;
    height: 25px;
    opacity: 0;
    pointer-events: none;
}

.leaf svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.leaf.leaf-1 { color: #228B22; }
.leaf.leaf-2 { color: #32CD32; }
.leaf.leaf-3 { color: #90EE90; }
.leaf.leaf-4 { color: #006400; }
.leaf.leaf-5 { color: #3CB371; }

.leaf.small { width: 15px; height: 15px; }
.leaf.medium { width: 25px; height: 25px; }
.leaf.large { width: 35px; height: 35px; }

@keyframes leafFall {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    25% {
        transform: translateY(22vh) translateX(30px) rotate(90deg);
    }
    50% {
        transform: translateY(45vh) translateX(-20px) rotate(180deg);
        opacity: 0.7;
    }
    75% {
        transform: translateY(68vh) translateX(25px) rotate(270deg);
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(110vh) translateX(-10px) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive Theme Switch */
@media (max-width: 768px) {
    .theme-switch {
        --toggle-size: 12px;
    }
}

@media (max-width: 480px) {
    .theme-switch {
        --toggle-size: 10px;
    }
}

/* ===== Theme Transition Overlay ===== */
.theme-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    pointer-events: none;
    overflow: hidden;
}

/* Nature Theme Transition (Clouds & Bushes) */
.theme-transition-overlay.nature-transition {
    background: linear-gradient(180deg, #87CEEB 0%, #98D8C8 50%, #2d8659 100%);
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-transition-overlay.nature-transition.active {
    clip-path: circle(150% at 50% 50%);
}

.theme-transition-overlay.nature-transition.exit {
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

/* Transition Clouds */
.transition-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
}

.t-cloud {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: cloudSlideIn 0.8s ease-out forwards;
}

.t-cloud::before,
.t-cloud::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 50%;
}

.t-cloud-1 {
    width: 120px;
    height: 60px;
    top: 15%;
    left: 10%;
    animation-delay: 0.1s;
}

.t-cloud-1::before {
    width: 70px;
    height: 70px;
    top: -35px;
    left: 20px;
}

.t-cloud-1::after {
    width: 90px;
    height: 90px;
    top: -45px;
    left: 50px;
}

.t-cloud-2 {
    width: 150px;
    height: 70px;
    top: 20%;
    right: 15%;
    animation-delay: 0.2s;
}

.t-cloud-2::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 30px;
}

.t-cloud-2::after {
    width: 100px;
    height: 100px;
    top: -50px;
    left: 70px;
}

.t-cloud-3 {
    width: 100px;
    height: 50px;
    top: 30%;
    left: 40%;
    animation-delay: 0.3s;
}

.t-cloud-3::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 15px;
}

.t-cloud-3::after {
    width: 70px;
    height: 70px;
    top: -35px;
    left: 45px;
}

@keyframes cloudSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Transition Sun */
.transition-sun {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #fff 0%, #fff8dc 40%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    animation: sunAppear 0.6s ease-out 0.2s forwards;
}

@keyframes sunAppear {
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
}

/* Transition Trees */
.transition-bushes {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
}

.t-bush {
    position: absolute;
    bottom: 0;
    transform: translateY(100%);
    animation: treeRise 0.6s ease-out forwards;
}

/* Tree 1 - Pine tree left */
.t-bush-1 {
    width: 0;
    height: 0;
    left: 5%;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 180px solid #1a5c3a;
    animation-delay: 0.1s;
}

.t-bush-1::before {
    content: '';
    position: absolute;
    bottom: -180px;
    left: -50px;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 140px solid #1a5c3a;
}

.t-bush-1::after {
    content: '';
    position: absolute;
    bottom: -180px;
    left: -40px;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 100px solid #1a5c3a;
}

/* Tree 2 - Pine tree left-center */
.t-bush-2 {
    width: 0;
    height: 0;
    left: 20%;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 200px solid #2d8659;
    animation-delay: 0.15s;
}

.t-bush-2::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -60px;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 160px solid #2d8659;
}

/* Tree 3 - Large center pine */
.t-bush-3 {
    width: 0;
    height: 0;
    left: 45%;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 220px solid #134d2e;
    animation-delay: 0.2s;
}

.t-bush-3::before {
    content: '';
    position: absolute;
    bottom: -220px;
    left: -70px;
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 180px solid #134d2e;
}

.t-bush-3::after {
    content: '';
    position: absolute;
    bottom: -220px;
    left: -55px;
    width: 0;
    height: 0;
    border-left: 55px solid transparent;
    border-right: 55px solid transparent;
    border-bottom: 130px solid #134d2e;
}

/* Tree 4 - Pine tree right-center */
.t-bush-4 {
    width: 0;
    height: 0;
    right: 15%;
    border-left: 65px solid transparent;
    border-right: 65px solid transparent;
    border-bottom: 190px solid #2d8659;
    animation-delay: 0.25s;
}

.t-bush-4::before {
    content: '';
    position: absolute;
    bottom: -190px;
    left: -55px;
    width: 0;
    height: 0;
    border-left: 55px solid transparent;
    border-right: 55px solid transparent;
    border-bottom: 150px solid #2d8659;
}

/* Tree 5 - Pine tree right */
.t-bush-5 {
    width: 0;
    height: 0;
    right: 3%;
    border-left: 55px solid transparent;
    border-right: 55px solid transparent;
    border-bottom: 170px solid #1a5c3a;
    animation-delay: 0.3s;
}

.t-bush-5::before {
    content: '';
    position: absolute;
    bottom: -170px;
    left: -45px;
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 130px solid #1a5c3a;
}

@keyframes treeRise {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Cosmic Theme Transition (Stars & Moon) */
.theme-transition-overlay.cosmic-transition {
    background: linear-gradient(180deg, #0a0a1a 0%, #1a1035 50%, #29103A 100%);
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-transition-overlay.cosmic-transition.active {
    clip-path: circle(150% at 50% 50%);
}

.theme-transition-overlay.cosmic-transition.exit {
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

/* Transition Stars */
.transition-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 160px 120px, white, transparent),
        radial-gradient(2px 2px at 200px 50px, white, transparent),
        radial-gradient(1px 1px at 250px 160px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 300px 90px, white, transparent),
        radial-gradient(1px 1px at 350px 200px, white, transparent),
        radial-gradient(2px 2px at 400px 150px, rgba(255,255,255,0.8), transparent);
    background-size: 400px 250px;
    animation: starsAppear 0.5s ease-out forwards, twinkle 2s ease-in-out infinite;
    opacity: 0;
}

@keyframes starsAppear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Transition Moon */
.transition-moon {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #d4d4d4 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255,255,255,0.5), 0 0 60px rgba(129, 33, 208, 0.3);
    transform: scale(0);
    animation: moonAppear 0.6s ease-out 0.2s forwards;
}

.transition-moon::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    width: 15px;
    height: 15px;
    background: rgba(180,180,180,0.5);
    border-radius: 50%;
}

.transition-moon::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 40px;
    width: 20px;
    height: 20px;
    background: rgba(180,180,180,0.4);
    border-radius: 50%;
}

@keyframes moonAppear {
    0% {
        transform: scale(0) rotate(-30deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Transition Sparkles */
.transition-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.t-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: sparkleFloat 1.5s ease-out forwards;
}

.t-sparkle::before,
.t-sparkle::after {
    content: '';
    position: absolute;
    background: white;
}

.t-sparkle::before {
    width: 12px;
    height: 2px;
    top: 1px;
    left: -4px;
}

.t-sparkle::after {
    width: 2px;
    height: 12px;
    top: -4px;
    left: 1px;
}

.t-sparkle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0.1s; }
.t-sparkle:nth-child(2) { top: 35%; left: 75%; animation-delay: 0.2s; }
.t-sparkle:nth-child(3) { top: 50%; left: 25%; animation-delay: 0.3s; }
.t-sparkle:nth-child(4) { top: 15%; left: 60%; animation-delay: 0.15s; }
.t-sparkle:nth-child(5) { top: 65%; left: 80%; animation-delay: 0.25s; }
.t-sparkle:nth-child(6) { top: 40%; left: 45%; animation-delay: 0.35s; }
.t-sparkle:nth-child(7) { top: 70%; left: 10%; animation-delay: 0.4s; }
.t-sparkle:nth-child(8) { top: 25%; left: 90%; animation-delay: 0.45s; }

@keyframes sparkleFloat {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        opacity: 0.8;
        transform: scale(1) rotate(360deg);
    }
}


/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* GLOBAL: Remove expensive backdrop-filter everywhere for better performance */
.navbar,
.navbar.scrolled,
.stats,
.about,
.skills-showcase,
.explored-tools-section,
.projects,
.contact,
.footer,
.contact-form-wrapper,
.tool-badge,
.skill-icon-large,
.project-card-ui,
body.nature-theme .navbar,
body.nature-theme .stats,
body.nature-theme .about,
body.nature-theme .skills-showcase,
body.nature-theme .explored-tools-section,
body.nature-theme .projects,
body.nature-theme .contact,
body.nature-theme .footer,
body.nature-theme .contact-form-wrapper,
body.nature-theme .tool-badge,
body.nature-theme .skill-icon-large,
body.nature-theme .project-card-ui {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Simplify all box-shadows for performance */
.glow-orb,
.particle.glow-orb {
    box-shadow: 0 0 8px currentColor !important;
    animation: orbFloat 25s ease-in-out infinite !important;
}

/* Disable shooting stars - very expensive */
.shooting-star,
.particle.shooting-star {
    display: none !important;
}

/* Simplify sparkles */
.particle.sparkle {
    animation: starTwinkle 4s ease-in-out infinite !important;
}

/* Reduce glow blur intensity */
.glow {
    filter: blur(80px) !important;
    opacity: 0.3 !important;
}

/* Simplified bird wing animation */
.wing {
    animation: wingFlap 0.4s ease-in-out infinite !important;
}

@keyframes wingFlap {
    0%, 100% { transform: rotateX(0deg); }
    50% { transform: rotateX(60deg); }
}

/* Reduced Motion - For users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particles,
    .leaves-container,
    .glow,
    .cosmic-stars,
    .birds-container {
        display: none !important;
    }
    
    .theme-transition-overlay {
        transition: opacity 0.3s ease !important;
        clip-path: none !important;
    }
    
    .theme-transition-overlay.active {
        opacity: 1;
    }
    
    .theme-transition-overlay.exit {
        opacity: 0;
    }
}

/* Mobile/Touch device optimizations */
@media (max-width: 768px), (hover: none) {
    /* Hide particles and leaves on mobile */
    .particles,
    .leaves-container {
        display: none !important;
    }
    
    /* Disable bird animations */
    .bird,
    .birds-container {
        display: none !important;
    }
    
    /* Simplify glows */
    .glow {
        display: none !important;
    }
    
    /* Faster transitions */
    * {
        transition-duration: 0.15s !important;
    }
}

/* GPU acceleration hints for smoother animations */
.particle,
.leaf,
.bird,
.glow,
.theme-transition-overlay {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimize paint areas */
.cosmic-stars,
.forest-landscape,
.bg-animation {
    contain: layout style paint;
}
