@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-color: #0a192f;
    --second-bg-color: #112240;
    --text-color: #e6f1ff;
    --main-color: #64ffda;
    --accent-color: #8892b0;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --box-shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
    --spacing-xs: 10px;
    --spacing-sm: 20px;
    --spacing-md: 30px;
    --spacing-lg: 60px;
    --font-size-xs: 1.4rem;
    --font-size-sm: 1.6rem;
    --font-size-md: 1.8rem;
    --font-size-lg: 2.5rem;
    --font-size-xl: 3rem;
    --font-size-xxl: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);    
    line-height: 1.6;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.logo {
    font-size: var(--font-size-lg);
    color: var(--main-color);
    font-weight: 700;
    letter-spacing: 2px;
    transition: var(--transition-speed);
}

.logo:hover {
    transform: translateY(-2px);
}

.navbar a {
    font-size: 1.6rem;
    color: var(--text-color);
    font-weight: 500;
    margin-left: 3.5rem;
    transition: var(--transition-speed);
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--main-color);
    transition: var(--transition-speed);
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
    display: none;
}

/* Home Section */
.home {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.home-content {
    max-width: 60rem;
    text-align: left;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.hero-left {
    margin-bottom: 2rem;
}

.hero-left h1 {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: left;
}

.hero-left h1 span {
    color: var(--main-color);
}

.hero-left h3 {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-align: left;
}

.home-content p {
    font-size: var(--font-size-sm);
    margin: 2rem 0 4rem;
    color: var(--accent-color);
    text-align: left;
}

.btn-box {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 2.8rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--main-color);
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: var(--transition-speed);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: var(--transition-speed);
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: var(--bg-color);
}

.home-sci {
    position: relative;
    width: 170px;
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    font-size: 20px;
    color: var(--main-color);
    z-index: 1;
    overflow: hidden;
    transition: var(--transition-speed);
}

.home-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
    transition: var(--transition-speed);
}

.home-sci a:hover::before {
    width: 100%;
}

.home-sci a:hover {
    color: var(--bg-color);
    transform: translateY(-3px);
}

.main-img {
    position: relative;
    z-index: 1;
}

.main-img img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.2);
    transition: all 0.5s ease;
    border: 2px solid rgba(100, 255, 218, 0.1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.main-img::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--main-color);
    border-radius: 35px;
    z-index: -1;
    opacity: 0.3;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.main-img:hover img {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(100, 255, 218, 0.3);
}

.main-img:hover::before {
    transform: scale(1);
    opacity: 0.5;
}

/* Common Section Styles */
section {
    min-height: auto;
    padding: 10rem 9% 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 8rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.05);
}

.heading {
text-align: center;
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
}

.heading span {
    color: var(--main-color);
}

.title {
    text-align: center;
    font-size: var(--font-size-md);
    color: var(--accent-color);
    margin-bottom: 4rem;
}

/* Skills Section */
.skills {
    background: var(--second-bg-color);
    border-radius: var(--border-radius);
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.skill {
    background: var(--bg-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.skill:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.skill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.skill:hover::before {
    transform: translateX(100%);
}

.skill-name {
    font-size: var(--font-size-md);
    color: var(--main-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.skill-percentage {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: var(--font-size-sm);
    color: var(--main-color);
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.skill:hover .skill-percentage {
    opacity: 1;
    transform: translateY(0);
}

.skill-bar {
    height: 10px;
    background: var(--second-bg-color);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-per {
    height: 100%;
    background: var(--main-color);
    border-radius: 5px;
    position: relative;
    animation: fillBars 2.5s ease-in-out forwards;
    transform-origin: left;
    transform: scaleX(0);
  }
  
.skill-per::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes fillBars {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Projects Section */
.projects {
    min-height: auto;
    padding: 10rem 9% 2rem;
}

.projects-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

/* Common Box Styles */
.experience-box,
.leadership-box,
.projects-box {
    background: var(--second-bg-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    transition: var(--transition-speed);
    border: 1px solid rgba(100, 255, 218, 0.1);
    position: relative;
    overflow: hidden;
}

.experience-box:hover,
.leadership-box:hover,
.projects-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: var(--main-color);
}

.experience-box::before,
.leadership-box::before,
.projects-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
    z-index: 1;
    pointer-events: none;
}

.experience-box:hover::before,
.leadership-box:hover::before,
.projects-box:hover::before {
    transform: translateX(100%);
}

.experience-box h4,
.experience-box ul,
.leadership-box h4,
.leadership-box ul,
.projects-box h4,
.projects-box ul {
    position: relative;
    z-index: 2;
}

.experience-box h4 {
    color: var(--main-color);
    font-size: var(--font-size-md);
    margin-bottom: 1.5rem;
}

.experience-box h5 {
    color: var(--accent-color);
    font-size: var(--font-size-sm);
    margin-bottom: 1.5rem;
}

.experience-box p.experience-timeline {
    color: var(--accent-color);
    font-size: var(--font-size-sm);
    margin-bottom: 1.5rem;
}

/* Experience Section */
.experience h2, h3{
    text-align: center;
    margin-bottom: 1rem;
}

.experience h2{
    font-size: var(--font-size-xl);
}

.experience h4{
    font-size: var(--font-size-md);
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

/* Leadership Section */
.leadership h2, h3{
    text-align: center;
    margin-bottom: 1rem;
}

.leadership h2{
    font-size: var(--font-size-xl);
}

.leadership h4{
    font-size: var(--font-size-md);
}

.leadership h3{
    font-size: var(--font-size-sm);
}

.leadership-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.experience-box h3{
    text-align: left;
}

.leadership-box h3{
    text-align: left;
}

.leadership-box h4 {
    color: var(--main-color);
    font-size: var(--font-size-md);
    margin-bottom: 1.5rem;
}

.leadership-box h5 {
    color: var(--accent-color);
    font-size: var(--font-size-sm);
    margin-bottom: 1.5rem;
}

.leadership-box p {
    color: var(--accent-color);
    font-size: var(--font-size-sm);
    margin-bottom: 1.5rem;
}

/* Learn More Button */
.learn-more-button{
    color: var(--text-color);
    font-size: var(--font-size-xs);
    border: 1px solid var(--main-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: var(--transition-speed);
    display: inline-block;
    margin-top: var(--spacing-xs);
}

.learn-more-button:hover{
    border: 1px solid var(--main-color);
    background-color: var(--main-color);
    color: var(--bg-color);
}

/* Connect Section */
.connect {
    min-height: auto;
        padding: 10rem 9% 2rem;
    }

.contact-form {
    margin: 4rem auto 0;
    background: var(--second-bg-color);
    padding: 4rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.5rem;
    background: var(--bg-color);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: var(--font-size-sm);
    margin-bottom: 2rem;
    transition: var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--main-color);
    outline: none;
}

.submit-button {
        width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: var(--border-radius);
    color: var(--main-color);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-speed);
}

.submit-button:hover {
    background: var(--main-color);
    color: var(--bg-color);
}

/* Footer */
.footer {
    background: var(--second-bg-color);
    padding: 2rem 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer p {
    color: var(--accent-color);
    font-size: var(--font-size-sm);
}

.top-icon {
    color: var(--main-color);
    font-size: 2.4rem;
    transition: var(--transition-speed);
}

.top-icon:hover {
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
    
    section {
        padding: 10rem 5% 2rem;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 4%;
    }
    
section {
        padding: 10rem 4% 2rem;
    }
    
    .footer {
        padding: 2rem 4%;
    }
    
    .project-github {
        opacity: 1;
        transform: translateY(0);
    }
    
    .project-github:hover {
        color: var(--accent-color);
    }
    
    .experience-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }
    
    .header {
        padding: 2rem;
    }
    
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        padding: 1rem 4%;
        background: var(--bg-color);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
        transition: 0.25s ease;
        transition-delay: 0.25s;
    }
    
    .navbar.active {
        left: 0;
        transition-delay: 0s;
    }
    
    .navbar a {
        display: block;
        margin: 1.5rem 0;
    }
    
    .home {
        flex-direction: column;
        padding-top: 15rem;
    }
    
    .home-content {
        max-width: 100%;
    }
    
    .main-img {
        text-align: center;
    }
    
    .btn-box {
        justify-content: flex-start;
    }
    
    .home-sci {
        position: relative;
        bottom: 0;
        width: 100%;
        justify-content: center;
        margin-top: 4rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 45%;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    section {
        padding: 8rem 5% 2rem;
    }
}

/* Common List Styles */
ul {
    list-style: none;
    font-size: var(--font-size-sm);
    color: var(--accent-color);
    line-height: 1.6;
}

ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--main-color);
}

/* Project GitHub Links */
.project-github {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    color: var(--main-color);
    font-size: 1.5rem;
    z-index: 10;
}

.experience-box:hover .project-github {
    opacity: 1;
    transform: translateY(0);
}

.project-github:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Always show GitHub icon on mobile and tablet devices */
@media (max-width: 991px) {
    .project-github {
        opacity: 1;
        transform: translateY(0);
    }
    
    .project-github:hover {
        color: var(--accent-color);
    }
}

/* Ensure content stays above the gradient */
.experience-box h4,
.experience-box ul,
.leadership-box h4,
.leadership-box ul,
.projects-box h4,
.projects-box ul {
    position: relative;
    z-index: 2;
}

/* Project Technology Tags */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
}

.tech-tag {
    background: rgba(100, 255, 218, 0.1);
    color: var(--main-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.tech-tag:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

/* Adjust spacing for project boxes */
.experience-box ul {
    margin-bottom: 1.5rem;
}

/* Hero Section Enhancements */
.hero-graphics {
        position: absolute;
            width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-circle {
            position: absolute;
    border-radius: 50%;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    animation: float 6s ease-in-out infinite;
}

.hero-circle:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-circle:nth-child(2) {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.hero-circle:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 15%;
    animation-delay: 2s;
}

.hero-square {
    position: absolute;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transform: rotate(45deg);
    animation: rotate 10s linear infinite;
}

.hero-square:nth-child(4) {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 20%;
    animation-delay: 0.5s;
}

.hero-square:nth-child(5) {
    width: 40px;
    height: 40px;
    bottom: 25%;
    right: 15%;
    animation-delay: 1.5s;
}

.hero-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--main-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-dot:nth-child(6) {
    top: 40%;
    left: 10%;
    animation-delay: 0.2s;
}

.hero-dot:nth-child(7) {
    top: 60%;
    right: 25%;
    animation-delay: 0.7s;
}

.hero-dot:nth-child(8) {
    bottom: 30%;
    left: 20%;
    animation-delay: 1.2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Ensure hero content stays above graphics */
.home-content {
    position: relative;
    z-index: 2;
  }

/* Common Section Graphics */
.section-graphics {
    position: absolute;
            width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* Floating Elements */
.float-element {
            position: absolute;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    animation: float 6s ease-in-out infinite;
    border-radius: 50%;
    aspect-ratio: 1/1;
    transform-origin: center;
}

/* Rotating Elements */
.rotate-element {
    position: absolute;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transform: rotate(45deg);
    animation: rotate 10s linear infinite;
}

/* Pulsing Elements */
.pulse-element {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--main-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Skills Section Graphics */
.skills .section-graphics .float-element:nth-child(1) {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.skills .section-graphics .float-element:nth-child(2) {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.skills .section-graphics .rotate-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 20%;
    animation-delay: 0.5s;
}

/* Projects Section Graphics */
.projects .section-graphics .float-element:nth-child(1) {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    top: 15%;
    right: 5%;
    animation-delay: 0.2s;
}

.projects .section-graphics .rotate-element:nth-child(2) {
    width: 70px;
    height: 70px;
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.projects .section-graphics .pulse-element:nth-child(3) {
    top: 40%;
    right: 15%;
    animation-delay: 0.7s;
}

/* Experience Section Graphics */
.experience .section-graphics .float-element:nth-child(1) {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    top: 10%;
    left: 15%;
    animation-delay: 0.5s;
}

.experience .section-graphics .rotate-element:nth-child(2) {
    width: 50px;
    height: 50px;
    bottom: 25%;
    right: 10%;
    animation-delay: 1.2s;
}

/* Leadership Section Graphics */
.leadership .section-graphics .float-element:nth-child(1) {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    top: 20%;
    right: 15%;
    animation-delay: 0.3s;
}

.leadership .section-graphics .rotate-element:nth-child(2) {
    width: 65px;
    height: 65px;
    bottom: 30%;
    left: 5%;
    animation-delay: 0.8s;
}

/* Connect Section Graphics */
.connect .section-graphics .float-element:nth-child(1) {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    top: 15%;
    left: 10%;
    animation-delay: 0.4s;
    transform: none !important;
    aspect-ratio: 1/1;
}

.connect .section-graphics .rotate-element:nth-child(2) {
    width: 75px;
    height: 75px;
    bottom: 20%;
    right: 15%;
    animation-delay: 1.1s;
}

.connect .section-graphics .pulse-element:nth-child(3) {
    top: 35%;
    left: 20%;
    animation-delay: 0.6s;
}

/* Ensure section content stays above graphics */
.skills-content,
.projects-content,
.experience-content,
.leadership-content,
.contact-form,
.home-content {
    position: relative;
    z-index: 2;
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Responsive adjustments for graphics */
@media (max-width: 768px) {
    .section-graphics {
        display: none;
    }
}

/* Additional Decorative Elements */
.wave-element {
    position: absolute;
    width: 100px;
    height: 20px;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    animation: wave 4s ease-in-out infinite;
}

.star-element {
    position: absolute;
    width: 0;
    height: 0;
    border-right: 10px solid transparent;
    border-bottom: 7px solid rgba(100, 255, 218, 0.1);
    border-left: 10px solid transparent;
    transform: rotate(35deg);
    animation: twinkle 3s ease-in-out infinite;
}

.star-element:before {
    content: '';
            position: absolute;
    height: 0;
    width: 0;
    top: -4.5px;
    left: -6.5px;
    border-bottom: 8px solid rgba(100, 255, 218, 0.1);
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    transform: rotate(-35deg);
}

.star-element:after {
    content: '';
    position: absolute;
    top: 0.3px;
    left: -10.5px;
    width: 0;
    height: 0;
    border-right: 10px solid transparent;
    border-bottom: 7px solid rgba(100, 255, 218, 0.1);
    border-left: 10px solid transparent;
    transform: rotate(-70deg);
}

/* Skills Section Additional Elements */
.skills .section-graphics .wave-element:nth-child(4) {
    top: 40%;
    left: 15%;
    animation-delay: 0.3s;
}

.skills .section-graphics .star-element:nth-child(5) {
    top: 60%;
    right: 25%;
    animation-delay: 0.7s;
}

.skills .section-graphics .star-element:nth-child(6) {
    top: 30%;
    left: 35%;
    animation-delay: 1.2s;
}

/* Projects Section Additional Elements */
.projects .section-graphics .wave-element:nth-child(4) {
    top: 25%;
    left: 20%;
    animation-delay: 0.5s;
}

.projects .section-graphics .star-element:nth-child(5) {
    top: 55%;
    right: 30%;
    animation-delay: 0.9s;
}

.projects .section-graphics .star-element:nth-child(6) {
    top: 15%;
    left: 40%;
    animation-delay: 1.4s;
}

/* Experience Section Additional Elements */
.experience .section-graphics .wave-element:nth-child(3) {
    top: 35%;
    right: 20%;
    animation-delay: 0.4s;
}

.experience .section-graphics .star-element:nth-child(4) {
    top: 65%;
    left: 25%;
    animation-delay: 0.8s;
}

/* Leadership Section Additional Elements */
.leadership .section-graphics .wave-element:nth-child(3) {
    top: 45%;
    left: 30%;
    animation-delay: 0.6s;
}

.leadership .section-graphics .star-element:nth-child(4) {
    top: 25%;
    right: 35%;
    animation-delay: 1.0s;
}

/* Connect Section Additional Elements */
.connect .section-graphics .wave-element:nth-child(4) {
    display: none; /* Hide the wave element */
}

.connect .section-graphics .diamond-element:nth-child(4) {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transform: rotate(45deg);
    top: 20%;
    right: 25%;
    animation: pulse 3s ease-in-out infinite;
    animation-delay: 0.7s;
}

/* Add diamond element to other sections */
.skills .section-graphics .diamond-element:nth-child(7) {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transform: rotate(45deg);
    top: 70%;
    left: 20%;
    animation: pulse 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

.projects .section-graphics .diamond-element:nth-child(7) {
    position: absolute;
    width: 55px;
    height: 55px;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transform: rotate(45deg);
    top: 70%;
    right: 15%;
    animation: pulse 3s ease-in-out infinite;
    animation-delay: 1.6s;
}

.experience .section-graphics .diamond-element:nth-child(5) {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transform: rotate(45deg);
    top: 75%;
    left: 10%;
    animation: pulse 3s ease-in-out infinite;
    animation-delay: 1.7s;
}

.leadership .section-graphics .diamond-element:nth-child(5) {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transform: rotate(45deg);
    top: 70%;
    right: 10%;
    animation: pulse 3s ease-in-out infinite;
    animation-delay: 1.8s;
}

/* Additional Animation Keyframes */
@keyframes wave {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: rotate(35deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: rotate(35deg) scale(1.2);
    }
}

/* Enhanced Section Transitions */
.skills,
.projects,
.experience,
.leadership,
.connect {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    margin: 0 auto 8rem;
    padding: 10rem 9% 2rem;
}

.skills:hover,
.projects:hover,
.experience:hover,
.leadership:hover,
.connect:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.15);
}

/* Responsive adjustments for new elements */
@media (max-width: 768px) {
    .wave-element,
    .star-element {
        display: none;
        }
  }    