:root {
    --bg-primary: #fdfbf7;
    --bg-secondary: #ffffff;
    --accent-primary: #4a2c11;
    --accent-secondary: #e8d5c4;
    --glow: #e65100;
    --text-primary: #2a1b12;
    --text-secondary: #5c4033;
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --glass-bg: rgba(255, 252, 245, 0.9);
    --glass-border: rgba(74, 44, 17, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
}

.highlight {
    color: var(--accent-primary);
}

.glow-text {
    color: var(--glow);
    text-shadow: 0 0 10px rgba(230, 81, 0, 0.5), 0 0 20px rgba(230, 81, 0, 0.3);
}

/* Base Layout Config */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.dark-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(74, 44, 17, 0.1);
    border-bottom: 1px solid rgba(74, 44, 17, 0.1);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
}

.section-header.center .section-desc {
    margin: 0 auto;
}

/* Global Effects */
.global-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(74, 44, 17, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 44, 17, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.light-beam {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(74, 44, 17, 0.03) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
    animation: rotateBeam 20s linear infinite;
}

@keyframes rotateBeam {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn i {
    margin-left: 8px;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(74, 44, 17, 0.4);
}

.btn-primary:hover {
    background-color: var(--glow);
    box-shadow: 0 0 25px rgba(230, 81, 0, 0.6);
    color: var(--bg-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-primary);
}

.btn-secondary:hover {
    background-color: rgba(74, 44, 17, 0.1);
    box-shadow: 0 0 15px rgba(74, 44, 17, 0.2);
    border-color: var(--glow);
}

.btn-small {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--glow);
    color: var(--glow);
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.btn-small:hover {
    background: var(--glow);
    color: var(--bg-primary);
}

/* Loading Screen */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out;
}

.loader-content {
    text-align: center;
}

.blueprint-loader {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.draw-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw 2s ease forwards infinite;
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }

@keyframes draw {
    0% { stroke-dashoffset: 400; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -400; }
}

.loader-text {
    font-family: var(--font-heading);
    color: var(--glow);
    letter-spacing: 3px;
    font-size: 1.2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 44, 17, 0.2);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--glow);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--glow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    border: 1px solid var(--accent-primary);
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s;
}

.nav-btn:hover {
    background-color: rgba(74, 44, 17, 0.1);
    border-color: var(--glow);
    box-shadow: 0 0 10px rgba(230, 81, 0, 0.3);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: -5%;
    width: 110%;
    height: 110%;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transform-origin: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(253, 251, 247,0.9) 0%, rgba(253, 251, 247,0.4) 100%);
}

.blueprint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(230, 81, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230, 81, 0, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.2;
    z-index: 2;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: blueprintPan 20s linear infinite;
}

@keyframes blueprintPan {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-secondary);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--accent-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background-color: var(--glow);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Showcase grid / 3D cards */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.showcase-card {
    height: 350px;
    background-color: transparent;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.showcase-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

.card-front {
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(74, 44, 17, 0.2);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(253, 251, 247,0.9), transparent);
    text-align: left;
}

.card-overlay h3 {
    font-size: 1.2rem;
}

.card-back {
    background-color: var(--glass-bg);
    border: 1px solid var(--glow);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    gap: 15px;
    box-shadow: 0 0 20px rgba(230, 81, 0, 0.1) inset;
}

.card-back h3 {
    color: var(--glow);
    font-size: 1.1rem;
}

.card-back p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Portfolio Section */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    perspective: 1000px;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(74, 44, 17, 0.1);
}

.portfolio-item.wide {
    grid-column: span 2;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.item-details {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(5px);
    transition: bottom 0.3s ease;
    border-top: 1px solid rgba(230, 81, 0, 0.3);
}

.portfolio-item:hover .item-details {
    bottom: 0;
}

.item-details h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.item-details p {
    color: var(--glow);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

/* Services Flip Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    height: 250px;
    perspective: 1000px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.service-card:hover .flip-inner {
    transform: rotateX(180deg);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.flip-front .service-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(74, 44, 17, 0.5));
}

.flip-front h3 {
    font-size: 1.2rem;
}

.flip-back {
    transform: rotateX(180deg);
    border-color: var(--glow);
    background: rgba(230, 81, 0, 0.05);
}

.flip-back p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Design Process Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--glow), transparent);
}

.timeline-step {
    position: relative;
    padding-left: 100px;
    margin-bottom: 60px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border: 2px solid var(--glow);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--glow);
    box-shadow: 0 0 15px rgba(230, 81, 0, 0.3);
    z-index: 2;
}

.step-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--accent-primary);
}

.step-content p {
    color: var(--text-secondary);
}

.blueprint-sketch {
    margin-top: 20px;
    height: 100px;
    border: 1px dashed rgba(74, 44, 17, 0.3);
    background-image: linear-gradient(rgba(74, 44, 17,0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(74, 44, 17,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.text-glow-box {
    background: rgba(253, 251, 247, 0.5);
    border-left: 3px solid var(--glow);
    padding: 30px;
    box-shadow: -10px 0 20px rgba(230, 81, 0, 0.05);
}

.text-glow-box p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.text-glow-box p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--text-primary);
}

.about-visual {
    flex: 1;
}

.wireframe-to-render {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 30px rgba(74, 44, 17, 0.2);
}

.wireframe-to-render img {
    width: 100%;
    display: block;
}

.wireframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Animated in JS */
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80'); /* Using another image as wireframe approx for demo */
    background-size: cover;
    border-right: 2px solid var(--glow);
    filter: sepia(100%) hue-rotate(180deg) saturate(200%) brightness(50%) contrast(150%);
}

/* Contact Page */
.contact-wrapper {
    display: flex;
    gap: 30px;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 40px;
}

.contact-form-container {
    flex: 1;
}

.tech-form .form-group {
    position: relative;
    margin-bottom: 30px;
}

.tech-form input, 
.tech-form select, 
.tech-form textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--accent-secondary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
}

.tech-form input:focus, 
.tech-form select:focus, 
.tech-form textarea:focus {
    outline: none;
    border-bottom-color: var(--glow);
    box-shadow: 0 10px 10px -10px rgba(230, 81, 0, 0.3);
}

.tech-form label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s;
    pointer-events: none;
}

.tech-form input:focus ~ label,
.tech-form input:valid ~ label,
.tech-form textarea:focus ~ label,
.tech-form textarea:valid ~ label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--glow);
}

.tech-form input::placeholder,
.tech-form textarea::placeholder {
    color: transparent; /* Hide placeholder, use label */
}

.tech-form select {
    appearance: none;
}

.tech-form select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

.map-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(rgba(74, 44, 17,0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(74, 44, 17,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px dashed var(--accent-primary);
    border-radius: 4px;
    overflow: hidden;
}

.radar-scan {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(230, 81, 0, 0.3);
    box-shadow: inset 0 0 40px rgba(230, 81, 0, 0.1);
    animation: radarPulse 3s infinite;
}

@keyframes radarPulse {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.map-pin {
    font-size: 3rem;
    color: var(--glow);
    z-index: 2;
    filter: drop-shadow(0 0 10px var(--glow));
}

.map-details {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(253, 251, 247, 0.9);
    padding: 15px;
    border-left: 2px solid var(--accent-primary);
    z-index: 2;
}

.map-details h4 {
    color: var(--glow);
    margin-bottom: 5px;
}

.map-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(74, 44, 17, 0.2);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--accent-primary);
    color: #fff;
    border-color: var(--glow);
    box-shadow: 0 0 15px rgba(230, 81, 0, 0.5);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* AI Bot */
.ai-bot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.ai-bot-btn {
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border: 2px solid var(--glow);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 20px rgba(230, 81, 0, 0.3);
    transition: transform 0.3s;
}

.ai-bot-btn:hover {
    transform: scale(1.1);
}

.bot-icon {
    font-size: 24px;
    color: var(--glow);
    z-index: 2;
}

.neon-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
    animation: spinRing 4s linear infinite;
}

@keyframes spinRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ai-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(253, 251, 247, 0.9);
    border: 1px solid var(--glow);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    font-family: var(--font-heading);
    box-shadow: 0 0 10px rgba(230, 81, 0, 0.2);
}

.ai-bot-container:hover .ai-tooltip {
    opacity: 1;
}

.chat-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: var(--bg-secondary);
    border: 1px solid var(--glow);
    border-radius: 8px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transform-origin: bottom right;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-panel.active {
    display: flex;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.chat-header {
    background: var(--glass-bg);
    border-bottom: 1px solid rgba(74, 44, 17, 0.3);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header h3 i {
    color: var(--glow);
}

.close-chat {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.close-chat:hover {
    color: var(--glow);
}

.chat-messages {
    height: 250px;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-messages::-webkit-scrollbar {
    width: 5px;
}
.chat-messages::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 5px;
}

.message {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    max-width: 85%;
}

.message.bot {
    background: rgba(74, 44, 17, 0.1);
    border-left: 2px solid var(--glow);
    align-self: flex-start;
}

.message.user {
    background: rgba(255, 255, 255, 0.1);
    align-self: flex-end;
}

.chat-options {
    padding: 15px;
    border-top: 1px solid rgba(74, 44, 17, 0.2);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-option {
    background: transparent;
    border: 1px solid var(--accent-secondary);
    padding: 8px 10px;
    border-radius: 4px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-align: left;
    transition: all 0.2s;
}

.chat-option:hover {
    border-color: var(--glow);
    color: var(--glow);
    background: rgba(230, 81, 0, 0.05);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item.wide {
        grid-column: span 1;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .step-marker {
        left: 0;
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .timeline-step {
        padding-left: 60px;
    }
}
