/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Purple and Green Accent Colors */
    --purple-primary: #8B5CF6;
    --purple-dark: #6D28D9;
    --purple-light: #A78BFA;
    --purple-lighter: #C4B5FD;
    --green-primary: #10B981;
    --green-dark: #059669;
    --green-light: #34D399;
    --green-lighter: #6EE7B7;
    
    /* Grey Color Scheme */
    --grey-primary: #6B7280;
    --grey-dark: #4B5563;
    --grey-light: #9CA3AF;
    --grey-lighter: #D1D5DB;
    --grey-secondary: #6B7280;
    --grey-secondary-dark: #4B5563;
    --grey-secondary-light: #9CA3AF;
    --grey-secondary-lighter: #D1D5DB;
    
    /* Additional Grey Shades */
    --grey-blue: #6B7280;
    --grey-blue-light: #9CA3AF;
    --grey-slate: #64748B;
    --grey-slate-light: #94A3B8;
    --grey-stone: #78716C;
    --grey-stone-light: #A8A29E;
    --grey-neutral: #737373;
    --grey-neutral-light: #A3A3A3;
    --grey-zinc: #71717A;
    --grey-zinc-light: #A1A1AA;
    
    /* Neutral Colors - Light Theme */
    --bg-dark: #FFFFFF;
    --bg-darker: #F5F5F5;
    --bg-card: #FAFAFA;
    --text-primary: #1F1F1F;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    
    /* Gradients - Purple and Green Accents */
    --gradient-purple: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
    --gradient-green: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
    --gradient-mixed: linear-gradient(135deg, var(--purple-primary) 0%, var(--green-primary) 100%);
    --gradient-blue: linear-gradient(135deg, var(--grey-blue) 0%, var(--grey-slate) 100%);
    --gradient-pink: linear-gradient(135deg, var(--grey-neutral) 0%, var(--grey-primary) 100%);
    --gradient-orange: linear-gradient(135deg, var(--grey-stone) 0%, var(--grey-zinc) 100%);
    --gradient-rainbow: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-light) 25%, var(--green-light) 50%, var(--green-primary) 75%, var(--purple-primary) 100%);
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 100px 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, var(--purple-primary), var(--green-primary)) 1;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15), 0 0 30px rgba(16, 185, 129, 0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-image {
    height: 56px;
    width: 56px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    max-width: 56px;
    max-height: 56px;
}

.logo svg.logo-image {
    height: 56px;
    width: 56px;
    display: block;
    flex-shrink: 0;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), var(--green-primary), var(--purple-light));
    transition: width 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.5), 0 0 10px rgba(16, 185, 129, 0.3);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Charlie Button - Make it stand out */
.nav-menu a.charlie-btn {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.7) 0%, rgba(16, 185, 129, 0.7) 100%);
    color: #F0F0F0 !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.nav-menu a.charlie-btn::after {
    display: none;
}

.nav-menu a.charlie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
    color: #F0F0F0 !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(16, 185, 129, 0.8) 100%);
}

.nav-menu a.charlie-btn.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.7) 0%, rgba(16, 185, 129, 0.7) 100%);
    color: #F0F0F0 !important;
}

/* Mobile responsive for Charlie button */
@media (max-width: 768px) {
    .nav-menu a.charlie-btn {
        margin-left: 0;
        margin-top: 0.5rem;
        display: inline-block;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: url('hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 0;
}

.hero-background > * {
    position: relative;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--purple-primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--green-primary);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--purple-light);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: var(--grey-blue);
    top: 20%;
    left: 50%;
    animation-delay: 7s;
}

.orb-5 {
    width: 250px;
    height: 250px;
    background: rgba(139, 92, 246, 0.3);
    bottom: 30%;
    left: 20%;
    animation-delay: 12s;
    opacity: 0.15;
}

.orb-6 {
    width: 280px;
    height: 280px;
    background: var(--green-light);
    top: 70%;
    right: 30%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.hero-text-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 40px rgba(139, 92, 246, 0.08);
    margin-top: 1.5rem;
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
    color: var(--purple-primary); /* Fallback color for browsers that don't support background-clip */
    display: inline-block;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    margin-top: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Split Layout (two-column) */
.hero.hero-split {
    position: relative;
    padding: 5rem 0 5rem;
    padding-top: 8rem; /* clear fixed navbar, extra space below header */
    min-height: auto;
    overflow: visible;
}

.hero-split-bg {
    position: absolute;
    inset: 0;
    background: #E8E8E8;
    z-index: 0;
}

.hero-split-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-split-left {
    text-align: left;
    overflow: visible;
}

.hero-split-title {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    overflow: visible;
}

.hero-split-line {
    display: block;
}

.hero-split-gradient {
    background: linear-gradient(90deg, #2563EB 0%, #7C3AED 50%, #C026D3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0.02em 0; /* prevent gradient text clip */
    display: inline-block;
}

.hero-split-subtitle {
    font-size: 1.4rem;
    color: var(--text-primary);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-split-tech-blurb {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.02em;
}

.hero-split-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1.5rem;
    max-width: 320px;
}

.hero-logo-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-logo-cell img,
.hero-logo-cell .hero-logo-svg {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.hero-logo-cell .hero-logo-svg {
    display: block;
}

.hero-split-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.hero-split-image-wrap {
    width: 100%;
    min-height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.hero-split-image {
    width: 100%;
    height: auto;
    min-height: 380px;
    display: block;
    object-fit: cover;
}

.hero-split-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 360px;
    justify-content: center;
}

.hero-split-buttons .hero-split-btn {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    background: #9CA3AF;
    color: #fff;
    border: none;
}

.hero-split-btn:hover {
    background: #6B7280;
    color: #fff;
}

.hero-split-btn:first-child {
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
}

.hero-split-btn:first-child:hover {
    background: linear-gradient(135deg, var(--purple-dark) 0%, #5B21B6 100%);
}

@media (max-width: 968px) {
    .hero-split-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-split-left {
        text-align: center;
    }

    .hero-split-subtitle {
        max-width: none;
    }

    .hero-split-tech-blurb {
        text-align: center;
    }

    .hero-split-logos {
        margin: 0 auto;
    }

    .hero-split-image-wrap {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-split-buttons {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .hero-split-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .hero-split-logos {
        grid-template-columns: repeat(2, 1fr);
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-split-buttons {
        flex-direction: column;
    }

    .hero-split-btn {
        max-width: 100%;
    }
}

/* Hero Logos Scrolling Display */
.hero-logos {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 2.5rem 0;
    background: var(--bg-dark);
    margin-top: -1px;
}

.logos-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.logos-container::before,
.logos-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logos-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.logos-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.logos-track {
    display: flex;
    gap: 3rem;
    animation: scroll-logos 30s linear infinite;
    width: fit-content;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(58, 58, 58, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    white-space: nowrap;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.logo-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4), 0 0 40px rgba(16, 185, 129, 0.2);
    background: rgba(58, 58, 58, 0.7);
    z-index: 10;
    position: relative;
}

.logo-item svg,
.logo-item .logo-img {
    width: 48px;
    height: 48px;
    color: var(--text-primary);
    flex-shrink: 0;
    object-fit: contain;
}

.logo-item .logo-img {
    display: block;
}

.logo-item span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.25rem;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.7) 0%, rgba(16, 185, 129, 0.7) 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.3), 0 0 20px rgba(16, 185, 129, 0.2);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(16, 185, 129, 0.8) 50%, rgba(59, 130, 246, 0.8) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(139, 92, 246, 0.6);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.7) 0%, rgba(16, 185, 129, 0.7) 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    border-color: rgba(139, 92, 246, 0.8);
    color: var(--text-primary);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.25);
    transform: translateY(-2px);
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-full {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid;
    border-image: linear-gradient(180deg, var(--purple-primary), var(--green-primary)) 1;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4), 0 0 25px rgba(16, 185, 129, 0.3);
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: linear-gradient(180deg, var(--purple-primary), var(--green-primary));
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Services Section */
.services {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 50% 20%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 80%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid;
    border-image: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(16, 185, 129, 0.3)) 1;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1), 0 0 20px rgba(16, 185, 129, 0.05);
}

.service-card:nth-child(1) {
    border-image: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(167, 139, 250, 0.3)) 1;
}

.service-card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-light), var(--purple-primary));
}

.service-card:nth-child(1) .service-icon {
    background: var(--gradient-purple);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4), 0 0 30px rgba(139, 92, 246, 0.2);
}

.service-card:nth-child(2) {
    border-image: linear-gradient(135deg, rgba(16, 185, 129, 0.5), rgba(52, 211, 153, 0.3)) 1;
}

.service-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--green-primary), var(--green-light), var(--green-primary));
}

.service-card:nth-child(2) .service-icon {
    background: var(--gradient-green);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4), 0 0 30px rgba(16, 185, 129, 0.2);
}

.service-card:nth-child(3) {
    border-image: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(16, 185, 129, 0.4)) 1;
}

.service-card:nth-child(3)::before {
    background: var(--gradient-mixed);
}

.service-card:nth-child(3) .service-icon {
    background: var(--gradient-mixed);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3), 0 0 30px rgba(16, 185, 129, 0.2);
}

.service-card:nth-child(4) {
    border-image: linear-gradient(135deg, rgba(167, 139, 250, 0.4), rgba(52, 211, 153, 0.4)) 1;
}

.service-card:nth-child(4)::before {
    background: linear-gradient(135deg, var(--purple-light), var(--green-light));
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, var(--purple-light), var(--green-light));
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3), 0 0 30px rgba(16, 185, 129, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-mixed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4), 0 0 50px rgba(16, 185, 129, 0.3);
}

.service-card:nth-child(1):hover {
    border-image: linear-gradient(135deg, var(--purple-primary), var(--purple-light)) 1;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5), 0 0 60px rgba(139, 92, 246, 0.3);
}

.service-card:nth-child(2):hover {
    border-image: linear-gradient(135deg, var(--green-primary), var(--green-light)) 1;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5), 0 0 60px rgba(16, 185, 129, 0.3);
}

.service-card:nth-child(3):hover {
    border-image: var(--gradient-mixed) 1;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4), 0 0 60px rgba(16, 185, 129, 0.3);
}

.service-card:nth-child(4):hover {
    border-image: linear-gradient(135deg, var(--purple-light), var(--green-light)) 1;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4), 0 0 60px rgba(16, 185, 129, 0.3);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-mixed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.service-card p:last-of-type {
    margin-bottom: 0.5rem;
}

.service-card .service-intro {
    font-weight: 500;
    color: var(--text-primary);
}

.service-card .service-notes {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-card .service-notes li {
    margin-bottom: 0.35rem;
}

.service-card .service-notes li:last-child {
    margin-bottom: 0;
}

.service-card .service-notes strong {
    color: var(--text-primary);
}

/* About Section */
.about {
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.about-text .about-purpose,
.about-text .about-mission {
    margin-bottom: 1.25rem;
}

.about-values-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.about-values-list {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.about-values-list li {
    margin-bottom: 0.5rem;
}

.about-values-list li:last-child {
    margin-bottom: 0;
}

.about-values-list strong {
    color: var(--text-primary);
}

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-visual {
    position: relative;
}

.visual-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--purple-primary), var(--purple-light), var(--green-primary), var(--green-light)) 1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.3), 0 0 60px rgba(16, 185, 129, 0.2);
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(167, 139, 250, 0.15) 20%, rgba(16, 185, 129, 0.15) 40%, rgba(52, 211, 153, 0.1) 60%, transparent 80%);
}

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

.code-snippet {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.code-line {
    margin-bottom: 0.5rem;
}

.code-keyword {
    color: var(--purple-light);
}

.code-function {
    color: var(--green-light);
}

.code-string {
    color: var(--green-primary);
}

.code-indent {
    display: inline-block;
    width: 2ch;
}

/* Team Section */
.team {
    background: var(--bg-darker);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid;
    border-image: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(16, 185, 129, 0.3)) 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1), 0 0 20px rgba(16, 185, 129, 0.05);
}

.team-member:hover {
    transform: translateY(-5px);
    border-image: var(--gradient-mixed) 1;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3), 0 0 50px rgba(16, 185, 129, 0.2);
}

.team-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.team-member:nth-child(1) .team-image-wrapper {
    border-color: rgba(139, 92, 246, 0.3);
}

.team-member:nth-child(1):hover .team-image-wrapper {
    border-color: var(--purple-primary);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
}

.team-member:nth-child(2) .team-image-wrapper {
    border-color: rgba(16, 185, 129, 0.3);
}

.team-member:nth-child(2):hover .team-image-wrapper {
    border-color: var(--green-primary);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
}

.team-member:nth-child(3) .team-image-wrapper {
    border-color: rgba(107, 114, 128, 0.3);
}

.team-member:nth-child(3):hover .team-image-wrapper {
    border-color: var(--grey-blue);
    box-shadow: 0 0 25px rgba(107, 114, 128, 0.6);
}

.team-member:hover .team-image-wrapper {
    transform: scale(1.05);
}

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

.team-member:hover .team-image {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.team-member:hover .team-overlay {
    opacity: 1;
}

.team-linkedin {
    width: 50px;
    height: 50px;
    background: var(--gradient-mixed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.team-member:nth-child(1) .team-linkedin {
    background: var(--gradient-purple);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.team-member:nth-child(2) .team-linkedin {
    background: var(--gradient-green);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.team-member:nth-child(3) .team-linkedin {
    background: var(--gradient-blue);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.4);
}

.team-linkedin:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.team-member:nth-child(1) .team-linkedin:hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.7);
}

.team-member:nth-child(2) .team-linkedin:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.7);
}

.team-member:nth-child(3) .team-linkedin:hover {
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.7);
}

.team-linkedin svg {
    width: 24px;
    height: 24px;
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-role {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* Clients Section */
.clients {
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 50% 50%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.clients-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.client-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid;
    border-image: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(139, 92, 246, 0.3)) 1;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1), 0 0 20px rgba(139, 92, 246, 0.05);
}

.client-card:hover {
    transform: translateY(-5px);
    border-image: linear-gradient(135deg, var(--green-primary), var(--green-light), var(--purple-primary)) 1;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4), 0 0 60px rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16, 185, 129, 0.08) 50%, rgba(139, 92, 246, 0.05) 100%);
}

.client-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-primary);
}

.client-icon svg {
    width: 30px;
    height: 30px;
}

.client-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.client-card p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
}

/* Reviews Section */
.reviews {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.reviews-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-form-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    position: sticky;
    top: 100px;
}

.review-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.review-form .form-group {
    margin-bottom: 1.5rem;
}

.review-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
}

.rating-input input[type="radio"] {
    display: none;
}

.star-label {
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.star-label:hover,
.star-label:hover ~ .star-label {
    color: var(--green-primary);
    transform: scale(1.1);
}

.rating-input input[type="radio"]:checked ~ .star-label,
.rating-input input[type="radio"]:checked ~ .star-label ~ .star-label {
    color: var(--green-primary);
}

.rating-input input[type="radio"]:checked + .star-label {
    color: var(--green-primary);
}

.reviews-display h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid;
    border-image: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(16, 185, 129, 0.3)) 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1), 0 0 20px rgba(16, 185, 129, 0.05);
}

.review-item:hover {
    border-image: var(--gradient-mixed) 1;
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4), 0 0 50px rgba(16, 185, 129, 0.3);
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(16, 185, 129, 0.05) 100%);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-mixed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
}

.reviewer-avatar svg {
    width: 24px;
    height: 24px;
}

.reviewer-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.reviewer-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.review-rating .stars {
    color: var(--green-primary);
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Schedule Section */
.schedule {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 30% 30%, rgba(52, 211, 153, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.schedule-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-info {
    position: sticky;
    top: 100px;
}

.schedule-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid;
    border-image: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(16, 185, 129, 0.4)) 1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2), 0 0 40px rgba(16, 185, 129, 0.1);
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-light), var(--green-primary), var(--green-light));
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.5), 0 0 15px rgba(16, 185, 129, 0.3);
}

.schedule-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-mixed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.schedule-icon svg {
    width: 30px;
    height: 30px;
}

.schedule-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.schedule-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.schedule-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.schedule-benefits li svg {
    width: 20px;
    height: 20px;
    color: var(--green-primary);
    flex-shrink: 0;
}

.schedule-widget {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    overflow: hidden;
    min-height: 700px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.cal-embed-wrapper {
    width: 100%;
    height: 100%;
    min-height: 700px;
    position: relative;
}

.cal-embed-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 700px;
    border: none;
    border-radius: 16px;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-mixed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-primary);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--green-light);
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(107, 114, 128, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo-image {
    height: 48px;
    width: 48px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    max-width: 48px;
    max-height: 48px;
}

.footer-logo svg.footer-logo-image {
    height: 48px;
    width: 48px;
    display: block;
    flex-shrink: 0;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin: 0;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

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

.footer-links a,
.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--green-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(107, 114, 128, 0.1);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid rgba(107, 114, 128, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .about-content,
    .contact-content,
    .schedule-content,
    .reviews-content {
        grid-template-columns: 1fr;
    }

    .review-form-card {
        position: static;
    }

    .schedule-info {
        position: static;
    }

    .schedule-widget,
    .cal-embed-wrapper {
        min-height: 600px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .hero-text-box {
        padding: 1.5rem 1.5rem;
        border-radius: 12px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-logos {
        padding: 1.5rem 0;
    }

    .logo-item {
        min-width: 160px;
        padding: 1.25rem 1.5rem;
        gap: 0.75rem;
    }

    .logo-item svg {
        width: 36px;
        height: 36px;
    }

    .logo-item span {
        font-size: 1.125rem;
    }

    .logos-track {
        gap: 2rem;
    }

    .logos-container::before,
    .logos-container::after {
        width: 50px;
    }

    :root {
        --section-padding: 60px 0;
    }
}

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

    .clients-content {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-image-wrapper {
        width: 150px;
        height: 150px;
    }
}

/* Chatbot Section */
.chatbot-section {
    min-height: 100vh;
    padding: 120px 0 60px;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.chatbot-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.chatbot-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.chatbot-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.chatbot-header .settings-button {
    position: absolute;
    top: 0;
    right: 0;
}

.chatbot-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(107, 114, 128, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    height: calc(100vh - 300px);
    min-height: 600px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
    width: 8px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border-radius: 4px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--grey-light);
    border-radius: 4px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: var(--grey-primary);
}

.message {
    display: flex;
    gap: 1rem;
    animation: fadeIn 0.3s ease;
    max-width: 85%;
}

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

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.bot-message {
    align-self: flex-start;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.6) 0%, rgba(16, 185, 129, 0.6) 100%);
    color: var(--text-primary);
}

.bot-message .message-avatar {
    background: transparent;
    color: var(--text-primary);
    overflow: hidden;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.message-avatar svg {
    width: 20px;
    height: 20px;
}

.message-avatar .avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.message-content {
    background: var(--bg-dark);
    padding: 1rem 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(107, 114, 128, 0.1);
    position: relative;
}

.user-message .message-content {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5) 0%, rgba(16, 185, 129, 0.5) 100%);
    border-color: transparent;
    color: var(--text-primary);
}

.bot-message .message-content {
    background: var(--bg-dark);
    color: var(--text-secondary);
}

.message-content p {
    margin: 0;
    line-height: 1.6;
    word-wrap: break-word;
}

.user-message .message-content p {
    color: var(--text-primary);
}

.chatbot-input-container {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(107, 114, 128, 0.1);
    background: var(--bg-card);
}

.chatbot-input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.chatbot-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-dark);
    border: 2px solid rgba(107, 114, 128, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.chatbot-input:focus {
    border-color: var(--purple-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.chatbot-input::placeholder {
    color: var(--text-muted);
}

.send-button {
    width: 50px;
    height: 50px;
    background: var(--gradient-mixed);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.send-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.send-button:active {
    transform: translateY(0);
}

.send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.send-button svg {
    width: 20px;
    height: 20px;
}

.typing-indicator {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0 0;
    align-items: center;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--green-primary);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Booking Button */
.booking-button-container {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease;
}

.booking-button {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    background: var(--gradient-mixed);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2), 0 0 20px rgba(16, 185, 129, 0.1);
}

.booking-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4), 0 0 30px rgba(16, 185, 129, 0.2);
    border-color: var(--purple-primary);
}

.booking-button:active {
    transform: translateY(0);
}

.booking-button svg {
    flex-shrink: 0;
}

/* Settings Panel */
.settings-button {
    background: var(--bg-card);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.settings-button:hover {
    background: var(--purple-primary);
    border-color: var(--purple-primary);
    transform: rotate(90deg);
}

.settings-button svg {
    width: 20px;
    height: 20px;
}

.settings-panel {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(107, 114, 128, 0.2);
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.settings-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.settings-group {
    margin-bottom: 1.5rem;
}

.settings-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.settings-group input[type="text"],
.settings-group input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-dark);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.settings-group input[type="text"]:focus,
.settings-group input[type="password"]:focus {
    outline: none;
    border-color: var(--purple-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.settings-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
    accent-color: var(--purple-primary);
}

.settings-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.settings-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    margin-left: 0;
}

.settings-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.settings-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.settings-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--green-primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.settings-status.error {
    display: block;
    background: rgba(107, 114, 128, 0.1);
    color: var(--grey-dark);
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.btn-preset {
    padding: 0.5rem 1rem;
    background: var(--bg-dark);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.btn-preset:hover {
    background: var(--purple-primary);
    border-color: var(--purple-primary);
    color: var(--text-primary);
}

.btn-load-models {
    padding: 0.5rem 1rem;
    background: var(--bg-dark);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-models:hover {
    background: var(--purple-primary);
    border-color: var(--purple-primary);
    color: var(--text-primary);
}

.btn-load-models:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#modelsList {
    background: var(--bg-dark);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 8px;
    padding: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

#modelsList .model-item {
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
}

#modelsList .model-item:hover {
    background: rgba(139, 92, 246, 0.1);
}

#modelsList .model-item.selected {
    background: rgba(139, 92, 246, 0.2);
    color: var(--purple-primary);
}

@media (max-width: 768px) {
    .chatbot-container {
        height: calc(100vh - 250px);
        min-height: 500px;
        border-radius: 16px;
    }

    .chatbot-messages {
        padding: 1.5rem;
    }

    .message {
        max-width: 90%;
    }

    .chatbot-input-container {
        padding: 1rem 1.5rem;
    }

    .chatbot-section {
        padding: 100px 0 40px;
    }

    .chatbot-header > div {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .settings-panel {
        margin: 1rem auto;
        padding: 1.5rem;
    }

    .settings-actions {
        flex-direction: column;
    }

    .settings-actions .btn {
        width: 100%;
    }
}
