/* Reset and Base Styles */
/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --primary-color: #84bbc2;
    --secondary-color: #84bbc2;
    --accent-color: #d5947b;
    --light-accent: #ffece5;
    --text-color: #333;
    --light-bg: #f0f7f8;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #dee2e6;
    --transition: all 0.3s ease;

    /* Font families */
    --font-heading: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Additional heading weights */
h1 {
    font-weight: 800;
}

h2 {
    font-weight: 700;
}

h3, h4 {
    font-weight: 600;
}

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

/* Navigation */
.navbar {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 65px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--text-color);
    padding: 8rem 0 6rem;
    text-align: left;
    background-image: url('images/hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(132, 187, 194, 0.9) 100%);
    opacity: 0.5;
    z-index: 1;
}

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

.hero h1 {
    animation: fadeInDown 1s ease;
    line-height: 1;
}

.hero h1 .hi-text {
    font-size: 8rem;
    display: block;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.hero h1 .name-text {
    font-size: 3rem;
    display: block;
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* Profile Image */
.profile-image-container {
    position: absolute;
    right: 8%;
    top: -200px;
    z-index: 100;
    width: auto;
    height: 400px;
}

.profile-image {
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Chat Bubble */
.chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.chat-bubble-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border: none;
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-bubble-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.chat-bubble-button svg {
    width: 28px;
    height: 28px;
}

.chat-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 550px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.chat-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background-color: var(--light-bg);
}

#chatbase-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--gray);
}

/* Technical Skills Section */
.technical-skills-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.technical-skills-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.skill-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.skill-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.4rem;
    margin: 0;
}

.skill-expand-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skill-expand-btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

.skill-expand-btn.active {
    background-color: var(--accent-color);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    animation: fadeIn 0.3s ease;
}

.skill-item {
    font-size: 0.95rem;
    font-weight: 500;
}

.skill-item.skill-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Category-specific colors */
.skill-card[data-skill="ai-ml"] h3 {
    color: #9b59b6;
}

.skill-card[data-skill="ai-ml"] .skill-card-header {
    border-bottom-color: #9b59b6;
}

.skill-card[data-skill="ai-ml"] .skill-item {
    color: #9b59b6;
}

.skill-card[data-skill="cyber-security"] h3 {
    color: #e67e22;
}

.skill-card[data-skill="cyber-security"] .skill-card-header {
    border-bottom-color: #e67e22;
}

.skill-card[data-skill="cyber-security"] .skill-item {
    color: #e67e22;
}

.skill-card[data-skill="programming"] h3 {
    color: #3498db;
}

.skill-card[data-skill="programming"] .skill-card-header {
    border-bottom-color: #3498db;
}

.skill-card[data-skill="programming"] .skill-item {
    color: #3498db;
}

.skill-card[data-skill="cloud"] h3 {
    color: #1abc9c;
}

.skill-card[data-skill="cloud"] .skill-card-header {
    border-bottom-color: #1abc9c;
}

.skill-card[data-skill="cloud"] .skill-item {
    color: #1abc9c;
}

.skill-card[data-skill="big-data"] h3 {
    color: #f39c12;
}

.skill-card[data-skill="big-data"] .skill-card-header {
    border-bottom-color: #f39c12;
}

.skill-card[data-skill="big-data"] .skill-item {
    color: #f39c12;
}

.skill-card[data-skill="data-management"] h3 {
    color: #16a085;
}

.skill-card[data-skill="data-management"] .skill-card-header {
    border-bottom-color: #16a085;
}

.skill-card[data-skill="data-management"] .skill-item {
    color: #16a085;
}

.skill-card[data-skill="devops"] h3 {
    color: #2c3e50;
}

.skill-card[data-skill="devops"] .skill-card-header {
    border-bottom-color: #2c3e50;
}

.skill-card[data-skill="devops"] .skill-item {
    color: #2c3e50;
}

/* Bio Section */
.bio-section {
    padding: 4rem 0;
    background-color: var(--white);
    position: relative;
}

.bio-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.bio-brief {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.expand-bio {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.expand-bio:hover {
    background-color: var(--accent-color);
}

.bio-extended {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.bio-extended .expand-bio {
    margin-top: 1.5rem;
}

.perspective-toggle {
    margin-top: 3rem;
}

.perspective-toggle h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.perspective-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--light-bg);
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
}

.perspective-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.perspective-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.perspective-content {
    max-width: 800px;
    margin: 0 auto;
}

.perspective-panel {
    display: none;
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    animation: fadeIn 0.5s ease;
}

.perspective-panel.active {
    display: block;
}

.perspective-panel h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.perspective-panel p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Experience Section */
.experience-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.experience-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Horizontal Timeline Styles */
.horizontal-timeline-section {
    margin-top: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.horizontal-timeline {
    position: relative;
    padding: 2rem 0;
    overflow-x: auto;
    overflow-y: visible;
}

.horizontal-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9b59b6, #3498db, #1abc9c, #e67e22, #95a5a6);
    z-index: 1;
}

.horizontal-timeline {
    display: flex;
    gap: 2rem;
    padding-bottom: 2rem;
}

.timeline-item {
    position: relative;
    min-width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.timeline-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #84bbc2, 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    z-index: 3;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.timeline-marker::before {
    content: '+';
    position: absolute;
    line-height: 1;
}

.timeline-marker.expanded::before {
    content: '−';
}

.timeline-marker:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px #84bbc2, 0 4px 15px rgba(0, 0, 0, 0.3);
}

.timeline-item.current .timeline-marker {
    width: 32px;
    height: 32px;
    box-shadow: 0 0 0 4px #84bbc2, 0 0 20px rgba(155, 89, 182, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 4px #84bbc2, 0 0 20px rgba(155, 89, 182, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px #84bbc2, 0 0 30px rgba(155, 89, 182, 0.8);
    }
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    max-width: 400px;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.timeline-item.current .timeline-content {
    border-color: #9b59b6;
    box-shadow: 0 5px 25px rgba(155, 89, 182, 0.2);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-company {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.timeline-role {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.timeline-location {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
}

.timeline-projects {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.timeline-project {
    text-align: left;
}

.timeline-project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.timeline-project-header h5 {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.timeline-project-toggle {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-project-toggle:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

.timeline-project-toggle.active {
    background-color: var(--accent-color);
}

.timeline-project-details {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    animation: fadeIn 0.3s ease;
}

.timeline-project-details p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.experience-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.company-header {
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.company-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.role {
    font-size: 1rem;
    color: var(--gray);
    font-style: italic;
    margin: 0;
}

.projects {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project {
    padding: 0;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.project h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0;
    flex: 1;
    font-weight: 600;
}

.project-toggle {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-toggle:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.project-toggle.active {
    background-color: var(--accent-color);
}

.project-details {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--light-gray);
    animation: fadeIn 0.3s ease;
}

.project-details p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Explanations Section */
.explanations-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.explanations-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.insight-toggle {
    margin-top: 3rem;
}

.insight-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
}

.insight-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.insight-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.insight-content {
    margin-top: 2rem;
    position: relative;
    min-height: 400px;
}

.insight-panel {
    display: none;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.insight-panel.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.insight-panel h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.insight-panel p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Community Section */
.community-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.community-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.community-item {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

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

.community-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.community-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* AI Assistant Section */
.ai-assistant-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.ai-assistant-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.ai-assistant-section .section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.iframe-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

/* Site Info Section */
.site-info-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.site-info-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.site-tech {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.tech-item h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.tech-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: var(--white);
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-section p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-info {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-linkedin {
    background-color: #0077b5;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-linkedin:hover {
    background-color: #005582;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.btn-linkedin svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .profile-image-container {
        width: auto;
        height: 250px;
        right: 50%;
        left: 50%;
        transform: translateX(-50%);
        top: -150px;
    }

    .toggle-buttons {
        flex-direction: column;
    }

    .perspective-btn {
        width: 100%;
    }

    .insight-btn {
        width: 100%;
    }

    .community-grid,
    .site-tech,
    .experience-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-timeline-section {
        padding: 2rem 1rem;
    }

    .horizontal-timeline {
        padding: 1rem 0;
    }

    .timeline-item {
        min-width: 180px;
    }

    .timeline-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .chat-widget {
        width: calc(100vw - 40px);
        height: 500px;
        right: 20px;
        left: 20px;
    }

    .chat-bubble {
        right: 20px;
    }
}

/* Project Skills Styles */
.project-skills {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.project-skills-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-family: var(--font-heading);
}

.project-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-skill-tag {
    background: linear-gradient(135deg, var(--light-bg), var(--light-accent));
    color: var(--text-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.project-skill-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Highlight animation for skills in Technical Skills section */
.skill-item.highlight-skill {
    animation: highlightPulse 1s ease-in-out 3;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    transform: scale(1.05);
}

@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1.05);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Semantic Search Styles */
.semantic-search-container {
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    padding: 2rem 0 1rem 0;
    position: sticky;
    top: 80px;
    z-index: 900;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
    pointer-events: none;
}

#semantic-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    background: var(--white);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#semantic-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(132, 187, 194, 0.2);
}

#semantic-search-input::placeholder {
    color: var(--gray);
    font-size: 0.95rem;
}

.search-status {
    position: absolute;
    bottom: -1.5rem;
    left: 1rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.search-status.error {
    color: #dc3545;
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin-top: 1rem;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 1000;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid var(--light-gray);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 10;
}

.search-results-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.close-search {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
}

.close-search:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.search-results-list {
    padding: 1rem;
}

.search-result-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.search-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.result-header {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.result-score {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.result-company {
    color: var(--primary-color);
    font-weight: 600;
}

.result-date {
    color: var(--gray);
}

.result-title {
    color: var(--text-color);
    margin: 0.5rem 0;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.result-text {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0.75rem 0;
}

.result-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.keyword-tag {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.no-results {
    padding: 2rem;
    text-align: center;
    color: var(--gray);
}

.no-results p:first-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.suggestion {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.search-loading {
    padding: 2rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 500;
}

.search-error {
    padding: 2rem;
    text-align: center;
    color: #dc3545;
}

/* Search highlight animation */
.search-highlight {
    animation: searchHighlight 2s ease-in-out;
}

@keyframes searchHighlight {
    0%, 100% {
        background: transparent;
    }
    50% {
        background: rgba(132, 187, 194, 0.2);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .semantic-search-container {
        padding: 1rem 0 0.5rem 0;
        top: 60px;
    }

    #semantic-search-input {
        font-size: 0.9rem;
        padding: 0.875rem 0.875rem 0.875rem 2.75rem;
    }

    #semantic-search-input::placeholder {
        font-size: 0.85rem;
    }

    .search-results {
        max-height: 60vh;
        margin-top: 0.5rem;
    }

    .search-results-header {
        padding: 1rem;
    }

    .search-result-item {
        padding: 1rem;
    }

    .result-header {
        font-size: 0.8rem;
    }

    .result-title {
        font-size: 1rem;
    }
}
