:root {
    --primary: #ff073a;
    --secondary: #e22bb1;
    --dark: #0D0D0D;
    --darker: #2F2F2F;
    --text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: var(--text);
    background-color: var(--dark);
    font-size: 20px;
    overflow-x: hidden;
}

/* Particle Background */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0D0D0D;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 100;
    border-bottom: 2px solid #444;
}

.logo_img {
    max-width: 150px;
    height: auto;
}

nav {
    display: flex;
    gap: 15px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #ff073a;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

.mobile-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #0D0D0D;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.mobile-nav a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    display: block;
    transition: 0.3s;
}

.mobile-nav a:hover {
    color: #ff073a;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: #0D0D0D;
    cursor: pointer;
}

/* Flex container for logo and hamburger icon */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between logo and hamburger icon */
}
*::-webkit-scrollbar{
    
display: none; /* Hide scrollbar in Chrome/Safari */
    
}

/* footer */
footer {
    background-color: #111; /* Dark background */
    color: #fff; /* White text */
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    border-top: 2px solid #444; /* Optional border for separation */
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}
/* Home Section */
/* Home Section */
#home {
            
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home_content {
    position: relative;
    z-index: 1;
    padding: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.text1 {
    flex: 1;
    min-width: 300px;
    padding-right: 50px;
}

.text1 h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0.2em 0;
    line-height: 1.2;
}

#typing-text {
    color: var(--primary);
    display: inline-block;
    border-right: 3px solid var(--text);
    animation: blink 0.7s infinite;
}

.download {
    margin-top: 25px;
    padding: 12px 30px;
    background: var(--primary);
    border: none;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 7, 58, 0.5);
}

.download::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.download:hover::after {
    transform: translateX(100%);
}

.home_icon {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.home_icon a {
    color: var(--text);
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.home_icon a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.home_icon a:hover::after {
    width: 100%;
}

.home_icon a:nth-child(1):hover {
    color: #6e5494;
}

.home_icon a:nth-child(2):hover {
    color: #0077b5;
}

.glow-container {
    position: relative;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite, pulse 4s ease-in-out infinite alternate;
    box-shadow: 
        0 0 30px rgba(255, 7, 58, 0.5),
        0 0 60px rgba(226, 43, 177, 0.4),
        0 0 90px rgba(226, 43, 177, 0.2);
    background: radial-gradient(circle, var(--primary), var(--secondary));
    padding: 10px;
}

.main_img_glow {
    width: clamp(300px, 30vw, 450px);
    height: clamp(300px, 30vw, 450px);
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--darker);
    position: relative;
    z-index: 2;
}

/* Smoke/Vapor Effect */
.vapor {
    position: absolute;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0;
    z-index: 1;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0% { box-shadow: 
            0 0 30px rgba(255, 7, 58, 0.5),
            0 0 60px rgba(226, 43, 177, 0.4),
            0 0 90px rgba(226, 43, 177, 0.2); }
    100% { box-shadow: 
            0 0 40px rgba(255, 7, 58, 0.6),
            0 0 80px rgba(226, 43, 177, 0.5),
            0 0 120px rgba(226, 43, 177, 0.3); }
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--text); }
}

@keyframes vapor-float {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 0.6;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(var(--scale));
        opacity: 0;
    }
}

/* about section */
#about {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
  }

  #about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./Image/dark-bg.jpg') no-repeat center center / cover;
    z-index: -2;
  }

  #about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13,13,13,0.9) 0%, rgba(13,13,13,0.7) 100%);
    z-index: -1;
  }

  .about-container {
    max-width: 1200px;
    margin: auto;
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
  }

  .about-container h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
  }

  .about-container h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
  }

  .about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
  }

  .profile-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    position: relative;
  }

  .profile-img-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 7, 58, 0.3);
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
  }

  .profile-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
  }

  .profile-img-container:hover {
    transform: perspective(1000px) rotateY(10deg);
    box-shadow: 0 15px 30px rgba(255, 7, 58, 0.5);
  }

  .profile-img-container:hover .profile-img {
    transform: scale(1.05);
  }

  .available-tag {
    color: #03a61e96;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-left: 20px;
  }

  .available-tag::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 0;
   
  }

  .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
  }

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

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

  .subtext {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
  }

  .social-icons a {
    font-size: 1.7rem;
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
  }

  .social-icons a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
  }

  .social-icons a:hover {
    color: var(--primary);
    transform: translateY(-5px);
  }

  .social-icons a:hover::after {
    width: 100%;
  }

  .contact-button {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: var(--primary);
    border: none;
    border-radius: 12px;
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  .contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
  }

  .contact-button:hover {
    background-color: #e00735;
    box-shadow: 0 5px 15px rgba(255, 7, 58, 0.5);
    transform: translateY(-3px);
  }

  .contact-button:hover::before {
    left: 100%;
  }

  .info-section {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  .text-block {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
  }

  .text-block:nth-child(1) { animation-delay: 0.4s; }
  .text-block:nth-child(2) { animation-delay: 0.5s; }
  .text-block:nth-child(3) { animation-delay: 0.6s; }
  .text-block:nth-child(4) { animation-delay: 0.7s; }
  .text-block:nth-child(5) { animation-delay: 0.8s; }
  .text-block:nth-child(6) { animation-delay: 0.9s; }

  .text-block h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text);
    position: relative;
    display: inline-block;
  }

  .text-block h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
  }

  .text-block p {
    line-height: 1.6;
    font-size: 1rem;
    color: #ddd;
  }

  .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .tag {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .tag:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 7, 58, 0.3);
  }

  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
  }

  /* Floating particles */
  .particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 7, 58, 0.3);
    filter: blur(2px);
    z-index: -1;
  }

/* skills section */
  .compute_language {
    padding: 80px 40px;
    color: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .compute_language h1 {
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
  }

  .compute_language h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
  }

  .marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 150px;
  }

  .marquee::before,
  .marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
  }

  .marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--dark), transparent);
  }

  .marquee::after {
    right: 0;
    background: linear-gradient(90deg, transparent, var(--dark));
  }

  .skills-track {
    display: flex;
    gap: 40px;
    animation: scroll-left 20s linear infinite;
    width: max-content;
    will-change: transform;
  }

  .skills {
    min-width: 140px;
    height: 120px;
    background-color: var(--darker);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .skills:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(255, 7, 58, 0.4);
  }

  .skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
  }

  .skills i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary);
    transition: all 0.3s ease;
  }

  .skills:hover i {
    transform: scale(1.2);
    color: var(--secondary);
  }

  .skills p {
    margin: 0;
    font-weight: 500;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  /* Glow effect for skills on hover */
  .skills:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 20px rgba(255, 7, 58, 0.3);
    animation: pulse 2s infinite;
    z-index: -1;
  }

  @keyframes pulse {
    0% {
      box-shadow: inset 0 0 20px rgba(255, 7, 58, 0.3);
    }
    50% {
      box-shadow: inset 0 0 30px rgba(255, 7, 58, 0.5);
    }
    100% {
      box-shadow: inset 0 0 20px rgba(255, 7, 58, 0.3);
    }
  }

/* projects section */
  #portfolio {
    
    padding: 60px 20px;
    font-family: 'Outfit', sans-serif;
  }

  .portfolio_content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }

  .project_card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    overflow: hidden;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    position: relative;
  }

  .project_card:hover {
    transform: translateY(-5px);
  }

  .project_image_container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
  }

  .project_image {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
  }

  .project_card:hover .project_image {
    transform: scale(1.05);
  }

  .project_title_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 10px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    opacity: 0;
  }

  .project_card:hover .project_title_overlay {
    transform: translateY(0);
    opacity: 1;
  }

  .project_title {
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
    color: #ffffff;
  }

  .project_details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

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

  .tag {
    background-color: #2e2e2e;
    color: #ff073a;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
  }

  .tag:hover {
    background-color: #ff073a;
    color: white;
  }

  .project_link {
    color: #ff073a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .project_link:hover {
    color: #ff3d3d;
  }

  .project_link i {
    font-size: 0.9rem;
    transition: transform 0.3s;
  }

  .project_link:hover i {
    transform: translateX(3px);
  }

  #portfolio h1 {
    text-align: center;
    color: #ff073a;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
  }

  #portfolio h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff073a;
  }

  
/* contact section */
#contact {
    padding: 50px 10%;
    text-align: center;
}

.contact_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: auto;
}

.contact_content > div {
    flex: 1;
    min-width: 300px;
}

/* Heading */


/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    
    
}

input, textarea {
    width: 90%;
    padding: 12px;
    border: 2px solid #ff073a;
    border-radius: 5px;
    font-size: 1em;
    transition: 0.3s ease-in-out;
}

input:focus, textarea:focus {
    border-color: #ff073a;
    outline: none;
    box-shadow: 0px 0px 10px rgba(52, 152, 219, 0.3);
}

input[type="submit"] {
    background: #ff073a;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-size: 1.2em;
   
    
}

input[type="submit"]:hover {
    background: #2F2F2F;
}

/* Contact Icons */
.icon {
    text-align: left;
    width: 90%;

}

.icon a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
    color: #ff073a;
    text-decoration: none;
    margin-bottom: 15px;
    transition: 0.3s ease-in-out;
}

.icon a:hover {
    color: #ff073a;
    transform: scale(1.05);
}

.icon i, .icon box-icon {
    font-size: 1.8em;
    color: #ff073a;
}



@media (max-width: 600px) {  
    /* Styles for most smartphones */
    nav {
        display: none; /* Hide desktop menu on small screens */
    }

    .hamburger {
        display: block; /* Show hamburger menu */
    }
    /* Home Section */
    .home_content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .home_content {
        padding: 50px 20px;
        flex-direction: column;
        text-align: center;
    }

    .text1 {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .home_icon {
        justify-content: center;
    }

    .glow-container {
        margin-top: 30px;
    }
    .text1 {
        order: 2; /* Move text below the image */
    }

    .text2 {
        order: 1; /* Move image above the text */
    }

    

    /* about me */
    .about-content {
        flex-direction: column;
        align-items: center;
    }
  
    .profile-card {
        max-width: 100%;
    }


    /* skills section */
    .compute_language {
        padding: 60px 20px;
    }
  
    .compute_language h1 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
  
    .marquee {
        height: 120px;
    }
  
    .skills {
        min-width: 100px;
        height: 100px;
    }
  
    .skills i {
        font-size: 2rem;
    }
    

    /* contact me */
    .icon{
        display: flex;
        gap: 2px;
        justify-content: center;
    }
    .icon_text{
        display: none;
    }
    .projects {
        flex-direction: row;
        justify-content: space-between;
    }
    .project-info {
        flex: 1;
    }
    .media-container {
        flex: 1;
    }
}