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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0d0d0d;
}

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

/* Header */
header {
    background: #000000;
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #001122;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    margin-top: 80px;
}

.hero {
    background: linear-gradient(to right, #000011, #001122);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: #001122;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #ffed4e;
}

.about, .services, .contact {
    padding: 80px 0;
}

.about {
    background: #1a1a1a;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #fff;
}

.about p {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.1rem;
}

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

.skill {
    background: #001122;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
}

.services {
    background: #0d0d0d;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #fff;
}

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

.service {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
}

.service h3 {
    margin-bottom: 1rem;
    color: #667eea;
}

.contact {
    background: #1a1a1a;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #fff;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 1rem;
    background: #333;
}

textarea {
    height: 150px;
    resize: vertical;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #001122;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}

/* Footer */
footer {
    background: #000000;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #001122;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
        align-self: flex-end;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    background: #333;
    }
    
    footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}
.chat {
    padding: 80px 0;
    background: #1a1a1a;
}

.chat h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e0e0e0;
}

.chat-container {
    max-width: 600px;
    margin: 0 auto;
    background: #0d0d0d;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 10px;
    background: #000000;
    border-radius: 5px;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
}

.chat-input {
    display: flex;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #555;
    border-radius: 5px 0 0 5px;
    background: #1a1a1a;
    color: #e0e0e0;
}

.chat-input input:focus {
    border-color: #001122;
}

.chat-input button {
    padding: 10px 20px;
    background: #001122;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.chat-input button:hover {
    background: #000000;
}
.user-message {
    margin-bottom: 10px;
    color: #667eea;
    background: #1a1a1a;
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 80%;
    align-self: flex-end;
    text-align: right;
}

.bot-message {
    margin-bottom: 10px;
    color: #e0e0e0;
    background: #0d0d0d;
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 80%;
    align-self: flex-start;
    text-align: left;
}

.progress-container {
    margin: 10px 0;
    padding: 5px;
    width: 100%;
    align-self: stretch;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: progressAnimation 1.5s linear infinite;
    border-radius: 10px;
}

@keyframes progressAnimation {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    animation: float 15s linear infinite;
}

@keyframes float {
    from {
        transform: translateX(-10px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    to {
        transform: translateX(110vw);
        opacity: 0;
    }
}
    from {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    to {
        transform: translateY(-10px) translateX(0);
        opacity: 0;
    }
}
