/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

body {
   
    font-family: 'Orbitron', sans-serif;



}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(192, 44, 225);
    font-size: 3rem;
    font-family: 'Playfair Display', serif;


  opacity: 1;
    transition: opacity 1s ease-out;
    z-index: 1000;
}
.fade-out {
    opacity: 0;
    pointer-events: none;
}
.animate-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards, flip 1s ease-in-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes flip {
    from {
        transform: rotateY(90deg);
        opacity: 0;
    }
    to {
        transform: rotateY(0deg);
        opacity: 1;
    }
}




body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* Light & Dark Mode */
.light-mode {
    background-color: white;
    color: black;
}

.dark-mode {
    background-color: black;
    color: white;
}



/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    z-index: 1000;
    background-color: #1a1a1a;
    color: white;
}

.light-mode .navbar {
    background-color: #f8f8f8;
    color: black;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    font-size: 18px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #4da6ff;
}

/* Theme Toggle Button */
#themeToggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

#themeToggle:hover {
    color: #4da6ff;
}

.light-mode #themeToggle {
    color: black;
}

/* Home Section */
#home {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(to right, #696969, #607080);
    color: white;
    padding: 50px;
}

#home {
    opacity: 0;
    animation: fadeBlink 1.5s ease-in-out forwards;
}

@keyframes fadeBlink {
    0% { opacity: 0; }
    50% { opacity: 1; }
    75% { opacity: 0; }
    100% { opacity: 1; }
}


/* Home Container (Fixed Image & Text Layout) */
.home-container {
    display: flex;
    align-items: center; /* Image aur text ko ek line me align karega */
    justify-content: center;
    gap: 50px; /* Image aur text ke beech ka gap (thoda bada diya) */
    padding: 50px 20px;
    max-width: 900px;
    width: 100%;
}

/* Home Container */
.home-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 50px 20px;
    max-width: 900px;
    width: 100%;
}

.resume-btn {
    display: inline-block;
    background-color: #ff5733;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: 0.3s;
}

.resume-btn:hover {
    color: wheat;
    background-color:#402929;
}


/* Profile Picture - Vertical Image with Animated Border */
.profile-pic {
    width: 180px; /* Vertical rectangle */
    height: 250px;
    object-fit: cover;
    border-radius: 12px; /* Slight round corners */
    border: 4px solid transparent; /* Transparent border initially */
    position: relative;
    transition: 0.4s ease-in-out;
}

.profile-pic:hover {
    border-image-source: linear-gradient(45deg, #402929, #d7b4970b, #7d783d, #324b32, #3b6562, #6f95bf, #5f3484, #793a79);
    border-image-slice: 1;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.6), 0px 0px 25px rgba(40, 19, 49, 0.7);
    transform: scale(1.05); /* Slight zoom effect */
}

/* Bio Content */
.bio-content {
    max-width: 400px;
    text-align: left;
}

.bio-content h1 {
    margin: 0;
    font-size: 2rem;
}

.bio {
    font-size: 1.1rem;
    color: #ccc;
}



 #about {
    text-align: center;
    padding: 50px 20px;
    height: 100vh;
    background: linear-gradient(to right, #1e1e1e, #333);
    color: white;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column; /* यह कंटेंट को ऊपर-नीचे व्यवस्थित करेगा */
    gap: 20px; /* टेक्स्ट और स्किल्स के बीच स्पेस */
}

.about-text {
    font-size: 18px;
    color: #ddd;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.tech-marquee {
    width: 100%;
    overflow: hidden;
}


/* Marquee Effect */
.tech-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    animation: scroll 10s linear infinite;
    gap: 40px;
}

.marquee-content img {
    width: 80px; /* Logo size */
    height: 80px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); /* Glowing Effect */
    transition: transform 0.3s ease-in-out;
}

.marquee-content img:hover {
    transform: scale(1.2);
}

/* Scrolling animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .marquee-content img {
        width: 60px;
        height: 60px;
    }
} 


/* Projects Section */
#projects {
    background: linear-gradient(to right, #696969, #607080);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px;
}

.project-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.project {
    background: #1e1e1e;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
}

.light-mode .project {
    background: #f8f8f8;
    color: black;
}

/* Contact Section */
#contact {
    background: linear-gradient(to right, #1e1e1e, #333);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-link {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: inherit;
}

.social-link:hover {
    color: #0073b1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .home-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .bio-content {
        max-width: 100%;
        text-align: center;
    }

    .profile-pic {
        width: 150px;
        height: 150px;
    }

    .project-list {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links a {
        display: block;
        padding: 10px;
    }
}

.back-to-top {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.back-to-top a {
    font-size: 24px;
    text-decoration: none;
    color: #79c061;
    transition: color 0.3s;
}
.back-to-top a:hover {
    color: #555;
}

footer {
    text-align: center;
    background: #222;
    color: white;
    padding: 15px;
    font-size: 16px;
    position: relative;
    width: 100%;
}

footer strong {
    color: #ff5733;
}
