@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

nav a:hover::before {
    left: 100%;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

nav a:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Responsive navigation */
@media (max-width: 768px) {
    nav {
        top: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        padding: 6px 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
    }
    
    nav a {
        font-size: 12px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 2px;
    }
    
    nav a {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* Dark navigation styles */
nav.dark-nav {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

nav.dark-nav a {
    color: #2d3748;
}

nav.dark-nav a:hover {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Main content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    min-height: 80vh;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Brain Image Styling */
.brain-image {
    width: 150px;
    height: 120px;
    margin-bottom: 30px;
    position: relative;
    animation: brainFloat 4s ease-in-out infinite;
}

.brain-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(240, 147, 251, 0.4));
    border-radius: 15px;
}

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

@keyframes gradientBrain {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    padding: 8px;
    margin-bottom: 30px;
    position: relative;
    animation: profilePulse 4s ease-in-out infinite;
}

@keyframes profilePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
    opacity: 0.3;
    z-index: -1;
    animation: rotate 10s linear infinite;
}

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

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
}

/* Motto Styling */
.motto {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    max-width: 380px;
    position: relative;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.motto:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.motto::before {
    content: '✨';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
}

.motto::after {
    content: '✨';
    position: absolute;
    bottom: -10px;
    right: 20px;
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite 1s;
}

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

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Enhanced Social Links with Custom Tooltips */
.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    cursor: pointer;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Custom Tooltip Styles */
.social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -37px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.social-link:hover::before,
.social-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Specific hover effects for each social link */
.social-link[data-tooltip]:hover {
    animation: socialPulse 0.6s ease-in-out;
}

@keyframes socialPulse {
    0%, 100% { 
        transform: translateY(-5px) scale(1.1); 
    }
    50% { 
        transform: translateY(-8px) scale(1.15); 
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }
}

/* Responsive tooltips */
@media (max-width: 768px) {
    .social-link::before {
        bottom: -40px;
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .social-link::after {
        bottom: -32px;
        border-bottom: 6px solid rgba(0, 0, 0, 0.9);
    }
}

.content-section {
    color: white;
}

.name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
}

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

.title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    text-align: justify;
}

.highlight {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.3);
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(240, 147, 251, 0.4);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f093fb;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Responsive design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .education-timeline::before {
        left: 20px;
    }
    
    .education-item::before {
        left: -35px;
        width: 15px;
        height: 15px;
    }
    
    .experience-item {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .experience-left {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .company-logo {
        width: 60px;
        height: 60px;
    }
    
    .company-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skills-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .education-timeline::before {
        display: none;
    }
    
    .education-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .education-item::before {
        display: none;
    }
    
    .education-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .degree-title {
        text-align: center;
        font-size: 1.2rem;
    }
    
    .education-icon {
        align-self: center;
    }
    
    .experience-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .experience-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .company-logo {
        width: 60px;
        height: 60px;
    }
    
    .experience-period {
        width: 100%;
        text-align: center;
    }
    
    .company-info {
        text-align: center;
    }
    
    .position-title {
        font-size: 1.1rem;
    }
    
    .tech-tags {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .project-card {
        min-height: 350px;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    nav a {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .brain-image {
        width: 100px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
    }
    
    .motto {
        font-size: 0.9rem;
        max-width: 250px;
        margin-bottom: 20px;
    }
}

/* Projects Section */
.projects-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 80px 0;
    margin-top: 60px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 400px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.project-label {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.project-date {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
}

.project-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
}

.project-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

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

.project-icon {
    font-size: 2rem;
    filter: brightness(0) invert(1);
}

.project-description {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 20px;
    text-align: justify;
}

.project-link {
    font-size: 1.5rem;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.project-link:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.1);
    color: #4c51bf;
}

/* Skills Section */
.skills-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    margin-top: 0;
}

.skills-section .section-title {
    color: white;
    margin-bottom: 60px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.skill-category {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.category-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
}

.category-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #f5576c, #f093fb);
}

.skill-name {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* Skill icon variations */
.skill-icon.python { background: linear-gradient(135deg, #3776ab, #ffd43b); }
.skill-icon.r { background: linear-gradient(135deg, #276dc3, #1d4289); }
.skill-icon.sql { background: linear-gradient(135deg, #336791, #1a252f); }
.skill-icon.swift { background: linear-gradient(135deg, #fa7343, #f14a29); }
.skill-icon.js { background: linear-gradient(135deg, #f7df1e, #f5c842); color: #000; }
.skill-icon.web { background: linear-gradient(135deg, #e34f26, #1572b6); }

.skill-icon.pytorch { background: linear-gradient(135deg, #ee4c2c, #ff6b3d); }
.skill-icon.tensorflow { background: linear-gradient(135deg, #ff6f00, #ffa726); }
.skill-icon.pandas { background: linear-gradient(135deg, #150458, #e70488); }
.skill-icon.sklearn { background: linear-gradient(135deg, #f7931e, #3499cd); }
.skill-icon.cv { background: linear-gradient(135deg, #4285f4, #0f9d58); }
.skill-icon.nlp { background: linear-gradient(135deg, #673ab7, #9c27b0); }

.skill-icon.spark { background: linear-gradient(135deg, #e25a1c, #f4b942); }
.skill-icon.hadoop { background: linear-gradient(135deg, #66ccff, #003d6b); }
.skill-icon.kafka { background: linear-gradient(135deg, #231f20, #525252); }
.skill-icon.delta { background: linear-gradient(135deg, #00d4aa, #00b894); }
.skill-icon.databricks { background: linear-gradient(135deg, #ff3621, #e74c3c); }

.skill-icon.postgresql { background: linear-gradient(135deg, #336791, #1a252f); }
.skill-icon.mongodb { background: linear-gradient(135deg, #47a248, #3d8b40); }
.skill-icon.neo4j { background: linear-gradient(135deg, #008cc1, #0062a3); }

.skill-icon.tableau { background: linear-gradient(135deg, #e97627, #1f5582); }
.skill-icon.ggplot { background: linear-gradient(135deg, #276dc3, #1d4289); }
.skill-icon.dashboard { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }

.skill-icon.threejs { background: linear-gradient(135deg, #000000, #333333); }
.skill-icon.webgl { background: linear-gradient(135deg, #990000, #cc0000); }
.skill-icon.websocket { background: linear-gradient(135deg, #4a90e2, #357abd); }

.skill-icon.stats { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.skill-icon.etl { background: linear-gradient(135deg, #00b894, #00cec9); }
.skill-icon.ab { background: linear-gradient(135deg, #e17055, #fdcb6e); }
.skill-icon.research { background: linear-gradient(135deg, #636e72, #2d3436); }

.skill-icon.transformer { background: linear-gradient(135deg, #ff7675, #fd79a8); }
.skill-icon.resnet { background: linear-gradient(135deg, #74b9ff, #0984e3); }
.skill-icon.vae { background: linear-gradient(135deg, #a29bfe, #6c5ce7); }
.skill-icon.lightgbm { background: linear-gradient(135deg, #fdcb6e, #e17055); }
.skill-icon.iot { background: linear-gradient(135deg, #00b894, #55a3ff); }

/* Skills animations */
@keyframes skillPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(240, 147, 251, 0.4); }
}

/* Education Section */
.education-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 80px 0;
    margin-top: 0;
}

.education-section .section-title {
    color: #2d3748;
    margin-bottom: 60px;
}

.education-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    z-index: 1;
}

.education-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.education-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.education-item::before {
    content: '';
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
    z-index: 2;
}

.education-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    border-radius: 15px;
    position: relative;
}

.education-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.university-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: white;
    border-radius: 10px;
    padding: 8px;
}

.university-placeholder {
    font-size: 2rem;
    color: white;
}

.education-content {
    flex: 1;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 20px;
}

.degree-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.3;
}

.education-period {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.university-name {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 15px;
}

.education-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
}

.grade-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.grade, .gpa {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.gpa {
    background: rgba(240, 147, 251, 0.1);
    color: #f093fb;
}

.coursework h4 {
    color: #2d3748;
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.course-tag:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.course-tag.special {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    border: none;
}

.course-tag.special:hover {
    background: linear-gradient(135deg, #f5576c, #f093fb);
    box-shadow: 0 5px 15px rgba(240, 147, 251, 0.3);
}

/* Experience Section */
.experience-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    margin-top: 0;
}

.experience-section .section-title {
    color: white;
    margin-bottom: 60px;
}

.experience-timeline {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.experience-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.experience-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.experience-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.company-logo::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

.company-icon {
    font-size: 2rem;
    color: white;
    filter: brightness(0) invert(1);
}

.experience-period {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    width: fit-content;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.position-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.3;
}

.company-name {
    font-size: 1rem;
    color: #667eea;
    font-weight: 600;
}

.location {
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
}

.experience-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.responsibilities h4,
.technologies h4 {
    color: #2d3748;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}

.responsibilities ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.responsibilities li {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.responsibilities li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Technology tag colors */
.tech-tag.python { background: linear-gradient(135deg, #3776ab, #ffd43b); color: white; }
.tech-tag.js { background: linear-gradient(135deg, #f7df1e, #f5c842); color: #000; }
.tech-tag.webgl { background: linear-gradient(135deg, #990000, #cc0000); color: white; }
.tech-tag.pytorch { background: linear-gradient(135deg, #ee4c2c, #ff6b3d); color: white; }
.tech-tag.iot { background: linear-gradient(135deg, #00b894, #55a3ff); color: white; }
.tech-tag.ml { background: linear-gradient(135deg, #6c5ce7, #a29bfe); color: white; }
.tech-tag.audio { background: linear-gradient(135deg, #fd79a8, #fdcb6e); color: white; }
.tech-tag.websocket { background: linear-gradient(135deg, #4a90e2, #357abd); color: white; }
.tech-tag.pandas { background: linear-gradient(135deg, #150458, #e70488); color: white; }
.tech-tag.sklearn { background: linear-gradient(135deg, #f7931e, #3499cd); color: white; }
.tech-tag.numpy { background: linear-gradient(135deg, #013243, #4dabf7); color: white; }
.tech-tag.tableau { background: linear-gradient(135deg, #e97627, #1f5582); color: white; }
.tech-tag.analytics { background: linear-gradient(135deg, #00b894, #00cec9); color: white; }
.tech-tag.viz { background: linear-gradient(135deg, #fd63a3, #fc9c94); color: white; }
.tech-tag.r { background: linear-gradient(135deg, #276dc3, #1d4289); color: white; }
.tech-tag.sql { background: linear-gradient(135deg, #336791, #1a252f); color: white; }
.tech-tag.excel { background: linear-gradient(135deg, #217346, #107c41); color: white; }
.tech-tag.ggplot { background: linear-gradient(135deg, #276dc3, #1d4289); color: white; }
.tech-tag.nlp { background: linear-gradient(135deg, #673ab7, #9c27b0); color: white; }
.tech-tag.sna { background: linear-gradient(135deg, #e17055, #fdcb6e); color: white; }
.tech-tag.stats { background: linear-gradient(135deg, #6c5ce7, #a29bfe); color: white; }
.tech-tag.swift { background: linear-gradient(135deg, #fa7343, #f14a29); color: white; }
.tech-tag.swiftui { background: linear-gradient(135deg, #007aff, #5ac8fa); color: white; }
.tech-tag.ios { background: linear-gradient(135deg, #007aff, #34c759); color: white; }
.tech-tag.xcode { background: linear-gradient(135deg, #1575f9, #0056d3); color: white; }
.tech-tag.git { background: linear-gradient(135deg, #f05032, #f14e32); color: white; }
.tech-tag.github { background: linear-gradient(135deg, #24292e, #586069); color: white; }
.tech-tag.office { background: linear-gradient(135deg, #d83b01, #ff8c00); color: white; }
.tech-tag.admin { background: linear-gradient(135deg, #636e72, #2d3436); color: white; }
.tech-tag.support { background: linear-gradient(135deg, #00b894, #00cec9); color: white; }
.tech-tag.social { background: linear-gradient(135deg, #e84393, #fd79a8); color: white; }
.tech-tag.docs { background: linear-gradient(135deg, #74b9ff, #0984e3); color: white; }

/* Publications Section */
.publications-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 80px 0;
    margin-top: 0;
}

.publications-section .section-title {
    color: #2d3748;
    margin-bottom: 60px;
}

.publications-grid {
    max-width: 900px;
    margin: 0 auto;
}

.publication-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.publication-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.publication-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.publication-type {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.publication-year {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 8px 16px;
    border-radius: 15px;
    font-weight: 600;
}

.publication-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.3;
}

.publication-authors {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.author-name {
    color: #4a5568;
    font-weight: 500;
}

.author-name.highlight {
    color: #667eea;
    font-weight: 600;
}

.publication-venue {
    color: #718096;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
}

.publication-abstract {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.publication-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.keyword {
    background: rgba(240, 147, 251, 0.1);
    color: #f093fb;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.keyword:hover {
    background: rgba(240, 147, 251, 0.2);
    transform: translateY(-2px);
}

.publication-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.publication-btn {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.publication-btn.primary {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
    box-shadow: 0 5px 15px rgba(240, 147, 251, 0.3);
}

.publication-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
}

.publication-btn.secondary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.publication-btn.secondary:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .publication-card {
        padding: 25px;
    }
    
    .publication-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .publication-title {
        font-size: 1.4rem;
    }
    
    .publication-actions {
        justify-content: center;
    }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 80px 0;
    margin-top: 0;
}

.contact-section .section-title {
    color: #2d3748;
    margin-bottom: 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: #f8f9fa;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    font-weight: 500;
}

.send-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.send-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.send-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.send-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Contact Info */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Social Links */
.contact-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contact-social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(240, 147, 251, 0.3);
}

.contact-social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(240, 147, 251, 0.4);
}

.social-icon {
    font-size: 1.2rem;
    color: white;
}

/* Contact Details */
.contact-details {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    font-weight: 600;
    color: #667eea;
    font-size: 0.9rem;
}

.contact-value {
    color: #4a5568;
    font-weight: 500;
}

/* Tooltips for contact social links */
.contact-social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.contact-social-link:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .contact-social-links {
        gap: 15px;
    }
    
    .contact-social-link {
        width: 45px;
        height: 45px;
    }
    
    .map-container {
        height: 250px;
    }
    
    .contact-details {
        padding: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 20px;
    }
    
    .send-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .contact-social-links {
        gap: 10px;
    }
    
    .contact-social-link {
        width: 40px;
        height: 40px;
    }
}

/* Projects Section CSS Updates */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px; /* Increased from 1200px */
    margin: 0 auto;
}

/* Update stats section to reflect 12+ projects */
.stat-card:first-child .stat-number {
    content: "12+";
}

/* Responsive updates for better mobile handling */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    .project-card {
        min-height: 350px;
    }
}

/* Ensure consistent card heights */
.project-card {
    min-height: 400px;
}