@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    border: none;
    outline: none;
    font-family: "Poppins", serif;

}
:root{
    --nav-bg-color: rgba(255, 255, 255, .1);
    --bg-color: #171f2b;
    --second-bg-color: #1f2733;
    --third-bg-color: #2d3542;
    --main-color: #0ef;
    --white-color: #fff;
    --tab-list-color: #7c8594;
}
::selection{
    background: var(--main-color);
    color: var(--bg-color);
}
::-webkit-scrollbar{
    width: .5rem;
}
::-webkit-scrollbar-thumb{
    background: var(--main-color);
    border-radius: 1rem;
}
::placeholder{
    color: var(--white-color);
}
html{
    font-size: 62.5%;
}
body{
 color: var(--white-color);  
 overflow: hidden; 
}
p{
    font-size:1.6rem;
}
.nav{
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40rem;
    padding: 2rem 0;
    background: var(--nav-bg-color);
    border-radius: 5rem;
    z-index: 100;
   animation: animate-nav 1s ease-in-out;
   animation-delay: 4s;
}
@keyframes animate-nav{
    0%{
        visibility: hidden;
        opacity: 0;
    }
    100%{
        visibility: visible;
        opacity: 1;
    }
}
.nav .nav-list{
    display: flex;
    justify-content:space-evenly;
    padding-left: 1rem;

}
.nav-list li{
  position: relative;
  display: flex;
  font-size: 3rem;
  cursor: pointer; 
  transition: .3s; 
  
 
  
}
.nav-list li:hover, .nav-list li.active {
    color: var(--main-color);
}
.tooltip{
    position: relative;
    top: -4rem; 
    left: 50%;
    transform: translateX(-50%);
    position: .3rem 1rem;
    background: var(--main-color);
    border-radius: .4rem;
    font-size: 1.6rem;
    cursor: var(--bg-color);
    font-weight: 500;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
    color:var(--bg-color);
    

}
.nav-list li:hover .tooltip, a:hover .tooltip, .portfolio-item:hover .work-info{
visibility: visible;
opacity: 1;
}

.container{
    width: 100vw;
    height: 100vh;
    perspective: 1500px;
    perspective-origin: 50%;
}
.box{
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform-origin: 50% 50% -50vw;
    transform: rotateY(0deg);
    transition: 2s;
    animation: animate-cube 4e ease-in-out backwards;

}
@keyframes animate-cube{
    0%{
        transform: scale(0) rotateY(-360deg);
    }
    100%{
        transform: scale(1) rotateY(0deg);
    }
}
.section{
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    padding: 0 10%;
    backface-visibility: hidden;
}
.section:nth-child(even){
    background: var(--second-bg-color);

}
.section.about{
    transform: translateX(50vw) translateZ(-50vw) rotateY(90deg);
}
.section.resume{
    transform: translateZ(-100vw) rotateY(-180deg);
    transform-origin: 50%;
}
.section.portfolio{
    transform: translateX(-50vw) translateZ(-50vw) rotateY(-90deg);
}
.section.contact{
    visibility: hidden;
    transition-delay: .5s;

}

.section.contact.active{
    visibility: visible;
    
}
.section.contact.action-contact{
  transition-delay: 1.5s;  
}
.section.contact.action-contact.acttive{
    transition-delay: 0s;  
  }
.about .about-img img{
    width: 100%;
    height: 100%;
}
.home, .about{
    display: flex;
    align-items: center;
    gap: 5rem;
}
.home-info h1{
    font-size: 5.5rem;
    color: var(--main-color);
    line-height: 1;
}
.home-info h3{
    font-size: 3rem;

}
.home-info h3:nth-of-type(2){
    margin-bottom: 30px;
}
.home-info h3 span{
    color: #ff7200;
}
.home-info h3 span:hover{
    color: blue;
}
.home-info h3 span.active{
    color: #7c8594;
}
.desc{
    margin: 1rem 0 2rem;
}
.home-info .btn-sci{
    display: flex;
    align-items: center;
}
.btn{
    display: inline-flex;
    padding: 1.2rem 3rem;
    background: var(--main-color);
    border-radius: 5rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--bg-color);
    font-weight: 600;
    transition: .3s;

}
.btn:hover{
    box-shadow: none;
}
.home-info .btn-sci .sci{
    margin-left: 2rem;
    
}
.home-info .btn-sci .sci a{
    position: relative;
    display: inline-flex;
    padding: .8rem;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
   margin: 0 .8rem;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    transition: .3s;
}
.home-info .btn-sci .sci a i{
     padding-left: 1rem;
    position: relative;
    align-items: center;

}
.home-info .btn-sci .sci a:nth-child(2) i{
    padding-left: 0.1rem;
}
.home-info .btn-sci .sci a:nth-child(1) i{
    padding-left: 0.1rem;
}
.home-info .btn-sci .sci a:nth-child(4) i{
    padding-left: 0.1rem;
}
.home-info .btn-sci .sci a:nth-child(3) i{
    padding-left: 0.1rem;

}

.home-info .btn-sci .sci a:hover{
    background: var(--main-color);
    color: var(--bg-color);
}
.img-box{
    position: relative;
    width: 30vw;
    height: 30vw;
    background: linear-gradient(var(--bg-color), var(--main-color));
    border-radius: 50%;
    border: .5rem solid var(--main-color);
    box-shadow: 0 0 2rem var(--main-color);
    display: flex;
    justify-content: center;
    overflow: hidden;

}

.img-box.home-img:hover{
    box-shadow: 0 0 8rem var(--main-color);
}
.img-box img{
    position: absolute;
    display: block;
    width: 100%;
    object-fit: cover;
    height: 100%;

}
.img-box.about-img{
background: transparent;
box-shadow: 0 0 2rem var(--main-color) inset 0 0 1rem var(--main-color);
}
.img-box.about-img img{
    z-index: -1;
}
.title{
    font-size: 4rem;
    text-align: center;

}
.about-info .title{
    text-align: left;
}
.about-info h3{
    font-size: 2.5rem;
    color: var(--main-color);
    margin-top: -1rem;
}
.about-info .btn{
    padding: 1.2rem 4rem;
}
.resume, .portfolio {
    padding-top: 2rem;
    padding-bottom: 28rem;
}
.tab-box{
    display: flex;
    width: 100%;
    height: 5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.tab-list{
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: .3rem solid var(--white-color);
    cursor: pointer;
    color:var(--tab-list-color);
    transition: .5s;
}
.tab-list.resume-list.active, .tab-list.portfolio-list.active{
    border-color: var(--main-color);
    color: var(--main-color);
}
.resume-list:nth-child(2){
    justify-content: center;
}
.resume-list:nth-child(3){
    justify-content: flex-end;
    }
    .tab-list h3{
        font-size: 2.5rem;
    }
    .tab-wrapper{
        position: relative;
        width: 100%;
        height: 100%;
    }
    .tab-grid{
        position: absolute;
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
        gap: 2rem;
        overflow-y: auto;
        overflow-x: hidden;
        visibility: hidden;
        opacity: 0;  
        transform: scale(.8);
    }
    .tab-grid.resume-box.active, 
    .tab-grid.portfolio-box.active{
        visibility: visible;
        opacity: 1;
        transform: scale(1);
        transition: .5s;
    }
    .tab-item{
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: var(--third-bg-color);
        border-radius: .8rem;
        padding: 2rem;
    }
    .tab-item h4{
        font-size: 2.3rem;
    }
    .resume-item h4:nth-child(1), 
    .resume-item h4:nth-child(3){
        font-size: 1.7rem;
        color: var(--main-color);
        font-weight: 400;

    }
.resume-item h4:nth-child(3){
    position: relative;
    color: var(--white-color);
    margin-left: 2rem;

}
.resume-item h4:nth-child(3)::before{
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background: var(--main-color);
    border-radius: 50%;
}
.tab-item p{
    margin-top: 1rem;
}
.resume-box.skills{
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.resume-box.skills .resume-item{
align-items: center;
}
.resume-box.skills .resume-item i{
    font-size: 7rem;
    transition: .3s;
    
}
.resume-box.skills .resume-item:hover i{
    background-color: var(--main-color);
}
.resume-box.skills .resume-item p{
    margin-top: 0;
}
.portfolio-list:nth-child(2){
    justify-content: flex-end;
}
.portfolio-box.work .portfolio-item{
    position: relative;
}
.portfolio-box.work .portfolio-item::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--third-bg-color);
    border-radius: .8rem;
    z-index: 1;
    opacity: 0;
    transition: .3s;
}
.portfolio-box.work .portfolio-item:hover::before{
    opacity: .9;
}

.portfolio-item .work-img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: .8rem;
    overflow: hidden;
}
.portfolio-item .work-img img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}
.portfolio-item:hover .work-img img{
    transform: scale(1.2);
}
.portfolio-item .work-info{
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transition: .3s;

}
.portfolio-item .work-info h4{
    line-height: 1;
}
.portfolio-item .work-info .tech-usrd{
    color: var(--main-color);
    border-bottom: .1rem solid var(--white-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.portfolio-item .portfolio-icon a{
    position: relative;
    display: inline-flex;
    padding: 1rem;
    background: var(--white-color);
    font-size: 2.5rem;
      
    border-radius: 50%;
   margin: 0 .8rem;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    transition: .3s;
}
.portfolio-item .work-icon a:hover{
  background: var(--main-color);  
}
.portfolio-item .portfolio-icon a i{
    color: var(--bg-color);
    margin-left: 0.01rem;
    position: relative;
}
.portfolio-item .portfolio-icon a:nth-child(2) i{
    padding-left: 0.001rem;
}
.portfolio-item .portfolio-icon a:nth-child(1){
    margin-left: 0.001rem;
}
.portfolio-item .portfolio-icon a:nth-child(1) i{
    transform: rotate(135deg);
}
.portfolio-item .service-icon{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
}
.portfolio-item .service-icon .icon{
    font-size: 5rem;
    margin-left: -.3rem;
    transition: .3s;
}
.portfolio-item:hover .service-icon .icon{
    color: #ff7200;
}
.portfolio-item:hover .service-icon a {
    background: var(--main-color);
}
.portfolio-item .service-icon a i{
    transform: rotate(-135deg);
    
    margin-top: 0.01rem;
    transition: .3s;
    align-items: center;
    position: absolute;
    padding-left: 10rem;
    text-align: center;
}
.portfolio-item .service-icon a:hover i{
    transform: rotate(-140deg); 
}
.portfolio-box.service .portfolio-item h4{
    transition: .3s;
}
.portfolio-box.service .portfolio-item:hover h4{
    color: var(--main-color);
}
.contact{
    padding-top: 2rem;
    padding-bottom: 18rem;
}
.contact-wrapper{
    display: flex;
    justify-content: center;
    height: 100%;
}
.contact-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70rem;
}
.contact-form h3{
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}
.contact-form .field-box{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.contact-form .field-box input,
.contact-form .field-box textarea{
    flex: 1 1 30rem;
    padding: 2rem;
    background: var(--third-bg-color);
    border-radius: .6rem;
    font-size: 1.6rem;
    color: var(--white-color);
}
.contact-form .field-box textarea{
    height: 20rem;
    resize: none;
}
.contact-form .contact-btn{
    margin-top: 2rem;
}
.contact-form .contact-btn .btn{
    cursor: pointer;
}
@media screen and (max-width: 1200px) {
   html{
    font-size: 55%;
   } 
}
@media screen and (max-width: 992px) {
    .section{
     padding: 0.4%;
    } 
    .resume,
    .portfolio{
        padding-top: 1.5rem;
        padding-bottom: 27rem;
    }
    .contact{
        padding-top: 1.5rem;
        padding-bottom: 18rem;
    } 
    }
    @media screen and (max-width: 768px) {
        html{
         font-size: 50%;
        } 
        .nav{
            bottom: 0;
        }
        .home,
        .about{
            flex-direction: column-reverse;
            justify-content: center;
            gap: 2rem;
            padding-bottom: 6rem;
        }
        .about{
            flex-direction: column;
        }
        .img-box{
            width: 35rem;
            height: 35rem;
        }
        .resume,
        .portfolio{
            padding-bottom: 25rem;
        }
        .contact{
            padding-bottom: 16rem;  
        }
     }
    
     @media screen and (max-width: 600px) {
        .resume,
        .portfolio{
            padding-top: 1.5rem;
            padding-bottom: 27rem;
        }
        .tab-box{
            margin-top: 0;
        }
        .contact{
            padding-top: 1rem;
        }
        }
        @media screen and (max-width: 400px) {
            .nav{
                width: 100%;
                border-radius: 0;
            }
            .home-info,
            .about-info{
            text-align: center;
            }
            .home-info h1{
                font-size: 5rem;
            }
            .home-info .btn-sci{
                flex-direction: column-reverse;
            }
            .home-info .btn-sci .sci{
                margin-left: 0;
                margin-bottom: 2rem;
            }
            .img-box{
                width: 30rem;
                height: 30rem;
            }
            .about-info .title{
                text-align: center;
            }
        }
        @media screen and (max-width: 350px){
            .img-box{
                width: 25rem;
               height: 25rem;
            }
            .tab-list h3{
             font-size: 2.3rem;
            }
        }
/* Image Styles */
.img-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    perspective: 1000px;
}

.img-box {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.img-box img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    backface-visibility: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 3D effect on hover */
.img-wrapper:hover .img-box {
    transform: rotateY(180deg);
}

/* Different image effects for different sections */
.home-img img {
    filter: drop-shadow(0 0 10px rgba(0, 0, 255, 0.3));
}

.about-img img {
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.3));
}

/* Responsive image adjustments */
@media (max-width: 768px) {
    .img-wrapper {
        height: 300px;
        margin: 0 auto;
    }
}
        /* Background Image Styles */
body {
    margin: 0;
    padding: 0;
    background-image: url('images/vv-removebg-preview.png');
    background-size: 30%; /* Adjust based on your preference */
    background-position: right center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #f5f5f5; /* Fallback color */
  }
  
  /* Overlay to make text readable */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Semi-transparent white overlay */
    z-index: -1; /* Places behind content */
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    body {
      background-size: 50%;
      background-position: right bottom;
    }
  }
  
  @media (max-width: 480px) {
    body {
      background-size: 70%;
      background-position: center bottom;
    }
  }
  /* Dark Mode Toggle Button */
  .theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    border: none;
    outline: none;
    transition: all 0.3s ease;
    z-index: 1000;
}





/* Navigation Styles */
.nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40rem;
    max-width: 90%;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 5rem;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.8s ease-out;
}

.nav .nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-list li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
}

.nav-list li:hover {
    color: #0ef;
    background: rgba(14, 239, 255, 0.1);
    transform: translateY(-5px);
}

.nav-list li.active {
    color: #0ef;
    background: rgba(14, 239, 255, 0.15);
    box-shadow: 0 0 15px rgba(14, 239, 255, 0.5);
}

.tooltip {
    position: absolute;
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.2rem;
    background: #0ef;
    border-radius: 0.6rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #1f2733;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #0ef;
}

.nav-list li:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav {
        width: 36rem;
        padding: 1.2rem 0;
        bottom: 1.5rem;
    }
    
    .nav-list li {
        font-size: 2.2rem;
        width: 4.5rem;
        height: 4.5rem;
    }
    
    .tooltip {
        font-size: 1.3rem;
        top: -3.8rem;
    }
}

@media screen and (max-width: 480px) {
    .nav {
        width: 32rem;
        padding: 1rem 0;
        bottom: 1rem;
    }
    
    .nav-list li {
        font-size: 2rem;
        width: 4rem;
        height: 4rem;
    }
    
    .tooltip {
        font-size: 1.2rem;
        top: -3.5rem;
        padding: 0.4rem 1rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .nav {
        background: rgba(31, 39, 51, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .nav {
        animation: none;
    }
    
    .nav-list li {
        transition: none;
    }
    
    .tooltip {
        transition: none;
    }
}
/* Home info section animations */
.home-info {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

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

/* Staggered animations for child elements */
.home-info h3 {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease forwards 0.8s;
}

.home-info h1 {
    opacity: 0;
    transform: translateY(40px);
    animation: nameReveal 1.2s ease forwards 1s;
}

.home-info h3:last-of-type {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s ease forwards 1.4s;
}

.home-info .desc {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 1.8s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes nameReveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        text-shadow: none;
    }
}

/* Typing animation for the span text */
.text {
    position: relative;
    color: #3498db;
    font-weight: 700;
}

.text::after {
    content: "|";
    position: absolute;
    right: -8px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Optional: Add subtle background animation */
.home-info {
    position: relative;
    overflow: hidden;
}

.home-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.05) 0%, transparent 70%);
    transform: rotate(0deg);
    animation: rotateBackground 20s linear infinite;
    z-index: -1;
}

@keyframes rotateBackground {
    to {
        transform: rotate(360deg);
    }
}

/* Hover effects for the entire section */
.home-info:hover h1 {
    text-shadow: 0 0 15px rgba(52, 152, 219, 0.4);
    transition: text-shadow 0.5s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .home-info h1 {
        font-size: 2.5rem;
    }
    
    @keyframes nameReveal {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
/* Professional text animation with equal spacing */
.text {
    position: relative;
    display: inline-block;
    color: #3498db;
    font-weight: 700;
    padding: 0 0.25rem;
    margin: 0 0.15rem;
}

/* Animated gradient background */
.text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(52, 152, 219, 0.1) 0%, 
        rgba(41, 128, 185, 0.2) 50%, 
        rgba(52, 152, 219, 0.1) 100%);
    border-radius: 4px;
    z-index: -1;
    animation: pulseBackground 3s ease-in-out infinite;
}

@keyframes pulseBackground {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Animated underline effect */
.text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    transform: scaleX(0);
    transform-origin: center;
    animation: underline 4s ease-in-out infinite;
}

@keyframes underline {
    0%, 100% {
        transform: scaleX(0);
    }
    50% {
        transform: scaleX(1);
    }
}

/* Text shine effect */
.text {
    background: linear-gradient(
        90deg,
        #2c3e50,
        #3498db 50%,
        #2c3e50
    );
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 5s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% {
        background-position: 200% center;
    }
    50% {
        background-position: 0% center;
    }
}

/* Subtle bounce animation */
@keyframes subtleBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.text {
    animation: textShine 5s ease-in-out infinite, subtleBounce 4s ease-in-out infinite;
}

/* Hover enhancements */
.text:hover {
    animation-play-state: paused;
}

.text:hover::before {
    background: linear-gradient(90deg, 
        rgba(52, 152, 219, 0.2) 0%, 
        rgba(41, 128, 185, 0.3) 50%, 
        rgba(52, 152, 219, 0.2) 100%);
    animation: none;
}

.text:hover::after {
    animation: none;
    transform: scaleX(1);
    background: #3498db;
} 
