:root {
    --bg-color: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --primary-color: #ff2d75;
    --accent-blue: #38bdf8;
    --text-color: #ffffff;
    --text-dim: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 8%;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
}

.logo { font-weight: bold; letter-spacing: 1px; }
.logo span { color: var(--primary-color); }

.nav-links { list-style: none; display: flex; gap: 25px; }
.nav-links a { text-decoration: none; color: white; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary-color); }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 5% 50px 5%;
}

.hero-card {
    position: relative; 
    overflow: hidden;    
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* Mouse Glow for Hero */
.hero-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 45, 117, 0.1), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.hero-content, .hero-image { position: relative; z-index: 2; }

.image-wrapper {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-blue));
    animation: float 4s ease-in-out infinite;
}

.image-wrapper img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #1a1a2e;
}

.name { font-size: 3.5rem; margin: 10px 0; font-weight: 800; }
.dynamic-text { color: var(--primary-color); margin-bottom: 15px; font-size: 1.5rem; }

/* Skills Section Styling */
.skills-section { padding: 100px 5%; }
.container { max-width: 1100px; margin: 0 auto; }

.section-title {
    font-size: 3rem;
    text-align: center;
    background: linear-gradient(to right, var(--primary-color), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.8;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.skill-card:hover { border-color: var(--primary-color); }
.skill-card h3 { color: var(--primary-color); margin-bottom: 20px; }

.tag-container { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.tag:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

/* Utilities & Animations */
.reveal { 
    opacity: 0;
     transform: translateY(30px); 
     transition: all 0.8s cubic-bezier(0.4 0, 0.2, 1); }

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); }

.skills-grid .skill-card:nth-child(1) { transition-delay: 0.1s; }
.skills-grid .skill-card:nth-child(2) { transition-delay: 0.2s; }
.skills-grid .skill-card:nth-child(3) { transition-delay: 0.3s; }
.skills-grid .skill-card:nth-child(4) { transition-delay: 0.4s; }

.social-icons a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
    line-height: 0 !important; /* CRITICAL: kills the font baseline */
    padding: 0 !important;
    margin: 0 !important;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
}

.social-icons a i {
    color: #ffffff !important; /* Forces white color */
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    transition: 0.3s
   /* Stops the cursor from "grabbing" the icon itself */
}

.social-icons a:hover {
    background: var(--primary-color); 
    border-color: var(--primary-color);
    transform: translateY(-5px); 
    box-shadow: 0 5px rgba(255, 45, 177, 0.4);
}

/* Optional: Keep icon white on hover, or change it if you prefer */
.social-icons a:hover i {
    color: #ffffff !important; 
}

/* Ultimate Reset for Social Links */
.social-icons a, .social-icons a i {
    box-sizing: border-box !important;
    transform: none; /* Prevents the JS parallax/cursor from moving the icon position */
}

.cta-buttons { margin-top: 30px; }
.btn { padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: bold; transition: 0.3s; display: inline-block; }
.primary { background: var(--primary-color); color: white; margin-right: 15px; }
.secondary { border: 1px solid var(--primary-color); color: white; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}


/* --- Project Section Base --- */
.projects-section {
    padding: 100px 5%;
    background: transparent; /* Inherits background from body */
    position: relative;
}

/* --- The Glass Display Area --- */
.project-display-area {
    position: relative;
    max-width: 1100px;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    overflow: visible; /* Allows buttons to hang off the edge */
}

/* Background Glow behind the card */
.project-display-area::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 45, 117, 0.1) 0%, transparent 70%);
    z-index: -1;
}

/* --- Slide Logic --- */
.project-slide {
    display: none; /* Controlled by JS */
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    opacity: 0;
}

.project-slide.active {
    display: grid;
    animation: slideUpFade 0.7s cubic-bezier(0.17, 0.67, 0.83, 0.67) forwards;
}

/* --- Project Content (Left Side) --- */
.project-info h3 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 800;
}

.project-info p {
    color: #94a3b8; /* text-dim */
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ff2d75; /* primary-color */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.github-link:hover {
    color: #ffffff;
    transform: translateX(8px);
}

/* --- Project Image (Right Side) --- */
.project-img-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-img-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.project-slide:hover .project-img-box img {
    transform: scale(1.08);
}

/* --- Navigation Buttons --- */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ff2d75;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 0 20px rgba(255, 45, 117, 0.4);
}

.nav-btn:hover {
    background: #ffffff;
    color: #ff2d75;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

.prev-btn { left: -25px; }
.next-btn { right: -25px; }

/* --- Responsive Layout (Mobile) --- */
@media (max-width: 992px) {
    .project-slide {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .project-display-area {
        padding: 40px 30px;
    }
    
    .project-info h3 {
        font-size: 2rem;
    }
    
    .nav-btn {
        top: auto;
        bottom: -70px;
    }
    
    .prev-btn { left: 30%; }
    .next-btn { right: 30%; }
}

/* --- Animations --- */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* certificate section */
:root {
    --primary-pink: #ff007a;
    --bg-dark: #0f0c29;
}

body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    font-family: 'Segoe UI', sans-serif;
    color: white;
    padding: 50px 0;
    margin: 0;
}

/* old certificate section like full box */
/* .cert-section {
    max-width: 1000px;
    margin: auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.title {
    color: var(--primary-pink);
    font-size: 2.5rem;
    margin-bottom: 40px;
} */


/* Updated Certificate Title to match Project Section */
.title { 
    font-size: 3rem;
    text-align: center;
    font-weight: 800;
    /* Gradient effect */
    background: linear-gradient(to right, var(--primary-color), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Spacing and modern look */
    margin-bottom: 50px;
    letter-spacing: -1px;
    text-transform: capitalize;
}

/* Optional: Add a subtle animation to the title when it reveals */
.reveal.active .title {
    animation: titleFade 1s ease forwards;
}

@keyframes titleFade {
    from { letter-spacing: -5px; opacity: 0; }
    to { letter-spacing: -1px; opacity: 1; }
}


.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.cert-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.cert-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-pink);
    box-shadow: 0 10px 30px rgba(255, 0, 122, 0.3);
}

.cert-img-container {
    width: 100%;
    aspect-ratio: 3 / 2; 
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #000;
}

.cert-img-container img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    filter: brightness(0.9);
    transition: filter 0.3s;
    object-fit: cover;
}

.cert-card:hover img {
    filter: brightness(1.1);
}

/* Modal Styling */
.modal {
    display: none; 
    position: fixed;
    inset: 0;
    background-color: rgb(15, 12, 41, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 12, 41, 0.9);
    backdrop-filter: blur(8px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 10px;
    border: 2px solid var(--primary-pink);
    animation: zoomIn 0.5s ease;
}

@keyframes zoomIn {
    from { transform: translateY(-50%) scale(0.8); opacity: 0; }
    to { transform: translateY(-50%) scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--primary-pink);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
/* end certificate */

/* contect */
/* Section Base Spacing */
.cert-section, .contact-section {
    padding: 100px 5%;
    position: relative;
}

/* Certificate Cards */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cert-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
    text-align: center;
}

.cert-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.cert-img-container img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.cert-card h3 {
    margin: 10px 0 5px;
    font-size: 1.3rem;
}

.cert-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Contact Section Styling */
.contact-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px;
    backdrop-filter: blur(15px);
    max-width: 900px;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    align-items: flex-start;
}

.info-side {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.form-side {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-side textarea {
    resize: none;
}

.form-side input, .form-side textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-side input:focus, .form-side textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 45, 117, 0.2);
}

/* Responsive Fix */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    .contact-card {
        padding: 30px;
    }
}

/* foter*/
.main-footer {
    padding: 50px 8%;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
}

.footer-container {
    /* max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.footer-info span {
    color: var(--primary-color);
    font-weight: bold;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin-right: 20px;
    font-size: 0.9rem;
    /* text-transform: uppercase;
    letter-spacing: 1px; */
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: white;
    font-size: 1.2rem;
    margin-left: 15px;
    transition: 0.3s;
}

.footer-socials a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Fix for Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* new  */
/* Progress Bar Style */
.progress-container {
    position: fixed;
    top: 0;
    z-index: 2000;
    width: 100%;
    height: 4px;
    background: transparent;
}

.progress-bar {
    height: 4px;
    background: var(--primary-color);
    width: 0%;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Modal Flex Fix */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(8px);
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically */
}

.modal-content {
    margin: auto;
    position: relative;
    top: 0; /* Resetting your previous transform logic */
    transform: none; 
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
}

/* scrool spy */
/* Scroll-Spy Active Link Style */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

/* Optional: Add a small dot under the active link */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
}

/*  scrool dote circle 
.cursor-dot {
    width: 5px; height: 5px; background-color: var(--primary-color);
}
.cursor-outline {
    width: 30px; height: 30px; border: 2px solid var(--primary-color);
}
.cursor-dot, .cursor-outline {
    position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
    border-radius: 50%; pointer-events: none; z-index: 9999; transition: transform 0.1s ease-out;
} */


/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    .contact-card {
        padding: 30px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    
    /* 1. Navbar: Stack links or hide them (Consider a hamburger menu later) */
    .nav-links {
        display: none; /* Hide for now, or use flex-direction: column */
    }

    /* 2. Hero Section: Stack image on top of text */
    .hero-card {
        flex-direction: column-reverse; /* Puts text below image */
        text-align: center;
        padding: 20px;
    }

    .hero-image img {
        max-width: 250px; /* Scale down profile picture */
        margin-bottom: 20px;
    }

    .name {
        font-size: 2rem; /* Shrink title size */
    }

    /* 3. Skills: Switch from grid to 1 or 2 columns */
    .skills-grid {
        grid-template-columns: 1fr; /* Single column stack */
        gap: 15px;
    }

    /* 4. Projects & Certificates: Ensure they don't overflow */
    .project-slide {
        flex-direction: column;
    }

    .cert-grid {
        grid-template-columns: 1fr; /* Stack certificates */
    }

    /* 5. Contact Section */
    .contact-content {
        flex-direction: column;
    }

    .form-side, .info-side {
        width: 100%;
    }
}

/* --- Desktop: Hide the hamburger --- */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
}

/* --- Mobile Styles --- */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger on mobile */
        z-index: 1001;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen by default */
        background: #111; /* Match your theme color */
        width: 70%;
        height: 100vh;
        padding-top: 80px;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

    /* This is what the JS toggles */
    .nav-links.active {
        right: 0; /* Slides the menu into view */
    }

    .nav-links li {
        margin: 20px 0;
        text-align: center;
    }
}
/* loading */
/* Unique Loader Styles */
#portal-loader {
    position: fixed;
    inset: 0;
    background: #020617; /* Deepest blue to make the neon pop */
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    transition: all 1s cubic-bezier(0.9, 0, 0.1, 1);
}

.portal-scene {
    position: relative;
    width: 120px;
    height: 120px;
    transform-style: preserve-3d;
    animation: portalRotate 4s infinite linear;
}

.cube {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.side {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 30px;
    left: 30px;
    background: rgba(255, 45, 117, 0.1);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

/* Position cube sides in 3D space */
.front  { transform: rotateY(0deg) translateZ(30px); }
.back   { transform: rotateY(180deg) translateZ(30px); }
.left   { transform: rotateY(-90deg) translateZ(30px); }
.right  { transform: rotateY(90deg) translateZ(30px); }
.top    { transform: rotateX(90deg) translateZ(30px); }
.bottom { transform: rotateX(-90deg) translateZ(30px); }

.portal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    margin: -75px;
    border: 1px solid var(--accent-blue);
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: ringPulse 2s infinite ease-out;
}

.portal-ring:nth-child(2) {
    animation-delay: 1s;
    width: 200px;
    height: 200px;
    margin: -100px;
}

.portal-text {
    margin-top: 60px;
    font-size: 0.7rem;
    letter-spacing: 10px;
    color: var(--accent-blue);
    font-weight: 300;
    text-transform: uppercase;
    animation: textFlicker 2s infinite;
}

/* Exit Animation: Zoom through the portal */
.portal-exit {
    transform: scale(5);
    opacity: 0;
    filter: blur(20px);
    pointer-events: none;
}

@keyframes portalRotate {
    0% { transform: rotateY(0) rotateX(45deg) rotateZ(45deg); }
    100% { transform: rotateY(360deg) rotateX(45deg) rotateZ(45deg); }
}

@keyframes ringPulse {
    0% { transform: rotateX(70deg) scale(0.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotateX(70deg) scale(1.5); opacity: 0; }
}

@keyframes textFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; text-shadow: 0 0 10px var(--accent-blue); }
}
/* end */

/* --- New Animation: Staggered Fade-In for Tags --- */
.tag {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.reveal.active .tag {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for up to 10 tags */
.tag:nth-child(1) { transition-delay: 0.1s; }
.tag:nth-child(2) { transition-delay: 0.15s; }
.tag:nth-child(3) { transition-delay: 0.2s; }
.tag:nth-child(4) { transition-delay: 0.25s; }
.tag:nth-child(5) { transition-delay: 0.3s; }

/* --- Magnetic Button Effect Base --- */
.btn, .social-icons a {
    transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1);
    display: inline-block;
}

/* --- Smooth Section Transitions --- */
section {
    transition: opacity 1s ease, transform 1s ease;
}

/* --- Floating Animation for Project Images --- */
.project-img-box {
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}
/* 
new 13-01
.stats-container {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.stat-item p {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
} */

