/* Custom theme colors based on NyxSoft brand */
:root {
    --nyxsoft-dark: #1a1e2e;
    --nyxsoft-dark-blue: #2a3045;
    --nyxsoft-accent: #3d4b81;
    --nyxsoft-text: #ffffff;
    --nyxsoft-text-muted: rgba(255, 255, 255, 0.7);
}

body {
    background-color: var(--nyxsoft-dark);
    color: var(--nyxsoft-text);
}

.bg-gradient-primary-to-secondary {
    background: linear-gradient(135deg, var(--nyxsoft-dark) 0%, var(--nyxsoft-dark-blue) 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card {
    background-color: var(--nyxsoft-dark-blue);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-body {
    color: var(--nyxsoft-text);
}

.text-muted {
    color: var(--nyxsoft-text-muted) !important;
}

.btn-primary {
    background-color: var(--nyxsoft-accent);
    border-color: var(--nyxsoft-accent);
}

.btn-primary:hover {
    background-color: var(--nyxsoft-dark-blue);
    border-color: var(--nyxsoft-dark-blue);
}

.btn-outline-light {
    color: var(--nyxsoft-text);
    border-color: var(--nyxsoft-text);
}

.btn-outline-light:hover {
    background-color: var(--nyxsoft-text);
    color: var(--nyxsoft-dark);
}

/* Add subtle circuit pattern background */
.pattern-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bg-light {
    background-color: var(--nyxsoft-dark-blue) !important;
}

/* Form styles */
.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--nyxsoft-text);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--nyxsoft-accent);
    color: var(--nyxsoft-text);
    box-shadow: 0 0 0 0.25rem rgba(61, 75, 129, 0.25);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Navigation styles */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease-in-out;
}

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

/* Section spacing */
section {
    position: relative;
    padding: 6rem 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--nyxsoft-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--nyxsoft-accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--nyxsoft-dark-blue);
}

/* Footer styles */
footer {
    background-color: rgba(26, 30, 46, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .display-3 {
        font-size: calc(1.525rem + 3vw);
    }
}

/* Logo styles */
.navbar-brand img {
    transition: transform 0.3s ease-in-out;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mb-5 img {
    animation: logoFadeIn 1s ease-out;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

/* Add glow effect on hover */
.mb-5 img:hover {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    transition: filter 0.3s ease-in-out;
}
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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