/* Base Styles */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #000;
    overflow-x: hidden;
    font-family: monospace;
    scroll-behavior: smooth;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 0.5rem 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
}

#nav-logo-container {
    margin-left: 2rem;
    height: 40px;
    position: relative;
}

#logo-canvas {
    display: none;
}

#nav-dots-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-dot {
    width: 2px;
    height: 2px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 3px #00ff00;
    position: absolute;
}

.nav-links {
    margin-right: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
}

    .nav-link:hover {
        color: #00ff00;
    }

/* Main Container */
#container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

#dots-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 200px;
    z-index: 2;
}

.dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff00;
}

/* Services Section */
#services {
    padding: 80px 2rem;
    background: #000;
    min-height: 100vh;
}

.section-title {
    color: #00ff00;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    text-shadow: 0 0 5px #00ff00;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid rgba(0, 255, 0, 0.1);
    margin-bottom: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
}

.accordion-header {
    background: rgba(0, 255, 0, 0.1);
    padding: 1rem;
    color: #00ff00;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .accordion-header:hover {
        background: rgba(0, 255, 0, 0.2);
    }

    .accordion-header:after {
        content: '+';
        font-size: 1.5rem;
        color: #00ff00;
    }

    .accordion-header.active:after {
        content: '-';
    }

.accordion-content {
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    display: none;
    line-height: 1.6;
    border-top: 1px solid rgba(0, 255, 0, 0.1);
}

/* Contact Form */
#contact {
    padding: 80px 2rem;
    background: #000;
    min-height: 80vh;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        color: #00ff00;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(0, 255, 0, 0.3);
        color: white;
        font-family: monospace;
        box-sizing: border-box;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #00ff00;
            box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
        }

.submit-btn {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 0.75rem 2rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: monospace;
}

    .submit-btn:hover {
        background: rgba(0, 255, 0, 0.2);
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    border-top: 1px solid rgba(0, 255, 0, 0.1);
}

.footer-links {
    margin-top: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

    .footer-link:hover {
        color: #00ff00;
    }

/* Background Text */
#text-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.text-line {
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: opacity 2s ease-in-out;
    font-size: 14px;
}

.background-text {
    position: absolute;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.5s ease-out;
    white-space: nowrap;
    font-size: 14px;
    pointer-events: none;
}

.background-word {
    position: absolute;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    font-size: 14px;
    pointer-events: none;
    will-change: transform, opacity;
    transition: transform 0.5s linear, opacity 0.5s linear;
    left: 0;
    top: 0;
}

#text-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.text-line {
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: opacity 2s ease-in-out;
    font-size: 14px;
}

/* Add these styles to your existing CSS */
.phone-group {
    margin-bottom: 1.5rem;
}

.phone-inputs {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: flex-start;
}

.phone-number {
    flex: 1; /* Take remaining space */
    height: 42px !important; /* Match select height */
}

.text-danger {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Update existing form styles */
.form-control {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: white;
    font-family: monospace;
    box-sizing: border-box;
}

    .form-control:focus {
        outline: none;
        border-color: #00ff00;
        box-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
    }

    .form-control.input-validation-error {
        border-color: #ff4444;
    }

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .phone-inputs {
        /*flex-direction: column;*/
        gap: 5px;
    }
}