/* ============================================
   CodeNeutronAI - Modern Professional Styles
   ============================================ */

/* CSS Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #8b5cf6;
    --dark: #0f0f23;
    --dark-light: #1a1a2e;
    --dark-lighter: #16213e;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: default;
}

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

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

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

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

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--dark);
    transform: scale(0.8);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

/* Custom Cursor */
.cursor, .cursor-follower {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor {
        display: block;
        width: 10px;
        height: 10px;
        background: var(--primary);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        transition: transform 0.1s ease;
    }

    .cursor-follower {
        display: block;
        width: 30px;
        height: 30px;
        border: 2px solid var(--primary);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 99998;
        transform: translate(-50%, -50%);
        transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
    }

    .cursor.hover {
        transform: translate(-50%, -50%) scale(2);
    }

    .cursor-follower.hover {
        width: 50px;
        height: 50px;
        border-color: var(--accent);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: var(--white);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--dark);
}

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    background: transparent;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 38px;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 10px;
}

.navbar-nav {
    gap: 5px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 30px;
}

.nav-cta {
    padding: 10px 24px !important;
}

.navbar-toggler {
    border: none;
    padding: 10px;
    outline: none !important;
    box-shadow: none !important;
}

.toggler-icon {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: var(--transition);
}

.toggler-icon::before,
.toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.toggler-icon::before {
    top: -8px;
}

.toggler-icon::after {
    bottom: -8px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    overflow: hidden;
    padding-top: 80px;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 20px 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    text-decoration: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    z-index: 100;
    pointer-events: auto;
}

.floating-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: var(--shadow-glow);
    color: var(--white);
    text-decoration: none;
    animation-play-state: paused;
}

.floating-card i {
    font-size: 1.8rem;
    color: var(--primary-light);
}

.floating-card span {
    font-weight: 600;
    white-space: nowrap;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 30%;
    right: 0;
    animation-delay: 1s;
}

.card-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 2s;
}

.card-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.scroll-indicator a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.scroll-indicator a:hover {
    color: var(--white);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0; top: 20px; }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Technologies Section */
.technologies-section {
    background: var(--dark-light);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.tech-item {
    text-align: center;
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    min-width: 150px;
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.tech-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon i {
    font-size: 2rem;
    color: var(--white);
}

.tech-item span {
    font-weight: 600;
    color: var(--text-light);
}

.tech-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tech-logo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.tech-logo-item:hover {
    color: var(--white);
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.tech-logo-item i {
    font-size: 1.2rem;
    color: var(--primary-light);
}

/* Services Section */
.services-section {
    background: var(--dark);
}

/* Services Slider */
.services-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
}

.services-slider {
    overflow: hidden;
    flex: 1;
}

.services-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 24px;
}

.service-slide {
    flex: 0 0 calc(25% - 18px);
    min-width: calc(25% - 18px);
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: scale(1.1);
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-arrow:disabled:hover {
    transform: none;
    background: var(--glass-bg);
    border-color: var(--glass-border);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

.slider-dot:hover {
    background: var(--primary-light);
}

@media (max-width: 1199.98px) {
    .service-slide {
        flex: 0 0 calc(33.333% - 16px);
        min-width: calc(33.333% - 16px);
    }
}

@media (max-width: 991.98px) {
    .service-slide {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .service-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .services-slider-container {
        gap: 10px;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
    }
}

/* Clickable Service Card Link */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 50px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '✓';
    color: var(--primary-light);
    font-weight: bold;
}

.service-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--white);
    gap: 12px;
}

/* Enterprise Solutions Cards */
.subsection-title {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 10px;
}

.enterprise-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.enterprise-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.enterprise-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.enterprise-icon i {
    font-size: 1.8rem;
    color: var(--primary-light);
}

.enterprise-card h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 600;
}

.enterprise-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Process Section */
.process-section {
    background: var(--dark-light);
    padding: 80px 0;
}

/* Horizontal Process Cards */
.process-horizontal {
    margin-top: 50px;
}

.process-card-h {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

.process-card-h:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.process-number-h {
    position: absolute;
    top: -15px;
    left: 25px;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 5px 15px;
    border-radius: 20px;
    box-shadow: var(--shadow-glow);
}

.process-icon-h {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 20px;
}

.process-icon-h i {
    font-size: 1.8rem;
    color: var(--primary-light);
}

.process-card-h h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 600;
}

.process-card-h p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.process-arrow {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--primary-light);
    font-size: 1.5rem;
    opacity: 0.6;
}

@media (max-width: 991.98px) {
    .process-arrow {
        display: none;
    }
}

/* Legacy Process Timeline (keeping for other pages) */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.process-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.process-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: 55%;
}

.process-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: 55%;
}

.process-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    z-index: 2;
    box-shadow: var(--shadow-glow);
}

.process-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
}

.process-content:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.process-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.process-icon i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.process-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.process-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Video Section */
.video-section {
    background: var(--dark);
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--dark-light);
}

.portfolio-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    flex-shrink: 0;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-category {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 12px;
    width: fit-content;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--white);
    line-height: 1.3;
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex: 1;
    line-height: 1.6;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.portfolio-tech span {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.live-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.live-link:hover {
    color: var(--white);
    gap: 12px;
}

.live-link i {
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    background: var(--dark);
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gradient-primary);
    padding: 25px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-content {
    padding-left: 30px;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    font-size: 1.3rem;
    color: var(--primary-light);
}

.feature-item span {
    font-weight: 500;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: var(--dark-light);
    padding: 80px 0;
}

.cta-wrapper {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 80px 50px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    right: 10%;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: -20px;
}

/* Contact Section */
.contact-section {
    background: var(--dark);
}

.contact-info {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-items {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.3rem;
    color: var(--primary-light);
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.info-content a,
.info-content span {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--text-light) !important;
    -webkit-text-fill-color: var(--text-light) !important;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control::placeholder {
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    color: var(--text-light) !important;
    -webkit-text-fill-color: var(--text-light) !important;
}

/* Fix for browser autofill styles */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(15, 15, 35, 1) inset !important;
    -webkit-text-fill-color: var(--text-light) !important;
    color: var(--text-light) !important;
    caret-color: var(--text-light);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

select.form-control option {
    background: var(--dark);
    color: var(--text-light);
}

textarea.form-control {
    resize: none;
}

/* Footer */
.footer {
    background: var(--dark-light);
    padding-top: 80px;
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
    display: none;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.footer-contact li i {
    color: var(--primary-light);
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary-light);
}

/* Office Locations in Footer */
.office-locations {
    margin-top: 10px;
}

.office-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.office-item i {
    color: var(--primary-light);
    font-size: 1.1rem;
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.office-item strong {
    color: var(--white);
}

.footer-bottom {
    padding: 25px 0;
}

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

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--primary-light);
}

.footer-legal-links .separator {
    color: var(--text-muted);
    opacity: 0.5;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .process-timeline::before {
        left: 30px;
    }

    .process-item {
        padding: 0 0 0 80px !important;
        justify-content: flex-start !important;
    }

    .process-number {
        left: 30px;
        transform: translateX(-50%);
    }

    .navbar-collapse {
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 20px;
        margin-top: 15px;
    }

    .navbar-nav .nav-link {
        padding: 12px 20px;
    }

    .nav-cta {
        margin: 15px 0 0;
        width: 100%;
        justify-content: center;
    }

    .about-content {
        padding-left: 0;
        margin-top: 60px;
    }

    .experience-badge {
        bottom: -20px;
        right: 20px;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .tech-item {
        min-width: 130px;
        padding: 20px;
    }

    .process-item {
        padding: 0 0 0 70px !important;
    }

    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .cta-wrapper {
        padding: 50px 30px;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 30px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-top {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }
}

@media (max-width: 575.98px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .tech-grid {
        gap: 15px;
    }

    .tech-item {
        min-width: calc(50% - 10px);
    }

    .tech-logos {
        gap: 10px;
    }

    .tech-logo-item {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* Animation Classes */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    #particles-js,
    .cursor,
    .cursor-follower,
    #preloader {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    section {
        page-break-inside: avoid;
    }
}

/* ============================================
   Service Pages Styles
   ============================================ */

/* Service Hero */
.service-hero {
    min-height: 80vh;
    padding-top: 120px;
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Code Window */
.code-window {
    background: var(--dark-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
}

.code-header {
    background: rgba(0,0,0,0.3);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-header .dot.red { background: #ff5f56; }
.code-header .dot.yellow { background: #ffbd2e; }
.code-header .dot.green { background: #27ca40; }

.code-header .file-name {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.code-content {
    padding: 20px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-content .keyword { color: #c792ea; }
.code-content .string { color: #c3e88d; }
.code-content .function { color: #82aaff; }
.code-content .tag { color: #89ddff; }
.code-content .attr { color: #ffcb6b; }

/* Feature Cards */
.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

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

.feature-list li {
    padding: 5px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

/* Tech Category */
.tech-category {
    margin-bottom: 40px;
}

.tech-category-title {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-category-title i {
    color: var(--primary-light);
}

/* Tech Cards */
.tech-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.tech-icon-large {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tech-card h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--white);
}

.tech-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Benefit Cards */
.benefit-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--primary);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 1.8rem;
    color: var(--primary-light);
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Pricing Cards */
.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.02);
}

.pricing-card:hover {
    border-color: var(--primary);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.pricing-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.pricing-price .currency {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.pricing-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.pricing-price .period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 5px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--primary-light);
}

/* Approach Cards */
.approach-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    position: relative;
}

.approach-card.featured {
    border-color: var(--primary);
}

.approach-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.approach-header i {
    font-size: 2rem;
    color: var(--primary-light);
}

.approach-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.approach-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-badge {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.approach-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.approach-card ul li {
    padding: 5px 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
}

.approach-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

/* Process Cards */
.process-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    height: 100%;
}

.process-num {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.process-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.process-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* Platform Cards */
.platform-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.platform-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.platform-card i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.platform-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.platform-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Chat Demo */
.chat-demo {
    display: flex;
    justify-content: center;
}

.chat-window {
    width: 100%;
    max-width: 380px;
    background: var(--dark-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
}

.chat-header {
    background: var(--gradient-primary);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chat-info {
    display: flex;
    flex-direction: column;
}

.chat-name {
    font-weight: 600;
    color: white;
}

.chat-status {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

.chat-messages {
    padding: 20px;
    min-height: 280px;
}

.message {
    margin-bottom: 15px;
    max-width: 85%;
}

.message.bot {
    margin-right: auto;
}

.message.user {
    margin-left: auto;
}

.message p {
    background: var(--glass-bg);
    padding: 12px 16px;
    border-radius: 16px;
    margin: 0;
    font-size: 0.9rem;
}

.message.user p {
    background: var(--primary);
    color: white;
}

.message ul {
    background: var(--glass-bg);
    padding: 12px 16px 12px 35px;
    border-radius: 16px;
    margin: 5px 0 0;
    font-size: 0.85rem;
}

.message ul li {
    margin: 5px 0;
}

.chat-input {
    padding: 15px 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px 16px;
    border-radius: 25px;
    color: white;
    outline: none;
}

.chat-input button {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    margin: 0 auto;
    background: #1a1a2e;
    border-radius: 35px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    border: 3px solid #333;
}

.phone-screen {
    background: var(--dark);
    border-radius: 28px;
    overflow: hidden;
    padding: 20px;
    min-height: 400px;
}

.app-header {
    text-align: center;
    margin-bottom: 30px;
}

.status-bar {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.app-content {
    text-align: center;
    padding: 40px 20px;
}

.app-logo-placeholder {
    font-size: 4rem;
    margin-bottom: 20px;
}

.app-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.app-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.app-btn-mock {
    display: inline-block;
    background: var(--gradient-primary);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    color: white;
}

/* Realistic iPhone Mockup */
.iphone-mockup-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.iphone-frame {
    width: 290px;
    background: #1c1c1e;
    border-radius: 45px;
    padding: 12px;
    box-shadow: 
        0 0 0 3px #333,
        0 0 0 5px #1a1a1a,
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
    position: relative;
}

.iphone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1c1c1e;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.iphone-notch::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
}

.iphone-screen {
    background: linear-gradient(180deg, #0a0a1a 0%, #12122a 100%);
    border-radius: 35px;
    overflow: hidden;
    min-height: 580px;
    position: relative;
}

.iphone-home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

/* Demo App UI */
.demo-app {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.demo-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.status-icons {
    display: flex;
    gap: 5px;
    font-size: 0.75rem;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 20px;
}

.demo-avatar {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.demo-greeting {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.demo-hello {
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.demo-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.demo-header > i {
    color: white;
    font-size: 1.2rem;
}

.demo-search {
    margin: 0 20px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.demo-cards {
    display: flex;
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 20px;
}

.demo-card {
    flex: 1;
    padding: 20px 15px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.demo-card i {
    font-size: 1.5rem;
}

.demo-card span {
    font-size: 0.75rem;
    font-weight: 500;
}

.demo-card-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.demo-card-accent {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}

.demo-list {
    padding: 0 20px;
    flex: 1;
}

.demo-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
}

.demo-list-icon {
    width: 36px;
    height: 36px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
}

.demo-list-icon.pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.demo-list-text {
    display: flex;
    flex-direction: column;
}

.demo-list-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.demo-list-sub {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.demo-bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 15px 30px 25px;
    background: rgba(0, 0, 0, 0.3);
    margin-top: auto;
}

.demo-nav-item {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.3rem;
}

.demo-nav-item.active {
    color: #6366f1;
}

/* Workflow Visual */
.workflow-visual {
    padding: 30px;
}

.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.workflow-node {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    min-width: 100px;
}

.workflow-node i {
    font-size: 2rem;
    color: var(--primary-light);
    display: block;
    margin-bottom: 10px;
}

.workflow-node span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.workflow-arrow {
    color: var(--primary-light);
    font-size: 1.5rem;
}

/* Dropdown Menu */
.dropdown-menu {
    background: var(--dark-light);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
}

.dropdown-item {
    color: var(--text-light);
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--white);
}

/* Desktop Hover Dropdown */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        margin-top: 0;
    }
    
    .navbar-nav .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .navbar-nav .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Mobile Dropdown Styles */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        background: rgba(30, 30, 50, 0.95);
        border: none;
        padding: 5px 0 5px 15px;
        margin: 0;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block;
    }
    
    .navbar-nav .dropdown-toggle::after {
        margin-left: 8px;
    }
    
    .navbar-nav .dropdown-item {
        padding: 8px 16px;
        font-size: 0.95rem;
    }
}

/* Store Badges */
.store-badges {
    display: flex;
    gap: 15px;
    align-items: center;
}

.store-badges img {
    height: 40px;
    opacity: 0.9;
    transition: var(--transition);
}

.store-badges img:hover {
    opacity: 1;
}

/* Service Pages Responsive */
@media (max-width: 991.98px) {
    .service-hero {
        padding-top: 80px;
    }
    
    .workflow-diagram {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
    
    .phone-mockup {
        width: 240px;
    }
}

@media (max-width: 767.98px) {
    .pricing-card.featured {
        transform: none;
    }
    
    .store-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .chat-window {
        max-width: 100%;
    }
    
    .iphone-frame {
        width: 260px;
    }
    
    .iphone-screen {
        min-height: 520px;
    }
    
    .iphone-mockup-container {
        margin-top: 30px;
    }
}

/* ============================================
   Legal Pages (Privacy Policy & Terms)
   ============================================ */

.legal-hero {
    padding: 160px 0 80px;
    background: var(--gradient-dark);
    position: relative;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.legal-hero-content {
    position: relative;
    z-index: 1;
}

.legal-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.legal-hero .lead {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.legal-content {
    padding: 80px 0 100px;
    background: var(--dark);
}

.legal-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.legal-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-light);
    margin: 25px 0 15px;
}

.legal-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.legal-section ul li {
    color: var(--text-muted);
    padding: 10px 0 10px 25px;
    position: relative;
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '•';
    color: var(--primary-light);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.legal-section strong {
    color: var(--white);
}

.contact-info-box {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    padding: 25px 30px;
    margin-top: 20px;
}

.contact-info-box p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-box p:first-child {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.contact-info-box p:last-child {
    margin-bottom: 0;
}

.contact-info-box i {
    color: var(--primary-light);
    font-size: 1.1rem;
    width: 20px;
}

.contact-info-box a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info-box a:hover {
    color: var(--white);
}

@media (max-width: 767.98px) {
    .legal-card {
        padding: 30px 20px;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .footer-legal-links {
        justify-content: center;
        margin-top: 15px;
    }
}

/* ============================================
   Enhanced About Section
   ============================================ */

.about-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

/* Mission Cards */
.mission-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    transition: var(--transition);
}

.mission-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mission-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.mission-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.mission-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Why Choose Us */
.why-choose-us {
    margin-top: 60px;
    padding: 50px 0;
}

.why-choose-us h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
}

.choose-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.choose-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.choose-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.choose-icon i {
    font-size: 1.8rem;
    color: var(--primary-light);
}

.choose-card h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 12px;
}

.choose-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* About Stats */
.about-stats {
    margin-top: 60px;
    padding: 50px 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.stat-box {
    padding: 20px;
}

.stat-box .stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-box .stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* Tech Stack */
.tech-stack-section {
    margin-top: 60px;
}

.tech-stack-section h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
}

.tech-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.tech-logo {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.tech-logo:hover {
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.tech-logo i {
    font-size: 1.3rem;
    color: var(--primary-light);
}

/* Portfolio Card Links */
.portfolio-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.portfolio-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Ensure portfolio row columns are equal height */
.portfolio-section .row {
    align-items: stretch;
}

.portfolio-section .row > [class*="col-"] {
    display: flex;
}

.portfolio-section .row > [class*="col-"] > .portfolio-card,
.portfolio-section .row > [class*="col-"] > .portfolio-card-link {
    width: 100%;
}

@media (max-width: 991.98px) {
    .about-stats {
        padding: 30px 20px;
    }
    
    .stat-box .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .why-choose-us {
        margin-top: 40px;
    }
    
    .about-stats {
        margin-top: 40px;
    }
    
    .tech-logos {
        gap: 10px;
    }
    
    .tech-logo {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* ============================================
   Portfolio Detail Pages
   ============================================ */

.portfolio-hero {
    padding-top: 140px;
}

.min-vh-75 {
    min-height: 75vh;
}

.portfolio-hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.meta-badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-badge i {
    color: var(--primary-light);
}

.overview-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
}

.overview-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.overview-value {
    display: block;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.bg-dark-light {
    background: var(--dark-light);
}

.challenge-card,
.solution-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    height: 100%;
}

.challenge-card .card-icon,
.solution-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.challenge-card .card-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
}

.challenge-card .card-icon i {
    color: #ef4444;
    font-size: 1.5rem;
}

.solution-card .card-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.solution-card .card-icon i {
    color: #22c55e;
    font-size: 1.5rem;
}

.challenge-card h3,
.solution-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 15px;
}

.challenge-card p,
.solution-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.challenge-card ul,
.solution-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.challenge-card ul li,
.solution-card ul li {
    color: var(--text-muted);
    padding: 8px 0 8px 20px;
    position: relative;
}

.challenge-card ul li::before,
.solution-card ul li::before {
    content: '→';
    color: var(--primary-light);
    position: absolute;
    left: 0;
}

.feature-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 15px;
    display: block;
}

.feature-box h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.result-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
}

.result-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.result-label {
    color: var(--text-muted);
    display: block;
    margin-top: 5px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px;
}

.quote-icon {
    margin-bottom: 20px;
}

.quote-icon i {
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
}

.author-name {
    display: block;
    color: var(--white);
    font-weight: 600;
}

.author-role {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Testimonial Author Info with Avatar */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1rem;
    margin-right: 2px;
}

/* ============================================
   FAQ Section Styles
   ============================================ */

.faq-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.faq-section .accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-section .accordion-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-section .accordion-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.faq-section .accordion-button {
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 24px 28px;
    box-shadow: none;
    border: none;
    gap: 15px;
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary-light);
    border-bottom: 1px solid var(--glass-border);
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238b5cf6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300d4ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.faq-section .accordion-body {
    background: transparent;
    color: var(--text-light);
    padding: 20px 28px 28px;
    line-height: 1.8;
    font-size: 1rem;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* FAQ Icon in question */
.faq-section .accordion-button::before {
    content: '?';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-right: 5px;
}

.faq-section .accordion-button:not(.collapsed)::before {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section .accordion-button {
        font-size: 1rem;
        padding: 18px 20px;
    }
    
    .faq-section .accordion-body {
        padding: 15px 20px 20px;
        font-size: 0.95rem;
    }
    
    .faq-section .accordion-button::before {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.9rem;
    }
}

/* ============================================
   Careers Page Styles
   ============================================ */

.careers-hero {
    padding-bottom: 60px;
}

.benefit-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.benefit-card h4 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.job-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: var(--transition);
}

.job-card:hover {
    border-color: var(--primary);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.job-header h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin: 0;
}

.job-type {
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
}

.job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-meta span {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-meta i {
    color: var(--primary-light);
}

.job-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.job-skills span {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 50px;
}

.internship-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.internship-benefits li {
    color: var(--text-light);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.internship-benefits i {
    color: var(--primary-light);
    font-size: 1.1rem;
}

.internship-domains {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
}

.internship-domains h5 {
    color: var(--white);
}

.domain-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.domain-tag {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.domain-tag:hover {
    background: var(--primary);
    color: var(--white);
}

.process-step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    height: 100%;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 20px;
}

.process-step-card h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}

.process-step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 767.98px) {
    .job-header {
        flex-direction: column;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .faq-accordion .accordion-button {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .faq-accordion .accordion-body {
        padding: 0 20px 20px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Generative AI Page Styles */
.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.ai-brain {
    position: relative;
    width: 350px;
    height: 350px;
}

.neural-network {
    position: relative;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: var(--shadow-glow);
    animation: pulse 2s ease-in-out infinite;
}

.node-1 { top: 10%; left: 10%; animation-delay: 0s; }
.node-2 { top: 10%; right: 10%; animation-delay: 0.5s; }
.node-3 { bottom: 10%; left: 10%; animation-delay: 1s; }
.node-4 { bottom: 10%; right: 10%; animation-delay: 1.5s; }
.node-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    font-size: 2.2rem;
    animation-delay: 0.25s;
}

.ai-labels {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
}

.ai-label {
    position: absolute;
    padding: 6px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    animation: float 3s ease-in-out infinite;
}

.label-1 { top: -10px; left: 50%; transform: translateX(-50%); }
.label-2 { right: -20px; top: 50%; transform: translateY(-50%); animation-delay: 0.75s; }
.label-3 { bottom: -10px; left: 50%; transform: translateX(-50%); animation-delay: 1.5s; }
.label-4 { left: -20px; top: 50%; transform: translateY(-50%); animation-delay: 2.25s; }

/* Blockchain Page Styles */
.blockchain-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.blockchain-chain {
    display: flex;
    align-items: center;
    gap: 15px;
}

.block {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-glow);
    animation: pulse 2s ease-in-out infinite;
}

.block i {
    font-size: 2rem;
    color: var(--white);
}

.block span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

.block-1 { animation-delay: 0s; }
.block-2 { animation-delay: 0.5s; }
.block-3 { animation-delay: 1s; }

.chain-link {
    font-size: 1.5rem;
    color: var(--primary-light);
    animation: pulse 2s ease-in-out infinite;
}

.blockchain-labels {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.chain-label {
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Network Cards for Blockchain */
.network-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
}

.network-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.network-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--white);
}

.network-card h5 {
    color: var(--white);
    margin: 0;
    font-size: 1rem;
}

/* Use Case Cards */
.use-case-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.use-case-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.use-case-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-light);
}

.use-case-card h4 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.use-case-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Tech Stack Cards */
.tech-stack-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    height: 100%;
}

.tech-stack-card h5 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-stack-card h5 i {
    color: var(--primary-light);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tags span {
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

@media (max-width: 767.98px) {
    .ai-brain {
        width: 280px;
        height: 280px;
    }
    
    .node {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .node-center {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .block {
        width: 80px;
        height: 80px;
    }
    
    .block i {
        font-size: 1.5rem;
    }
}
}
