:root {
    --bg-primary: #074779;      
    --bg-secondary: #052635;    
    --primary: #ff8c42;         
    --text-primary: #fdecd0;    
    --text-secondary: #b08c6e;  
    --hover-color: #ff6d1285;   
}

body {
    background-color: #0a192f;
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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


header {
    background-color: hsla(216, 100%, 12%, 0.851);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.header-icons {
    display: flex;
    gap: 20px;
}

.header-icons a {
    color: #ff8c42;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.header-icons a:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

nav {
    flex-grow: 1;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

nav ul li {
    margin-left: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

nav ul li:nth-child(1) { animation-delay: 0.1s; }
nav ul li:nth-child(2) { animation-delay: 0.2s; }
nav ul li:nth-child(3) { animation-delay: 0.3s; }
nav ul li:nth-child(4) { animation-delay: 0.4s; }
nav ul li:nth-child(5) { animation-delay: 0.5s; }

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

nav ul li a {
    color: #ff8c42;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 140, 66, 0.1);
    border-radius: 5px;
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

nav ul li a:hover {
    color: #ff8c42;
}

nav ul li a:hover::before {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.3);
}

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

    .header-icons {
        margin-bottom: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }
}



#resume-button {
    margin: 0;
    color:#f67e34 ;
}

.btn-resume {
    background-color: #a7acb4;
    color: #f67e34;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-resume:hover {
    background-color: rgba(255, 140, 66, 0.1);
}

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

    .resume-button {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}


main {
    padding-top: 60px;
    margin: 0;
    border-bottom: none;
    background-color: #0a192f;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    min-height: calc(100vh - 60px);
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.hero-content {
    max-width: 60%;
    position: relative;
    z-index: 2;
}

.hero-content h1,
.hero-content .highlight,
.hero-image {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content h1 {
    color: var(--text-primary);
}

.hero-content .highlight {
    display: inline-block;
    animation-delay: 0.6s;
}

.hero-image {
    width: 300px !important;
    height: 330px !important; 
    overflow: hidden;
    position: relative;
    border-radius: 40px;
    margin-left: 0%;
    box-shadow: 0 5px 15px rgba(0, 216, 166, 0.3);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display:;
    position: absolute;
    animation: subtleDance 4s ease-in-out infinite;
}

.hero-image:hover {
    box-shadow: 0 8px 20px rgb(248, 149, 10);
}

.hero-image:hover img {
    animation: danceImage 1s ease-in-out infinite;
}

@keyframes subtleDance {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-5px) rotate(1deg) scale(1.02);
    }
    50% {
        transform: translateY(3px) rotate(-1deg) scale(1.01);
    }
    75% {
        transform: translateY(-3px) rotate(0.5deg) scale(1.015);
    }
}


h1, h2, h3 ,h4 ,h5{
    color: #ccd6f6;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

h4 {
    font-size: 1.5rem;
    margin-top: auto;
    opacity: 1 !important;
}

.hero-content p {
    color: #8892b0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1rem 0;
    opacity: 1 !important;
}

.highlight {
    color: var(--primary);
}

.section {
    padding: 4rem 10%;
    margin: 0;
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    transform: none !important;
}

.experience-item, .project-item {
    background-color: #172a45;
    border-radius: 5px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item:hover, .project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1);
}

ul {
    padding-left: 20px;
}

footer {
    background-color: #0a192f;
    color: #8892b0;
    text-align: center;
    padding: 1rem;
    margin-top: 0;
    position: relative;
    z-index: 1;
    border-top: none;
}

a {
    color: #64ffda;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin-right: 1rem;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #64ffda;
    color: #0a192f;
}

.btn-secondary {
    border: 2px solid #64ffda;
    color: #64ffda;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

#about p {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-image {
        width: 100% !important;
        height: auto !important;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }
}


.fade-in {
    opacity: 1 !important;
    transform: none !important;
}

.fade-in.visible {
    opacity: 1 !important;
    transform: none !important;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-stagger > * {
    opacity: 1;
    transform: translateY(0px);
   
}

.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }

.fade-in-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-stagger > * {
    transition-delay: 0s !important;
}

.section-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.stagger-item {
    opacity: 1 !important;
    transform: none !important;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in:not(.visible), .stagger-item:not(.visible) {
    transition: none;
}


.section {
    opacity: 1 !important;
    transform: none !important;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    opacity: 1 !important;
    transform: none !important;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

#contact .content-wrapper p {
    margin-bottom: 10px;
}

#contact .content-wrapper a {
    color: #64ffda;
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact .content-wrapper a:hover {
    color: #ffffff;
}

.section:not(.visible),
.fade-in:not(.visible),
.stagger-item:not(.visible) {
    transition: none;
}



#skills {
    background-color: #0a192f;
    padding: 4rem 10%;
    opacity: 1 !important;
}

.skills-container {
    display: flex;
    overflow-x: hidden;
    white-space: nowrap;
    padding: 20px 0;
    gap: 20px;
    scroll-snap-type: x mandatory;
    position: relative;
}

.skill-box {
    flex: 0 0 auto;
    width: 150px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 6px rgba(100, 255, 218, 0.1);
    scroll-snap-align: start;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-box img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.skill-box h3 {
    color: #64ffda;
    margin-bottom: 10px;
    font-size: 1rem;
}

.skill-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

@media (max-width: 768px) {
    .skills-container {
        flex-direction: column;
    }

    .skill-box {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }
}

.project-point {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.project-point.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-stagger {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.fade-in-stagger.visible {
    opacity: 1;
}

.fade-in-stagger > * {
    opacity: 1 !important;
    transform: none !important;
}

.fade-in-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 0.5s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 1.0s; }

.github-button {
    display: inline-block;
    background-color: transparent;
    color: #ff8c42;
    padding: 10px 20px;
    border: 2px solid #ff8c42;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 0.5s ease, transform 0.5s ease; 
}

.github-button,
.lets-play-button {
    display: inline-block;
    background-color: transparent;
    padding: 10px 20px;
    border: 2px solid;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.github-button::before,
.lets-play-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    z-index: -1;
}

.github-button::before {
    background-color: #ff8c42;
}

.lets-play-button::before {
    background-color: #ff8c42;
}

.github-button:hover,
.lets-play-button:hover {
    color: #2f1a0a;
}

.github-button:hover::before,
.lets-play-button:hover::before {
    left: 0;
}

.github-button {
    color: #ff8c42;
    border-color: #ff8c42;
}

.lets-play-button {
    color: #ff8c42;
    border-color: #ff8c42;
}

.github-button.visible {
    opacity: 1;
    transform: translateY(0);
}

.github-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #ff8c42;
    transition: all 0.3s ease;
    z-index: -1;
}

.github-button:hover {
    color: #2f1a0a;
}

.github-button:hover::before {
    left: 0;
}

.github-button::after {
    content: '\f09b'; 
    font-family: 'Font Awesome 5 Brands';
    margin-left: 10px;
    transition: all 0.3s ease;
}


.github-button:hover::after,
.lets-play-button:hover::after {
    transform: rotate(360deg);
}

.github-button:hover::after {
    transform: rotate(360deg);
}

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

    .github-button,
    .lets-play-button {
        display: block;
        text-align: center;
        margin: 10px auto;
        width: 80%;
        max-width: 250px;
    }
}

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');



/* About section */
#about {
    padding: 4rem 10%;
    position: relative;
    z-index: 1;
}

#about h1 {
    text-align: center;
    margin-bottom: 50px;
    color: #ccd6f6;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    opacity: 1 !important;
    visibility: visible !important;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}

.about-image {
    flex: 0 0 300px; /* Fixed width for image container */
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 143, 23, 0.708);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.about-text {
    flex: 1;
    color: #8892b0;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.about-text p:first-child {
    color: #ff8c42;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Animation for text */
.about-text p.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.about-text p:nth-child(1) { animation-delay: 0.2s; }
.about-text p:nth-child(2) { animation-delay: 0.4s; }
.about-text p:nth-child(3) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        flex: 0 0 250px;
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    .about-text p {
        text-align: left;
    }
}

/* Fix section spacing and scrolling */
.section {
    min-height: 100vh;
    padding: 100px 10%;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
    visibility: visible !important;
    scroll-margin-top: 80px; /* Accounts for fixed header */
}

/* Ensure proper section transitions */
main {
    position: relative;
    z-index: 1;
    background-color: #0a192f;
}

@media (max-width: 768px) {
    #about {
        padding: 80px 5%;
    }
    
    #about p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

/* Skills section */
#skills {
    opacity: 1 !important;
}

.skills-container {
    display: flex;
    overflow-x: hidden;
    white-space: nowrap;
    padding: 20px 0;
    gap: 20px;
    scroll-snap-type: x mandatory;
    position: relative;
}

.skill-box {
    flex: 0 0 auto;
    width: 150px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 6px rgba(100, 255, 218, 0.1);
    scroll-snap-align: start;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-box img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.skill-box h3 {
    color: #64ffda;
    margin-bottom: 10px;
    font-size: 1rem;
}

.skill-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

@media (max-width: 768px) {
    .skills-container {
        flex-direction: column;
    }

    .skill-box {
        width: 100%;
        margin-bottom: 20px;
    }
}



/* Update particle canvas styles */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

/* Ensure content stays above background elements */
main {
    position: relative;
    z-index: 2;
}

.project-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.project-card {
    background-color: #024950; /* Teal */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(15, 164, 175, 0.1); /* Bright Teal */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 calc(33.333% - 20px); /* Adjust width for three items per row */
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

.project-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 15px;
    color: var(--text-secondary);
}

.project-info h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.project-info p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .project-gallery {
        flex-direction: row; /* Ensure row direction on smaller screens */
    }

    .project-card {
        flex: 1 1 100%; /* Full width on smaller screens */
    }
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.contact-form-container {
    flex: 1;
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form-container p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    background-color: transparent;
    color: var(--text-primary);
}

.contact-form button {
    background-color: #ff8c42;
    color: #2f1a0a;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #e07b36;
}

.contact-info-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.contact-item i {
    font-size: 1.5rem;
    color: #ff8c42;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ff8c42;
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-form-container,
    .contact-info-container {
        width: 100%;
    }
}

const skillsContainer = document.querySelector('.skills-container');
if (skillsContainer) {
    let scrollAmount = 0;
    const scrollStep = 1;
    const scrollInterval = 30;

    function autoScroll() {
        scrollAmount += scrollStep;
        if (scrollAmount >= skillsContainer.scrollWidth - skillsContainer.clientWidth) {
            scrollAmount = 0;
        }
        skillsContainer.scrollTo({
            left: scrollAmount,
            behavior: 'smooth'
        });
    }

    setInterval(autoScroll, scrollInterval);
}

/* Update section margins to remove any gaps */
.section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 2rem;
}



/* Add these new styles for the skills section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden;
}

.skills-title {
    background-color: #3b3b98;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 40px;
    text-align: center;
    margin-left: 49%;
}


.skills-title span {
    font-size: 18px;
    color: #ffffff;
}

.skills-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    margin: 0 -20px;
}

.skills {
    display: flex;
    gap: 30px;
    animation: scroll 7s linear infinite;
    padding: 0 20px;
}

.skill {
    flex: 0 0 auto;
    background-color: #1a1a3d;
    padding: 25px;
    border-radius: 12px;
    width: 120px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.skill-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

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

/* Hover effects */
.skill:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #252550;
}

/* Pause animation on hover */
.skills-wrapper:hover .skills {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skill {
        padding: 20px;
        width: 100px;
    }

    .skill img {
        width: 45px;
        height: 45px;
    }

    .skill-name {
        font-size: 12px;
    }
}



/* Projects Section Styles */


#projects {
    padding: 4rem 10%;
    position: relative;
    z-index: 1;
}

.project-buttons {
    display: flex;
    margin-bottom: 20px;
    justify-content: flex-end;
    margin-top: 20px;
}

.project-button {
    background-color: transparent;
    color: #8892b0;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;

}

.project-button.active {
    color: #64ffda;
    border-bottom: 2px solid #64ffda;
}

.project-details {
    display: none;
    color: #8892b0;
    margin-top: 20px;
}

.project-details.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.project-content {
    display: flex;
    align-items: flex-start;
    gap: 300px !important; 
    margin-top: 10px;

}

.project-text {
    flex: 1;
    padding-left: 18px; 
    color: #ffffff;
    margin-top: 20px;
}

.project-image-container {
    flex-shrink: 0;
    width: 330px;
    height: 330px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 143, 23, 0.708);
    margin-top: 50px;
    animation: subtleRotate 6s linear infinite;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: subtleRotate 6s linear infinite;
}

@keyframes subtleRotate {
    0% {
        transform: rotate(0deg) translateY(0);
    }
    25% {
        transform: rotate(1deg) translateY(-3px);
    }
    50% {
        transform: rotate(0deg) translateY(0);
    }
    75% {
        transform: rotate(-1deg) translateY(3px);
    }
    100% {
        transform: rotate(0deg) translateY(0);
    }
}

.project-text h3 {
    color: #ff8c42;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.project-text p {
    color: #ff8c42;
    margin-bottom: 20px;
    font-size: 0.98rem;
    color: #ff8c42; 
}

.project-text ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.project-text li {
    margin-bottom: 15px; 
    position: relative;
    padding-left: 30px; 
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-text li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #ff8c42; 
    font-size: 1.2rem; 
}

.project-text li.project-point.visible {
    opacity: 1;
    transform: translateY(0);
}

.github-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid #ff8c42;
    color: #ff8c42;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.github-button.visible {
    opacity: 1;
    transform: translateY(0);
}

.github-button:hover {
    background-color: rgba(255, 140, 66, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

@media (max-width: 768px) {
    .project-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

.project-image-container {
    flex-shrink: 0;
    padding-left: 20px;
}

    .project-text {
        text-align: center;
    }

    .project-text li.project-point {
        padding-left: 0;
        text-align: left;
    }

    .project-text li.project-point::before {
        display: none;
    }
}

/* Work Experience Section Styles */
#MyWork {
    padding: 4rem 10%;
    position: relative;
    z-index: 1;
}

#MyWork h1 {
    text-align: center;
    margin-bottom: 50px;
    color: #ccd6f6;
}

.work-container {
    max-width: 900px;
    margin: 0 auto;
}

.work-card {
    background-color: rgba(17, 34, 64, 0.5);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 140, 66, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.1);
}

.work-header {
    margin-bottom: 20px;
}

.work-header h3 {
    color: #ff8c42;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.work-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.company {
    color: #ccd6f6;
    font-weight: 500;
}

.duration {
    color: #8892b0;
    font-style: italic;
}

.work-content ul {
    list-style-type: none;
    padding: 0;
}

.work-point {
    color: #8892b0;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.work-point::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #ff8c42;
}

.work-point:nth-child(1) { animation-delay: 0.2s; }
.work-point:nth-child(2) { animation-delay: 0.4s; }
.work-point:nth-child(3) { animation-delay: 0.6s; }

/* Hover effect for work points */
.work-point:hover {
    color: #ccd6f6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .work-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .work-card {
        padding: 20px;
    }

    .work-header h3 {
        font-size: 1.3rem;
    }
}


/* Contact Section Styles */
#contact {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px 10%;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 100px;
}

.contact-title {
    flex: 1;
    position: relative;
}

.contact-title h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: 7rem;
    line-height: 1;
    font-weight: 400;
    margin: 0;
    letter-spacing: -2px;
}

.circle-icon {
    position: absolute;
    right: 15%;
    top: 15%;
}

.circle {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
}

.arc {
    position: absolute;
    width: 60px;
    height: 30px;
    border: 2px solid #ffffff;
    border-top: none;
    border-radius: 0 0 30px 30px;
    top: 15px;
    left: -15px;
}

.contact-form {
    flex: 1;
}

.form-row {
    margin-bottom: 40px;
}

.form-row.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    height: 100px;
    resize: none;
}

.form-group label {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #ffffff;
}

.submit-arrow {
    display: flex;
    justify-content: flex-end;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-arrow:hover {
    transform: translateX(10px);
}

/* Import Bodoni Moda font */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;700&display=swap');

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-title h1 {
        font-size: 5rem;
    }
}

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

    .contact-title h1 {
        font-size: 4rem;
    }

    .form-row.two-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.contact-info {
    margin-top: 50px;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 15px;
}

.contact-info h3 {
    color: #ff8ffff;
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #8892b0;
}

.contact-item i {
    color: #ff8c42;
    margin-right: 10px;
}

.contact-item a {
    color: #8892b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ff8c42;
}

.social-links {
    display: flex;
    gap: 20px;
}



.download-cv {
    display: inline-block;
    font-size: 15px;
    padding: auto;
    background-color:transparent; /* Adjust color as needed */
    color: #ff8b16;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.download-cv:hover {
    background-color: #e07b3d; /* Darker shade for hover */
    transform: translateY(-2px); /* Slight lift effect */
}