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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #333;
}

a,
.btn {
    transition: all 3000ms ease;
}


/* Navigation Bar */
#desktop-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 1.5rem 10rem;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Hamburger */
.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #ff5400;
  }
.mobile-welcome-text {
    display: none;
  } 
.logo {
    font-size: 2rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    animation: fadeInLeft 1.5s ease-in-out forwards;
}

.nav-welcome-text {
    font-size: 2rem;
    font-weight: 700;
    white-space: nowrap;
    animation: fadeInLeftOut 5s ease-in-out infinite;
  }

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s ease-in-out;
}

.nav-links li a:hover {
    color: #ff5400;
}

.projects-tab .dropdown, .contact-tab .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem;
    min-width: 250px;
    z-index: 1000;
}

.projects-tab:hover .dropdown, .contact-tab:hover .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 0.8rem 1rem;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.dropdown a:hover {
    color: #ff5400;
}

/* Profile Section */
#profile {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    text-align: left;
    padding: 2rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.profile__content {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 5rem;
}

.profile__pic-container img {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.profile__text {
    max-width: 500px;
}

.profile__text .title {
    font-size: 3rem;
    font-weight: 700;
}

.profile__text p {
    font-size: 1.4rem;
    font-weight: 400;
    color: #666;
}

.btn-container {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    border: 2px solid #333;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    transition: all 0.1s ease-in-out;
}

.btn-color-1:hover,
.btn-color-2:hover {
    background: #333;
    color: #fff;
}

#socials-container {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.icon {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease-in-out;
}

.icon:hover {
    transform: scale(1.1);
}



/* About Section */
#about {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    background: transparent;
}

/* About Section Layout */
#about {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    background: transparent;
}

.about-section-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    gap: 2rem;
}

.about__pic-container {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.about__pic-container img {
    width: 400px;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.details-container {
    flex: 1.8;
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: left;
    margin-right: 0;
}

/* Skills */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    list-style: none;
    padding: 0;
}

.skills-list li {
    background: #fff;
    color: #080300;
    border: 2px solid #ffffff;
    font-size: .8rem;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}



/* Education Section */

.education {
    flex: 1.6;
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: left;
    margin-left: 1rem;
}



/*experiance*/
#experience {
    padding: 4rem 2rem;
}

.experience-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    height: 70vh;
    align-items: flex-start;
}

.sidebar {
    width: 300px;
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    height: 60vh;
    display: flex;
    flex-direction: column;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.sidebar ul li {
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar ul li:hover {
    background-color: #e0e0e0;
}

.sidebar ul li.active {
    background-color: #ff5400;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 84, 0, 0.5);
}

.content {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    height: 60vh;
}

.content h2 {
    margin-bottom: 1rem;
}

.content p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.content strong {
    font-weight: bold;
    color: #333;
}

.content .details {
    margin-bottom: 1rem;
    text-align: left;
}

.content .details p {
    margin: 0.3rem 0;
}

.content .description {
    margin-top: 1rem;
    line-height: 1.6;
}


/*Project*/
#project {
    position: relative;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 1400px;
    height: 70vh;
    left: 1%;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    height: 80vh;
    margin: auto;
    overflow: hidden;
    padding: 0 50px;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease-in-out;
    width: 2300px;
}

.color-container {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: calc(100% / 3 - 1rem);
    transition: all 0.3s ease-in-out;
    text-align: center;
    min-height: 500px;
}

.color-container:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-img {
    border-radius: 15px;
    width: 250px;
    height: 230px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

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

.project-title {
    margin: 1rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    text-align: center;
    max-width: 90%;
}

.btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.project-btn {
    color: black;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    background: none;
    transition: all 0.3s ease-in-out;
}

.project-btn:hover {
    background: black;
    color: white;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 20px 25px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

#project:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: white;
    color: black;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Styling for the contact boxes */
#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    height: auto;
    text-align: center;
}

/* Contact Box Styling */
.contact-info-upper-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 2rem;
    border: 0.1rem solid rgb(200, 200, 200);
    background: #fff;
    padding: 1.5rem 2rem;
    width: 60%;
    min-height: 90px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
    transition: all 0.3s ease-in-out;
    margin-bottom: 2.5rem;
}

.contact-info-upper-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.contact-info-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
}

.contact-info-container a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info-container a:hover {
    color: #0077b5;
}


/* Footer Section */
.footer {
    height: auto;
    margin: 3rem 1rem 1rem;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1.5rem;
}

.footer-nav a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #ff5400;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}


.section__text__p1 {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.Title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-top: 0.5rem;
}

html {
    scroll-behavior: smooth;
}

a,
.btn {
    transition: all 3000ms ease;
}



/* Scroll to Top Button Container */
#scrolltopcontainer {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 90%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.5s ease-in-out;
}

#scrolltopcontainer .arrow {
    font-size: 28px;
    color: #ffffff;
    position: absolute;
    z-index: 10;
}

#scrollprogress {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 90%;
    background: conic-gradient(
        #ff5733 0deg, 
        #ffffff 0deg
    );
    transition: background 0.3s ease-in-out;
}

#scrolltopcontainer:hover {
    transform: scale(1.1);
}



@media screen and (max-width: 768px) { 
    
    #desktop-nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 2rem;
      }
    
      .nav-welcome-text {
        display: none;
      }
    
      .mobile-welcome-text {
        display: block;
        font-size: 1.2rem;
        font-weight: 600;
        color: #ff5400;
        animation: fadeInLeftOut 5s ease-in-out infinite;
        text-align: center;
        width: 100%;
        margin: 1rem 0;
      }
    
      .hamburger {
        display: flex;
        margin-left: auto;
      }
    
      .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1rem;
      }
    
      .nav-links.open {
        display: flex;
      }
    
      .nav-links li {
        width: 100%;
      }
    
      .dropdown {
        position: static;
        box-shadow: none;
        background: transparent;
        padding-left: 1rem;
      }
    }
    
      
      .profile__content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
      }
      
      .profile__pic-container img {
        width: 240px;
        height: 240px;
      }
      
      .profile__text .title {
        font-size: 2rem;
      }
      
      .profile__text p {
        font-size: 1rem;
      }
      
      .about-section-container {
        flex-direction: column;
        text-align: center;
      }
      
      .about__pic-container img {
        width: 100%;
        height: auto;
      }
      
      .details-container {
        margin: 0;
        padding: 1rem;
      }
      .education {
        margin: 0;
        width: 100%;
        padding: 1rem;
      }
      .experience-container {
        flex-direction: column;
        height: auto;
      }
      
      .sidebar {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
      }
      
      .content {
        height: auto;
        padding: 1rem;
      }
      .carousel-track {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
      }
      
      .color-container {
        flex: 0 0 80%;
        scroll-snap-align: start;
        min-width: 80%;
      }
      
      .carousel-btn {
        display: none;
      }
      .contact-info-upper-container {
        flex-direction: column;
        width: 90%;
        padding: 1rem;
      }
      
      .contact-info-container {
        flex-direction: column;
        text-align: center;
      }
      .footer-nav {
        flex-direction: column;
        gap: 1rem;
      }
                                        



      @keyframes fadeInLeftOut {
        0% {
          opacity: 0;
          transform: translateX(-50px);
        }
        40%, 60% {
          opacity: 1;
          transform: translateX(0);
        }
        100% {
          opacity: 0;
          transform: translateX(50px);
        }
      }