@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Oswald:wght@200..700&display=swap');

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: linear-gradient(135deg, #0a0e14 0%, #1e293b 25%, #0f172a 75%, #020617 100%);
            color: #ffffff;
            overflow: hidden;
            min-height: 100vh;
            cursor: crosshair;
            position: relative;
        }

     /* Animated img solar  */  

@keyframes celestial-breathing {
    0%, 100% { 
        filter: drop-shadow(0 0 30px rgba(255, 180, 0, 0.4)) 
                drop-shadow(0 0 60px rgba(255, 120, 0, 0.2))
                drop-shadow(0 0 100px rgba(255, 80, 0, 0.1));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 50px rgba(255, 180, 0, 0.6)) 
                drop-shadow(0 0 90px rgba(255, 120, 0, 0.4))
                drop-shadow(0 0 140px rgba(255, 80, 0, 0.2));
        transform: scale(1.02);
    }
}

.celestial-image img {
    animation: celestial-breathing 5s ease-in-out infinite;
}

     /* Animated content  */  

        @keyframes wave-in {
    0% {
        opacity: 0;
        transform: translateY(25px) rotateX(15deg);
        filter: brightness(0.7);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
        filter: brightness(1);
    }
}

.wave-in {
        animation: elegant-entrance 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards; 
}

        /* Animated starfield background */
        .starfield {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            overflow: hidden;
        }

        /* Star layers with movement and glow animations */
        .stars-layer-1 {
            position: absolute;
            width: 120%;
            height: 120%;
            background-image: 
                radial-gradient(2px 2px at 20px 30px, #fff, transparent),
                radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
                radial-gradient(1px 1px at 90px 40px, #fff, transparent),
                radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
                radial-gradient(2px 2px at 160px 30px, #fff, transparent);
            background-repeat: repeat;
            background-size: 200px 100px;
            animation: starsMove1 60s linear infinite, starsGlow 4s ease-in-out infinite alternate;
        }

        .stars-layer-2 {
            position: absolute;
            width: 110%;
            height: 110%;
            background-image: 
                radial-gradient(1px 1px at 40px 60px, rgba(255,255,255,0.9), transparent),
                radial-gradient(1px 1px at 80px 20px, rgba(255,255,255,0.7), transparent),
                radial-gradient(1px 1px at 120px 90px, rgba(255,255,255,0.8), transparent),
                radial-gradient(2px 2px at 180px 10px, rgba(255,255,255,0.6), transparent);
            background-repeat: repeat;
            background-size: 250px 150px;
            animation: starsMove2 80s linear infinite reverse, starsGlow 6s ease-in-out infinite alternate;
            animation-delay: 0s, 1s;
        }

        .stars-layer-3 {
            position: absolute;
            width: 130%;
            height: 130%;
            background-image: 
                radial-gradient(1px 1px at 60px 90px, rgba(148, 163, 184, 0.8), transparent),
                radial-gradient(2px 2px at 100px 50px, rgba(148, 163, 184, 0.6), transparent),
                radial-gradient(1px 1px at 140px 120px, rgba(148, 163, 184, 0.7), transparent);
            background-repeat: repeat;
            background-size: 300px 200px;
            animation: starsMove3 100s linear infinite, starsGlow 8s ease-in-out infinite alternate;
            animation-delay: 0s, 2s;
        }

        /* Star movement animations */
        @keyframes starsMove1 {
            from { transform: translateX(0) translateY(0) rotate(0deg); }
            to { transform: translateX(-200px) translateY(-100px) rotate(1deg); }
        }

        @keyframes starsMove2 {
            from { transform: translateX(0) translateY(0) rotate(0deg); }
            to { transform: translateX(-250px) translateY(150px) rotate(-0.5deg); }
        }

        @keyframes starsMove3 {
            from { transform: translateX(0) translateY(0) rotate(0deg); }
            to { transform: translateX(300px) translateY(-200px) rotate(0.8deg); }
        }

        /* Star glow animation */
        @keyframes starsGlow {
            0% { opacity: 0.6; filter: brightness(1) blur(0px); }
            50% { opacity: 0.9; filter: brightness(1.3) blur(0.5px); }
            100% { opacity: 0.8; filter: brightness(1.1) blur(0px); }
        }

        .container {
            position: relative;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
            z-index: 3;
        }

        .header {
            position: absolute;
            top: 10px;
            left: 25%;
            z-index: 10;
        }

        .title {
            font-family: "Orbitron", sans-serif;
            font-size: 1.5rem;
            font-weight: 200;
            letter-spacing: 12px;
            color: #ffffff;
            margin-bottom: 8px;
            opacity: 0.95;
        }

        .subtitle {
            font-size: 0.875rem;
            font-weight: 400;
            letter-spacing: 4px;
            color: #64748b;
            opacity: 0.7;
        }

        /* Celestial section positioning */
        .celestial-section {
            position: absolute;
            top: 50%;
            left: -240px;
            transform: translateY(-50%);
            width: 600px;
            height: 600px;
            z-index: 5;
        }

        /* Celestial body positioning */
        .celestial-body {
            position: absolute;
            top: 0;
            left: 0;
            width: 600px;
            height: 600px;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Celestial Images with automatic edge darkening */
        .celestial-image {
            width: 100%;
            height: 100%;
            position: relative;
            border-radius: 50%;
            overflow: hidden;
        }

        .celestial-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
            box-shadow: 
                inset 0 0 80px rgba(0, 0, 0, 0.4),
                inset 0 0 120px rgba(0, 0, 0, 0.2),
                0 0 60px rgba(0, 0, 0, 0.3);
            
            filter: drop-shadow(0 0 40px rgba(255, 180, 0, 0.6)) 
                    drop-shadow(0 0 80px rgba(255, 120, 0, 0.3))
                    drop-shadow(0 0 120px rgba(255, 80, 0, 0.2));
            background: radial-gradient(
                ellipse at 30% 30%,
                rgba(255, 255, 255, 0.3) 0%,
                transparent 70%);    

    
        }

        .celestial-image img.active {
            opacity: 1;
        }

        /* Additional edge darkening overlay */
        .celestial-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: 
        radial-gradient(
            ellipse at 25% 25%,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 200, 100, 0.2) 30%,
            transparent 60%
        ),
        radial-gradient(
            circle at center,
            transparent 40%,
            rgba(0, 0, 0, 0.1) 60%,
            rgba(0, 0, 0, 0.4) 85%,
            rgba(0, 0, 0, 0.7) 100%
        );
    
            pointer-events: none;
            z-index: 1;
        }

        /* Orbit line */
        .orbit-line {
            position: absolute;
            top: -23px;
            right: -50px;
            width: 646px;
            height: 646px;
            border: 2px solid rgba(148, 163, 184, 0.6);
            border-radius: 50%;
            border-left: none;
            border-top: none;
            background: none;
        }

        .orbit-line::before {
            content: '';
            position: absolute;
            top: -5px;
            left: -5px;
            width: 12px;
            height: calc(100% + 10px);
            background: linear-gradient(
                to bottom,
                transparent 0%,
                rgba(148, 163, 184, 0.2) 20%,
                rgba(148, 163, 184, 0.4) 50%,
                rgba(148, 163, 184, 0.2) 80%,
                transparent 100%
            );
            border-radius: 6px;
            animation: orbitGlow 3s ease-in-out infinite alternate;
        }

        @keyframes orbitGlow {
            from { 
                opacity: 0.6;
                box-shadow: 0 0 15px rgba(148, 163, 184, 0.3);
            }
            to { 
                opacity: 1;
                box-shadow: 0 0 25px rgba(148, 163, 184, 0.5);
            }
        }

        /* Navigation buttons */
        .nav-button {
            position: absolute;
            width: 50px;
            height: 50px;
            background: rgba(15, 23, 42, 0.8);
            border: 1px solid rgba(100, 116, 139, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(20px);
            transform: translateX(-50%);
            z-index: 10;
        }

        .nav-button:hover {
            border-color: rgba(148, 163, 184, 0.6);
            background: rgba(30, 41, 59, 0.9);
            transform: translateX(-50%) scale(1.1);
            box-shadow: 0 0 20px rgba(148, 163, 184, 0.3);
        }

        .nav-button.active {
            border-color: rgba(148, 163, 184, 0.9);
            background: rgba(51, 65, 85, 0.95);
            box-shadow: 0 0 30px rgba(148, 163, 184, 0.4);
            transform: translateX(-50%) scale(1.15);
        }

        .nav-button svg {
            width: 20px;
            height: 20px;
            stroke: #94a3b8;
            fill: none;
            stroke-width: 1.5;
        }

        /* Button positions */
        .btn-about { top: 128px; left: 93%; }
        .btn-files { top: 220px; left: 99%; }
        .btn-team { top: 316px; left: 100%; }
        .btn-projects { bottom: 185px; left: 97%; }
        .btn-contact { bottom: 98px; left: 89%; }

        /* Content area */
        .content-area {
            position: absolute;
            right: 40px;
            top: 50%;
            transform: translateY(-50%);
            max-width: 700px;
            max-height: 700px;
            z-index: 8;
            overflow: hidden;
        }

        .content-area.needs-scroll {
            overflow-y: auto;
        }

        .content-area::-webkit-scrollbar {
            width: 6px;
            background: transparent;
        }

        .content-area::-webkit-scrollbar-thumb {
            background: rgba(51, 65, 85, 0.6);
            border-radius: 3px;
            transition: background 0.3s ease;
        }

        .content-area::-webkit-scrollbar-thumb:hover {
            background: rgba(71, 85, 105, 0.8);
        }

        .content-wrapper {
            display: flex;
            width: 500%;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .content-section {
            flex: 0 0 20%;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            padding: 130px 23px;
            box-sizing: border-box;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .content-section.active {
            opacity: 1;
            transform: translateY(0);
        }

        .section-content h2 {
            font-family: "Orbitron", sans-serif;
            color: #f8fafc;
            font-size: 1.5rem;
            font-weight: 200;
            margin-bottom: 24px;
            letter-spacing: 2px;
            opacity: 0;
            transform: translateY(20px);
            animation: wave-in 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
        }

        .section-content p {
            color: #94a3b8;
            line-height: 1.8;
            margin-bottom: 24px;
            font-size: 1.1rem;
            opacity: 0;
            transform: translateY(20px);
            animation: wave-in 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
        }

        .section-content p:nth-child(3) { animation-delay: 0.5s; }
        .section-content p:nth-child(4) { animation-delay: 0.6s; }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
            margin-top: 32px;
            opacity: 0;
            transform: translateY(20px);
            animation: wave-in 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
        }

        .team-member {
            background: rgba(30, 41, 59, 0.4);
            border: 1px solid rgba(51, 65, 85, 0.6);
            border-radius: 8px;
            padding: 24px;
            text-align: center;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .team-member:hover {
            transform: translateY(-5px);
            border-color: rgba(100, 116, 139, 0.8);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .member-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
}

        .member-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin: 0 auto 16px;
            background: linear-gradient(135deg, #334155, #475569);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
            font-size: 20px;
            font-weight: 500;
        }

        .team-member h4 {
            font-family: "Orbitron", sans-serif;
            color: #e2e8f0;
            font-size: 1.1rem;
            font-weight: 400;
            margin-bottom: 8px;
        }

        .team-member p {
            color: #64748b;
            font-size: 0.9rem;
            margin-bottom: 16px;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 12px;
        }

        .social-links a {
            width: 36px;
            height: 36px;
            background: rgba(51, 65, 85, 0.6);
            border: 1px solid rgba(71, 85, 105, 0.8);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: #94a3b8;
            font-size: 12px;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            border-color: #94a3b8;
            background: rgba(71, 85, 105, 0.8);
            transform: translateY(-2px);
        }

        .project-list li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-list li a:hover {
    color: #e2e8f0;
}

        .project-list {
            list-style: none;
            margin: 32px 0;
            opacity: 0;
            transform: translateY(20px);
            animation: wave-in 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
        }

        .project-list li {
            color: #94a3b8;
            padding: 16px 0;
            border-bottom: 1px solid rgba(51, 65, 85, 0.5);
            font-size: 1.1rem;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
        }

        .project-list li:hover {
            color: #e2e8f0;
            padding-left: 20px;
        }

        .project-list li:before {
            content: "→";
            margin-right: 16px;
            color: #64748b;
            transition: all 0.3s ease;
        }

        .project-list li:hover:before {
            color: #94a3b8;
        }

        .link-button {
            display: inline-block;
            padding: 12px 24px;
            background: transparent;
            border: 1px solid rgba(100, 116, 139, 0.5);
            color: #94a3b8;
            text-decoration: none;
            border-radius: 6px;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            font-size: 0.9rem;
            margin-top: 20px;
            letter-spacing: 1px;
            opacity: 0;
            transform: translateY(20px);
            animation: wave-in 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
        }

        .link-button:hover {
            border-color: #94a3b8;
            background: rgba(100, 116, 139, 0.1);
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        /* Content positioning */
        .content-wrapper[data-active="0"] { transform: translateX(0%); }
        .content-wrapper[data-active="1"] { transform: translateX(-20%); }
        .content-wrapper[data-active="2"] { transform: translateX(-40%); }
        .content-wrapper[data-active="3"] { transform: translateX(-60%); }
        .content-wrapper[data-active="4"] { transform: translateX(-80%); }


.footer {
    position: fixed;
    bottom: 4px;
    left: 50%;
    width: 350px;
    background: rgb(10 14 20 / 23%);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgb(58 61 64 / 19%); 
    z-index: 15;
    padding: 0px 0;
}


.footer-content {
    text-align: center;
}

.footer-content p {
    font-family: "Orbitron", sans-serif;
    color: #94a3b8;
    font-size: 0.55rem;
    letter-spacing: 1px;
    margin: 0;
}

.designer-link {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.designer-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.designer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 50%;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.designer-link:hover::after {
    width: 100%;
}

/* Mobile responsive for footer */
@media screen and (max-width: 768px) {
    .footer {
        padding: 12px 10px;
    }
    
    .footer-content p {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}     

   /* Mobile devices (phones) */
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    .container {
        overflow-y: auto;
    }
    
    .celestial-section {
        position: relative;
        left: 25%;
        top: 35px;
        transform: translateX(-50%);
        width: 450px;
        height: 450px;
    }
    
    .celestial-body {
        left: 10%;
        width: 400px;
        height: 400px;
    }
    
    .orbit-line {
        top: -20px;
        width: 450px;
        height: 450px;
    }
    
    /* Navigation buttons repositioning */
    .btn-about { top: 74px; left: 90%; }
    .btn-files { top: 140px; left: 98%; }
    .btn-team { top: 215px; left: 100%; }
    .btn-projects { bottom: 110px; left: 95%; }
    .btn-contact { bottom: 40px; left: 85%; }
    
    .content-area {
        position: relative;
        top: 20px;
        right: auto;
        left: 0;
        transform: none;
        max-width: 100%;
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .title {
        font-size: 1.2rem;
        letter-spacing: 8px;
    }
    
    .subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .header {
        position: relative;
        top: 20px;
        left: 0;
        text-align: center;
        width: 100%;
    }
}


/* Tablet devices */
@media screen and (min-width: 769px) and (max-width: 1024px) {
body {
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    .container {
        overflow-y: auto;
    }
    
    .celestial-section {
        position: relative;
        left: 15%;
        top: 35px;
        transform: translateX(-50%);
        width: 600px;
        height: 600px;
    }
    
    .celestial-body {
        left: 10%;
        width: 530px;
        height: 530px;
    }
    
    .orbit-line {
        top: -25px;
        width: 600px;
        height: 600px;
    }
    
    /* Navigation buttons repositioning */
    .btn-about { top: 90px; left: 90%; }
    .btn-files { top: 190px; left: 98%; }
    .btn-team { top: 285px; left: 100%; }
    .btn-projects { bottom: 160px; left: 96%; }
    .btn-contact { bottom: 70px; left: 87%; }
    
    .content-area {
        position: relative;
        top: 20px;
        right: auto;
        left: 0;
        transform: none;
        max-width: 100%;
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .title {
        font-size: 1.2rem;
        letter-spacing: 8px;
    }
    
    .subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .header {
        position: relative;
        top: 20px;
        left: 160px;
        text-align: center;
        width: 100%;
    }
}

/* Large tablets and small laptops */
@media screen and (min-width: 1025px) and (max-width: 1366px) {
    .content-area {
        max-width: 600px;
    }
}
