* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 20%, #f093fb 40%, #f5576c 60%, #4facfe 80%, #00f2fe 100%);
    background-size: 400% 400%;
    min-height: 100vh;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: transparent;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    will-change: scroll-position;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(168, 237, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(116, 185, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(129, 236, 236, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 60% 20%, rgba(85, 163, 255, 0.08) 0%, transparent 35%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
    animation: smoothGlow 6s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #74b9ff;
    transition: color 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(135deg, #74b9ff 0%, #55a3ff 50%, #81ecec 100%);
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

main {
    margin-top: 70px;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: smoothWave 25s ease-in-out infinite;
    color: white;
    padding: 100px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.7) 50%, rgba(240, 147, 251, 0.6) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    animation: floatingOrbs 15s ease-in-out infinite;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    animation: smoothGlow 4s ease-in-out infinite;
}

.btn.primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 50%, #ec4899 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
    animation: none;
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn.tertiary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.btn.tertiary:hover {
    background: linear-gradient(135deg, #ec4899 0%, #ef4444 50%, #3b82f6 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.6);
}

.section {
    padding: 80px 0;
    position: relative;
    transform: translateZ(0);
    will-change: transform;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.95);
}

.section:nth-child(odd) {
    background: rgba(255, 255, 255, 0.85);
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 2px;
    animation: smoothSlide 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.3s both;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.research-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(116, 185, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    opacity: 0;
    transform: translateY(60px) scale(0.9);
}

.research-item.animate {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease forwards;
}

.research-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(116, 185, 255, 0.25);
    border-color: rgba(116, 185, 255, 0.4);
    background: rgba(255, 255, 255, 0.98);
}

.research-item h3 {
    background: linear-gradient(135deg, #74b9ff 0%, #55a3ff 50%, #81ecec 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.publication-list {
    max-width: 800px;
    margin: 0 auto;
}

.publication {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.publication h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.publication .authors {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 5px;
}

.publication .journal {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.publication .doi {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.doi-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.doi-link:hover {
    text-decoration: underline;
    color: #2980b9;
}

.publication-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.publication-link:hover {
    text-decoration: underline;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(116, 185, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.project::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(116, 185, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: gentleGlow 12s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.project > * {
    position: relative;
    z-index: 1;
}

.project:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(116, 185, 255, 0.25);
    border-color: rgba(116, 185, 255, 0.4);
}

.project h3 {
    margin-bottom: 20px;
}

.project-title-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    display: inline-block;
    position: relative;
}


.project-title-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.project p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.project-tech {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    background: #ecf0f1;
    color: #34495e;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    margin-bottom: 30px;
}

.email-box {
    display: inline-block;
    margin-bottom: 20px;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    text-decoration: none;
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.email-link:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25);
    color: #667eea;
}

.email-icon {
    font-size: 1.3rem;
    color: #667eea;
}

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

.social-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #3498db;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3498db;
    color: white;
}

footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    text-align: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 50%, rgba(240, 147, 251, 0.8) 100%);
    z-index: 1;
    animation: smoothWave 15s ease-in-out infinite;
}

footer .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .research-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
}

html {
    scroll-behavior: smooth;
}

@keyframes smoothWave {
    0% {
        background-position: 0% 50%;
        transform: scale(1);
        filter: brightness(1) hue-rotate(0deg);
    }
    25% {
        background-position: 100% 0%;
        transform: scale(1.01);
        filter: brightness(1.05) hue-rotate(10deg);
    }
    50% {
        background-position: 100% 100%;
        transform: scale(1);
        filter: brightness(1.1) hue-rotate(0deg);
    }
    75% {
        background-position: 0% 100%;
        transform: scale(1.005);
        filter: brightness(1.05) hue-rotate(-5deg);
    }
    100% {
        background-position: 0% 50%;
        transform: scale(1);
        filter: brightness(1) hue-rotate(0deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatingBubbles {
    0% {
        transform: rotate(0deg) translateX(0px) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: rotate(90deg) translateX(25px) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: rotate(180deg) translateX(50px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: rotate(270deg) translateX(25px) scale(1.05);
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg) translateX(0px) scale(1);
        opacity: 0.8;
    }
}

@keyframes smoothOrbs {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 75% 25%;
        filter: brightness(1) saturate(1) blur(0px);
        opacity: 0.8;
    }
    25% {
        background-position: 25% 25%, 75% 75%, 25% 75%, 50% 50%;
        filter: brightness(1.05) saturate(1.1) blur(0.5px);
        opacity: 0.9;
    }
    50% {
        background-position: 50% 50%, 50% 50%, 75% 25%, 25% 75%;
        filter: brightness(1.1) saturate(1.15) blur(1px);
        opacity: 1;
    }
    75% {
        background-position: 75% 75%, 25% 25%, 0% 100%, 100% 0%;
        filter: brightness(1.05) saturate(1.1) blur(0.5px);
        opacity: 0.9;
    }
    100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 75% 25%;
        filter: brightness(1) saturate(1) blur(0px);
        opacity: 0.8;
    }
}

@keyframes floatingOrbs {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: rotate(90deg) scale(1.05);
        opacity: 0.9;
    }
    50% {
        transform: rotate(180deg) scale(0.95);
        opacity: 0.7;
    }
    75% {
        transform: rotate(270deg) scale(1.02);
        opacity: 0.85;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.8;
    }
}

@keyframes flowingGradients {
    0% {
        background-position: 0% 0%, 100% 100%, 200% 50%, 50% 200%;
        transform: rotate(0deg);
    }
    25% {
        background-position: 25% 25%, 75% 75%, 150% 100%, 100% 150%;
        transform: rotate(5deg);
    }
    50% {
        background-position: 50% 50%, 50% 50%, 100% 200%, 200% 100%;
        transform: rotate(0deg);
    }
    75% {
        background-position: 75% 75%, 25% 25%, 50% 150%, 150% 50%;
        transform: rotate(-5deg);
    }
    100% {
        background-position: 0% 0%, 100% 100%, 200% 50%, 50% 200%;
        transform: rotate(0deg);
    }
}

@keyframes gentleGlow {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
        filter: blur(20px);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.6;
        filter: blur(15px);
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 0.3;
        filter: blur(20px);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) translateX(-5px) scale(0.8);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-20px) translateX(-15px) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.7;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateY(10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes smoothGlow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1) saturate(1) hue-rotate(0deg);
        opacity: 0.9;
    }
    25% {
        transform: scale(1.01) rotate(1deg);
        filter: brightness(1.05) saturate(1.1) hue-rotate(5deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.02) rotate(0deg);
        filter: brightness(1.1) saturate(1.2) hue-rotate(10deg);
        opacity: 1;
    }
    75% {
        transform: scale(1.01) rotate(-1deg);
        filter: brightness(1.05) saturate(1.1) hue-rotate(5deg);
        opacity: 1;
    }
}

@keyframes smoothSlide {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        width: 100px;
        opacity: 0.8;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(0.5deg);
    }
    50% {
        transform: translateY(-12px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-0.5deg);
    }
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: smoothGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.stat p {
    color: #7f8c8d;
    font-weight: 600;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(116, 185, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    text-align: center;
    opacity: 0;
    transform: scale(0.85) rotate(-2deg);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(116, 185, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: gentleGlow 10s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.service-item > * {
    position: relative;
    z-index: 1;
}

.service-item.animate {
    opacity: 1;
    transform: scale(1);
    animation: scaleIn 0.6s ease forwards;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.04) rotate(0deg);
    box-shadow: 0 18px 45px rgba(116, 185, 255, 0.25);
    border-color: rgba(116, 185, 255, 0.5);
    background: rgba(255, 255, 255, 0.98);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-item h3 {
    background: linear-gradient(135deg, #74b9ff 0%, #55a3ff 50%, #81ecec 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.service-item p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
    color: #555;
}

.service-features li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}

/* Skills & Expertise Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(116, 185, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    text-align: center;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.skill-category.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: fadeInUp 0.6s ease forwards;
}

.skill-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(116, 185, 255, 0.25);
    border-color: rgba(116, 185, 255, 0.4);
}

.skill-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.skill-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
    animation: gentleFloat 6s ease-in-out infinite;
    flex-shrink: 0;
}

.skill-category h3 {
    background: linear-gradient(135deg, #74b9ff 0%, #55a3ff 50%, #81ecec 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}

.skill-items {
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.8;
}

.skill-tag {
    background: none;
    color: #666;
    padding: 0;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline;
    transition: color 0.3s ease;
}

.skill-tag:hover {
    color: #667eea;
    background: none;
    transform: none;
    box-shadow: none;
}

.proficiency-bar {
    width: 100%;
    height: 8px;
    background: rgba(116, 185, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
}

.proficiency-fill {
    height: 100%;
    background: linear-gradient(135deg, #74b9ff 0%, #667eea 50%, #764ba2 100%);
    border-radius: 10px;
    position: relative;
    animation: fillBar 2s ease-in-out forwards;
    transform-origin: left;
}

.proficiency-fill[data-level="85"] { width: 85%; }
.proficiency-fill[data-level="80"] { width: 80%; }
.proficiency-fill[data-level="75"] { width: 75%; }
.proficiency-fill[data-level="70"] { width: 70%; }

.proficiency-text {
    position: absolute;
    right: 10px;
    top: -30px;
    font-size: 0.8rem;
    font-weight: 900 !important;
    color: #667eea;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    margin-bottom: 10px;
}

@keyframes fillBar {
    0% {
        width: 0%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

/* Dark Mode for Skills Section */
[data-theme="dark"] .skill-category {
    background: rgba(15, 15, 35, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    color: #e2e8f0 !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2) !important;
}

[data-theme="dark"] .skill-category:hover {
    background: rgba(15, 15, 35, 0.95) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3) !important;
}

[data-theme="dark"] .skill-tag {
    background: none;
    color: #a0aec0;
    border: none;
}

[data-theme="dark"] .skill-tag:hover {
    color: #74b9ff;
    background: none;
    transform: none;
    box-shadow: none;
}

[data-theme="dark"] .proficiency-bar {
    background: rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .proficiency-text {
    background: rgba(15, 15, 35, 0.9);
    color: #cbd5e0;
    font-weight: 900 !important;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.25);
}

.pricing-card.featured {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) border-box;
    transform: scale(1.05);
    animation: gentleFloat 4s ease-in-out infinite;
    box-shadow: 0 15px 60px rgba(102, 126, 234, 0.3);
}

.pricing-header {
    padding: 35px 25px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card.featured .pricing-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    animation: smoothGlow 3s ease-in-out infinite;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.popular {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
}

.pricing-features {
    list-style: none;
    padding: 30px 20px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
    color: #555;
}

.pricing-features li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}

.pricing-btn {
    display: block;
    margin: 0 25px 35px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.pricing-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 50%, #ec4899 100%);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.pricing-note {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #f39c12;
}

/* Updated responsive design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .research-grid,
    .projects-grid,
    .services-grid,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .portfolio-item:nth-child(even).animate {
        animation: fadeInLeft 0.6s ease forwards;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.scroll-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.scroll-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scroll-scale.animate {
    opacity: 1;
    transform: scale(1);
}

/* Parallax Background Elements */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
    background-image: 
        linear-gradient(45deg, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        linear-gradient(-45deg, rgba(240, 147, 251, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 30% 70%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(79, 172, 254, 0.08) 0%, transparent 45%);
    background-size: 600px 600px, 500px 500px, 400px 400px, 350px 350px;
    background-position: 0 0, 100px 100px, 200px 50px, 50px 200px;
    animation: flowingGradients 25s ease-in-out infinite;
}

.section {
    position: relative;
}

/* Coming Soon Section */
.coming-soon-section {
    margin-top: 60px;
    text-align: center;
}

.coming-soon-section h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #f093fb 60%, #f5576c 80%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: smoothGlow 4s ease-in-out infinite;
}

.coming-soon-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.coming-soon-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(116, 185, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 350px;
    position: relative;
    opacity: 0.7;
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.coming-soon-item:hover {
    opacity: 0.9;
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(116, 185, 255, 0.2);
}

.coming-soon-item h4 {
    background: linear-gradient(135deg, #74b9ff 0%, #55a3ff 50%, #81ecec 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.coming-soon-item p {
    color: #1a202c;
    margin-bottom: 20px;
    font-weight: 600;
}

.coming-soon-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
    animation: gentleFloat 3s ease-in-out infinite;
}

/* Dark Mode for Coming Soon */
[data-theme="dark"] .coming-soon-item {
    background: rgba(15, 15, 35, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(102, 126, 234, 0.2) !important;
    color: #e2e8f0 !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1) !important;
}

[data-theme="dark"] .coming-soon-item:hover {
    background: rgba(15, 15, 35, 0.8) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2) !important;
}

[data-theme="dark"] .coming-soon-item p {
    color: #a0aec0 !important;
}

/* Enhanced Tech Tags */
.tech-tag {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 50%, rgba(240, 147, 251, 0.2) 100%);
    color: #667eea;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.tech-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Floating Elements */
.floating {
    animation: gentleFloat 8s ease-in-out infinite;
}

.floating:nth-child(2n) {
    animation-delay: -3s;
}

.floating:nth-child(3n) {
    animation-delay: -1.5s;
}

/* Pricing Card Animations */
.pricing-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.pricing-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:nth-child(1).animate {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2).animate {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3).animate {
    animation-delay: 0.3s;
}

/* Floating Particles */
.floating-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.6), rgba(240, 147, 251, 0.6));
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    animation: particleFloat 12s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

.floating-particle:nth-child(odd) {
    animation-delay: -6s;
    background: linear-gradient(45deg, rgba(240, 147, 251, 0.6), rgba(245, 87, 108, 0.6));
    box-shadow: 0 0 20px rgba(240, 147, 251, 0.3);
}

.floating-particle:nth-child(even) {
    animation-delay: -3s;
    background: linear-gradient(45deg, rgba(118, 75, 162, 0.6), rgba(79, 172, 254, 0.6));
    box-shadow: 0 0 20px rgba(118, 75, 162, 0.3);
}

.floating-particle:hover {
    animation-play-state: paused;
    transform: scale(1.5);
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.dark-mode-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}

/* Dark Mode Styles */
[data-theme="dark"] {
    color-scheme: dark;
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 20%, #16213e 40%, #0f3460 60%, #533483 80%, #2d1b69 100%) !important;
    background-size: 400% 400% !important;
    background-repeat: no-repeat !important;
    color: #e2e8f0 !important;
    min-height: 100vh !important;
}

[data-theme="dark"] body::before {
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(240, 147, 251, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 60% 20%, rgba(79, 172, 254, 0.06) 0%, transparent 35%);
}

[data-theme="dark"] nav {
    background: rgba(15, 15, 35, 0.95) !important;
    backdrop-filter: blur(25px) !important;
    border-bottom: 1px solid rgba(102, 126, 234, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .nav-menu a {
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    opacity: 0.9;
    transition: all 0.3s ease !important;
}

[data-theme="dark"] .nav-menu a:hover {
    color: #74b9ff !important;
    opacity: 1 !important;
    text-shadow: 0 0 10px rgba(116, 185, 255, 0.5) !important;
    transform: translateY(-1px) !important;
}

[data-theme="dark"] .nav-menu a::after {
    background: linear-gradient(135deg, #74b9ff 0%, #667eea 50%, #f093fb 100%) !important;
    box-shadow: 0 2px 8px rgba(116, 185, 255, 0.4) !important;
}

[data-theme="dark"] .logo {
    background: linear-gradient(135deg, #74b9ff 0%, #667eea 30%, #764ba2 60%, #f093fb 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: brightness(1.2) !important;
    text-shadow: 0 0 20px rgba(116, 185, 255, 0.3) !important;
}

[data-theme="dark"] .dark-mode-toggle {
    color: #e2e8f0 !important;
    background: rgba(102, 126, 234, 0.1) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    border-radius: 10px !important;
}

[data-theme="dark"] .dark-mode-toggle:hover {
    background: rgba(102, 126, 234, 0.25) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    transform: scale(1.05) !important;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #e94560 100%);
}

[data-theme="dark"] .hero::before {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.8) 0%, rgba(22, 33, 62, 0.8) 50%, rgba(15, 52, 96, 0.6) 100%);
}

[data-theme="dark"] .section:nth-child(even) {
    background: rgba(15, 15, 35, 0.85) !important;
    border: none !important;
}

[data-theme="dark"] .section:nth-child(odd) {
    background: rgba(15, 15, 35, 0.75) !important;
    border: none !important;
}

[data-theme="dark"] .research-item,
[data-theme="dark"] .service-item,
[data-theme="dark"] .portfolio-item,
[data-theme="dark"] .pricing-card {
    background: rgba(15, 15, 35, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    color: #e2e8f0 !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2) !important;
}

[data-theme="dark"] .research-item:hover,
[data-theme="dark"] .service-item:hover,
[data-theme="dark"] .portfolio-item:hover,
[data-theme="dark"] .pricing-card:hover {
    background: rgba(26, 32, 44, 0.98) !important;
    border-color: rgba(102, 126, 234, 0.4) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
}

[data-theme="dark"] .stats {
    background: rgba(15, 15, 35, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2) !important;
}

[data-theme="dark"] .pricing-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

[data-theme="dark"] .pricing-card.featured .pricing-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

[data-theme="dark"] .publication {
    background: rgba(15, 15, 35, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    border-left: 4px solid #667eea !important;
    color: #e2e8f0 !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2) !important;
}

[data-theme="dark"] .publication h3 {
    color: #e2e8f0 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .publication .authors {
    color: #cbd5e0 !important;
}

[data-theme="dark"] .publication .journal {
    color: #a0aec0 !important;
}

[data-theme="dark"] .publication .doi {
    color: #a0aec0 !important;
}

[data-theme="dark"] .doi-link {
    color: #667eea !important;
}

[data-theme="dark"] .doi-link:hover {
    color: #74b9ff !important;
}

[data-theme="dark"] .project {
    background: rgba(15, 15, 35, 0.9) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    color: #e2e8f0 !important;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2) !important;
}

[data-theme="dark"] .project:hover {
    background: rgba(15, 15, 35, 0.95) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3) !important;
}

[data-theme="dark"] .project h3 {
    color: #e2e8f0 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .project p {
    color: #a0aec0 !important;
}

[data-theme="dark"] .project-title-link {
    background: linear-gradient(135deg, #74b9ff 0%, #667eea 30%, #764ba2 60%, #f093fb 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: brightness(1.2) !important;
}

[data-theme="dark"] .project-title-link:hover {
    filter: brightness(1.4) !important;
    text-shadow: 0 0 20px rgba(116, 185, 255, 0.3) !important;
}


[data-theme="dark"] .tech-tag {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 50%, rgba(240, 147, 251, 0.15) 100%);
    color: #cbd5e0;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

[data-theme="dark"] .contact-info p {
    color: #cbd5e0;
}

[data-theme="dark"] .social-link {
    color: #667eea;
    border-color: #667eea;
}

[data-theme="dark"] .social-link:hover {
    background: #667eea;
    color: white;
}

[data-theme="dark"] .email-link {
    background: rgba(15, 15, 35, 0.9) !important;
    border: 2px solid rgba(102, 126, 234, 0.4) !important;
    color: #e2e8f0 !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2) !important;
}

[data-theme="dark"] .email-link:hover {
    background: rgba(15, 15, 35, 0.95) !important;
    border-color: rgba(102, 126, 234, 0.6) !important;
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3) !important;
    color: #74b9ff !important;
}

[data-theme="dark"] .email-icon {
    color: #74b9ff !important;
}

/* Additional dark mode fixes for white backgrounds */
[data-theme="dark"] html {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #e94560 100%) !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    min-height: 100vh !important;
}

[data-theme="dark"] .pricing-note {
    background: rgba(15, 15, 35, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    border-left: 4px solid #f39c12 !important;
    color: #e2e8f0 !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2) !important;
}

[data-theme="dark"] .pricing-note p {
    color: #cbd5e0 !important;
}

[data-theme="dark"] .pricing-note strong {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .service-features li {
    color: #cbd5e0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .service-item p {
    color: #a0aec0 !important;
}

[data-theme="dark"] .about-text p {
    color: #cbd5e0 !important;
}

[data-theme="dark"] .stat p {
    color: #a0aec0 !important;
}

[data-theme="dark"] .portfolio-results {
    background: rgba(26, 32, 44, 0.95) !important;
    border-left: 4px solid #27ae60 !important;
    color: #cbd5e0 !important;
}

[data-theme="dark"] .portfolio-item p {
    color: #a0aec0 !important;
}

[data-theme="dark"] .research-item p {
    color: #a0aec0 !important;
}


[data-theme="dark"] .parallax-bg {
    background: rgba(26, 32, 44, 0.5) !important;
}

/* Fix scrolling blinking by ensuring consistent background */
[data-theme="dark"] * {
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.6) rgba(26, 32, 44, 0.5);
}

[data-theme="dark"] *::-webkit-scrollbar {
    width: 8px;
}

[data-theme="dark"] *::-webkit-scrollbar-track {
    background: rgba(26, 32, 44, 0.5);
}

[data-theme="dark"] *::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.6);
    border-radius: 4px;
}

/* Force consistent dark background on all elements */
[data-theme="dark"] .container {
    background: transparent !important;
}

[data-theme="dark"] main {
    background: transparent !important;
}