/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5077BE;
    --primary-dark: #1E2A55;
    --secondary-color: #1E2A55;
    --accent-color: #5077BE;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --bg-light: #F4F4F4;
    --bg-white: #ffffff;
    --border-color: #E0E0E0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    perspective: 1000px;
}

/* 3D Text Effects */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title,
.nav-brand, .nav-link,
.btn, .skill-item h3,
.project-content h3, .cert-card h3,
.interest-card h3, .achievement-card h3,
.contact-info h3, .education-content h3,
.experience-content h3 {
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.1),
        2px 2px 0 rgba(0, 0, 0, 0.08),
        3px 3px 0 rgba(0, 0, 0, 0.06),
        4px 4px 0 rgba(0, 0, 0, 0.04),
        5px 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateZ(0);
    transform-style: preserve-3d;
}

p, span, li, .hero-description,
.about-text p, .skill-item p,
.project-content p, .cert-issuer,
.cert-date, .interest-card p,
.achievement-card p, .contact-info > p,
.education-content p, .experience-content li,
.contact-item, .project-features li,
.project-results li {
    text-shadow: 
        0.5px 0.5px 0 rgba(0, 0, 0, 0.08),
        1px 1px 0 rgba(0, 0, 0, 0.06),
        1.5px 1.5px 0 rgba(0, 0, 0, 0.04),
        2px 2px 5px rgba(0, 0, 0, 0.08);
    transform: translateZ(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px) translateZ(5px);
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.1),
        2px 2px 0 rgba(0, 0, 0, 0.08),
        3px 3px 0 rgba(0, 0, 0, 0.06),
        4px 4px 0 rgba(0, 0, 0, 0.04),
        5px 5px 10px rgba(80, 119, 190, 0.3);
}

.nav-link:hover::after {
    width: 100%;
}

.tab-link.active {
    color: var(--primary-color);
    font-weight: 600;
    transform: translateZ(10px);
}

.tab-link.active::after {
    width: 100%;
    background-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero.tab-content {
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 1s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.hero-text {
    animation: fadeInRight 1s ease;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transform: translateZ(20px);
    transition: transform 0.3s ease;
}

.hero-title:hover {
    transform: translateZ(30px) scale(1.02);
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px) translateZ(10px);
    box-shadow: var(--shadow-lg);
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.2),
        2px 2px 0 rgba(0, 0, 0, 0.15),
        3px 3px 5px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px) translateZ(10px);
    box-shadow: var(--shadow-md);
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.2),
        2px 2px 0 rgba(0, 0, 0, 0.15),
        3px 3px 5px rgba(0, 0, 0, 0.2);
}

.btn-resume {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-resume:hover {
    background-color: #475569;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Tab Content Styles */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
    min-height: calc(100vh - 80px);
    padding-top: 80px;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-white);
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
    transform: translateZ(15px);
    transition: transform 0.3s ease;
}

.section-title:hover {
    transform: translateZ(25px) scale(1.05);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.skill-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.skill-item:hover {
    transform: translateY(-5px) translateZ(15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.skill-item:hover h3 {
    transform: translateZ(20px) scale(1.05);
}

.skill-item h3 {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

.skill-item p {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.skill-item p {
    color: var(--text-light);
}

/* Education Section */
.education-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-left: 2rem;
    position: relative;
}

.education-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.education-item::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.education-year {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.education-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.education-institution {
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-content p {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
    line-height: 1.8;
}

.education-year {
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
}

/* Experience Section */
.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-left: 2rem;
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.experience-item::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.experience-year {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.experience-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.experience-company {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.experience-content ul {
    list-style: none;
    padding-left: 0;
}

.experience-content li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.experience-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px) translateZ(20px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.project-card:hover h3 {
    transform: translateZ(25px) scale(1.03);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.project-content p {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-overview {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.project-details {
    margin: 1.5rem 0;
}

.project-details h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 1.5rem 0 0.8rem 0;
    font-weight: 600;
}

.project-details h4:first-child {
    margin-top: 0;
}

.project-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.project-features li {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.project-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.project-features li strong {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

.project-results {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.project-results li {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    padding-left: 0;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cert-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px) translateZ(15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.cert-card:hover h3 {
    transform: translateZ(20px) scale(1.05);
}

.cert-card h3 {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

.cert-issuer {
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
    font-weight: 600;
}

.cert-date {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cert-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cert-issuer {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cert-date {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cert-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cert-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Achievements Section */
.achievement-content {
    max-width: 800px;
    margin: 0 auto;
}

.achievement-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    transform: translateZ(10px);
}

.achievement-card:hover h3 {
    transform: translateZ(15px) scale(1.02);
}

.achievement-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.achievement-card p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Interests Section */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.interest-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-5px) translateZ(15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.interest-card:hover h3 {
    transform: translateZ(20px) scale(1.05);
}

.interest-card h3 {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

.interest-card p {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
}

.interest-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.interest-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.interest-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info > p {
    font-family: 'Roboto', sans-serif;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-family: 'Roboto', sans-serif;
}

.contact-icon {
    font-size: 1.5rem;
}

.resume-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.resume-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.social-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px) translateZ(10px);
    box-shadow: var(--shadow-lg);
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.2),
        2px 2px 0 rgba(0, 0, 0, 0.15),
        3px 3px 5px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(80, 119, 190, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    font-family: 'Roboto', sans-serif;
}

.footer p {
    margin: 0.5rem 0;
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(80, 119, 190, 0.4);
    transition: all 0.3s ease;
    transform: translateZ(0);
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.1),
        2px 2px 0 rgba(0, 0, 0, 0.08);
}

.chatbot-toggle:hover {
    transform: translateY(-5px) translateZ(10px) scale(1.1);
    box-shadow: 0 8px 25px rgba(80, 119, 190, 0.6);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 600px;
    background-color: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    transform: translateZ(0);
    animation: slideUp 0.3s ease;
}

.chatbot-window.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.1),
        2px 2px 0 rgba(0, 0, 0, 0.08);
}

.chatbot-header-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.chatbot-header-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    margin: 0.25rem 0 0 0;
    opacity: 0.9;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.chatbot-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) translateZ(5px);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.chatbot-message {
    display: flex;
    margin-bottom: 0.5rem;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    text-shadow: 
        0.5px 0.5px 0 rgba(0, 0, 0, 0.05);
    transform: translateZ(0);
}

.bot-message .message-content {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.user-message .message-content {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-shadow: 
        1px 1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(80, 119, 190, 0.3);
}

.chatbot-input-container {
    display: flex;
    padding: 1rem;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    gap: 0.5rem;
}

#chatbot-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s ease;
}

#chatbot-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(80, 119, 190, 0.1);
}

.chatbot-send-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(80, 119, 190, 0.3);
    transform: translateZ(0);
}

.chatbot-send-btn:hover {
    transform: translateZ(10px) scale(1.1);
    box-shadow: 0 4px 15px rgba(80, 119, 190, 0.5);
}

.chatbot-send-btn:active {
    transform: translateZ(5px) scale(0.95);
}

/* Responsive Chatbot */
@media (max-width: 768px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        height: 500px;
        right: -20px;
        bottom: 90px;
    }
    
    .chatbot-toggle {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image img {
        width: 250px;
        height: 250px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .education-item,
    .experience-item {
        grid-template-columns: 1fr;
        padding-left: 0;
    }

    .education-item::before,
    .education-item::after,
    .experience-item::before,
    .experience-item::after {
        display: none;
    }

    .education-year,
    .experience-year {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--primary-color);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .skills-grid,
    .projects-grid,
    .certifications-grid,
    .interests-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-image img {
        width: 200px;
        height: 200px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

