:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    
    /* Dark theme (default) */
    --bg-primary: #0a0a0a;
    --bg-secondary: rgba(15, 23, 42, 0.95);
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-section: rgba(15, 23, 42, 0.3);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-tertiary: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --gradient-start: rgba(15, 23, 42, 0.8);
    --gradient-end: rgba(10, 10, 10, 0.95);
}

body.light-mode {
    /* Light theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-section: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: #e2e8f0;
    --shadow-color: rgba(15, 23, 42, 0.1);
    --gradient-start: #ffffff;
    --gradient-end: #f8fafc;
}

/* Light mode specific adjustments */
body.light-mode {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

body.light-mode .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}

body.light-mode .nav-link {
    color: var(--text-primary);
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
    color: var(--primary);
}

body.light-mode .navbar-brand {
    color: var(--text-primary);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

/* New Creative Background */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.particle::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), transparent);
    opacity: 0.3;
}

/* Add this to the existing styles */
.glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
            rgba(37, 99, 235, 0.1) 0%,
            rgba(37, 99, 235, 0.05) 30%,
            transparent 70%);
    pointer-events: none;
    z-index: -1;
    transition: all 0.5s ease;
    opacity: 0.5;
}

/* Simplified Navigation Styles */
.navbar {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    background: var(--bg-secondary);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary) !important;
}

.navbar-nav {
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.75rem 1.5rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary) !important;
    background: rgba(37, 99, 235, 0.1);
}

.nav-link.active {
    color: var(--primary) !important;
    background: rgba(37, 99, 235, 0.1);
}

/* Theme Toggle Button */
/* Theme Switch Toggle */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 68px;
    height: 34px;
    cursor: pointer;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-switch .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 34px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-switch .slider::before {
    content: "";
    position: absolute;
    height: 26px;
    width: 26px;
    left: 4px;
    top: 2px;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(255, 215, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.theme-switch .slider-icon {
    position: absolute;
    font-size: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

.theme-switch .sun-icon {
    left: 8px;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.8));
    opacity: 0;
}

.theme-switch .moon-icon {
    right: 8px;
    filter: drop-shadow(0 0 2px rgba(139, 92, 246, 0.8));
    opacity: 1;
}

/* Checked state (Light mode) */
.theme-switch input:checked + .slider {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.15) 0%, 
        rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.theme-switch input:checked + .slider::before {
    transform: translateX(34px);
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    box-shadow: 
        0 2px 8px rgba(139, 92, 246, 0.5),
        0 0 20px rgba(139, 92, 246, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.theme-switch input:checked + .slider .sun-icon {
    opacity: 1;
    left: 10px;
}

.theme-switch input:checked + .slider .moon-icon {
    opacity: 0;
    right: 10px;
}

/* Language Toggle Switch */
.language-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.language-switch {
    position: relative;
    display: inline-block;
    width: 68px;
    height: 34px;
    cursor: pointer;
}

.language-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.language-switch .lang-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 34px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-switch .lang-slider::before {
    content: "";
    position: absolute;
    height: 26px;
    width: 26px;
    left: 4px;
    top: 2px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(37, 99, 235, 0.5),
        0 0 20px rgba(37, 99, 235, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.language-switch .lang-icon {
    position: absolute;
    font-size: 0.7rem;
    font-weight: 700;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.9);
}

.language-switch .en-icon {
    left: 10px;
    opacity: 1;
}

.language-switch .ka-icon {
    right: 8px;
    opacity: 0.4;
}

/* Checked state (Georgian) */
.language-switch input:checked + .lang-slider::before {
    transform: translateX(34px);
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 
        0 2px 8px rgba(239, 68, 68, 0.5),
        0 0 20px rgba(239, 68, 68, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.language-switch input:checked + .lang-slider .en-icon {
    opacity: 0.4;
}

.language-switch input:checked + .lang-slider .ka-icon {
    opacity: 1;
}

/* Light mode adjustments */
body.light-mode .language-switch .lang-slider {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

body.light-mode .language-switch .lang-icon {
    color: var(--text-primary);
}

/* Hover effect */
.theme-switch:hover .slider {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 12px rgba(37, 99, 235, 0.2);
}

/* Light mode adjustments */
body.light-mode .theme-switch .slider {
    background: linear-gradient(135deg, 
        rgba(100, 116, 139, 0.1) 0%, 
        rgba(71, 85, 105, 0.08) 100%);
    border-color: rgba(100, 116, 139, 0.3);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

body.light-mode .theme-switch input:checked + .slider {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.12) 0%, 
        rgba(139, 92, 246, 0.12) 100%);
    border-color: rgba(139, 92, 246, 0.4);
}

/* Responsive adjustments for theme switch */
@media (max-width: 768px) {
    .theme-switch-wrapper {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Simplified Mobile Navigation */
.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: .3s ease-in-out;
}

.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 16px; }

.navbar-toggler.active .hamburger-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.navbar-toggler.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active .hamburger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

@media (max-width: 991px) {
    .navbar-toggler {
        display: block;
        border: none;
        background: transparent;
        padding: 0;
        margin-left: auto;
        z-index: 1000;
        outline: none;
    }
    
    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        padding: 80px 30px 30px;
        transition: 0.3s ease-in-out;
        z-index: 999;
        border-left: 1px solid var(--border-color);
    }
    
    body.light-mode .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 15px 0 !important;
        width: 100%;
    }
}

/* Add scroll effect */
@media (min-width: 992px) {
    .navbar.scrolled .navbar-brand {
        font-size: 1.6rem;
    }
    
    .navbar.scrolled .nav-link {
        padding: 0.5rem 1.2rem !important;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-content-centered {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInDown 0.8s ease-out;
}

.hero .lead {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

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

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

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
}

/* Bottom Process Section */
.bottom-process-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0) 0%, 
        rgba(15, 23, 42, 0.3) 50%,
        rgba(10, 10, 10, 0) 100%);
}

/* Horizontal Process Flow */
.hero-process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        rgba(255, 255, 255, 0.01) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.hero-process-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary), 
        transparent);
}

.process-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    animation: scaleIn 0.5s ease-out backwards;
}

.process-flow-item:nth-child(1) { animation-delay: 0.8s; }
.process-flow-item:nth-child(3) { animation-delay: 1s; }
.process-flow-item:nth-child(5) { animation-delay: 1.2s; }
.process-flow-item:nth-child(7) { animation-delay: 1.4s; }

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.flow-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.process-flow-item.success .flow-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.process-flow-item:hover .flow-number {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.process-flow-item.success:hover .flow-number {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.flow-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: capitalize;
}

.flow-connector {
    display: flex;
    align-items: center;
    color: var(--primary);
    position: relative;
    animation: fadeIn 0.5s ease-out backwards;
}

.flow-connector:nth-child(2) { animation-delay: 0.9s; }
.flow-connector:nth-child(4) { animation-delay: 1.1s; }
.flow-connector:nth-child(6) { animation-delay: 1.3s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        rgba(37, 99, 235, 0.3) 100%);
    margin-right: 0.5rem;
}

.flow-connector i {
    font-size: 1.2rem;
    animation: arrowSlide 2s ease-in-out infinite;
}

@keyframes arrowSlide {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateX(8px);
        opacity: 1;
    }
}

/* Mobile Hero Section Styles */
@media (max-width: 991px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-process-flow {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .flow-connector {
        transform: rotate(90deg);
    }
    
    .connector-line {
        width: 30px;
    }
    
    .bottom-process-section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-card:hover {
    transform: translateY(-5px);
    background: rgba(10, 10, 10, 0.95);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right,
            rgba(37, 99, 235, 0.2),
            transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover::before {
    opacity: 1;
}

.team-image-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    padding: 3px;
}

.team-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #1a1a1a;
}

.team-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

/* Features Section */
.features,
.why-choose-us {
    padding: 6rem 0;
    color: var(--text-primary);
    position: relative;
    background: var(--bg-section);
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.why-choose-us .container {
    position: relative;
    z-index: 1;
}

/* Light mode adjustments for cards */
body.light-mode .feature-card,
body.light-mode .deployment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px var(--shadow-color);
}

body.light-mode .feature-card:hover,
body.light-mode .deployment-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

body.light-mode .compliance-banner {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.08) 0%, 
        rgba(37, 99, 235, 0.03) 100%);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Light mode background elements */
body.light-mode .creative-bg,
body.light-mode .neural-canvas {
    opacity: 0.3;
}

body.light-mode .particle,
body.light-mode .gradient-sphere,
body.light-mode .geometric-shape {
    opacity: 0.2;
}

/* Light mode team section */
body.light-mode .team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px var(--shadow-color);
}

body.light-mode .team-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

body.light-mode .team-member-name {
    color: var(--text-primary);
}

body.light-mode .team-member-role {
    color: var(--text-secondary);
}

/* Light mode partnership process */
body.light-mode .partnership-process {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
}

body.light-mode .partnership-process::before {
    background: 
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 70%),
        linear-gradient(135deg, rgba(248, 250, 252, 0.5), rgba(241, 245, 249, 0.8));
}

/* Light mode hero process flow */
body.light-mode .hero-process-flow {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.05) 0%, 
        rgba(37, 99, 235, 0.02) 100%);
    border-color: rgba(37, 99, 235, 0.2);
}

body.light-mode .flow-number {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

body.light-mode .flow-label {
    color: var(--text-primary);
}

/* Light mode process circles */
body.light-mode .process-circle {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(10, 10, 10, 0.95);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right,
            rgba(37, 99, 235, 0.2),
            transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

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

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

/* Enhanced Background Effects */
.creative-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    background: var(--primary);
    animation: sphereFloat 20s infinite;
}

.geometric-shape {
    position: absolute;
    border: 1px solid rgba(37, 99, 235, 0.2);
    opacity: 0.1;
    transform-origin: center;
    animation: rotate 30s linear infinite;
}

.particle-connection {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    height: 1px;
    transform-origin: left;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes sphereFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(5%, 10%) scale(1.1);
    }

    50% {
        transform: translate(-5%, -5%) scale(0.9);
    }

    75% {
        transform: translate(-10%, 5%) scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Neural Background */
.neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Add media query for responsiveness */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem 0;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

/* Animated gradient background */
.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(37, 99, 235, 0.15) 0%, 
        transparent 60%);
    opacity: 0;
    transition: all 0.6s ease;
    transform: scale(0.5);
}

.feature-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Top accent line */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3),
                0 0 0 1px rgba(37, 99, 235, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.8rem;
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
}

/* Icon background glow */
.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotateY(360deg);
    color: #fff;
    filter: drop-shadow(0 0 20px var(--primary));
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.feature-card:hover h3 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: var(--text-primary);
}

/* Staggered animation on load */
.feature-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

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

@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

html {
    scroll-behavior: smooth;
}

/* Add padding-top to sections to account for fixed navbar */
section {
    padding-top: 80px;
    margin-top: -80px;
}

/* Style for contact section */
.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 1rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.modal-content {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem;
}

.modal .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
    color: white;
}

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

/* Animation Section Styles */
.animation-section {
    padding: 60px 0 40px 0; /* Reduced bottom padding from 80px to 40px */
}

.animation-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.animation-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem; /* Add space before video */
}

/* Updated Data Flow Video Animation Styles */
#data-flow-animation {
    position: relative;
    width: 100%;
    height: 450px; /* Reduced height to prevent overlap */
    background: #0a0f1c; /* Dark blue/navy to match video background */
    border-radius: 16px;
    padding: 0; /* Remove padding to make video full width */
    /* Removed box-shadow for cleaner look */
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden; /* This clips the video to rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px auto; /* Add bottom margin */
}

#data-flow-animation::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        rgba(37, 99, 235, 0.05) 0%, 
        rgba(124, 58, 237, 0.05) 50%, 
        rgba(37, 99, 235, 0.05) 100%);
    z-index: -1;
    border-radius: 16px;
}

.video-container {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.animation-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* No border-radius on video */
    opacity: 0;
    animation: fadeInVideo 1s ease 0.5s forwards;
}

/* Animation keyframes */
@keyframes fadeInVideo {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Add top margin to features section */
.why-choose-us {
    margin-top: 60px; /* Add separation from animation section */
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .animation-section {
        padding: 40px 0 30px 0; /* Reduced bottom padding */
    }
    
    .why-choose-us {
        margin-top: 40px;
    }
    
    #data-flow-animation {
        height: 350px;
        margin-bottom: 20px; /* Reduced margin */
    }
    
    .animation-title {
        font-size: 1.5rem;
    }
    
    .animation-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .animation-section {
        padding: 30px 0 20px 0; /* Reduced bottom padding */
    }
    
    .why-choose-us {
        margin-top: 30px;
    }
    
    #data-flow-animation {
        height: 300px;
        padding: 0; /* Remove padding on mobile too */
        margin-bottom: 15px; /* Reduced margin */
    }
    
    .animation-title {
        font-size: 1.3rem;
    }
    
    .animation-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* Ensure video plays smoothly */
.animation-video::-webkit-media-controls {
    display: none !important;
}

.animation-video::-webkit-media-controls-panel {
    display: none !important;
}

.animation-video::-webkit-media-controls-play-button {
    display: none !important;
}

.animation-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Hide animation section on mobile */
@media (max-width: 767px) {
    .animation-section {
        display: none; /* Completely hide video animation on mobile */
    }
}

/* Live Demo Button Animation */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4), 0 0 20px rgba(255, 107, 53, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6), 0 0 30px rgba(255, 107, 53, 0.4);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4), 0 0 20px rgba(255, 107, 53, 0.2);
        transform: scale(1);
    }
}

/* Hover effect for Live Demo button */
a[href="https://demo.containai.ge"]:hover {
    background: linear-gradient(45deg, #ff5722, #e91e63, #ff9800) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.8) !important;
}

/* Live Demo Button - Only override visual styling, keep Bootstrap sizing */
#live-demo-button {
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffcc02) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4) !important;
    animation: pulse-glow 2s infinite !important;
    outline: none !important;
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 160px; /* keep width consistent */
    white-space: nowrap; /* prevent wrapping */
}

#live-demo-button:hover,
#live-demo-button:active {
    background: linear-gradient(45deg, #ff5722, #e91e63, #ff9800) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.8) !important;
    color: white !important;
    outline: none !important;
    border: none !important;
}

/* Prevent focus from sticking hover styles */
#live-demo-button:focus {
    outline: none !important;
}

#live-demo-button:not(:hover):focus {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4) !important;
}

/* Demo Section Styles */
.demo-section {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.95) 50%, 
        rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(37, 99, 235, 0.3);
    border-bottom: 2px solid rgba(37, 99, 235, 0.3);
    margin: 0.5rem 0 4rem 0; /* Further reduced top margin from 1rem to 0.5rem */
    padding: 3rem 0;
    animation: slideDown 0.6s ease-out;
    position: relative;
    z-index: 1;
    transform-origin: top;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(37, 99, 235, 0.03) 0%, 
        transparent 50%, 
        rgba(37, 99, 235, 0.03) 100%);
    z-index: -1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px) scaleY(0.8);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
        max-height: 1000px;
    }
}

/* Live Demo Button States */
#live-demo-button.active {
    background: linear-gradient(45deg, #ef4444, #dc2626) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4) !important;
    transform: translateY(-1px);
    min-width: 160px; /* maintain width */
}

#live-demo-button .expand-arrow {
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

#live-demo-button.active .expand-arrow {
    transform: rotate(180deg);
}

/* Add subtle button press effect */
#live-demo-button:active {
    transform: translateY(1px) !important;
    transition: transform 0.1s ease;
}

.demo-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.demo-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

body.light-mode .demo-card {
    box-shadow: 0 4px 6px var(--shadow-color);
}

body.light-mode .demo-card:hover {
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
}

/* Light mode demo section background */
body.light-mode .demo-section {
    background: linear-gradient(135deg, 
        #f8fafc 0%, 
        #f1f5f9 50%, 
        #f8fafc 100%);
    border-top: 2px solid rgba(37, 99, 235, 0.2);
    border-bottom: 2px solid rgba(37, 99, 235, 0.2);
}

body.light-mode .demo-section::before {
    background: linear-gradient(45deg, 
        rgba(37, 99, 235, 0.05) 0%, 
        transparent 50%, 
        rgba(37, 99, 235, 0.05) 100%);
}

/* Light mode placeholder */
body.light-mode .demo-placeholder {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.08) 0%, 
        rgba(124, 58, 237, 0.08) 50%, 
        rgba(37, 99, 235, 0.08) 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}

body.light-mode .demo-card:hover .demo-placeholder {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.15) 0%, 
        rgba(124, 58, 237, 0.15) 50%, 
        rgba(37, 99, 235, 0.15) 100%);
}

body.light-mode .placeholder-content {
    color: var(--text-secondary);
}

/* Light mode demo labels */
body.light-mode .demo-label {
    background: rgba(37, 99, 235, 0.1);
    color: var(--text-primary);
}

body.light-mode .demo-card:hover .demo-label {
    background: var(--primary);
    color: white;
}

/* Light mode theme gradients */
body.light-mode .demo-card.finance .demo-image {
    background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, rgba(5,150,105,0.05) 70%);
}

body.light-mode .demo-card.insurance .demo-image {
    background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, rgba(234,88,12,0.05) 70%);
}

body.light-mode .demo-card.ai .demo-image {
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, rgba(79,70,229,0.05) 70%);
}

/* Light mode card glow */
body.light-mode .demo-card::after {
    background: linear-gradient(120deg, rgba(37,99,235,0.15), transparent 40%, rgba(37,99,235,0.15));
}

.demo-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.demo-card:hover .demo-image img {
    transform: scale(1.1);
}

/* Demo Placeholder Styles */
.demo-placeholder {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1) 0%, 
        rgba(124, 58, 237, 0.1) 50%, 
        rgba(37, 99, 235, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.demo-card:hover .demo-placeholder {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.2) 0%, 
        rgba(124, 58, 237, 0.2) 50%, 
        rgba(37, 99, 235, 0.2) 100%);
    transform: scale(1.05);
}

.placeholder-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.placeholder-content i {
    font-size: 3rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.placeholder-content span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Specific demo colors */
.demo-placeholder[data-demo="tbc"] .placeholder-content i {
    color: #10b981; /* Green for banking */
}

.demo-placeholder[data-demo="irao"] .placeholder-content i {
    color: #f59e0b; /* Orange for forms */
}

.demo-placeholder[data-demo="general"] .placeholder-content i {
    color: var(--primary); /* Blue for general */
}

.demo-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(37, 99, 235, 0.1) 0%, 
        transparent 50%, 
        rgba(37, 99, 235, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-card:hover .demo-image::after {
    opacity: 1;
}

.demo-content {
    padding: 2rem;
    color: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.demo-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

body.light-mode .demo-content h3 {
    background: linear-gradient(45deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.demo-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Responsive adjustments for demo section */
@media (max-width: 992px) {
    .demo-section {
        margin: 0.25rem 0 3rem 0; /* Further reduced top margin for tablets */
    }
    
    .demo-section .row {
        justify-content: center;
    }
    
    .demo-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .demo-section {
        padding: 2rem 0;
        margin: 0.25rem 0 2rem 0; /* Further reduced top margin for mobile */
    }
    
    .demo-image {
        height: 180px;
    }
    
    .demo-content {
        padding: 1.5rem;
    }
    
    .demo-content h3 {
        font-size: 1.2rem;
    }
} 

/* --- Demo card visual enhancements --- */
.demo-image {
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05), transparent 60%);
    overflow:hidden; /* clip floating elements */
    border-top-left-radius:20px;
    border-top-right-radius:20px;
}
.demo-image i{
    font-size:3.2rem;
    transition:transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.demo-card:hover .demo-image i{
    transform:scale(1.15) rotate(-3deg);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
}
/* subtle inner border glow */
.demo-card::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:20px;
    pointer-events:none;
    background:linear-gradient(120deg,rgba(37,99,235,0.25),transparent 40%,rgba(37,99,235,0.25));
    opacity:0;
    transition:opacity 0.4s ease;
}
.demo-card:hover::after{
    opacity:1;
}
/* center content vertically */
.demo-content{
    padding:1.5rem 2rem 2rem;
    text-align:center;
}
.demo-content h3{
    font-size:1.3rem;
    margin-bottom:1.2rem;
}
.demo-content .btn{
    align-self:center;
} 

/* theme gradients */
.demo-card.finance .demo-image{background: radial-gradient(circle, rgba(16,185,129,0.25) 0%, rgba(5,150,105,0.1) 70%);} 
.demo-card.insurance .demo-image{background: radial-gradient(circle, rgba(249,115,22,0.25) 0%, rgba(234,88,12,0.1) 70%);} 
.demo-card.ai .demo-image{background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, rgba(79,70,229,0.1) 70%);} 

.demo-label{
    display:inline-block;
    margin-top:0.6rem;
    padding:0.2rem 0.6rem;
    font-size:0.7rem;
    letter-spacing:0.5px;
    background:rgba(255,255,255,0.08);
    border-radius:8px;
    text-transform:uppercase;
    color:white;
}

.demo-card:hover .demo-label{background:var(--primary);} 

/* corner language ribbons */
.lang-ribbon{
    position:absolute;
    top:12px; /* a bit more inset */
    right:12px;
    font-size:0.6rem;
    font-weight:700;
    padding:0.25rem 0.55rem;
    border-radius:6px;
    text-transform:uppercase;
    color:#fff;
    background:rgba(37,99,235,0.85);
    box-shadow:0 2px 6px rgba(0,0,0,0.4);
    letter-spacing:0.3px;
    transition:transform 0.3s ease, box-shadow 0.3s ease;
    z-index:2;
}
.demo-card:hover .lang-ribbon{
    box-shadow:0 3px 8px rgba(0,0,0,0.5);
}
.lang-ribbon.ge{background:#e11d48;} /* red */
.lang-ribbon.en{background:#2563eb;} 

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    color: var(--text-primary);
    position: relative;
}

body.light-mode .footer {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: 0 -4px 6px var(--shadow-color);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary), 
        transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section:first-child {
    flex: 1;
    max-width: 500px;
}

.footer-section:last-child {
    min-width: 280px;
    text-align: right;
}

.footer-brand {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    max-width: 450px;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-section:last-child .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.footer-section:last-child .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    color: var(--text-tertiary);
    margin: 0;
    font-size: 0.9rem;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-section:first-child {
        max-width: 100%;
    }
    
    .footer-section:last-child {
        text-align: left;
        min-width: auto;
    }
    
    .footer-title::after {
        right: auto;
        left: 0;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    
    .footer-brand {
        font-size: 1.75rem;
    }
    
    .footer-description {
        font-size: 0.95rem;
    }
    
    .footer-section:last-child .btn {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
} 

/* Deployment Options Section */
.deployment-section {
    padding: 3rem 0;
    margin-top: 4rem;
    color: white;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0) 0%, 
        rgba(15, 23, 42, 0.3) 50%,
        rgba(10, 10, 10, 0) 100%);
}

.deployment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.deployment-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.deployment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.deployment-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
}

.deployment-card:hover::before {
    opacity: 1;
}

.deployment-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.15);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.4s ease;
}

.deployment-icon i {
    font-size: 1.75rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.deployment-card:hover .deployment-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.deployment-card:hover .deployment-icon i {
    transform: rotateY(360deg);
}

.deployment-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.deployment-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.deployment-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.deployment-features li {
    color: var(--text-primary);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.deployment-features li i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.compliance-banner {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.15) 0%, 
        rgba(37, 99, 235, 0.05) 100%);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.compliance-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary), 
        transparent);
}

.compliance-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compliance-content h3 i {
    color: var(--primary);
}

.compliance-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
    .deployment-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .deployment-section {
        padding: 3rem 0;
        margin-top: 2rem;
    }
    
    .deployment-card {
        padding: 2rem;
    }
    
    .compliance-banner {
        padding: 2rem;
    }
    
    .compliance-content h3 {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Successful Projects Section */
.successful-projects-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0) 0%, 
        rgba(15, 23, 42, 0.4) 50%,
        rgba(10, 10, 10, 0) 100%);
    position: relative;
}

.successful-projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.successful-projects-section .container {
    position: relative;
    z-index: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.project-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25);
}

.project-card:hover::before {
    opacity: 1;
}

.project-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.project-icon i {
    font-size: 2rem;
    transition: all 0.4s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1) rotateY(360deg);
}

/* Icon color variations */
.project-icon.medical {
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid rgba(16, 185, 129, 0.4);
}

.project-icon.medical i {
    color: #10b981;
}

.project-icon.security {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.4);
}

.project-icon.security i {
    color: #ef4444;
}

.project-icon.support {
    background: rgba(59, 130, 246, 0.15);
    border: 2px solid rgba(59, 130, 246, 0.4);
}

.project-icon.support i {
    color: #3b82f6;
}

.project-icon.finance {
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid rgba(245, 158, 11, 0.4);
}

.project-icon.finance i {
    color: #f59e0b;
}

.project-icon.knowledge {
    background: rgba(139, 92, 246, 0.15);
    border: 2px solid rgba(139, 92, 246, 0.4);
}

.project-icon.knowledge i {
    color: #8b5cf6;
}

.project-icon.automation {
    background: rgba(236, 72, 153, 0.15);
    border: 2px solid rgba(236, 72, 153, 0.4);
}

.project-icon.automation i {
    color: #ec4899;
}

.project-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.project-card:hover h3 {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

/* Light mode adjustments */
body.light-mode .successful-projects-section {
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #f8fafc 50%, 
        #ffffff 100%);
}

body.light-mode .successful-projects-section::before {
    background: 
        radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

body.light-mode .project-card {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 4px 6px var(--shadow-color);
}

body.light-mode .project-card:hover {
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .successful-projects-section {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .successful-projects-section {
        padding: 3rem 0;
    }
    
    .project-card {
        padding: 2rem 1.5rem;
    }
    
    .project-icon {
        width: 60px;
        height: 60px;
    }
    
    .project-icon i {
        font-size: 1.75rem;
    }
    
    .project-card h3 {
        font-size: 1.2rem;
    }
    
    .project-card p {
        font-size: 0.9rem;
    }
}

/* Partnership Process Section */
.partnership-process {
    padding: 5rem 0;
    color: white;
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.85) 0%, 
        rgba(15, 23, 42, 0.9) 50%, 
        rgba(10, 10, 10, 0.85) 100%);
    position: relative;
    backdrop-filter: blur(10px);
}

.partnership-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(180deg, 
            rgba(0, 0, 0, 0.4) 0%, 
            transparent 20%,
            transparent 80%,
            rgba(0, 0, 0, 0.4) 100%),
        radial-gradient(circle at 20% 50%, 
            rgba(37, 99, 235, 0.08) 0%, 
            transparent 50%);
    z-index: 0;
}

.partnership-process .container {
    position: relative;
    z-index: 1;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Line segments connecting circles - positioned behind circles */
.process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(50% + 40px);
    width: calc(100% + 2rem - 80px);
    height: 3px;
    background: var(--primary);
    z-index: -1;
    transform-origin: left;
    transform: scaleX(0);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

/* Segment 1: Circle 1 to Circle 2 */
.process-step:nth-child(1)::before {
    animation: growSegment1 9s ease-in-out infinite;
}

/* Segment 2: Circle 2 to Circle 3 */
.process-step:nth-child(2)::before {
    animation: growSegment2 9s ease-in-out infinite;
}

/* Segment 3: Circle 3 to Circle 4 - changes to green */
.process-step:nth-child(3)::before {
    background: linear-gradient(90deg, var(--primary) 0%, #10b981 100%);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
    animation: growSegment3 9s ease-in-out infinite;
}

/* Segment 1 animation */
@keyframes growSegment1 {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    3% {
        transform: scaleX(0);
        opacity: 1;
    }
    18% {
        transform: scaleX(1);
        opacity: 1;
    }
    70% {
        transform: scaleX(1);
        opacity: 1;
    }
    75% {
        transform: scaleX(1);
        opacity: 0;
    }
    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}

/* Segment 2 animation */
@keyframes growSegment2 {
    0%, 20% {
        transform: scaleX(0);
        opacity: 0;
    }
    23% {
        transform: scaleX(0);
        opacity: 1;
    }
    38% {
        transform: scaleX(1);
        opacity: 1;
    }
    70% {
        transform: scaleX(1);
        opacity: 1;
    }
    75% {
        transform: scaleX(1);
        opacity: 0;
    }
    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}

/* Segment 3 animation */
@keyframes growSegment3 {
    0%, 40% {
        transform: scaleX(0);
        opacity: 0;
    }
    43% {
        transform: scaleX(0);
        opacity: 1;
    }
    58% {
        transform: scaleX(1);
        opacity: 1;
    }
    70% {
        transform: scaleX(1);
        opacity: 1;
    }
    75% {
        transform: scaleX(1);
        opacity: 0;
    }
    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}


.process-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.2);
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3),
                inset 0 0 20px rgba(37, 99, 235, 0.1);
}

/* Pulse ring effect - synced with line segment arrival */
.process-circle::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    opacity: 0;
}

.process-step:nth-child(1) .process-circle::after {
    animation: pulseOnArrival 9s ease-out infinite;
}

.process-step:nth-child(2) .process-circle::after {
    animation: pulseOnArrival 9s ease-out infinite;
    animation-delay: 1.62s;
}

.process-step:nth-child(3) .process-circle::after {
    animation: pulseOnArrival 9s ease-out infinite;
    animation-delay: 3.42s;
}

.process-step:nth-child(4) .process-circle::after {
    animation: pulseOnArrival 9s ease-out infinite;
    animation-delay: 5.22s;
    border-color: #10b981;
}

@keyframes pulseOnArrival {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    0.5% {
        opacity: 0.8;
        transform: scale(1);
    }
    1.5% {
        opacity: 0;
        transform: scale(1.4);
    }
    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

.process-step:last-child .process-circle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4),
                inset 0 0 20px rgba(16, 185, 129, 0.2);
}

.process-step:hover .process-circle {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.process-step:last-child:hover .process-circle {
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.process-circle i {
    font-size: 2rem;
}

.process-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.process-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
    
    /* Hide horizontal connecting lines on tablet/mobile */
    .process-step::before {
        display: none !important;
    }
    
    /* Simplify pulse animations on mobile */
    .process-circle::after {
        animation: simplePulse 4s ease-out infinite !important;
        animation-delay: 0s !important;
    }
    
    .process-step:nth-child(2) .process-circle::after {
        animation-delay: 0.7s !important;
    }
    
    .process-step:nth-child(3) .process-circle::after {
        animation-delay: 1.4s !important;
    }
    
    .process-step:nth-child(4) .process-circle::after {
        animation-delay: 2.1s !important;
    }
}

@keyframes simplePulse {
    0%, 80% {
        opacity: 0;
        transform: scale(0.9);
    }
    85% {
        opacity: 0.5;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

@media (max-width: 576px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .partnership-process {
        padding: 3rem 0;
    }
    
    .process-circle {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .process-title {
        font-size: 1.2rem;
    }
}
