/* ===== EXISTING WEB PROJECT STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 70px;
}

/* Navigation - FIXED MOBILE VERSION */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    padding: 0.5rem 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo h2 {
    font-weight: 600;
    color: #2563eb;
    font-size: 1.5rem;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}
.nav-menu a:hover {
    color: #2563eb;
}
.nav-menu a.active {
    color: #667eea;
    font-weight: 600;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}
.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s ease;
    border-radius: 2px;
}

/* Mobile Responsive Navigation - FIXED */
@media screen and (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        padding: 2rem 0;
        gap: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 0.75rem 0;
        width: 100%;
    }
    
    .nav-menu li a {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        transition: all 0.3s ease;
        color: #333;
    }
    
    .nav-menu li a:hover {
        background-color: #f8fafc;
        color: #667eea;
    }
    
    /* Hamburger Animation */
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Hero Section */
.hero {
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.highlight {
    color: #fbbf24;
}
.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}
.hero-description {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
}
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.btn-primary {
    background: #2563eb;
    color: white;
}
.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}
.btn-secondary:hover {
    background: white;
    color: #2563eb;
}
.btn-outline {
    background: transparent;
    color: #374151;
    border: 2px solid #374151;
}
.btn-outline:hover {
    background: #374151;
    color: white;
}
.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin: 0 auto 1rem auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}
.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}
.profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.profile-info h3 {
    margin: 0 0 0.5rem 0;
    color: white;
    font-size: 1.2rem;
}
.profile-info p {
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}
.profile-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
}
.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #f9fafb;
}
.about-intro {
    font-size: 1.3rem;
    color: #4b5563;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.skills-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1f2937;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.skill-item {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.skill-item:hover {
    transform: translateY(-4px);
}
.skill-icon {
    font-size: 2rem;
}
.skill-item h4 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.skill-item p {
    color: #6b7280;
}
.philosophy-section {
    margin-top: 3rem;
}
.philosophy-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.project-card:hover {
    transform: translateY(-8px);
}
.project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-placeholder {
    font-size: 4rem;
}
.project-content {
    padding: 2rem;
}
.project-content h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}
.project-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.project-tech {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.tech-tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.project-link {
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.project-link:hover:not(:disabled) {
    background: #1d4ed8;
}
.project-link:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* AI Section */
.ai-section {
    padding: 80px 0;
    background: #f9fafb;
}
.ai-chat-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.ai-status-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}
.ai-avatar-professional {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}
.avatar-inner {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
}
.ai-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.ai-avatar-professional .avatar-inner:has(.ai-avatar-image) .avatar-text {
    display: none;
}
.status-dot.online { 
    background: #00d4aa; 
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
}
.status-dot.busy { 
    background: #ff6b6b; 
}
.ai-info {
    flex: 1;
}
.ai-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}
.ai-tagline {
    margin: 0 0 1rem 0;
    opacity: 0.9;
    font-size: 1.1rem;
}
.ai-capabilities {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.capability-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
.chat-stats {
    text-align: center;
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}
.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}
.professional-chat {
    display: flex;
    flex-direction: column;
    height: 600px;
}
.chat-header-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.connection-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.status-indicator.connected { background: #10b981; }
.status-indicator.disconnected { background: #ef4444; }
.status-indicator.busy { background: #f59e0b; }
.header-right {
    display: flex;
    gap: 0.5rem;
}
.action-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #64748b;
}
.action-btn:hover {
    background: #e2e8f0;
    color: #334155;
}
.chat-messages-pro {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    background: #fafbfc;
}
.message-group {
    margin-bottom: 2rem;
}
.message-timestamp {
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 500;
}
.message-bubble {
    max-width: 80%;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
}
.ai-group .message-bubble {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.user-group {
    display: flex;
    justify-content: flex-end;
}
.user-group .message-bubble {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}
.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.sender-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
}
.user-group .sender-name {
    color: rgba(255, 255, 255, 0.9);
}
.message-time {
    font-size: 0.75rem;
    color: #64748b;
}
.user-group .message-time {
    color: rgba(255, 255, 255, 0.7);
}
.message-text p {
    margin: 0;
    line-height: 1.5;
}
.quick-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.suggestion-chip {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #334155;
}
.suggestion-chip:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}
.typing-indicator-pro {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #fafbfc;
}
.typing-avatar {
    width: 32px;
    height: 32px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}
.typing-bubble {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.typing-animation {
    display: flex;
    gap: 3px;
}
.typing-animation span {
    width: 6px;
    height: 6px;
    background: #64748b;
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}
.typing-animation span:nth-child(2) { animation-delay: 0.2s; }
.typing-animation span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
}
.typing-text {
    font-size: 0.9rem;
    color: #64748b;
}
.chat-input-pro {
    padding: 1.5rem 2rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}
.input-container {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.75rem 1rem;
    transition: all 0.2s;
}
.input-container:focus-within {
    border-color: #667eea;
    background: white;
}
.message-input {
    flex: 1;
    border: none;
    background: transparent;
    resize: none;
    outline: none;
    font-size: 1rem;
    line-height: 1.5;
    max-height: 120px;
    font-family: inherit;
}
.message-input::placeholder {
    color: #94a3b8;
}
.send-button-pro {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: white;
}
.send-button-pro:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.send-button-pro:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.input-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
}
.character-count {
    font-variant-numeric: tabular-nums;
}
.error-message {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #dc2626 !important;
}

/* ===== RESUME SPECIFIC STYLES ===== */

/* Resume Page Layout */
.resume-section {
    background: #f8fafc;
    padding: 2rem 0;
    min-height: 100vh;
}

/* Resume Container */
#resume {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 3rem 2rem;
    position: relative;
}

.ai-disclosure {
    position: absolute;
    top: 1rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    z-index: 10; /* Ensure it stays above other elements */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.name-section {
    flex: 1;
}

.name {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
}

.contact-inline {
    flex: 1;
    max-width: 400px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.contact-row i {
    width: 16px;
    text-align: center;
    opacity: 0.9;
}

.contact-row a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-row a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Main Content Grid */
.main-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    min-height: 800px;
}

/* Sidebar Styles */
.sidebar {
    background: #f8fafc;
    padding: 2rem;
    border-right: 1px solid #e2e8f0;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-title i {
    color: #667eea;
}

/* AI Sidebar */
.ai-sidebar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.ai-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.ai-sidebar-left {
    flex: 1;
}

.ai-sidebar-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.ai-sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ai-sidebar-desc {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

.sidebar-qr-container {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.sidebar-qr-code {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    background: white;
    padding: 2px;
}

.ai-sidebar-buttons {
    display: flex;
    gap: 0.5rem;
}

.ai-sidebar-btn {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.ai-sidebar-btn.primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ai-sidebar-btn.primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Skills Container */
.skills-container {
    margin-bottom: 2rem;
}

.skills-group {
    margin-bottom: 1.5rem;
}

.skills-group-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skills-group-title i {
    color: #667eea;
    font-size: 0.8rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-item {
    background: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

/* Sidebar Sections */
.sidebar-section {
    margin-bottom: 2rem;
}

.edu-item, .cert-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-bottom: 1rem;
}

.edu-degree, .cert-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.edu-school, .cert-org {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.edu-year {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
}

.nationality {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    font-size: 0.9rem;
    color: #374151;
}

/* Content Area */
.content {
    padding: 2rem;
}

.section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.section-title i {
    color: #667eea;
    font-size: 1.2rem;
}

/* Professional Overview */
.overview {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    text-align: justify;
}

/* Job Entries */
.job {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.company {
    font-size: 1rem;
    color: #667eea;
    font-weight: 600;
}

.duration {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.location {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.responsibilities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.responsibilities li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
    line-height: 1.6;
}

.responsibilities li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Professional Recommendations */
.recommendations-section {
    background: #f8fafc;
    padding: 3rem;
    margin: 0;
}

.recommendations-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.recommendations-title i {
    color: #fbbf24;
    font-size: 1.5rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.recommendation-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.recommendation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.recommendation-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.recommendation-info {
    flex: 1;
}

.recommendation-name {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.recommendation-role {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.recommendation-date {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
}

.recommendation-content {
    color: #374151;
    line-height: 1.6;
    font-size: 0.95rem;
}

.recommendation-highlight {
    background: linear-gradient(120deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.linkedin-badge {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.linkedin-badge i {
    color: #0077b5;
    font-size: 1.1rem;
}

/* Resume Section Styles (for homepage) */
.resume-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.resume-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}
.resume-section .container {
    position: relative;
    z-index: 2;
}
.resume-preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}
.resume-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.highlight-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}
.highlight-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}
.highlight-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}
.highlight-content p {
    margin: 0;
    opacity: 0.9;
}
.resume-card {
    background: white;
    color: #333;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
.resume-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}
.resume-preview-image {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    position: relative;
}
.document-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
}
.document-title {
    font-weight: 600;
    color: #64748b;
    font-size: 0.9rem;
}
.resume-details h3 {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-size: 1.4rem;
}
.resume-details p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.resume-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}
.resume-features li {
    padding: 0.5rem 0;
    color: #059669;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.resume-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.resume-buttons .btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    text-decoration: none;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
}
.contact-icon {
    font-size: 1.5rem;
}
.contact-item h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.contact-item a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}
.contact-item a:hover {
    text-decoration: underline;
}
.contact-cta {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.contact-cta h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 1rem;
}
.contact-cta p {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links {
    display: flex;
    gap: 2rem;
}
.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: white;
}

/* KAI Specific Styles */
.kai-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}
.kai-symbol {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}
.kai-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.kai-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}
.kai-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    opacity: 0.95;
}
.kai-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.kai-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}
.kai-status-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}
.kai-avatar .avatar-inner {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
}
.pankaj-ai-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
}
.pankaj-ai-symbol {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.pankaj-ai-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.pankaj-ai-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}
.pankaj-ai-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.pankaj-ai-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.pankaj-ai-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}
.pankaj-ai-section {
    background: #f8fafc;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .hero {
        padding: 100px 1rem 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .resume-preview-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .resume-buttons {
        flex-direction: column;
    }
    
    .resume-buttons .btn {
        flex: none;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ai-status-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .ai-capabilities {
        justify-content: center;
    }
    
    .professional-chat {
        height: 500px;
    }
    
    .message-bubble {
        max-width: 90%;
    }
    
    .chat-messages-pro {
        padding: 1rem 1.5rem;
    }
    
    .chat-input-pro {
        padding: 1rem 1.5rem;
    }
    
    .kai-badges {
        gap: 0.5rem;
    }
    
    .kai-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Resume Mobile Styles */
    .header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .ai-disclosure {
        position: static;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .name {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .title {
        font-size: 1.1rem;
    }
    
    .contact-inline {
        max-width: none;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .sidebar {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 1.5rem;
    }
    
    .content {
        padding: 1.5rem;
    }
    
    .job-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .duration {
        align-self: flex-start;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .recommendations-section {
        padding: 2rem 1.5rem;
    }
    
 .ai-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}
    
  
}
@media (max-width: 768px) {
    .ai-disclosure {
        position: static; /* Remove absolute positioning on mobile */
        margin-bottom: 1.5rem; /* Add space below the badge */
        text-align: center;
        align-self: center; /* Center the badge */
        max-width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    
    .header {
        padding: 2rem 1.5rem 1.5rem;
        position: relative; /* Ensure proper stacking context */
    }
    
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        position: relative;
    }
}

@media (max-width: 480px) {
    .ai-disclosure {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }
}
@media (max-width: 480px) {
    .container, .nav-container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-status-card {
        padding: 1.5rem;
    }
    
    .ai-info h3 {
        font-size: 1.5rem;
    }
    
    .chat-header-pro {
        padding: 1rem;
    }
    
    .action-btn {
        width: 32px;
        height: 32px;
    }
    
    /* Resume Mobile Small Styles */
    .header {
        padding: 1.5rem 1rem;
    }
    
    .name {
        font-size: 1.75rem;
    }
    
    .title {
        font-size: 1rem;
    }
    
    .contact-row {
        flex-wrap: wrap;
        font-size: 0.8rem;
    }
    
    .sidebar, .content {
        padding: 1rem;
    }
    
    .recommendations-section {
        padding: 1.5rem 1rem;
    }
    
    .recommendation-card {
        padding: 1rem;
    }
    
    .recommendations-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .ai-sidebar {
        padding: 1rem;
    }
    
    .ai-sidebar-title {
        font-size: 1rem;
    }
    
    .ai-sidebar-desc {
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {
    body {
        padding-top: 0;
    }
    
    .navbar {
        display: none;
    }
    
    .resume-section {
        background: white;
        padding: 0;
    }
    
    #resume {
        box-shadow: none;
        border-radius: 0;
        max-width: none;
    }
    
    .ai-sidebar {
        display: none;
    }
    
    .main-content {
        grid-template-columns: 280px 1fr;
    }
    
    .sidebar {
        background: #f8fafc;
    }
    
    .header {
        background: #667eea !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
    
    .recommendations-section {
        background: #f8fafc !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
    
    .recommendation-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}