/* === GLOBAL FIXES FOR MOBILE VIEW === */
html, body {
    width: 100%;
    max-width: 100vw;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none;
}
*, *::before, *::after {
    box-sizing: inherit;
}

/* Prevent any rogue full-width elements from causing horizontal scroll */
img, iframe, canvas, video, svg, figure {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fix for sections possibly overflowing */
section {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Tailwind container fix for smaller devices */
.container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Override if any absolute elements are bleeding out */
.absolute {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Fix hero section overflow if using min-h-screen */
.hero-section {
    overflow-x: hidden;
}

/* Custom Styles */
:root {
    --primary-color: #3B82F6;
    --primary-light: #93C5FD;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --background-light: #FFFFFF;
    --accent-color: #E5E7EB;
    --gradient-start: #4F46E5;
    --gradient-end: #818CF8;
}
 
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.5;
}
 
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
 
::-webkit-scrollbar-track {
    background: var(--accent-color);
}
 
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
 
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
 
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
 
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}
 
.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}
 
.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}
 
.float {
    animation: float 6s ease-in-out infinite;
}
 
/* Custom Classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
 
.hover-glow:hover {
    box-shadow: 0 0 15px var(--primary-color);
    transition: box-shadow 0.3s ease;
}
 
/* Message Bubbles */
.message-bubble {
    max-width: 80%;
    padding: 1rem;
    border-radius: 1rem;
    margin: 0.5rem 0;
}
 
.user-message {
    background-color: var(--primary-color);
    margin-left: auto;
}
 
.ai-message {
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: auto;
}
 
/* Typing Indicator */
.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--text-dark);
    border-radius: 50%;
    margin: 0 2px;
    animation: typing 1s infinite;
}
 
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
 
@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
 
/* Navigation */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}
 
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
 
.nav-link:hover::after {
    width: 100%;
}
 
/* Hero Section */
.hero-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}
 
/* Animated Background */
#animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(to bottom, #ffffff, #f3f4f6);
}
 
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}
 
/* Sections */
section {
    position: relative;
    z-index: 1;
}
 
/* Cards */
.bg-white {
    background-color: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
}
 
.translucent-card-bg {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 1rem;
    transition: all 0.3s ease;
}
 
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 
.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 0 15px rgba(123, 44, 191, 0.3);
}
 
/* Adjust shadow for the new translucent cards */
.group:hover .translucent-card-bg {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 0 15px rgba(123, 44, 191, 0.3);
}
 
/* Footer */
.footer {
    background-color: var(--accent-color);
    padding: 4rem 0;
}
 
.footer-link {
    color: var(--text-dark);
    transition: color 0.3s ease;
}
 
.footer-link:hover {
    color: var(--primary-color);
}
 
/* Business Thrive Section */
.stats-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
 
/* Why Choose Us Section */
.choose-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--accent-color);
    transition: transform 0.3s ease;
}
 
.choose-card:hover {
    transform: translateY(-5px);
}
 
/* AI Systems Section */
.system-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
 
.system-card:hover {
    transform: translateY(-5px);
}
 
/* Why Choose Us Section */
.snap-x {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100vw;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
 
.snap-x::-webkit-scrollbar {
    display: none;
}
 
.snap-center {
    scroll-snap-align: center;
}
 
/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
 
    h1 {
        font-size: 2.5rem;
    }
 
    h2 {
        font-size: 2rem;
    }
 
    .hero-gradient {
        background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    }
 
    .feature-card, .stats-card, .choose-card, .system-card {
        margin: 1rem 0;
    }
 
    .footer {
        background-color: transparent !important;
    }
}
 
/* Utility Classes */
.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
 
.gradient-text {
    background: linear-gradient(to right, #7b2cbf, #00b4d8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
 
.hover-scale {
    transition: transform 0.3s ease;
}
 
.hover-scale:hover {
    transform: scale(1.05);
}
 
.hover-card:hover .svg-glow-container svg {
    filter: drop-shadow(0 0 8px rgba(123, 44, 191, 0.7));
    transition: filter 0.3s ease;
}
 
/* === FIX: Prevent Zooming on Animated Background === */
#animated-background,
#animated-background *,
#network-canvas {
    pointer-events: none !important;
    transform: none !important;
   
    transition: none !important;
}
 
/* Navigation */
#navigation {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
 
@media (max-width: 767px) {
    #navigation .md:block {
        display: none;
    }
 
    #navigation .md\:hidden {
        display: block;
    }
 
    #mobile-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }
 
    #mobile-menu.hidden {
        display: none;
    }
 
    #mobile-menu a {
        padding: 0.75rem 1rem;
        display: block;
        width: 100%;
    }
}
 
/* Modern Footer Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
 
.footer-link {
    transition: all 0.3s ease;
    position: relative;
}
 
.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #1e40af, #3b82f6);
    transition: width 0.3s ease;
}
 
.footer-link:hover::after {
    width: 100%;
}
 
.scroll-top {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
 
.scroll-top:hover {
    transform: translateY(-3px);
}
 
.gradient-text {
    background: linear-gradient(45deg, #1e40af, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
 
.footer-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}
 
.footer-section.visible {
    opacity: 1;
    transform: translateY(0);
}
 
.quote-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.05), rgba(30, 64, 175, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(8px);
}
 
.quote-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
 
.quote-box:hover::before {
    transform: translateX(100%);
}
 
.logo-container {
    position: relative;
    overflow: hidden;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.2);
}
 
.logo-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
 
.logo-container:hover::after {
    transform: translateX(100%);
}
 
.icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(30, 64, 175, 0.1));
    border-radius: 8px;
    transition: all 0.3s ease;
}
 
.icon-wrapper:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(30, 64, 175, 0.2));
}
 
.social-icon {
    transition: all 0.3s ease;
}
 
.social-icon:hover {
    transform: scale(1.1);
    color: #3b82f6;
}
 
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
 
.floating {
    animation: float 3s ease-in-out infinite;
}
 
/* Removed ai-pulse and glow-pulse glow effects for buttons and icons */
/* .ai-pulse { }
.glow-pulse { }
*/
/* Remove pulse and related keyframes for glow */
/* @keyframes pulse { }
*/
.neural-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}
 
/* Gradient Underline for Navigation */
.gradient-underline {
    position: relative;
    display: inline-block; /* Essential for pseudo-elements to position correctly */
}
 
.gradient-underline::after {
    content: '';
    position: absolute;
    bottom: -2px; /* Adjust as needed for spacing below text */
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #7b2cbf, #00b4d8); /* Purple to Cyan gradient */
    transition: width 0.3s ease;
}
 
.gradient-underline:hover::after {
    width: 100%;
}
 
.gradient-underline-static {
    position: relative;
    display: inline-block;
}
 
.gradient-underline-static::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%; /* Always 100% width */
    height: 2px;
    background: linear-gradient(to right, #7b2cbf, #00b4d8); /* Purple to Cyan gradient */
}
 
/* Dropdown Fix for Explore Menu */
.dropdown-fix {
  max-width: 90vw;
  min-width: 10rem;
  right: 0;
  left: auto;
  overflow-x: auto;
}
@media (min-width: 1200px) {
  .dropdown-fix {
    max-width: 24rem;
  }
}
 
/* Remove or override any .section-scroll or similar classes that set height: 100vh or overflow: auto/scroll */
.section-scroll {
    height: auto !important;
    overflow: visible !important;
}
 