/* Base Styles */
:root {
    --primary-color: #0a66c2;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #666;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
    font-size: 2.2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.bg-light {
    background-color: var(--light-color);
}

/* Header Styles */
header {
    height: 100vh;
    position: relative;
    color: #fff;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1516116216624-53e697fedbea?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2128&q=80') center/cover no-repeat;
    filter: blur(3px);
    transform: scale(1.1);
    z-index: -1;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

nav.scrolled {
    background-color: var(--dark-color);
    box-shadow: var(--box-shadow);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a i {
    margin-right: 5px;
}

.nav-links a[download] {
    display: inline;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 1.5rem;
}

.contact-links a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.contact-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-links a .fa-linkedin:hover {
    color: #0a66c2;
}

.contact-links a .fa-github:hover {
    color: #f5f5f5;
}

.contact-links a .fa-youtube:hover {
    color: #ff0000;
}

/* About Styles */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: center;
}

/* Education Styles */
.education-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

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

.college-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.college-logo {
    width: 80px;
    height: auto;
    object-fit: contain;
    margin-top: 5px;
}

.college-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.college-details h3 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.college-details p {
    margin: 0;
    color: var(--text-light);
}

.date {
    color: var(--primary-color);
    font-weight: 500;
    white-space: nowrap;
}

/* Skills Styles */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.skill-category {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.skill-category.featured {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

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

.skill-header i {
    font-size: 24px;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.skill-category:hover .skill-header i {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: white;
}

.skill-header h3 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.skill-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Projects Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.project-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.project-item:nth-child(1)::before {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1589994965851-a8f479c573a9?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.project-item:nth-child(2)::before {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.project-item:nth-child(3)::before {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1677442136019-21780ecad995?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.project-item:nth-child(4)::before {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
}

.project-item:nth-child(5)::before {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://plus.unsplash.com/premium_photo-1725985758331-e1b46919d8cf?q=80&w=3270&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.project-header {
    position: relative;
    padding: 2rem;
    color: white;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-header h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.project-tech {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.project-content {
    padding: 2rem;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-description {
    position: relative;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.project-description p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-links {
    position: relative;
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    color: #4299e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.project-links a:hover {
    color: #2b6cb0;
}

.project-links i {
    margin-right: 0.5rem;
}

/* Experience Styles */
.experience-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
}

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

.experience-header h3 {
    color: var(--secondary-color);
    margin-right: 10px;
}

.experience-item ul {
    padding-left: 20px;
    list-style-type: disc;
}

.experience-item li {
    margin-bottom: 10px;
}

/* Achievements Styles */
.achievements-list, .extracurricular-list {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    list-style-type: disc;
    padding-left: 50px;
}

.achievements-list li, .extracurricular-list li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.achievements-list li:last-child, .extracurricular-list li:last-child {
    margin-bottom: 0;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.social-links a .fa-youtube:hover {
    color: #ff0000;
}

/* Profile Styles */
.name-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1rem;
}

.text-content {
    flex: 1;
}

.text-content h1 {
    margin: 0;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.text-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        height: auto;
        min-height: 100vh;
    }
    
    nav {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        margin-top: 20px;
    }
    
    .nav-links li {
        margin: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .contact-links {
        justify-content: center;
    }
    
    .project-header, .experience-header, .education-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .date {
        margin-top: 5px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .social-links {
        margin-top: 20px;
    }

    .name-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .text-content h1 {
        font-size: 2rem;
    }

    .text-content p {
        font-size: 1.1rem;
    }

    .contact-links {
        justify-content: center;
    }

    .education-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .college-info {
        width: 100%;
    }
    
    .college-logo {
        width: 60px;
    }
    
    .date {
        align-self: flex-start;
    }

    .skill-category.featured {
        grid-column: span 1;
    }
    
    .skill-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .skill-header i {
        font-size: 20px;
    }
    
    .skill-header h3 {
        font-size: 1.2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .company-info {
        width: 100%;
    }
    
    .company-logo {
        width: 60px;
    }
    
    .experience-header {
        flex-direction: column;
        gap: 1rem;
    }

    .achievements-list, .extracurricular-list {
        padding: 20px;
        padding-left: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .project-item {
        padding: 1.25rem;
    }
}

@media (max-width: 1200px) {
    .skill-category.featured {
        grid-column: span 1;
    }
}

.company-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.company-logo {
    width: 80px;
    height: auto;
    object-fit: contain;
    margin-top: 5px;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.company-details h3 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

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

.animated-text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin: 1rem 0;
}

.static-text {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 400;
}

.dynamic-text {
    margin-left: 8px;
    line-height: 40px;
    height: 40px;
    overflow: hidden;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
}

.dynamic-text::before {
    content: "Data Scientist";
    animation: animate 10s steps(1) infinite;
}

@keyframes animate {
    0%, 25% {
        content: "Data Scientist";
        color: #FF6B6B; /* Bright coral red */
    }
    25%, 50% {
        content: "Data Engineer";
        color: #4ECDC4; /* Bright turquoise */
    }
    50%, 75% {
        content: "ML Engineer";
        color: #FFD93D; /* Bright yellow */
    }
    75%, 100% {
        content: "Software Engineer";
        color: #6C63FF; /* Bright purple */
    }
}

.dynamic-text::after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    border-left: 2px solid var(--primary-color);
    animation: typing 2.5s steps(20) infinite;
    background: rgba(44, 62, 80, 0.9);
}

@keyframes typing {
    40%, 60% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
} 