
    :root {
    --cream: #F5EEDD;
    --teal-light: #7AE2CF;
    --teal-dark: #077A7D;
    --navy: #06202B;
    --transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--navy);
    color: var(--cream);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Futuristic Bottom Navigation */
.nav-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background: rgba(6, 32, 43, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(122, 226, 207, 0.2);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    gap: 15px;
}

.nav-item {
    position: relative;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50px;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--teal-light);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.nav-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-item.active {
    background: rgba(122, 226, 207, 0.1);
}

.nav-item.active::before {
    transform: scaleX(1);
}

.nav-link {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.nav-icon {
    font-size: 1.2rem;
    transition: var(--transition);
}

.nav-item:hover .nav-icon {
    color: var(--teal-light);
    transform: translateY(-3px);
}

.nav-text {
    font-size: 0.8rem;
    opacity: 0;
    height: 0;
    transition: var(--transition);
}

.nav-item:hover .nav-text {
    opacity: 1;
    height: auto;
}

/* Sections */
section {
    min-height: 100vh;
    padding: 80px 5% 100px;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    color: var(--teal-light);
    z-index: 2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-light), transparent);
    border-radius: 3px;
}

/* Profile Photo Styles */
.profile-photo-container {
width: 150px;
height: 150px;
margin: 0 auto 2rem;
position: relative;
border-radius: 50%;
border: 3px solid var(--teal-light);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
overflow: hidden;
animation: fadeInUp 1s ease 0.1s forwards;
opacity: 0;
z-index: 2;
}

.profile-photo {
width: 100%;
height: 100%;
object-fit: cover;
transition: var(--transition);
}

.profile-photo-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle, transparent 50%, rgba(122, 226, 207, 0.1) 100%);
z-index: 1;
}

.profile-photo-container:hover {
transform: scale(1.05);
box-shadow: 0 10px 25px rgba(122, 226, 207, 0.3);
}

.profile-photo-container:hover .profile-photo {
transform: scale(1.1);
}

/* Home Section */
#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
}

.home-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.home-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--cream), var(--teal-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 1s ease;
}

.home-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--teal-light);
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.home-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--teal-light);
    border: 2px solid var(--teal-light);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.cta-button:hover {
    background: var(--teal-light);
    color: var(--navy);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(122, 226, 207, 0.3);
}

/* Particle Styles */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--teal-light);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 15s infinite linear;
}

.particle-line {
    position: absolute;
    background: linear-gradient(to right, var(--teal-light), transparent);
    height: 1px;
    transform-origin: left center;
}

.particle-square {
    position: absolute;
    background: transparent;
    border: 1px solid var(--teal-light);
    opacity: 0.3;
    animation: rotate 20s infinite linear;
}

.particle-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid var(--teal-light);
    opacity: 0.4;
    animation: float 25s infinite linear;
}

.particle-hexagon {
    position: absolute;
    width: 10px;
    height: 5.77px;
    background-color: var(--teal-light);
    opacity: 0.3;
    animation: float 30s infinite linear;
}

.particle-hexagon:before,
.particle-hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.particle-hexagon:before {
    bottom: 100%;
    border-bottom: 2.89px solid var(--teal-light);
}

.particle-hexagon:after {
    top: 100%;
    width: 0;
    border-top: 2.89px solid var(--teal-light);
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

@keyframes floatHorizontal {
    0% {
        transform: translateX(0) rotate(0deg);
    }
    100% {
        transform: translateX(100vw) rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.8;
    }
}

/* Work Section */
#work {
    background-color: var(--navy);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.work-card {
    background: rgba(7, 122, 125, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(122, 226, 207, 0.1);
    z-index: 2;
}

.work-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(122, 226, 207, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: var(--transition);
    opacity: 0;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(122, 226, 207, 0.3);
}

.work-card:hover::before {
    transform: scale(1);
    opacity: 1;
}

.work-icon {
    font-size: 2.5rem;
    color: var(--teal-light);
    margin-bottom: 20px;
}

.work-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--cream);
}

.work-description {
    color: rgba(245, 238, 221, 0.8);
    line-height: 1.6;
}

/* Skills Section */
#skills {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--navy) 100%);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.skill-card {
    background: rgba(6, 32, 43, 0.7);
    border-radius: 10px;
    padding: 20px;
    width: 150px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(122, 226, 207, 0.2);
    z-index: 2;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--teal-light);
}

.skill-icon {
    font-size: 2rem;
    color: var(--teal-light);
    margin-bottom: 10px;
}

.skill-name {
    font-size: 1rem;
    color: var(--cream);
    font-weight: 500;
}

.skill-level {
    height: 5px;
    background: rgba(245, 238, 221, 0.2);
    border-radius: 5px;
    margin-top: 15px;
    overflow: hidden;
}

.skill-level-bar {
    height: 100%;
    background: var(--teal-light);
    border-radius: 5px;
    transition: width 1s ease;
    width: 0;
}

/* Experience Section */
#experience {
    background-color: var(--navy);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    z-index: 2;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--teal-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--teal-light);
    border: 3px solid var(--navy);
    z-index: 1;
}

.timeline-content {
    background: rgba(7, 122, 125, 0.1);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(122, 226, 207, 0.2);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--teal-light);
}

.timeline-date {
    color: var(--teal-light);
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--cream);
}

.timeline-description {
    color: rgba(245, 238, 221, 0.8);
    line-height: 1.6;
}

/* Projects Section */
#projects {
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.project-card {
    background: rgba(6, 32, 43, 0.7);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(122, 226, 207, 0.2);
    z-index: 2;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--teal-light);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--cream);
}

.project-description {
    color: rgba(245, 238, 221, 0.8);
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tech-tag {
    background: rgba(122, 226, 207, 0.1);
    color: var(--teal-light);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    color: var(--cream);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    z-index: 3;
    position: relative;
}

.project-link:hover {
    color: var(--teal-light);
}

/* Education Section */
#education {
    background-color: var(--navy);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.education-card {
    background: rgba(7, 122, 125, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(122, 226, 207, 0.1);
    z-index: 2;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(122, 226, 207, 0.3);
}

.education-degree {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--cream);
}

.education-institution {
    font-size: 1.1rem;
    color: var(--teal-light);
    margin-bottom: 15px;
}

.education-duration {
    color: rgba(245, 238, 221, 0.7);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.education-description {
    color: rgba(245, 238, 221, 0.8);
    line-height: 1.6;
}

/* Connect Section */
#connect {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--navy) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.connect-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.connect-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--cream);
    transition: var(--transition);
    width: 80px;
}

.social-link:hover {
    color: var(--teal-light);
    transform: translateY(-5px);
}

.social-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.social-name {
    font-size: 0.9rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .home-title {
        font-size: 2.5rem;
    }
    
    .home-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 70px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: space-around;
        gap: 5px;
    }
    
    .nav-item {
        padding: 10px 15px;
    }
    
    .nav-text {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Active section highlighting */
section:not(.active) {
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

section.active {
    opacity: 1;
}

/* Section-specific particle effects */
#home .particle {
    background: var(--teal-light);
    animation: float 15s infinite linear;
}

#skills .particle {
    background: var(--cream);
    animation: float 20s infinite linear reverse;
}

#work .particle {
    background: rgba(122, 226, 207, 0.7);
    animation: floatHorizontal 25s infinite linear;
}

#experience .particle {
    background: transparent;
    border: 1px solid var(--teal-light);
    animation: rotate 40s infinite linear;
}

#projects .particle {
    background: var(--teal-light);
    animation: float 18s infinite linear, pulse 3s infinite ease-in-out;
}

#education .particle {
    background: var(--cream);
    animation: float 22s infinite linear reverse;
}

#connect .particle {
    background: var(--teal-light);
    animation: float 15s infinite linear, pulse 4s infinite ease-in-out;
}