/* Navigation Component */
.navbar {
    position: fixed;
    top: 10px; /* New: fixed at 10px from top */
    left: 50%; /* New: centered horizontally */
    transform: translateX(-50%); /* New: centered horizontally */
    width: 90%; /* New: width of 90% */
    max-width: 500px; /* New: max width for desktop */
    padding: 20px 25px; /* Increased vertical padding to make it "bigger" */
    border-radius: 25px; /* New: rounded corners */
    backdrop-filter: blur(10px); /* Changed blur intensity */
    -webkit-backdrop-filter: blur(10px); /* New: webkit prefix for blur */
    background-color: rgba(0, 0, 0, 0.7); /* Changed to semi-transparent black */
    box-shadow: 0 4px 20px rgba(255,255,255,0.1); /* Adjusted shadow for dark background */
    display: flex; /* Added for direct children layout */
    justify-content: space-between; /* Added for direct children layout */
    align-items: center; /* Added for direct children layout */
    transition: box-shadow 0.3s; /* New: transition for hover effect */
    z-index: 1000;
    color: white; /* Changed text color to white */
}

.navbar:hover { /* New: optional hover/glow effect */
  box-shadow: 0 6px 25px rgba(255,255,255,0.15); /* Adjusted shadow for dark background */
}

.nav-container { /* This style block is no longer needed as .nav-container div is removed from HTML */
    display: none; /* Hide if not deleted, for safety, but plan is to delete */
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.9rem; /* Increased size for NextGen */
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 0.85rem; /* Adjusted to dark color for visibility on light navbar */
    color: white; /* Changed to white */
    font-weight: 500;
    letter-spacing: 0.5px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 28px; /* Slightly wider lines for better visual balance */
    height: 3px; /* Thicker lines */
    background: white; /* Changed to white */
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    left: 0;
    width: 100%;
    background: var(--background-light); /* Keeping dark background for the menu itself */
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    transform: translateY(0);
}

.menu-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.menu-link:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
    border-left-color: var(--primary-color);
}

/* Hero Component */
.hero-content {
    text-align: center;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
}

.hero-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

/* Card Components */
.product-card,
.industry-card,
.success-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5), rgba(10, 10, 10, 0.5)); /* Adjusted for darker theme */
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.product-card:hover,
.industry-card:hover,
.success-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

/* Button Components */
.cta-button,
.about-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.cta-button:hover,
.about-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.product-cta {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.contact-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.primary-cta, .secondary-cta {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-cta {
    background: white;
    color: var(--primary-color);
}

.secondary-cta {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* New WhatsApp CTA */
.whatsapp-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: 0.85rem 1.75rem; /* Adjusted padding to make it slightly smaller */
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    background: linear-gradient(135deg, #25D366, #128C7E); /* WhatsApp green gradient */
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    animation: pulse 2s infinite ease-in-out; /* Add pulse animation */
}

.whatsapp-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    animation: none; /* Remove pulse on hover */
}

.whatsapp-cta svg {
    color: white; /* Ensure arrow is white */
}

/* Back button in about.html and product-detail.html */
.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Adjusted border color for dark navbar */
    color: white; /* Changed to white */
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Icon Wrappers */
.product-icon {
    margin-bottom: 1.5rem;
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    color: white;
}

.industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    color: white;
    margin-bottom: 1.5rem;
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    margin-bottom: 1rem;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    color: white;
    flex-shrink: 0;
}

/* Footer */
footer {
    background: var(--background-dark);
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.about-modal-content {
    background: linear-gradient(135deg, var(--background-light), var(--border-color)); /* Adjusted for darker theme */
    border: 1px solid #475569;
    border-radius: 25px;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.5s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .about-modal-content {
    transform: scale(1);
    animation: modalFloat 0.5s ease;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(71, 85, 105, 0.3);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(99, 102, 241, 0.5);
    transform: rotate(90deg);
}

.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal.active {
    opacity: 1;
}

.contact-modal .modal-content {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select { /* Added select */
    padding: 1rem;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select { /* Target select for placeholder-like color */
    color: var(--text-secondary);
}
.contact-form select:focus {
    color: var(--text-primary); /* Ensure text is visible on focus */
}

.submit-btn {
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Tab buttons for product-detail page */
.category-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Stat Components (General) */
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: var(--spacing-sm);
}

/* Badges */
.success-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}