
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0E0616;
    color: #FFFFFF;
    line-height: 1.6;
}


header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav.Bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(26, 11, 46, 0.5);
    backdrop-filter: blur(10px);
}

nav.Bar .logo img {
    width: 50px;
    border-radius: 50%;
}

nav.Bar .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav.Bar .nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav.Bar .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background-color: #A362FF;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav.Bar .nav-links a:hover::after {
    transform: scaleX(1);
}

nav.Bar .nav-links a:hover {
    color: #A362FF;
}

nav .menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #FFFFFF;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav.Bar {
        padding: 15px;
        flex-direction: column;
    }

    nav.Bar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: rgba(20, 20, 20, 0.95);
        border-radius: 10px;
        padding: 15px;
        width: 200px;
        text-align: center;
    }

    nav.Bar .nav-links.show {
        display: flex;
    }

    nav .menu-toggle {
        display: block;
    }
}


.Top-left {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 50px;
    margin-top: 80px;
}

.Top-left img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

.Top-left .Img.words {
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.Top-left p {
    font-size: 1.5rem;
    color: #A9A9A9;
    margin-bottom: 15px;
}

.Top-left h3 {
    color: #A362FF;
    font-size: 1.2rem;
}

.Core {
    background: radial-gradient(circle at center, rgba(50, 15, 133, 0.3) 0%, transparent 70%);
    padding: 50px;
    text-align: center;
}

.Core h1 {
    color: #A362FF;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.Core h3 {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.Core p {
    max-width: 800px;
    margin: 0 auto;
    color: #A9A9A9;
}


.TechStack {
    padding: 50px;
    text-align: center;
}

.TechStack h1 {
    color: #A362FF;
    margin-bottom: 20px;
}

.TechStack h2 {
    color: #FFFFFF;
    margin-bottom: 30px;
    font-size: 1.2rem;
}

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


.Featured.Project {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px;
}

.Featured.Project h3 {
    color: #A362FF;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.Featured.Project h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.Featured.Project p {
    max-width: 600px;
    color: #A9A9A9;
    line-height: 1.6;
    margin-bottom: 20px;
}


.Project-Container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.Project-Card {
    background: rgba(26, 11, 46, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease-in-out;
}

.Project-Card:hover {
    transform: scale(1.05);
}

.Project-Card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.Project-Card img:hover {
    transform: scale(1.05);
}

.Project-Card button {
    background-color: #A362FF;
    color: #11071F;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.Project-Card button:hover {
    background-color: #8532FF;
}

@media (max-width: 768px) {
    .Project-Container {
        flex-direction: column;
        align-items: center;
    }
}


footer {
    background-color: #1A0B2E;
    padding: 50px;
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 30px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    width: 400px;
}

.contact-left-title h2 {
    color: #A362FF;
    margin-bottom: 10px;
}

.contact-left-title hr {
    border: 1px solid #A362FF;
    margin-bottom: 20px;
}

.contact-inputs {
    background-color: #11071F;
    color: #FFFFFF;
    border: none;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.contact-right img {
    max-width: 100%;
    border-radius: 10px;
}

footer button {
    background-color: #11071F;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

footer button:hover {
    background-color: #1E1229;
}

.Socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.Socials img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.Socials img:hover {
    transform: scale(1.1);
}

footer p {
    margin-top: 20px;
    color: #A9A9A9;
}


@media (max-width: 768px) {
    nav.Bar {
        padding: 15px;
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }

    .Calculator, .Valentine-left {
        flex-direction: column;
    }

    .Calculator img, .Valentine-left img {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

.tech-ribbon {
    width: 100%;
    overflow: hidden;
    background: #11071F;
    padding: 15px 0;
    white-space: nowrap;
    position: relative;
}

.ribbon-track {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: scroll 12s linear infinite;
}


.ribbon-track img {
    width: 100px;  
    height: 100px; 
    object-fit: contain; 
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.5));
}


@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .contact-left {
        width: 100%;
        padding: 0 10px;
    }

    .contact-left-title h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .contact-inputs {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
        border-radius: 8px;
    }

    footer button {
        width: 100%;
        padding: 12px;
        font-size: 1.1rem;
        border-radius: 8px;
    }
}
.cursor {
    font-weight: bold;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}
