:root {
    --bg-color: #00010A;
    --text-color: #ffffff;
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --navbar-bg: rgba(5, 15, 30, 0.397);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-glass {
    background: rgba(10, 26, 47, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.z-10 {
    z-index: 10;
}

.relative {
    position: relative;
}

/* Stars Animation */
.static-star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: pulse-star infinite ease-in-out;
}

@keyframes pulse-star {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

.shooting-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    filter: blur(1px);
    animation: shoot-star infinite ease-out;
    opacity: 0;
}

.shooting-star-trail {
    position: absolute;
    top: 50%;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    width: 0;
    transform-origin: right;
    transform: translateY(-50%);
    animation: shoot-trail infinite ease-out;
}

@keyframes shoot-star {
    0% {
        transform: translate(0, 0) rotate(-45deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translate(-150px, 100px) rotate(-45deg);
        opacity: 0;
    }
}

@keyframes shoot-trail {
    0% {
        width: 0;
    }

    10% {
        width: 60px;
    }

    100% {
        width: 0;
    }
}

/* Custom Utilities */
.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-white-60 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hover-text-white:hover {
    color: #ffffff !important;
}

.text-gradient-cyan {
    background: linear-gradient(to right, #33cdf8, #00C8FF, #33cdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-dark {
    background: linear-gradient(to bottom, rgba(0, 1, 10, 0.5), rgba(10, 26, 47, 0.7), #00010A);
}

.btn-gradient-cyan {
    background: linear-gradient(to right, #7EC8E3, #00C8FF);
    border: none;
    color: #000;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gradient-cyan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #00C8FF, #7EC8E3);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-gradient-cyan:hover::before {
    opacity: 1;
}

.btn-outline-cyan {
    border-color: rgba(126, 200, 227, 0.5);
    color: #fff;
}

.btn-outline-cyan:hover {
    border-color: #7EC8E3;
    background: rgba(126, 200, 227, 0.1);
    color: #fff;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.neural-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3s ease-in-out infinite;
}

@keyframes drawPath {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }

    50% {
        stroke-dashoffset: 0;
        opacity: 0.8;
    }

    100% {
        stroke-dashoffset: -1000;
        opacity: 0;
    }
}

.scroll-indicator {
    width: 24px;
    height: 40px;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    animation: scrollBounce 1.5s infinite ease-in-out;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
    }
}

.group-hover-translate-x:hover {
    transform: translateX(4px);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* About & Products Styles */
.bg-gradient-about {
    background: linear-gradient(to bottom, #00010A, rgba(10, 26, 47, 0.2), #00010A);
}

.bg-gradient-products {
    background: linear-gradient(to bottom, #00010A, rgba(10, 26, 47, 0.3), #00010A);
}

.bg-cyan-5 {
    background-color: rgba(126, 200, 227, 0.05);
}

.bg-cyan-10 {
    background-color: rgba(0, 200, 255, 0.1);
}

.bg-info-10 {
    background-color: rgba(126, 200, 227, 0.1);
}

.bg-glass-card {
    background: linear-gradient(135deg, rgba(10, 26, 47, 0.6), rgba(0, 1, 10, 0.6));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(126, 200, 227, 0.2);
}

.bg-dark-glass {
    background-color: rgba(10, 26, 47, 0.4);
}

.bg-gradient-glow {
    background: linear-gradient(to right, rgba(126, 200, 227, 0.2), rgba(0, 200, 255, 0.2));
}

.bg-gradient-cyan-rev {
    background: linear-gradient(to right, #00C8FF, #7EC8E3);
}

.hover-lift:hover {
    transform: translateY(-4px);
    border-color: rgba(126, 200, 227, 0.3) !important;
}

.hover-border-cyan:hover {
    border-color: rgba(0, 200, 255, 0.5) !important;
}

.group-hover-opacity-20:hover {
    opacity: 0.2;
}

.group:hover .group-hover-opacity-20 {
    opacity: 0.2;
}

.animate-pulse-slow {
    animation: pulseSlow 8s infinite ease-in-out;
}

@keyframes pulseSlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.w-32 {
    width: 8rem;
}

.h-32 {
    height: 8rem;
}

.w-96 {
    width: 24rem;
}

.h-96 {
    height: 24rem;
}

.space-y-2> :not([hidden])~ :not([hidden]) {
    margin-top: 0.5rem;
}

/* Competitors, Contact & Footer Styles */
.bg-dark-20 {
    background-color: rgba(10, 26, 47, 0.2);
}

.bg-dark-30 {
    background-color: rgba(10, 26, 47, 0.3);
}

.bg-dark-50 {
    background-color: rgba(0, 1, 10, 0.5);
}

.bg-gradient-divider {
    background: linear-gradient(to right, transparent, rgba(0, 200, 255, 0.5), transparent);
}

.animate-scale-x {
    animation: scaleX 1.5s ease-out forwards;
    transform-origin: center;
}

@keyframes scaleX {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.bg-gradient-cyan-fade {
    background: linear-gradient(135deg, rgba(126, 200, 227, 0.05), transparent);
}

.bg-gradient-cyan-rev-fade {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.05), transparent);
}

.bg-dark-glass-border {
    background-color: rgba(10, 26, 47, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(126, 200, 227, 0.2);
}

.border-info-10 {
    border-color: rgba(126, 200, 227, 0.1) !important;
}

.border-info-20 {
    border-color: rgba(126, 200, 227, 0.2) !important;
}

.border-info-30 {
    border-color: rgba(126, 200, 227, 0.3) !important;
}

.hover-border-info-30:hover {
    border-color: rgba(126, 200, 227, 0.3) !important;
}

.hover-translate-x:hover {
    transform: translateX(4px);
}

.bg-gradient-advantage {
    background: linear-gradient(135deg, rgba(126, 200, 227, 0.1), rgba(0, 200, 255, 0.1));
}

.placeholder-white-40::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.hover-opacity-90:hover {
    opacity: 0.9;
}

.hover-scale-sm:hover {
    transform: scale(1.02);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
}

.hover-bg-info-10:hover {
    background-color: rgba(0, 200, 255, 0.1);
}

/* Background Utilities */
.bg-cover {
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-center {
    background-position: center;
}

/* Alert Messages */
.alert-success {
    background-color: rgba(0, 200, 255, 0.2);
    border: 1px solid #00C8FF;
    color: #00C8FF;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.z-100 {
    z-index: 100;
}

/* Message Positioning */
.alert-top-spacing {
    top: 90px !important;
    /* Navbar height (80px) + 10px spacing */
}

/* Message Positioning for scrolled navbar */
#header.scrolled+.main-content~div .alert-top-spacing {
    top: 60px !important;
    /* Scrolled navbar height (50px) + 10px spacing */
}

/* Contact Form Expansion */
.contact-form-expanded {
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-form-expanded {
        padding: 2rem;
    }
}

/* Form Control Overrides */
.form-control:focus {
    background-color: rgba(0, 1, 10, 0.5);
    border-color: rgba(0, 200, 255, 0.5);
    color: white;
    box-shadow: none;
}

/* Navbar adjustments */
.navbar-logo {
    height: 80px;
    /* Reduced logo size */
    width: auto;
    transition: height 0.3s ease;
}

/* Adjust navbar height to accommodate larger logo */
.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    height: 80px;
}

/* Navigation alignment for taller navbar */
.d-none.d-md-flex.align-items-center {
    height: 80px;
    align-items: center;
}

#header {
    min-height: 80px;
    /* Reduced navbar height */
    height: 80px;
    /* Fixed height */
    z-index: 1030;
    /* Below mobile menu but above content */
    padding-left: 3rem;
    padding-right: 3rem;
    /* Ensure navbar doesn't overlap content even on zoom */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    /* Full width */
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    background-color: var(--navbar-bg);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Adjust navbar height on scroll */
#header.scrolled {
    min-height: 50px;
    height: 50px;
}



/* Mobile menu styles */
.mobile-menu {
    z-index: 1040;
    /* Above navbar to prevent overlap */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    width: 300px;
    max-width: 90vw;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: none;
    opacity: 0;
}

.mobile-menu.show {
    transform: translateX(0);
    display: block !important;
    opacity: 1;
}

/* Mobile menu close button */
#mobileMenuClose {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Navbar toggler icon */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: transparent;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Main content padding to prevent overlap with navbar */
.main-content {
    padding-top: 80px;
    /* Match navbar height */
    z-index: 10;
    position: relative;
}

/* Adjust padding on scroll */
#header.scrolled+.main-content {
    padding-top: 50px;
    /* Match scrolled navbar height */
}

/* Responsive fixes */
@media (max-width: 767.98px) {
    #header {
        min-height: 70px;
        height: 70px;
    }

    .navbar-logo {
        height: 50px;
    }

    .main-content {
        padding-top: 70px;
        /* Match mobile navbar height */
    }

    .alert-top-spacing {
        top: 80px !important;
        /* Mobile navbar height (70px) + 10px spacing */
    }
}

/* Fix for zoom/resolution issues */
@media (max-resolution: 1.5dppx) {
    #header {
        min-height: 80px;
        height: 80px;
    }

    .navbar-logo {
        height: 80px;
    }

    .main-content {
        padding-top: 80px;
        /* Match adjusted navbar height */
    }
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
}

.chatbot-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(to right, #7EC8E3, #00C8FF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 200, 255, 0.4);
    border: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.chatbot-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 200, 255, 0.6);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.chatbot-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.chatbot-popup.show {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    padding: 15px 20px;
    background: rgba(5, 15, 30, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-header h4 {
    margin: 0;
    font-weight: 600;
    color: #7EC8E3;
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
}

.bot-message {
    background: rgba(126, 200, 227, 0.2);
    border: 1px solid rgba(126, 200, 227, 0.3);
    align-self: flex-start;
    color: #7EC8E3;
}

.user-message {
    background: rgba(0, 200, 255, 0.2);
    border: 1px solid rgba(0, 200, 255, 0.3);
    align-self: flex-end;
    color: #00C8FF;
}

.chatbot-input-area {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.chatbot-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 26, 47, 0.6);
    padding: 8px 12px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-input {
    flex: 1;
    border: none;
    background: transparent;
    color: white;
    padding: 8px;
    outline: none;
    font-size: 14px;
}

.chatbot-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chatbot-input-container button {
    background: none;
    border: none;
    color: #7EC8E3;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.chatbot-input-container button i {
    width: 20px;
    height: 20px;
    color: #7EC8E3;
    stroke-width: 1.5;
}

.chatbot-input-container button:hover {
    background: rgba(126, 200, 227, 0.2);
}

.chatbot-attachments {
    position: absolute;
    bottom: 70px;
    right: 15px;
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 150px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.chatbot-attachments.show {
    display: flex;
}

.attachment-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    color: #7EC8E3;
    transition: background 0.3s;
}

.attachment-option:hover {
    background: rgba(126, 200, 227, 0.2);
}

.attachment-option i {
    width: 18px;
    height: 18px;
}

/* Active microphone button */
.chatbot-microphone-btn.active {
    color: #ff4757 !important;
    animation: pulse 1.5s infinite;
}

.chatbot-microphone-btn.active i {
    color: #ff4757 !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

}

/* Chatbot Suggestion Buttons */
.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}

.suggestion-btn {
    background: rgba(126, 200, 227, 0.15);
    border: 1px solid rgba(126, 200, 227, 0.3);
    color: #7EC8E3;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
}

.suggestion-btn:hover {
    background: rgba(126, 200, 227, 0.25);
    border-color: rgba(0, 200, 255, 0.5);
    color: #00C8FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 200, 255, 0.2);
}

.suggestion-btn:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .chatbot-popup {
        width: 300px;
        height: 400px;
    }

    .suggestion-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}