:root {
    /* Colors */
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;

    /* Metallic Accents */
    --accent-silver: #e0e0e0;
    --accent-chrome: #c0c0c0;

    /* Vibrant Neon Accents */
    --neon-cyan: #00f3ff;
    --neon-purple: #bd00ff;
    --neon-pink: #ff0099;

    /* Gradients */
    --gradient-silver: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    --gradient-neon: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    --gradient-glow: radial-gradient(circle at center, rgba(0, 243, 255, 0.1) 0%, transparent 70%);

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px 0;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
    --glow-cyan: 0 0 20px rgba(0, 243, 255, 0.3);
    --glow-purple: 0 0 20px rgba(189, 0, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Dynamic Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 243, 255, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(189, 0, 255, 0.08), transparent 25%);
    animation: pulseGlow 10s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Sections Base */
.section {
    padding: 120px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    color: #888;
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--neon-cyan);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ========== VORTEX LOADING ANIMATION ========== */
#vortex-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#vortex-loader.fade-out {
    opacity: 0;
    transform: scale(1.5);
    pointer-events: none;
}

.vortex-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.vortex-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: vortexSpin 2s linear infinite;
}

.vortex-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    border-top-color: #00f3ff;
    animation-duration: 3s;
}

.vortex-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-right-color: #bd00ff;
    animation-duration: 2.5s;
    animation-direction: reverse;
}

.vortex-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-bottom-color: #ff0099;
    animation-duration: 2s;
}

.vortex-ring:nth-child(4) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-left-color: #00f3ff;
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.vortex-ring:nth-child(5) {
    width: 20%;
    height: 20%;
    top: 40%;
    left: 40%;
    border-top-color: #bd00ff;
    animation-duration: 1s;
}

.vortex-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #00f3ff, transparent);
    border-radius: 50%;
    animation: vortexPulse 1s ease-in-out infinite alternate;
}

@keyframes vortexSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes vortexPulse {
    from {
        box-shadow: 0 0 20px #00f3ff, 0 0 40px #00f3ff;
        transform: translate(-50%, -50%) scale(1);
    }

    to {
        box-shadow: 0 0 60px #00f3ff, 0 0 100px #bd00ff;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* Language Switcher Button */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 8000;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 15px;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.lang-switcher:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.lang-switcher select {
    background: transparent;
    border: none;
    color: inherit;
    font-size: inherit;
    cursor: pointer;
    outline: none;
}

.lang-switcher select option {
    background: #111;
    color: #fff;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: var(--glass-blur);
    z-index: 1000;
    border-bottom: var(--glass-border);
    transition: 0.3s;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.logo-text {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1px;
    background: var(--gradient-silver);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#main-nav ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

#main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

#main-nav a.active {
    color: var(--text-primary);
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-neon);
    transition: 0.3s;
}

#main-nav a:hover::after,
#main-nav a.active::after {
    width: 100%;
}

.cta-button-small {
    padding: 10px 24px !important;
    border: 1px solid var(--neon-cyan);
    border-radius: 4px;
    color: var(--neon-cyan) !important;
    font-weight: 600 !important;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
    background: rgba(0, 243, 255, 0.05);
}

.cta-button-small::after {
    display: none !important;
}

.cta-button-small:hover {
    background: var(--neon-cyan) !important;
    color: #000 !important;
    box-shadow: var(--glow-cyan);
}

/* Mobile Menu Button */
#mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    /* Above overlay */
    padding: 10px;
}

#mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* Hamburger Animation State */
#mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

#mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Full Screen Mobile Menu */
@media (max-width: 768px) {
    #mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 2000;
    }

    .header-container {
        justify-content: space-between;
    }

    /* Move language switcher to be near hamburger on mobile */
    .lang-switcher {
        right: 70px;
        top: 18px;
    }

    #main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1500;

        /* Hidden state */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.4s ease, visibility 0.4s;
    }

    #main-nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    #main-nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    #main-nav a {
        font-size: 2rem;
        font-weight: 800;
        text-transform: uppercase;
        color: var(--text-primary);
        letter-spacing: 2px;
    }

    #main-nav a.cta-button-small {
        margin-top: 20px;
        font-size: 1.5rem;
        padding: 15px 40px !important;
        background: var(--gradient-neon) !important;
        color: #000 !important;
        box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    }

    #mobile-menu-btn {
        display: flex;
    }

    /* Hide desktop-specific hover underlines on mobile for cleaner look */
    #main-nav a::after {
        display: none;
    }

    /* Mobile Hero Responsive Styles */
    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 4rem);
        word-break: break-word;
        hyphens: auto;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding-right: 15px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        padding-right: 15px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: calc(100vw - 50px);
        text-align: center;
        padding: 14px 20px;
        box-sizing: border-box;
    }
}

/* Hero Section */
.hero-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.metallic-text {
    background: var(--gradient-silver);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.neon-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.outline-text {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 650px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 25px;
}

.primary-btn {
    padding: 16px 36px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    background: var(--gradient-neon);
    color: #000;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(189, 0, 255, 0.4);
}

.secondary-btn {
    padding: 16px 36px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
    display: inline-block;
    cursor: pointer;
}

.secondary-btn:hover {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(189, 0, 255, 0.2);
}

/* Page Header (for sub-pages) */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 4rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: var(--gradient-silver);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards (Services & Work) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.card {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 50px;
    border-radius: 12px;
    transition: 0.4s;
    backdrop-filter: var(--glass-blur);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-neon);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(30, 30, 30, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2rem;
    color: var(--neon-cyan);
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Feature List in Cards */
.feature-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '▹';
    color: var(--neon-purple);
}

/* Service Configurator */
.configurator-wrapper {
    background: var(--bg-card);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: var(--gradient-neon);
    z-index: 1;
    transition: 0.4s;
    width: 0;
    /* JS updates this */
}

.step {
    position: relative;
    z-index: 2;
    background: var(--bg-dark);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    font-weight: 700;
    transition: 0.3s;
}

.step.active {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.step.completed {
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
    color: #000;
}

.config-step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.config-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.config-step-content h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

/* Option Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.option-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.option-card.selected {
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.1);
}

.option-card h4 {
    margin-bottom: 5px;
    color: var(--text-primary);
}

/* Dynamic Options Form */
.dynamic-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-main);
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

/* Actions */
.config-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.back-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.back-btn:hover {
    border-color: #fff;
    color: #fff;
}

.next-btn {
    background: var(--gradient-neon);
    border: none;
    color: #000;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.next-btn:hover {
    box-shadow: 0 0 20px rgba(189, 0, 255, 0.4);
}

/* Summary Card */
.order-summary {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-item span:first-child {
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: #000;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 100px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Footer Language Switcher */
.footer-lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.footer-lang-switcher select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #aaa;
    padding: 6px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
}

.footer-lang-switcher select:hover,
.footer-lang-switcher select:focus {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    outline: none;
}

.footer-lang-switcher select option {
    background: #111;
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .configurator-wrapper {
        padding: 20px;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* #main-nav display handled in earlier media query */

    #mobile-menu-btn {
        display: flex;
    }

    .hero-actions {
        flex-direction: column;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ========== CHATBOT STYLES ========== */
.chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #00f3ff, #bd00ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5), 0 0 60px rgba(189, 0, 255, 0.3);
    z-index: 100001;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
}

.chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.8);
}

.chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    max-height: 550px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 243, 255, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 9000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        bottom: 100px;
    }
}

.chat-header {
    padding: 18px 20px;
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.1), rgba(189, 0, 255, 0.1));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.chat-header span {
    color: #00f3ff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
}

.chat-header button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s;
}

.chat-header button:hover {
    color: #ff0099;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 350px;
}

.message {
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

.message.bot {
    background: rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
    align-self: flex-start;
    border-left: 3px solid #00f3ff;
}

.message.user {
    background: linear-gradient(135deg, rgba(189, 0, 255, 0.3), rgba(0, 243, 255, 0.2));
    color: #fff;
    align-self: flex-end;
    border-right: 3px solid #bd00ff;
}

.message.typing {
    opacity: 0.7;
    font-style: italic;
}

.chat-input-area {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.opt-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #b0b0b0;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.opt-btn:hover {
    border-color: #00f3ff;
    color: #00f3ff;
    background: rgba(0, 243, 255, 0.1);
}

.input-row {
    display: flex;
    gap: 10px;
}

.input-row input {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 15px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.input-row input:focus {
    outline: none;
    border-color: #00f3ff;
}

.input-row input:disabled {
    opacity: 0.5;
}

.input-row button {
    background: linear-gradient(135deg, #00f3ff, #bd00ff);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.input-row button:hover {
    transform: scale(1.05);
}

/* ========== CURSOR TRAIL ========== */
.cursor-dot,
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: #00f3ff;
    box-shadow: 0 0 10px #00f3ff;
}

.cursor-follower {
    width: 35px;
    height: 35px;
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.4);
    transition: width 0.2s, height 0.2s;
}

@media (hover: none) and (pointer: coarse),
(max-width: 768px) {

    .cursor-dot,
    .cursor-follower {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }
}

/* ========== WELCOME OVERLAY ========== */
#welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(30px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#welcome-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.welcome-card {
    background: rgba(20, 20, 25, 0.9);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    padding: 50px 60px;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 243, 255, 0.1);
}

.welcome-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, #00f3ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-card p {
    color: #888;
    margin-bottom: 30px;
}

.welcome-card .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.welcome-card label {
    display: block;
    color: #aaa;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.welcome-card input,
.welcome-card select {
    width: 100%;
    padding: 14px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.welcome-card input:focus,
.welcome-card select:focus {
    outline: none;
    border-color: #00f3ff;
}

.welcome-card button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #00f3ff, #bd00ff);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.welcome-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.5);
}

/* Kinetic Text */
.kinetic-text {
    display: inline-block;
    will-change: transform;
}

/* ========== HOME PAGE SECTIONS ========== */

/* 4-Column Grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.service-card:hover {
    background: rgba(0, 243, 255, 0.05);
    border-color: rgba(0, 243, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #fff;
}

.service-card p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    color: var(--neon-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.card-link:hover {
    color: #fff;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.03) 0%, transparent 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #00f3ff, #bd00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    color: #888;
    font-size: 0.95rem;
    margin-top: 8px;
}

/* Work Showcase - Bento Grid */
.work-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 300px 200px;
    gap: 20px;
}

.work-item {
    background: linear-gradient(135deg, rgba(50, 50, 60, 0.5), rgba(30, 30, 40, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: all 0.4s ease;
}

.work-item.large {
    grid-row: span 2;
}

.work-item:hover {
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.15);
}

.work-overlay {
    padding: 25px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    width: 100%;
}

.work-tag {
    display: inline-block;
    background: rgba(0, 243, 255, 0.2);
    color: var(--neon-cyan);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.work-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.work-overlay p {
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .work-showcase {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .work-item.large {
        grid-row: span 1;
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .work-showcase {
        grid-template-columns: 1fr;
    }

    .work-item.large {
        grid-column: span 1;
    }
}

.center-cta {
    text-align: center;
    margin-top: 50px;
}

/* Quote Section */
.quote-section {
    background: transparent;
}

.quote-card {
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid rgba(189, 0, 255, 0.2);
    border-radius: 20px;
    padding: 60px 80px;
    text-align: center;
    position: relative;
}

.quote-mark {
    font-size: 8rem;
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 40px;
    color: rgba(189, 0, 255, 0.15);
    font-family: Georgia, serif;
}

.quote-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 30px;
}

.quote-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: 1.1rem;
}

.author-title {
    color: #777;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .quote-card {
        padding: 40px 30px;
    }

    .quote-text {
        font-size: 1.1rem;
    }

    .quote-mark {
        font-size: 5rem;
        left: 15px;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 243, 255, 0.05) 50%, transparent 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: #999;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-btn.large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    background: rgba(5, 5, 5, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 40px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

.footer-copy {
    color: #555;
    font-size: 0.85rem;
}

/* --- AI Chatbot Styles --- */
.chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.chat-btn.active {
    transform: scale(0.8) rotate(45deg);
    opacity: 0;
    pointer-events: none;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100000;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    padding: 15px;
    background: linear-gradient(90deg, rgba(188, 19, 254, 0.1), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--neon-cyan);
}

#close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

#close-chat:hover {
    opacity: 1;
}

.chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
}

.message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.message.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    color: #ddd;
    border-bottom-left-radius: 2px;
}

.message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    color: #fff;
    border-bottom-right-radius: 2px;
}

.message.typing {
    font-style: italic;
    opacity: 0.7;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.opt-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.opt-btn:hover {
    background: rgba(188, 19, 254, 0.2);
    border-color: var(--neon-purple);
    color: #fff;
}

.input-row {
    display: flex;
    gap: 10px;
}

#user-input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    font-family: inherit;
}

#user-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
}

#send-msg {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s;
}


/* --- BEAST MODE (DEV MODE) STYLES --- */
body.beast-mode {
    --neon-cyan: #ff0000;
    --neon-purple: #800000;
    --bg-color: #050000;
    --text-color: #ff3333;
    font-family: 'Courier New', Courier, monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Hide Header in Beast Mode */
body.beast-mode #main-header {
    display: none !important;
}

body.beast-mode h1,
body.beast-mode h2,
body.beast-mode h3,
body.beast-mode .logo-text {
    font-family: 'Courier New', Courier, monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
    color: #ff0000;
}

/* OVERRIDE ALL GRADIENTS TO RED */
body.beast-mode .btn-primary,
body.beast-mode .next-btn,
body.beast-mode .submit-btn,
body.beast-mode .chat-btn,
body.beast-mode .progress-fill,
body.beast-mode .loading-bar,
body.beast-mode .step.active,
body.beast-mode #btn-submit,
body.beast-mode #btn-next {
    background: #ff0000 !important;
    color: #000 !important;
    border: 1px solid #800000;
    box-shadow: 0 0 15px #ff0000;
    background-image: none !important;
}

body.beast-mode .progress-fill {
    background: #ff0000 !important;
    box-shadow: 0 0 10px #ff0000;
}

body.beast-mode .step {
    border-color: #ff0000;
    color: #ff0000;
    background: transparent;
}

body.beast-mode .step.active {
    background: #ff0000;
    color: #000;
}

body.beast-mode .step.completed {
    background: #800000;
    border-color: #ff0000;
    color: #000;
}

body.beast-mode input,
body.beast-mode select,
body.beast-mode textarea {
    background: #0a0000;
    border: 1px solid #ff0000;
    color: #ff0000;
    font-family: monospace;
}

body.beast-mode input:focus,
body.beast-mode select:focus,
body.beast-mode textarea:focus {
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

/* Button Glitch Hover */
#btn-dev-mode:hover {
    animation: glitch-skew 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: #ff0000;
    border-color: #ff0000;
    text-shadow: 2px 0 #000, -2px 0 #cc0000;
}

@keyframes glitch-skew {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* Red Glitch Fullscreen */
.red-glitch-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: red;
    z-index: 100001;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.red-glitch-screen.active {
    animation: flash-glitch 0.1s infinite;
    opacity: 1;
}

@keyframes flash-glitch {
    0% {
        opacity: 0;
        transform: translateX(0);
    }

    10% {
        opacity: 0.8;
        transform: translateX(-10px);
    }

    20% {
        opacity: 0.1;
        transform: translateX(10px);
    }

    30% {
        opacity: 0.6;
        transform: translateX(0);
        background: #800000;
    }

    40% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.9;
        transform: translateX(-5px);
        background: #ff0000;
    }

    100% {
        opacity: 0;
    }
}


/* Chatbot Overrides */
body.beast-mode .chat-window {
    border-color: #ff0000;
    background: rgba(10, 0, 0, 0.95);
}

body.beast-mode .chat-header {
    background: #300000;
    color: #ff0000;
    border-bottom: 1px solid #ff0000;
}

body.beast-mode .message.user {
    background: #ff0000 !important;
    color: #000;
}

body.beast-mode .message.bot {
    border: 1px solid #ff0000;
    color: #ff0000;
    background: transparent;
}

/* CRT Scanline Effect */
body.beast-mode::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(255, 0, 0, 0.02), rgba(255, 0, 0, 0.06));
    z-index: 99999;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    background-clip: content-box;
    -webkit-background-clip: content-box;
    /* Fix background-clip lint */
}

/* ASCII Overlay Animation */
#ascii-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    color: #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    font-family: monospace;
    font-size: 10px;
    /* Smaller font for large ASCII */
    white-space: pre;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

@media (min-width: 768px) {
    #ascii-overlay {
        font-size: 14px;
    }
}

#ascii-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.glitch-text {
    animation: glitch 0.3s linear infinite;
}

@keyframes glitch {

    2%,
    64% {
        transform: translate(2px, 0) skew(0deg);
    }

    4%,
    60% {
        transform: translate(-2px, 0) skew(0deg);
    }

    62% {
        transform: translate(0, 0) skew(5deg);
    }
}

/* Credentials Section */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 60px;
}

.credential-item {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: default;
    padding: 20px;
    width: 100%;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 8px;
}

.credential-item:hover {
    color: var(--neon-cyan);
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 243, 255, 0.2);
    transform: translateY(-5px);
}

/* Credentials Page Specific Styles */
.credentials-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.credential-card-large {
    background: var(--bg-card);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 40px;
    border-radius: 12px;
    transition: 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.credential-card-large:hover {
    transform: translateY(-10px);
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 243, 255, 0.3);
}

.client-logo-large {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, #aaa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    display: inline-block;
}

.client-feedback {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
    border-left: 3px solid var(--neon-cyan);
    padding-left: 20px;
}

.client-name {
    font-size: 0.9rem;
    color: var(--neon-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: right;
}

.project-brief {
    font-size: 0.8rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -20px;
    margin-bottom: 20px;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    width: 100%;
    margin: 80px 0;
}

.community-section {
    text-align: center;
    margin-bottom: 80px;
    overflow: hidden;
}

.section-title-small {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #888;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-container::before,
.slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
}

.slider-container::before {
    left: 0;
    background: linear-gradient(to right, #0a0a0a, transparent);
}

.slider-container::after {
    right: 0;
    background: linear-gradient(to left, #0a0a0a, transparent);
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    gap: 30px;
}

.slider-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    flex-shrink: 0;
    text-align: left;
    transition: 0.3s;
}

.slider-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 243, 255, 0.2);
}

.slider-client-name {
    color: var(--neon-cyan);
    font-weight: 600;
    margin-bottom: 5px;
}

.slider-client-feedback {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.4;
    font-style: italic;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 2));
    }
}

/* Responsive Styles for Credentials Page */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .credentials-grid-large {
        grid-template-columns: 1fr;
        /* Stack cards vertically */
        gap: 20px;
        margin-top: 30px;
    }

    .credential-card-large {
        padding: 25px;
        min-height: auto;
    }

    .client-logo-large {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .project-brief {
        font-size: 0.75rem;
        margin-top: -10px;
        margin-bottom: 15px;
    }

    .client-feedback {
        font-size: 1rem;
        padding-left: 15px;
        margin-bottom: 20px;
    }

    .community-section {
        margin-bottom: 60px;
    }

    .section-title-small {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    /* Adjust slider for mobile */
    .slider-card {
        width: 250px;
        /* Slightly narrower cards */
        padding: 15px;
    }

    /* Mobile Chatbot Adjustments */
    .chat-window {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        bottom: 100px;
        height: 60vh;
    }

    .chat-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}