/* ==========================================================================
   CSS STYLESHEET - ODIEO NEO PROFILE (ASSETS STRUCTURE)
   Enhanced: Circular AI Messenger Launcher, Smoother Animations, Organized Assets
   ========================================================================== */

/* --- CSS Variables / Color Palette --- */
:root {
    /* Color Tokens (Light Mode Default) */
    --bg-primary: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-alt: #f1f5f9;
    --border-color: #e2e8f0;
    --border-accent: #cbd5e1;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    
    --accent-color: #0d9488;
    --accent-hover: #0f766e;
    --accent-light: #ccfbf1;
    
    --ai-purple: #8b5cf6;
    --ai-purple-hover: #7c3aed;
    --ai-purple-light: #f3e8ff;
    
    --code-bg: #0f172a;
    --code-text: #f8fafc;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 12px -2px rgba(0, 0, 0, 0.1), 0 3px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 12px 30px -5px rgba(0, 0, 0, 0.18), 0 8px 12px -6px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 8px 25px rgba(139, 92, 246, 0.45);
    
    /* UNIVERSAL BORDER RADIUS CONSTRAINT: 4PX */
    --radius: 4px;
    --transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dark Mode Theme Overrides */
[data-theme="dark"] {
    --bg-primary: #0b0f19;
    --bg-surface: #111827;
    --bg-surface-alt: #1f2937;
    --border-color: #374151;
    --border-accent: #4b5563;
    
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    
    --primary-color: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-light: rgba(59, 130, 246, 0.15);
    
    --accent-color: #14b8a6;
    --accent-hover: #2dd4bf;
    --accent-light: rgba(20, 184, 166, 0.15);
    
    --ai-purple: #a78bfa;
    --ai-purple-hover: #c4b5fd;
    --ai-purple-light: rgba(167, 139, 250, 0.15);
    
    --code-bg: #030712;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 6px 12px -2px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 30px -5px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 8px 25px rgba(167, 139, 250, 0.4);
}

/* --- Base Reset & Typography --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-x: hidden;
}

/* Universal 4px Border Radius Enforcer (Except for the Circular AI Floating Launcher) */
*, button, input, select, textarea, .card, .tag, .badge, code, pre, div, span {
    border-radius: var(--radius) !important;
}

/* Top Scroll Reading Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--ai-purple));
    width: 0%;
    z-index: 2000;
    transition: width 0.1s linear;
}

/* Tech Background Overlay */
.tech-bg-overlay {
    position: relative;
    background-image: url('../images/tech_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tech-bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.88) 0%, rgba(248, 250, 252, 0.96) 100%);
    z-index: 1;
}

[data-theme="dark"] .tech-bg-overlay::before {
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.88) 0%, rgba(11, 15, 25, 0.96) 100%);
}

.tech-bg-overlay > * {
    position: relative;
    z-index: 2;
}

/* --- Typography Helper Classes --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-hover);
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }

/* --- Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background-color: rgba(17, 24, 39, 0.85);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition);
}

.logo-code {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-contact-nav {
    padding: 0.4rem 0.9rem;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-contact-nav:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: rotate(20deg) scale(1.05);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    padding: 140px 0 70px;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background-color: var(--accent-light);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid var(--accent-color);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50% !important;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.25); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-title {
    font-size: 2.75rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.highlight {
    color: var(--primary-color);
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--ai-purple-light);
    color: var(--ai-purple);
    border-color: var(--ai-purple);
}

.btn-accent:hover {
    background-color: var(--ai-purple);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-surface-alt);
    color: var(--text-primary);
    border-color: var(--border-color);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background-color: var(--bg-surface-alt);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
}

/* Floating Card Animation */
.floating-card {
    animation: floatCard 4.5s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.4deg); }
}

/* --- Code Window Widget --- */
.code-window {
    background-color: var(--code-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.window-header {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-buttons {
    display: flex;
    gap: 0.4rem;
}

.btn-dot {
    width: 10px;
    height: 10px;
    border-radius: 50% !important;
}

.close { background-color: #ef4444; }
.minimize { background-color: #f59e0b; }
.maximize { background-color: #10b981; }

.window-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #94a3b8;
}

.window-body {
    padding: 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--code-text);
    overflow-x: auto;
}

.json-key { color: #60a5fa; }
.json-string { color: #34d399; }

/* --- Stats Bar Section --- */
.stats-bar-section {
    padding: 2.5rem 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-box {
    padding: 1.25rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-box:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* --- Section Formatting --- */
.section {
    padding: 90px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- About Section --- */
.about-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.about-card p {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* --- Skills Section --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    transition: var(--transition-bounce);
}

.skill-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.skill-icon-bg {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.ai-icon {
    background-color: var(--ai-purple-light);
    color: var(--ai-purple);
}

.skill-header h3 {
    font-size: 1.1rem;
}

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

.tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.ai-skill-card {
    border-color: var(--ai-purple);
    background-color: var(--ai-purple-light);
}

.tag-ai {
    background-color: var(--bg-surface);
    border-color: var(--ai-purple);
    color: var(--ai-purple);
    font-weight: 600;
}

/* --- AI Workflow Section --- */
.ai-workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.ai-feature-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    transition: var(--transition-bounce);
}

.ai-feature-card:hover {
    border-color: var(--ai-purple);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.ai-feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--ai-purple-light);
    color: var(--ai-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.ai-feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.ai-feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- CIRCULAR FLOATING AI CHAT MESSENGER LAUNCHER (PER USER REQUEST: CIRCLE ICON) --- */
.ai-chat-launcher {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    background-color: var(--ai-purple);
    color: #ffffff;
    border: none;
    /* STRICT CIRCULAR SHAPE PER USER FEEDBACK & SCREENSHOT */
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    z-index: 1500;
    transition: var(--transition-bounce);
}

.ai-chat-launcher:hover {
    background-color: var(--ai-purple-hover);
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.6);
}

.launcher-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 10px !important;
    border: 2px solid var(--bg-surface);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* --- FLOATING AI CHAT MESSENGER POPUP --- */
.ai-chat-popup {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 520px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    z-index: 1600;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.92);
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.4s ease;
}

.ai-chat-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ai-chat-header {
    background-color: var(--bg-surface-alt);
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.popup-controls {
    display: flex;
    gap: 0.35rem;
}

.popup-control-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    transition: var(--transition);
}

.popup-control-btn:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.ai-chat-body {
    flex: 1;
    padding: 1.15rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--bg-primary);
    scroll-behavior: smooth;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    animation: messageFadeIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

.user-message {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    background-color: var(--ai-purple);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.user-message .chat-avatar {
    background-color: var(--primary-color);
}

.chat-bubble {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    max-width: 85%;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
}

.user-message .chat-bubble {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.ai-prompts-bar {
    padding: 0.85rem 1rem;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.prompt-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 0.3rem;
}

.btn-prompt {
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.3rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.btn-prompt:hover {
    border-color: var(--ai-purple);
    color: var(--ai-purple);
    background-color: var(--ai-purple-light);
    transform: translateY(-2px);
}

/* --- Projects Section --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.75rem;
}

.project-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-bounce);
    position: relative;
}

.project-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.project-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.project-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.85rem;
}

.project-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.project-features {
    margin-bottom: 1.25rem;
}

.project-features ul {
    list-style: none;
}

.project-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-features li i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.project-tech span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    background-color: var(--bg-surface-alt);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.confidential-card {
    background-color: var(--bg-surface-alt);
    border-style: dashed;
}

/* --- Goals Section --- */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.goal-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    transition: var(--transition-bounce);
}

.goal-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.goal-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.goal-text h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.goal-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- Contact Section --- */
.contact-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-box:hover {
    box-shadow: var(--shadow-md);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.info-item:hover {
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.info-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.info-item strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-item span, .info-item a {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form-container {
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    padding: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.w-100 {
    width: 100%;
    justify-content: center;
}

/* --- Footer --- */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- SMOOTH SCROLL REVEAL ANIMATIONS --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    will-change: opacity, transform;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll[data-reveal="fade-left"] {
    transform: translateX(45px);
}

.reveal-on-scroll[data-reveal="fade-right"] {
    transform: translateX(-45px);
}

.reveal-on-scroll[data-reveal="zoom-in"] {
    transform: scale(0.88);
}

.reveal-on-scroll.reveal-active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* --- Responsive Media Queries --- */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-surface);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        display: none;
        box-shadow: var(--shadow-md);
    }

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

    .hero-title {
        font-size: 2.1rem;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .ai-chat-popup {
        right: 15px;
        bottom: 90px;
        width: calc(100vw - 30px);
        height: 470px;
    }
}
