@import url('https://fonts.googleapis.com/css2?family=Clicker+Script&family=Poppins:wght@200;300;400;500;600;700&display=swap');
:root
{
    --bg-main-light: #f7f8fa;
    --bg-glass-light: rgba(255,255,255,0.85);
    --bg-card-light: rgba(255,255,255,0.95);
    --text-main-light: #232946;
    --accent-light: #50e3c2;
    --accent2-light: #eebbc3;
    --border-light: #e0e0e0;
    --profile-gradient-light: linear-gradient(135deg, #50e3c2 0%, #eebbc3 100%);

    --bg-main-dark: #181c2f;
    --bg-glass-dark: rgba(35,41,70,0.85);
    --bg-card-dark: rgba(35,41,70,0.95);
    --text-main-dark: #fff;
    --accent-dark: #50e3c2;
    --accent2-dark: #eebbc3;
    --border-dark: #232946;
    --profile-gradient-dark: linear-gradient(135deg, #232946 0%, #50e3c2 100%);

    /* Section-specific colors */
    --hero-color: #50e3c2;
    --about-color: #ff6b6b;
    --skills-color: #4ecdc4;
    --experience-color: #45b7d1;
    --projects-color: #96ceb4;
    --testimonials-color: #feca57;
    --contact-color: #ff9ff3;
    
    /* Enhanced color combinations - Improved Harmony */
    --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --about-gradient: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    --skills-gradient: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    --experience-gradient: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    --projects-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    --testimonials-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --contact-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    
    /* Animated background colors - Better Color Harmony */
    --hero-bg: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
    --about-bg: linear-gradient(-45deg, #ff6b9d, #c44569, #ff8a80, #ff6b6b);
    --skills-bg: linear-gradient(-45deg, #4ecdc4, #44a08d, #56ab2f, #a8e6cf);
    --experience-bg: linear-gradient(-45deg, #56ab2f, #a8e6cf, #ff9a9e, #fecfef);
    --projects-bg: linear-gradient(-45deg, #ff9a9e, #fecfef, #a8edea, #fed6e3);
    --testimonials-bg: linear-gradient(-45deg, #a8edea, #fed6e3, #ffecd2, #fcb69f);
    --contact-bg: linear-gradient(-45deg, #ffecd2, #fcb69f, #667eea, #764ba2);
}
body
{
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--bg-main-light);
    color: var(--text-main-light);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}
body.dark 
{
    background: var(--bg-main-dark);
    color: var(--text-main-dark);
}
body.dark-mode
{
    background: var(--bg-main-dark);
    color: var(--text-main-dark);
}
*
{
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}
::before,::after
{
    box-sizing: border-box;
}
ul
{
    list-style: none;
}
.section
{
    background: var(--bg-glass-light);
    min-height: 100vh;
    display: block;
    padding: 0 30px;
    opacity: 1;
    margin-bottom: 40px;
}
body.dark-mode .section
{
    background: var(--bg-glass-dark);
}
.hidden
{
    display: none !important;
}
.main-content
{
    margin-left: 200px;
    padding: 40px 5vw 40px 5vw;
    max-width: 1200px;
}
.padd-15
{
    padding-left: 15px;
    padding-right: 15px;
}
.container
{
    max-width: 1100px;
    width: 100%;
    margin: auto;
}
.section .container
{
    padding-top: 60px;
    padding-bottom: 70px;
}
.section-title
{
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-main-light);
    letter-spacing: 1px;
    text-align: left;
}
.section-title h2
{
    font-size: 40px;
    color: var(--text-main-light);
    font-weight: 700;
    position: relative;
}
.section-title h2::before
{
    content: '';
    height: 4px;
    width: 50px;
    background-color: var(--skin-color);
    position: absolute;
    top: 100%;
    left: 0;
}
.section-title h2::after
{
    content: '';
    height: 4px;
    width: 25px;
    background-color: var(--skin-color);
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
}
.row
{
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
}
.btn
{
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}
.primary-btn {
    background: var(--accent-light);
    color: var(--text-main-light);
    box-shadow: 0 2px 8px rgba(35,41,70,0.08);
}
body.dark-mode .primary-btn {
    background: var(--accent-dark);
    color: var(--text-main-dark);
}
.primary-btn:hover {
    background: var(--accent2-light);
    color: var(--text-main-light);
}
body.dark-mode .primary-btn:hover {
    background: var(--accent2-dark);
    color: var(--text-main-dark);
}
.secondary-btn {
    background: var(--accent-light) !important;
    color: #fff !important;
    border: 2.5px solid var(--accent-light) !important;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s, border 0.2s, filter 0.2s;
    display: inline-flex;
    align-items: center;
}
.secondary-btn i {
    color: #fff !important;
    margin-right: 8px;
    transition: color 0.2s;
}
body.dark-mode .secondary-btn {
    background: var(--accent-dark) !important;
    color: #fff !important;
    border: 2.5px solid var(--accent-dark) !important;
}
body.dark-mode .secondary-btn i {
    color: #fff !important;
}
.secondary-btn:hover {
    background: #1e9e8a !important; /* slightly darker for teal accent */
    color: #fff !important;
    border: 2.5px solid #1e9e8a !important;
    filter: none;
}
body.dark-mode .secondary-btn:hover {
    background: #1e9e8a !important;
    color: #fff !important;
    border: 2.5px solid #1e9e8a !important;
    filter: none;
}
.secondary-btn:hover i,
body.dark-mode .secondary-btn:hover i {
    color: #fff !important;
}
.small-btn {
    padding: 8px 20px;
    font-size: 0.95rem;
}
.shadow-dark
{
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}
/* aside */
.aside
{
    width: 270px;
    background: var(--bg-glass-light);
    position: fixed;
    left: 0;
    top: 0;
    padding: 30px;
    height: 100%;
    border-right: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
.aside .logo
{
    position: absolute;
    top: 50px;
    font-size: 30px;
    text-transform: capitalize;
}
.aside .logo a
{
    color: var(--text-main-light);
    font-weight: 700;
    padding: 15px 20px;
    font-size: 30px;
    letter-spacing: 5px;
    position: relative;
}
.aside .logo a span
{
    font-family: 'Clicker Script', cursive;
    font-size: 40px;
}
.aside .logo a::before
{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-bottom: 5px solid var(--skin-color);
    border-left: 5px solid var(--skin-color);
    bottom: 0;
    left: 0;
}
.aside .logo a::after
{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-top: 5px solid var(--skin-color);
    border-right: 5px solid var(--skin-color);
    top: 0;
    right: 0;
}
.aside .nav-toggler
{
    height: 40px;
    width: 45px;
    border: 1px solid var(--border-light);
    cursor: pointer;
    position: fixed;
    left: 300px;
    top: 20px;
    border-radius: 5px;
    background: var(--bg-glass-light);
    display: none;
    align-items: center;
    justify-content: center;
}
.aside .nav-toggler span
{
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    display: inline-block;
    position: relative;
}
.aside .nav-toggler span::before
{
    content: '';
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    position: absolute;
    top: -6px;
    left: 0;
}
.aside .nav-toggler span::after
{
    content: '';
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    position: absolute;
    top: 6px;
    left: 0;
}
.aside .nav
{
    margin-top: 50px;
}
.aside .nav li
{
    margin-bottom: 20px;
    display: block;
}
.aside .nav li a
{
    font-size: 16px;
    font-weight: 600;
    display: block;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-main-light);
    padding: 5px 15px;
}
.aside .nav li a.active
{
    color: var(--skin-color);
}
.aside .nav li a i
{
    margin-right: 15px;
}
/* home */
.home
{
    min-height: 100vh;
    display: flex;
    color: var(--text-main-light);
}
.home .home-info
{
    flex: 0 0 60%;
    max-width: 60%;
}
h3.hello
{
    font-size: 28px;
    margin: 15px 0;
}
h3.hello span
{
    font-family: 'Clicker Script' , cursive;
    font-size: 30px;
    font-weight: 700;
    color: var(--skin-color);
}
h3.my-profession
{
    font-size: 30px;
    margin: 15px 0;
}
.typing
{
    color: var(--skin-color);
}
.home-info p
{
    margin-bottom: 70px;
    font-size: 20px;
    color: var(--text-main-light);
}
.home .home-img
{
    flex: 0 0 40%;
    max-width: 40%;
    text-align: center;
    position: relative;
}
.home-img::after
{
    content: '';
    position: absolute;
    height: 80px;
    width: 80px;
    border-bottom: 10px solid var(--skin-color);
    border-right: 10px solid var(--skin-color);
    right: 20px;
    bottom: -40px;
}
.home-img::before
{
    content: '';
    position: absolute;
    height: 80px;
    width: 80px;
    border-top: 10px solid var(--skin-color);
    border-left: 10px solid var(--skin-color);
    left: -20px;
    top: -40px;
}
.home .home-img img
{
    margin: auto;
    border-radius: 5px;
    height: 400px;
}
/* About */
.about .about-content
{
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .about-text
{
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .about-text h3
{
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-main-light);
}
.about .about-content .about-text h3 span
{
    color: var(--skin-color);
}
.about .about-content .about-text p
{
    font-size: 16px;
    line-height: 25px;
    color: var(--text-main-light);
}
.about .about-content .personal-info
{
    flex: 0 0 60%;
    max-width: 60%;
    margin-top: 40px;
}
.about .about-content .personal-info .info-item
{
    flex: 0 0 50%;
    max-width: 50%;
}
.about .about-content .personal-info .info-item p
{
    font-weight: 600;
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-main-light);
    border-bottom: 1px solid var(--border-light);
}
.about .about-content .personal-info .info-item p span
{
    font-weight: 400;
    color: var(--text-main-light);
    margin-left: 4px;
    display: inline-block;
}
.about .about-content .personal-info .buttons
{
    margin-top: 30px;
}
.about .about-content .personal-info .buttons .btn
{
    margin-right: 15px;
    margin-top: 10px;
}
.about .about-content .skills
{
    flex: 0 0 40%;
    max-width: 40%;
    margin-top: 40px;
}
.about .about-content .skills .skill-item
{
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .skills .skill-item h5
{
    line-height: 40px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-main-light);
    text-transform: capitalize;
}
.about .about-content .skills .skill-item .progress
{
    background-color: var(--border-light);
    height: 7px;
    border-radius: 4px;
    width: 100%;
    position: relative;
}
.about .about-content .skills .skill-item
{
    margin-bottom: 25px;
}
.about .about-content .skills .skill-item .progress .progress-in
{
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 4px;
    background-color: var(--skin-color);
}
.about .about-content .skills .skill-item .skill-percent
{
    position: absolute;
    right: 0;
    color: var(--text-main-light);
    top: -40px;
    font-weight: 400;
    line-height: 40px;
}
.about .about-content .education,
.about .about-content .experience
{
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 30px;
}
.about .about-content h3.title 
{
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--text-main-light);
}
.about .about-content .timeline-box
{
    flex: 0 0 100%;
    max-width: 100%;
}
.about .about-content .timeline
{
    background-color: var(--bg-glass-light);
    padding: 30px 15px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    width: 100%;
    position: relative;
}
.about .about-content .timeline .timeline-item
{
    position: relative;
    padding-left: 37px;
    padding-bottom: 50px;
}
.about .about-content .timeline .timeline-item:last-child
{
    padding-bottom: 0;
}
.about .about-content .timeline .timeline-item::before
{
    content: '';
    width: 1px;
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
    background-color: var(--skin-color);
}
.about .about-content .timeline .circle-dot
{
    position: absolute;
    left: 0;
    top: 0;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: var(--skin-color);
}
.about .about-content .timeline .timeline-date
{
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-main-light);
}
.about .about-content .timeline .timeline-date .fa 
{
    margin-right: 5px;
}
.about .about-content .timeline .timeline-title
{
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: capitalize;
    color: var(--text-main-light);
}
.about .about-content .timeline .timeline-text
{
    line-height: 25px;
    font-size: 16px;
    text-align: justify;
    color: var(--text-main-light);
}
/* service */
.service .container
{
    padding-bottom: 40px;
}
.service .service-item
{
    margin-bottom: 30px;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}
.service .service-item .service-item-inner
{
    background-color: var(--bg-glass-light);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3S ease;
}
.service .service-item .service-item-inner:hover
{
    box-shadow:  0 0 20px rgba(48, 46, 77, 0.15);
}
.service .service-item .service-item-inner .icon 
{
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: block;
    margin:  0 auto 30px;
    text-align: center;
    transition: all 0.3s ease;
}
.service .service-item .service-item-inner .icon .fa
{
    font-size: 40px;
    line-height: 60px;
    color: var(--skin-color);
    transition: all 0.3s ease;
}
.service .service-item .service-item-inner:hover .icon
{
    background: var(--skin-color);
}
.service .service-item .service-item-inner:hover .icon .fa
{
    font-size: 25px;
    color: #ffffff;
}
.service .service-item .service-item-inner h4
{
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-main-light);
    font-weight: 700;
    text-transform: capitalize;
}
.service .service-item .service-item-inner p
{
    font-size: 16px;
    color: var(--text-main-light);
    line-height: 25px;
}
/* portfolio */
.portfolio .container
{
    padding-bottom: 40px;
}
.portfolio .portfolio-heading
{
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
}
.portfolio .portfolio-heading h2
{
    color: var(--text-main-light);
    font-weight: 500;
}
.portfolio .portfolio-item
{
    flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;
}
.portfolio .portfolio-item-inner
{
    border: 6px solid var(--bg-glass-light);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}
.portfolio .portfolio-item-inner .portfolio-img img
{
    width: 100%;
    display: block;
}
/* contact */
.contact-title
{
    color: var(--skin-color);
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
}
.contact-sub-title
{
    color: var(--text-main-light);
    text-align: center;
    font-size: 15px;
    margin-bottom: 60px;
}
.contact .contact-info-item
{
    flex: 0 0 25%;
    max-width: 25%;
    text-align: center;
    margin-bottom: 60px;
}
.contact .contact-info-item .icon
{
    display: inline-block;
}
.contact .contact-info-item .icon .fa
{
    font-size: 25px;
    color: var(--skin-color);
}
.contact .contact-info-item h4
{
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main-light);
    text-transform: capitalize;
    margin: 15px 0 5px;
}
.contact .contact-info-item p
{
    font-size: 16px;
    line-height: 25px;
    color: var(--text-main-light);
    font-weight: 400;
}
.contact .contact-form
{
    flex: 0 0 100%;
    max-width: 100%;
}
.contact .contact-form .col-6
{
    flex: 0 0 50%;
    max-width: 50%;
}
.contact .contact-form .col-12
{
    flex: 0 0 100%;
    max-width: 100%;
}
.contact .contact-form .form-item
{
    margin-bottom: 30px;
}

.imageColumn {
    float: left;
    width: 25%;
    padding: 10px;
 }
 
.contact .contact-form .form-item .form-control
{
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: var(--bg-glass-light);
    border: 1px solid var(--border-light);
    padding: 10px 25px;
    font-size: 16px;
    color: var(--text-main-light);
    transition: all 0.3s ease;
}
.contact .contact-form .form-item .form-control:focus
{
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}
.contact .contact-form .form-item textarea.form-control
{
    height: 140px;
}
.contact .contact-form .btn
{
    height: 50px;
    padding: 0 50px;
}
@media (max-width:1199px)
{
    .aside
    {
        left: -270px;
    }
    .main-content
    {
        padding-left: 0;
    }
    .about .about-content .personal-info .info-item p span 
    {
        display: block;
        margin-left: 0;
    }
}
@media (max-width:991px)
{
    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item
    {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .home .home-info
    {
        flex: 0 0 100%;
        max-width:100% ;
    }
    .home .home-img
    {
        display: inline-block;
        max-width: 100%;
        flex: 0 0 100%;
       
        
        
       }
}
@media (max-width:767px)
{
    .contact .contact-form .col-6,
    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item,
    .about .about-content .experience,
    .about .about-content .education,
    .about .about-content .skills,
    .about .about-content .personal-info
    {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
}

/* Google Fonts */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--bg-main-light);
    color: var(--text-main-light);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.glass, .card, .hero-card, .footer {
    background: var(--bg-glass-light);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(35,41,70,0.10);
    border-radius: 24px;
    border: 1.5px solid var(--border-light);
    transition: background 0.3s, color 0.3s;
}
.about-section, .skills-section, .experience-section, .projects-section, .testimonials-section, .contact-section {
    color: var(--text-main-light);
}
.hero-card h1, .hero-card h2, .hero-card p, .hero-card a {
    color: var(--text-main-light);
}
.card h2, .card p, .card ul, .card li, .card a, .card div, .card span {
    color: var(--text-main-light);
}
.navbar-links a {
    color: var(--text-main-light);
    font-weight: 600;
}
.navbar-links a:hover, .navbar-links a.active {
    background: rgba(80,227,194,0.18);
    color: var(--accent-light);
}
body.dark-mode .glass, body.dark-mode .card, body.dark-mode .hero-card, body.dark-mode .footer {
    background: var(--bg-glass-dark);
    border: 1.5px solid var(--border-dark);
}
body.dark-mode .about-section, body.dark-mode .skills-section, body.dark-mode .experience-section, body.dark-mode .projects-section, body.dark-mode .testimonials-section, body.dark-mode .contact-section {
    color: var(--text-main-dark);
}
body.dark-mode .hero-card h1, body.dark-mode .hero-card h2, body.dark-mode .hero-card p, body.dark-mode .hero-card a {
    color: var(--text-main-dark);
}
body.dark-mode .card h2, body.dark-mode .card p, body.dark-mode .card ul, body.dark-mode .card li, body.dark-mode .card a, body.dark-mode .card div, body.dark-mode .card span {
    color: var(--text-main-dark);
}
body.dark-mode .navbar-links a {
    color: var(--text-main-dark);
    font-weight: 700;
}
body.dark-mode .navbar-links a:hover, body.dark-mode .navbar-links a.active {
    background: rgba(80,227,194,0.18);
    color: var(--accent-dark);
}

.glass {
    background: var(--bg-glass-light);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(35,41,70,0.10);
    border-radius: 24px;
    border: 1.5px solid var(--border-light);
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 64px;
    z-index: 1000;
    background: rgba(44,62,80,0.60);
    box-shadow: 0 2px 16px rgba(31,38,135,0.08);
    border-bottom: 2px solid var(--accent-light);
}
.navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 2px;
}
body.dark-mode .navbar-logo {
    color: var(--accent-dark);
}
.navbar-links {
    display: flex;
    gap: 28px;
}
.navbar-links a {
    color: var(--text-main-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
body.dark-mode .navbar-links a {
    color: var(--text-main-dark);
}
.navbar-links a:hover, .navbar-links a.active {
    background: rgba(80,227,194,0.18);
    color: var(--accent-light);
}
body.dark-mode .navbar-links a:hover, body.dark-mode .navbar-links a.active {
    color: var(--accent-dark);
}
.theme-toggle {
    background: rgba(80,227,194,0.18);
    color: var(--text-main-light);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 18px;
    box-shadow: 0 2px 8px rgba(35,41,70,0.08);
    transition: background 0.2s, color 0.2s;
}
body.dark-mode .theme-toggle {
    background: var(--accent-dark);
    color: var(--text-main-dark);
}
.theme-toggle:hover {
    background: var(--accent-light);
    color: var(--text-main-light);
}
main {
    padding-top: 80px;
    max-width: 1100px;
    margin: 0 auto;
}
/* ===== SPECTACULAR ANIMATED SECTIONS ===== */

/* Background Image Overlays */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: overlay;
}

.bg-overlay.hero-bg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.bg-overlay.about-bg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="60" r="2.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: rotate 30s linear infinite;
}

.bg-overlay.skills-bg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 60,30 80,30 65,45 70,65 50,55 30,65 35,45 20,30 40,30" fill="rgba(0,255,255,0.1)"/><polygon points="20,20 25,30 35,30 28,35 30,45 20,40 10,45 12,35 5,30 15,30" fill="rgba(0,255,255,0.1)"/></svg>');
    animation: sparkle 8s ease-in-out infinite;
}

.bg-overlay.experience-bg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="10" y="10" width="20" height="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/><rect x="40" y="30" width="15" height="15" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/><rect x="70" y="50" width="10" height="10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    animation: wave 15s ease-in-out infinite;
}

.bg-overlay.projects-bg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><ellipse cx="30" cy="30" rx="15" ry="8" fill="rgba(255,182,193,0.1)"/><ellipse cx="70" cy="70" rx="12" ry="6" fill="rgba(255,182,193,0.1)"/><ellipse cx="50" cy="50" rx="10" ry="5" fill="rgba(255,182,193,0.1)"/></svg>');
    animation: morphing 12s ease-in-out infinite;
}

.bg-overlay.testimonials-bg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,50 Q30,40 40,50 Q50,60 60,50 Q70,40 80,50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><path d="M20,30 Q30,20 40,30 Q50,40 60,30 Q70,20 80,30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    animation: wave 18s ease-in-out infinite;
}

.bg-overlay.contact-bg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="8" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="6" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="4" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: pulse 10s ease-in-out infinite;
}

/* Real Image Background Overlays */
.bg-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: soft-light;
}

.bg-image-overlay.hero-img {
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=800&h=600&fit=crop&crop=center');
    animation: float 25s ease-in-out infinite;
}

.bg-image-overlay.tech-img {
    background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=800&h=600&fit=crop&crop=center');
    animation: rotate 40s linear infinite;
}

.bg-image-overlay.code-img {
    background-image: url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?w=800&h=600&fit=crop&crop=center');
    animation: shimmer 20s ease-in-out infinite;
}

/* Particle Effects */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 6s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 2.5s; }

/* Hero Section - Cosmic Aurora Effect */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    margin-bottom: 32px;
    position: relative;
    background: var(--hero-bg);
    background-size: 400% 400%;
    animation: aurora 8s ease infinite;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-gradient);
    opacity: 0.4;
    animation: cosmic 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,0,128,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(121,40,202,0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0,212,255,0.3) 0%, transparent 50%);
    animation: rotate 25s linear infinite;
}

/* Add particles to hero */
.hero-section .particle:nth-child(1) { background: #ff0080; animation-duration: 8s; }
.hero-section .particle:nth-child(2) { background: #7928ca; animation-duration: 10s; }
.hero-section .particle:nth-child(3) { background: #00d4ff; animation-duration: 12s; }

.hero-section .card h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section .card h2::before,
.hero-section .card h2::after {
    background: #fff;
}

/* About Section - Holographic Fire Effect */
.about-section {
    position: relative;
    background: var(--about-bg);
    background-size: 400% 400%;
    animation: holographic 10s ease infinite;
    margin-bottom: 32px;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--about-gradient);
    opacity: 0.5;
    animation: fire 6s ease-in-out infinite;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.15);
    animation: morphing 8s ease-in-out infinite;
}

/* Add floating elements */
.about-section .floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff0080, #7928ca);
    border-radius: 50%;
    animation: magnetic 4s ease-in-out infinite;
}

.about-section .floating-element:nth-child(1) {
    top: 30%;
    right: 15%;
    animation-delay: 0s;
}

.about-section .floating-element:nth-child(2) {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.about-section .card h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-section .card h2::before,
.about-section .card h2::after {
    background: #fff;
}

/* Skills Section - Electric Cyber Effect */
.skills-section {
    position: relative;
    background: var(--skills-bg);
    background-size: 400% 400%;
    animation: aurora 12s ease infinite;
    margin-bottom: 32px;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--skills-gradient);
    opacity: 0.5;
    animation: electric 3s ease-in-out infinite;
}

.skills-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: rgba(0,255,255,0.2);
    border-radius: 50%;
    animation: electric 4s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(0,255,255,0.5);
}

/* Add cyber elements */
.skills-section .cyber-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: rotate 6s linear infinite;
}

.skills-section .cyber-element:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.skills-section .cyber-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.skills-section .card h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.skills-section .card h2::before,
.skills-section .card h2::after {
    background: #fff;
}

.skills-section .skill-card {
    border: 2px solid rgba(0,255,255,0.3);
    background: rgba(0,255,255,0.05);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.skills-section .skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,255,255,0.3), transparent);
    transition: left 0.5s;
}

.skills-section .skill-card:hover::before {
    left: 100%;
}

.skills-section .skill-card:hover {
    background: rgba(0,255,255,0.15);
    border-color: rgba(0,255,255,0.8);
    transform: translateY(-15px) scale(1.08) rotate(2deg);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.3),
        0 0 30px rgba(0,255,255,0.5),
        0 0 60px rgba(0,255,255,0.3);
    animation: electric 2s ease-in-out infinite;
}

.skills-section .skill-card:hover i {
    animation: neonGlow 1s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0,255,255,0.8));
}

/* Experience Section - Green to Teal Gradient */
.experience-section {
    position: relative;
    background: var(--experience-bg);
    background-size: 400% 400%;
    animation: gradientShift 14s ease infinite;
    margin-bottom: 32px;
    overflow: hidden;
}

.experience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--experience-gradient);
    opacity: 0.4;
    animation: pulse 5s ease-in-out infinite;
}

.experience-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 15s linear infinite;
}

.experience-section .card h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.experience-section .card h2::before,
.experience-section .card h2::after {
    background: #fff;
}

.experience-section .timeline-vertical {
    border-left: 3px solid rgba(255,255,255,0.8);
}

.experience-section .timeline-item:before {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.experience-section .timeline-item:hover:before {
    background: #fff;
    transform: scale(1.5);
    animation: glow 2s ease-in-out infinite;
}

.experience-section .timeline-content {
    border-left: 3px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.experience-section .timeline-title {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.experience-section .timeline-description strong {
    color: #fff;
}

.experience-section .timeline-description li::before {
    color: rgba(255,255,255,0.8);
}

/* Projects Section - Pink to Yellow Gradient */
.projects-section {
    position: relative;
    background: var(--projects-bg);
    background-size: 400% 400%;
    animation: gradientShift 16s ease infinite;
    margin-bottom: 32px;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--projects-gradient);
    opacity: 0.4;
    animation: wave 7s ease-in-out infinite;
}

.projects-section::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 20%;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 5s ease-in-out infinite;
}

.projects-section .card h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.projects-section .card h2::before,
.projects-section .card h2::after {
    background: #fff;
}

.projects-section .project-card {
    border: 2px solid rgba(255,182,193,0.4);
    background: rgba(255,182,193,0.08);
    backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.projects-section .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,182,193,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.projects-section .project-card:hover::before {
    transform: translateX(100%);
}

.projects-section .project-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,182,193,0.3), transparent);
    animation: rotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.projects-section .project-card:hover::after {
    opacity: 1;
}

.projects-section .project-card:hover {
    border-color: rgba(255,182,193,0.9);
    background: rgba(255,182,193,0.15);
    transform: translateY(-20px) scale(1.05) rotate(1deg);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.4),
        0 0 40px rgba(255,182,193,0.6),
        0 0 80px rgba(255,182,193,0.3);
    animation: glow 3s ease-in-out infinite;
}

.projects-section .project-card:hover h4 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: neonGlow 2s ease-in-out infinite;
}

.projects-section .tech-tag {
    background: rgba(255,182,193,0.25);
    color: #fff;
    border: 1px solid rgba(255,182,193,0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.projects-section .tech-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.3s;
}

.projects-section .tech-tag:hover::before {
    left: 100%;
}

.projects-section .tech-tag:hover {
    background: rgba(255,182,193,0.5);
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,182,193,0.4);
    animation: sparkle 1s ease-in-out infinite;
}

.projects-section .project-image::after {
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
}

/* Testimonials Section - Mint to Pink Gradient */
.testimonials-section {
    position: relative;
    background: var(--testimonials-bg);
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
    margin-bottom: 32px;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--testimonials-gradient);
    opacity: 0.4;
    animation: shimmer 4s ease-in-out infinite;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 20%;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: bounce 4s ease-in-out infinite;
}

.testimonials-section .card h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.testimonials-section .card h2::before,
.testimonials-section .card h2::after {
    background: #fff;
}

.testimonials-section .testimonial-quote {
    border-left: 3px solid rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.testimonials-section .testimonial-avatar {
    background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.3);
}

/* Contact Section - Peach to Orange Gradient */
.contact-section {
    position: relative;
    background: var(--contact-bg);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    margin-bottom: 32px;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--contact-gradient);
    opacity: 0.4;
    animation: pulse 6s ease-in-out infinite;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 30%;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: rotate 12s linear infinite;
}

.contact-section .card h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-section .card h2::before,
.contact-section .card h2::after {
    background: #fff;
}

.contact-section .contact-form-title {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.contact-section .contact-item i {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.contact-section .contact-form {
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.contact-section .contact-form input:focus,
.contact-section .contact-form textarea:focus {
    border-color: rgba(255,255,255,0.8);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    animation: electric 2s ease-in-out infinite;
}

/* Spectacular Button Effects */
.contact-section .contact-form button {
    background: linear-gradient(45deg, #ffecd2, #fcb69f);
    border: none;
    color: #333;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-section .contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.contact-section .contact-form button:hover::before {
    left: 100%;
}

.contact-section .contact-form button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.3),
        0 0 30px rgba(255,255,255,0.5);
    animation: fire 2s ease-in-out infinite;
}

/* Rainbow Text Effect for Section Titles */
.hero-section .card h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-section .card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 16px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.hero-section .card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.about-section .card h2,
.skills-section .card h2,
.experience-section .card h2,
.projects-section .card h2,
.testimonials-section .card h2,
.contact-section .card h2 {
    animation: rainbow 8s linear infinite;
    background: linear-gradient(45deg, #ff0080, #7928ca, #00d4ff, #ff0080);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow 8s linear infinite;
}
.hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 40px 48px 40px;
    text-align: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.15),
        0 10px 40px rgba(0,0,0,0.1),
        inset 0 0 0 1px rgba(255,255,255,0.2);
    border: 2px solid rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    pointer-events: none;
}
.profile-frame {
    width: 220px;
    height: 220px;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 50%;
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.3),
        0 10px 30px rgba(118, 75, 162, 0.2),
        0 0 0 4px rgba(255, 255, 255, 0.1);
    padding: 6px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: profileGlow 4s ease-in-out infinite;
}

@keyframes profileGlow {
    0%, 100% { 
        box-shadow: 
            0 20px 60px rgba(102, 126, 234, 0.3),
            0 10px 30px rgba(118, 75, 162, 0.2),
            0 0 0 4px rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 30px 80px rgba(102, 126, 234, 0.5),
            0 15px 40px rgba(118, 75, 162, 0.4),
            0 0 0 6px rgba(255, 255, 255, 0.2);
    }
}
body.dark-mode .profile-frame {
    background: var(--profile-gradient-dark);
    box-shadow: 0 8px 32px rgba(80,227,194,0.18), 0 2px 8px rgba(35,41,70,0.10);
}
.profile-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 32px;
    background: rgba(255,255,255,0.10);
    z-index: 1;
    pointer-events: none;
}
.profile-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.2),
        0 4px 16px rgba(0,0,0,0.1),
        inset 0 0 0 1px rgba(255,255,255,0.3);
    position: relative;
    z-index: 2;
    background: #fff;
    display: block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1.05) contrast(1.1);
}

.profile-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.15);
    box-shadow: 
        0 12px 40px rgba(0,0,0,0.3),
        0 6px 20px rgba(0,0,0,0.2),
        inset 0 0 0 2px rgba(255,255,255,0.5);
}
body.dark-mode .profile-img {
    background: #232946;
    border: 4px solid var(--accent2-dark);
}
.highlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    padding: 16px 40px;
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.3),
        0 4px 12px rgba(118, 75, 162, 0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.4),
        0 8px 20px rgba(118, 75, 162, 0.3);
}
body.dark-mode .btn {
    background: var(--accent-dark);
    color: var(--text-main-dark);
}
.btn:hover {
    background: var(--accent2-light);
    color: var(--text-main-light);
}
body.dark-mode .btn:hover {
    background: var(--accent2-dark);
    color: var(--text-main-dark);
}
.card {
    background: var(--bg-glass-light);
    border-radius: 22px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.10);
    border: 1.5px solid var(--border-light);
    margin-bottom: 32px;
    padding: 32px 28px;
}
.about-info-row {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin: 18px 0 18px 0;
    flex-wrap: wrap;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.skill-card {
    background: var(--bg-glass-light);
    border-radius: 14px;
    border: 1.5px solid var(--border-light);
    color: var(--text-main-light);
    box-shadow: 0 2px 8px rgba(80,227,194,0.07);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.05rem;
    min-width: 100px;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
    backdrop-filter: blur(6px);
}
body.dark-mode .skill-card {
    background: var(--bg-glass-dark);
    border: 1.5px solid var(--border-dark);
    color: var(--text-main-dark);
}
.skill-card i {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--accent-light);
}
body.dark-mode .skill-card i {
    color: var(--accent-dark);
}
.skill-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 6px 24px rgba(80,227,194,0.13);
    background: var(--accent-light);
    color: var(--text-main-light);
}
body.dark-mode .skill-card:hover {
    background: var(--accent-dark);
    color: var(--text-main-dark);
}
.timeline-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    margin-left: 8px;
    border-left: 3px solid var(--accent-light);
    padding-left: 16px;
}
body.dark-mode .timeline-vertical {
    border-left: 3px solid var(--accent-dark);
}
.timeline-item {
    position: relative;
    padding-left: 37px;
    padding-bottom: 50px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-item:hover:before {
    background: var(--accent2-light);
    transform: scale(1.2);
}

body.dark-mode .timeline-item:hover:before {
    background: var(--accent2-dark);
}

.timeline-content {
    margin-top: 10px;
    background: var(--bg-glass-light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 3px solid var(--accent-light);
}

body.dark-mode .timeline-content {
    background: var(--bg-glass-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-left-color: var(--accent-dark);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

body.dark-mode .timeline-item:hover .timeline-content {
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.timeline-description {
    color: var(--text-main-light);
    line-height: 1.6;
    margin-top: 10px;
}

body.dark-mode .timeline-description {
    color: var(--text-main-dark);
}

.timeline-description ul {
    margin: 10px 0;
    padding-left: 20px;
}

.timeline-description li {
    margin-bottom: 5px;
    position: relative;
}

.timeline-description li::before {
    content: "▸";
    color: var(--accent-light);
    font-weight: bold;
    position: absolute;
    left: -15px;
}

body.dark-mode .timeline-description li::before {
    color: var(--accent-dark);
}

.timeline-description strong {
    color: var(--accent-light);
}

body.dark-mode .timeline-description strong {
    color: var(--accent-dark);
}
.timeline-item:before {
    content: '';
    position: absolute;
    left: -27px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--accent-light);
    border-radius: 50%;
    border: 2px solid var(--text-main-light);
    box-shadow: 0 2px 8px rgba(35,41,70,0.09);
}
.timeline-date {
    font-size: 0.98rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-right: 8px;
}
body.dark-mode .timeline-date {
    color: var(--accent-dark);
}
.timeline-title {
    font-size: 1rem;
    color: var(--text-main-light);
}
body.dark-mode .timeline-title {
    color: var(--text-main-dark);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 18px;
}
.project-card {
    background: var(--bg-glass-light);
    border-radius: 18px;
    border: 1.5px solid var(--border-light);
    box-shadow: 0 2px 12px rgba(44,62,80,0.09);
    padding: 28px 14px 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(80, 227, 194, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(44,62,80,0.2);
    border-color: var(--accent-light);
}

body.dark-mode .project-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-color: var(--accent-dark);
}
body.dark-mode .project-card {
    background: var(--bg-glass-dark);
    border: 1.5px solid var(--border-dark);
    color: var(--text-main-dark);
}
.project-icon {
    font-size: 2.5rem;
    color: var(--accent-light);
    margin-bottom: 12px;
}
body.dark-mode .project-icon {
    color: var(--accent-dark);
}
.project-content {
    width: 100%;
    text-align: center;
}

.project-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-main-light);
    transition: color 0.3s ease;
}

.project-card:hover h4 {
    color: var(--accent-light);
}

body.dark-mode .project-card:hover h4 {
    color: var(--accent-dark);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 15px 0;
}

.tech-tag {
    background: var(--accent-light);
    color: var(--text-main-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

body.dark-mode .tech-tag {
    background: var(--accent-dark);
    color: var(--text-main-dark);
}

.tech-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(80, 227, 194, 0.3);
}

.project-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

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

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

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(80, 227, 194, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::after {
    opacity: 1;
}
body.dark-mode .project-card h4 {
    color: var(--text-main-dark);
}
.testimonial-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.testimonial-quote {
    background: var(--bg-glass-light);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(35,41,70,0.08);
    padding: 24px 28px 18px 28px;
    margin: 0 0 12px 0;
    max-width: 340px;
    flex: 1 1 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
body.dark-mode .testimonial-quote {
    background: var(--bg-glass-dark);
}
.testimonial-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--profile-gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 2em;
    color: var(--text-main-light);
    box-shadow: 0 2px 8px rgba(35,41,70,0.10);
    transition: background 0.3s, color 0.3s;
}
body.dark-mode .testimonial-avatar {
    background: var(--profile-gradient-dark);
    color: var(--text-main-dark);
}
.testimonial-quote blockquote {
    font-style: italic;
    color: var(--text-main-light);
    margin: 0 0 8px 0;
    text-align: center;
}
body.dark-mode .testimonial-quote blockquote {
    color: var(--text-main-dark);
}
.testimonial-quote cite {
    font-size: 0.98em;
    color: var(--accent-light);
    opacity: 0.8;
    text-align: center;
    display: block;
}
body.dark-mode .testimonial-quote cite {
    color: var(--accent-dark);
}
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
.contact-info {
    flex: 1 1 220px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-item {
    font-size: 1.1rem;
    color: var(--text-main-light);
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-item i {
    color: var(--accent-light);
    font-size: 1.3rem;
}
body.dark-mode .contact-item i {
    color: var(--accent-dark);
}
.contact-form-section {
    flex: 2 1 320px;
    min-width: 260px;
}

.contact-form-title {
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

body.dark-mode .contact-form-title {
    color: var(--accent-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-glass-light);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(35,41,70,0.07);
    padding: 20px 14px;
    backdrop-filter: blur(6px);
}

/* Form Status Messages */
.form-status {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-status.success,
.form-status.error {
    opacity: 1;
    transform: translateY(0);
}

.success-message {
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-message {
    color: #dc3545;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark-mode .success-message {
    color: #4ade80;
}

body.dark-mode .error-message {
    color: #f87171;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    font-size: 1rem;
    margin-bottom: 8px;
    font-family: inherit;
    resize: none;
}
.contact-form button {
    align-self: flex-end;
}


.footer {
    width: 100%;
    background: rgba(44,62,80,0.60);
    box-shadow: 0 -2px 16px rgba(31,38,135,0.08);
    border-top: 2px solid var(--accent-light);
    padding: 18px 0 10px 0;
    margin-top: 32px;
    position: relative;
    z-index: 10;
}
body.dark-mode .footer {
    background: var(--bg-glass-dark);
}
.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.footer-social {
    display: flex;
    gap: 18px;
    margin-bottom: 4px;
}
.footer-social a {
    color: var(--text-main-light);
    font-size: 1.3rem;
    background: var(--bg-glass-light);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
body.dark-mode .footer-social a {
    color: var(--text-main-dark);
    background: var(--bg-glass-dark);
}
.footer-social a:hover {
    background: var(--accent-light);
    color: var(--text-main-light);
}
body.dark-mode .footer-social a:hover {
    background: var(--accent-dark);
    color: var(--text-main-dark);
}
.footer-copy {
    font-size: 0.98rem;
    color: var(--accent-light);
}
body.dark-mode .footer-copy {
    color: var(--accent-dark);
}
/* Dark Mode */
body.dark-mode .glass,
body.dark-mode .card,
body.dark-mode .navbar,
body.dark-mode .footer {
    background: var(--bg-glass-dark) !important;
    color: var(--text-main-dark);
    border: 1.5px solid var(--border-dark);
}
body.dark-mode .navbar-logo,
body.dark-mode .navbar-links a {
    color: var(--accent-dark);
}
body.dark-mode .navbar-links a:hover, body.dark-mode .navbar-links a.active {
    background: rgba(80,227,194,0.18);
    color: var(--text-main-dark);
}
body.dark-mode .theme-toggle {
    background: var(--accent-dark);
    color: var(--text-main-dark);
}
body.dark-mode .btn {
    background: var(--accent-dark);
    color: var(--text-main-dark);
}
body.dark-mode .btn:hover {
    background: var(--accent-light);
    color: var(--text-main-dark);
}
body.dark-mode .secondary-btn {
    background: var(--text-main-dark);
    color: var(--accent-dark);
    border: 2px solid var(--accent-dark);
}
body.dark-mode .secondary-btn:hover {
    background: var(--accent-dark);
    color: var(--text-main-dark);
}
body.dark-mode .skill-card,
body.dark-mode .project-card,
body.dark-mode .testimonial-quote,
body.dark-mode .contact-form {
    background: var(--bg-glass-dark);
    color: var(--text-main-dark);
    border: 1.5px solid var(--border-dark);
}
body.dark-mode .skill-card i,
body.dark-mode .project-icon,
body.dark-mode .testimonial-quote cite {
    color: var(--accent-dark);
}
body.dark-mode .footer-social a {
    background: var(--text-main-dark);
    color: var(--accent-dark);
}
body.dark-mode .footer-social a:hover {
    background: var(--accent-dark);
    color: var(--text-main-dark);
}
body.dark-mode .footer-copy {
    color: var(--accent-dark);
}
@media (max-width: 1200px) {
    .container, .footer-content {
        max-width: 98vw;
        padding: 0 8px;
    }
}
@media (max-width: 900px) {
    .mobile-navbar {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: unset;
        background: rgba(35,41,70,0.82);
        z-index: 2000;
        justify-content: flex-start;
        align-items: center;
        padding: 0 0 2px 0;
        box-shadow: 0 2px 16px rgba(31,38,135,0.10);
        border-bottom: 2px solid var(--accent-light);
        border-radius: 0 0 18px 18px;
        backdrop-filter: blur(10px) saturate(1.2);
        -webkit-backdrop-filter: blur(10px) saturate(1.2);
        margin: 0 auto;
        width: 100vw;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE 10+ */
    }
    .mobile-navbar::-webkit-scrollbar {
        display: none;
    }
    .mobile-navbar a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 1em;
        padding: 0 8px;
        min-width: 32px;
        max-width: 56px;
        border-radius: 6px;
        position: relative;
        color: var(--accent-light);
        background: transparent;
        transition: color 0.2s, background 0.2s;
    }
    .mobile-navbar a i {
        font-size: 1.15em;
        color: var(--accent-light);
        margin-bottom: 0;
        transition: color 0.2s;
        display: block;
    }
    .mobile-navbar a span {
        font-size: 0.62em;
        color: #e0e0e0;
        margin-top: 1px;
        max-width: 64px;
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
        text-align: center;
        letter-spacing: 0;
        line-height: 1.1;
        display: block !important;
    }
    .mobile-navbar a.active,
    .mobile-navbar a:hover {
        color: var(--accent2-light);
        background: rgba(80,227,194,0.10);
    }
    .mobile-navbar a.active i,
    .mobile-navbar a:hover i {
        color: var(--accent2-light);
    }
    .mobile-navbar a.active span,
    .mobile-navbar a:hover span {
        color: var(--accent2-light);
    }
    /* Remove tooltip for now since label is visible */
    .mobile-navbar a[title]:hover::after,
    .mobile-navbar a[title]:focus::after,
    .mobile-navbar a[title]::after {
        display: none !important;
        content: none !important;
    }
    .navbar {
        display: none !important;
    }
    main {
        padding-top: 54px !important;
    }
}
@media (max-width: 700px) {
    .mobile-navbar {
        height: 42px;
        min-height: 38px;
        padding: 0 0 1px 0;
    }
    .mobile-navbar a {
        font-size: 0.92em;
        padding: 0 6px;
        min-width: 28px;
        max-width: 54px;
    }
    .mobile-navbar a i {
        font-size: 1em;
    }
    .mobile-navbar a span {
        font-size: 0.56em;
        max-width: 54px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
}
@media (max-width: 500px) {
    .mobile-navbar {
        height: 36px;
        min-height: 32px;
        padding: 0;
    }
    .mobile-navbar a {
        font-size: 0.85em;
        padding: 0 3px;
        min-width: 22px;
        max-width: 40px;
    }
    .mobile-navbar a i {
        font-size: 0.85em;
    }
    .mobile-navbar a span {
        font-size: 0.44em;
        max-width: 40px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
}
@keyframes aurora-halo {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes float-profile {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    10% { opacity: 1; transform: scale(1.2); }
    20% { opacity: 0; transform: scale(0.8); }
}

/* ===== SPECTACULAR ANIMATION KEYFRAMES ===== */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(-25px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

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

@keyframes wave {
    0%, 100% { transform: translateX(0) scale(1); }
    25% { transform: translateX(10px) scale(1.1); }
    50% { transform: translateX(20px) scale(1); }
    75% { transform: translateX(10px) scale(0.9); }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3),
                    0 0 40px rgba(255, 255, 255, 0.2),
                    0 0 60px rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.6),
                    0 0 80px rgba(255, 255, 255, 0.4),
                    0 0 120px rgba(255, 255, 255, 0.2);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-15px) scale(1.1); }
    60% { transform: translateY(-8px) scale(1.05); }
}

/* NEW SPECTACULAR ANIMATIONS */
@keyframes neonGlow {
    0%, 100% { 
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff,
                     0 0 20px #ff00de, 0 0 35px #ff00de, 0 0 40px #ff00de;
    }
    50% { 
        text-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 8px #fff,
                     0 0 12px #ff00de, 0 0 20px #ff00de, 0 0 25px #ff00de;
    }
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0; 
        transform: scale(0) rotate(0deg); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1) rotate(180deg); 
    }
}

@keyframes morphing {
    0%, 100% { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
    25% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    75% { border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%; }
}

@keyframes particleFloat {
    0% { 
        transform: translateY(100vh) rotate(0deg); 
        opacity: 0; 
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-100px) rotate(360deg); 
        opacity: 0; 
    }
}

@keyframes magnetic {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(5px) translateY(-5px); }
    50% { transform: translateX(0) translateY(-10px); }
    75% { transform: translateX(-5px) translateY(-5px); }
}

@keyframes cosmic {
    0% { 
        background: radial-gradient(circle at 20% 80%, #ff0080, #7928ca, #ff0080);
        background-size: 200% 200%;
    }
    25% { 
        background: radial-gradient(circle at 80% 20%, #7928ca, #ff0080, #7928ca);
        background-size: 200% 200%;
    }
    50% { 
        background: radial-gradient(circle at 40% 40%, #ff0080, #7928ca, #ff0080);
        background-size: 200% 200%;
    }
    75% { 
        background: radial-gradient(circle at 60% 60%, #7928ca, #ff0080, #7928ca);
        background-size: 200% 200%;
    }
    100% { 
        background: radial-gradient(circle at 20% 80%, #ff0080, #7928ca, #ff0080);
        background-size: 200% 200%;
    }
}

@keyframes holographic {
    0% { 
        background: linear-gradient(45deg, #ff0080, #7928ca, #00d4ff, #ff0080);
        background-size: 400% 400%;
    }
    100% { 
        background: linear-gradient(45deg, #00d4ff, #ff0080, #7928ca, #00d4ff);
        background-size: 400% 400%;
    }
}

@keyframes electric {
    0%, 100% { 
        box-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff;
        border-color: #00ffff;
    }
    50% { 
        box-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff;
        border-color: #ffffff;
    }
}

@keyframes fire {
    0%, 100% { 
        background: linear-gradient(45deg, #ff4500, #ff8c00, #ffd700);
        box-shadow: 0 0 20px #ff4500;
    }
    50% { 
        background: linear-gradient(45deg, #ffd700, #ff4500, #ff8c00);
        box-shadow: 0 0 40px #ff8c00;
    }
}

@keyframes aurora {
    0% { 
        background: linear-gradient(45deg, #00ff88, #00ffff, #0088ff, #8800ff);
        background-size: 400% 400%;
    }
    25% { 
        background: linear-gradient(45deg, #8800ff, #00ff88, #00ffff, #0088ff);
        background-size: 400% 400%;
    }
    50% { 
        background: linear-gradient(45deg, #0088ff, #8800ff, #00ff88, #00ffff);
        background-size: 400% 400%;
    }
    75% { 
        background: linear-gradient(45deg, #00ffff, #0088ff, #8800ff, #00ff88);
        background-size: 400% 400%;
    }
    100% { 
        background: linear-gradient(45deg, #00ff88, #00ffff, #0088ff, #8800ff);
        background-size: 400% 400%;
    }
}
.profile-frame-circle {
    position: relative;
    border-radius: 50% !important;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto 18px auto;
    z-index: 1;
    /* Animated gradient border */
    background: linear-gradient(120deg, #50e3c2, #eebbc3, #6c63ff, #f9a826, #50e3c2);
    background-size: 300% 300%;
    animation: aurora-halo 8s ease-in-out infinite, float-profile 4s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(80,227,194,0.18), 0 2px 8px rgba(35,41,70,0.10);
    transition: transform 0.25s cubic-bezier(.25,1.7,.35,.8), box-shadow 0.25s;
}
body.dark-mode .profile-frame-circle {
    background: linear-gradient(120deg, #50e3c2, #eebbc3, #6c63ff, #f9a826, #232946);
}
.profile-frame-circle::before {
    /* Glassy inner ring + soft inner shadow */
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    box-shadow: 0 2px 12px rgba(35,41,70,0.10) inset, 0 0 24px 4px rgba(80,227,194,0.08) inset;
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(8px) saturate(1.2);
    border: 2.5px solid rgba(255,255,255,0.25);
}
.profile-frame-circle::after {
    /* Soft glow */
    content: '';
    position: absolute;
    top: -12px; left: -12px; right: -12px; bottom: -12px;
    border-radius: 50%;
    box-shadow: 0 0 32px 8px #50e3c2, 0 0 64px 16px #eebbc3;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
    filter: blur(2px);
}
body.dark-mode .profile-frame-circle::after {
    box-shadow: 0 0 32px 8px #50e3c2, 0 0 64px 16px #232946;
}
.profile-frame-circle:hover {
    transform: scale(1.045) rotate(-2deg);
    box-shadow: 0 12px 48px 0 rgba(80,227,194,0.22), 0 4px 16px rgba(35,41,70,0.18);
}
.profile-img-circle {
    border-radius: 50% !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0%;
    display: block;
    box-shadow: 0 4px 24px rgba(35,41,70,0.10);
    background: transparent;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    border: 4px solid #fff;
}
.profile-frame-circle .sparkle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    opacity: 0.7;
    animation: sparkle 3s infinite;
}
.profile-frame-circle .sparkle1 {
    width: 16px; height: 16px;
    background: radial-gradient(circle, #fff 60%, transparent 100%);
    top: 12px; left: 24px;
    animation-delay: 0s;
}
.profile-frame-circle .sparkle2 {
    width: 10px; height: 10px;
    background: radial-gradient(circle, #eebbc3 60%, transparent 100%);
    top: 40px; right: 18px;
    animation-delay: 1s;
}
.profile-frame-circle .sparkle3 {
    width: 8px; height: 8px;
    background: radial-gradient(circle, #50e3c2 60%, transparent 100%);
    bottom: 18px; left: 38px;
    animation-delay: 2s;
}
/* Hamburger menu styles */
.navbar-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    margin-left: auto;
}
.navbar-hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: var(--accent-light);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
}
body.dark-mode .navbar-hamburger span {
    background: var(--accent-dark);
}

/* Hide mobile navbar by default */
.mobile-navbar {
  display: none;
}

/* Show mobile navbar, hide main navbar on mobile/tablet */
@media (max-width: 900px) {
  .mobile-navbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: unset;
    background: rgba(35,41,70,0.82);
    z-index: 2000;
    justify-content: flex-start;
    align-items: center;
    padding: 0 0 2px 0;
    box-shadow: 0 2px 16px rgba(31,38,135,0.10);
    border-bottom: 2px solid var(--accent-light);
    border-radius: 0 0 18px 18px;
    backdrop-filter: blur(10px) saturate(1.2);
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    margin: 0 auto;
    width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
  }
  .mobile-navbar::-webkit-scrollbar {
    display: none;
  }
  .mobile-navbar a span {
    display: block !important;
  }
  .mobile-navbar a {
    font-size: 1.1em;
    padding: 0 8px;
    min-width: 32px;
    max-width: 56px;
    border-radius: 6px;
    position: relative;
  }
  .mobile-navbar a i {
    font-size: 1.15em;
    margin-bottom: 0;
  }
  /* Tooltip for icon-only nav */
  .mobile-navbar a[title]:hover::after,
  .mobile-navbar a[title]:focus::after {
    content: attr(title);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -28px;
    background: rgba(35,41,70,0.95);
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.85em;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
    opacity: 1;
  }
  .mobile-navbar a[title]::after {
    opacity: 0;
    transition: opacity 0.2s;
  }
  .navbar {
    display: none !important;
  }
  main {
    padding-top: 54px !important;
  }
}
