@charset "utf-8";
/* CSS Document */

/*

TemplateMo 600 Prism Flux

https://templatemo.com/tm-600-prism-flux

*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #0a0a0a;
    --carbon-dark: #121212;
    --carbon-medium: #1a1a1a;
    --carbon-light: #2a2a2a;
    --metal-dark: #3a3a3a;
    --metal-light: #4a4a4a;
    --accent-red: #ff3333;
    --accent-blue: #00a8ff;
    --accent-green: #00ff88;
    --accent-purple: #9945ff;
    --accent-cyan: #00ffff;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-dim: #808080;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    background: var(--primary-black);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-width: 0;
    max-width: 100vw;
}

/* Carbon Fiber Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px),
        linear-gradient(135deg,
            var(--primary-black) 0%,
            var(--carbon-dark) 25%,
            var(--carbon-medium) 50%,
            var(--carbon-dark) 75%,
            var(--primary-black) 100%);
    z-index: -2;
}

/* Animated Grid Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 51, 51, 0.05) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 51, 51, 0.05) 2px, transparent 2px);
    background-size: 150px 150px;
    animation: gridMove 20s linear infinite;
    z-index: -1;
    opacity: 0.5;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(150px, 150px);
    }
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-prism {
    width: 100px;
    height: 100px;
    position: relative;
    margin: 0 auto 30px;
}

.loader-prism::after {
    content: 'S';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 65px;
    font-weight: 700;
    font-style: italic;
    background: linear-gradient(90deg,
            #ff0080, #ff8c00, #ffeb3b, #00ff88, #00d4ff, #b388ff, #ff0080);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: loaderRainbow 3s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2)) drop-shadow(0 0 12px rgba(255, 0, 128, 0.12));
    z-index: 2;
    letter-spacing: 0;
    font-family: inherit;
}

@keyframes loaderRainbow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 400% 50%;
    }
}

.prism-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    transform-origin: center;
    animation: prismRotate 3s linear infinite;
}

.prism-face:nth-child(1) {
    border-image: linear-gradient(45deg, var(--accent-red), var(--accent-blue)) 1;
    animation-delay: 0s;
}

.prism-face:nth-child(2) {
    border-image: linear-gradient(45deg, var(--accent-blue), var(--accent-green)) 1;
    transform: rotate(60deg);
    animation-delay: 0.2s;
}

.prism-face:nth-child(3) {
    border-image: linear-gradient(45deg, var(--accent-green), var(--accent-purple)) 1;
    transform: rotate(120deg);
    animation-delay: 0.4s;
}

@keyframes prismRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Navigation Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg,
            rgba(18, 18, 18, 0.98) 0%,
            rgba(18, 18, 18, 0.9) 50%,
            rgba(18, 18, 18, 0) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(30px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.call-strip {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--carbon-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    z-index: 999;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.call-strip.call-strip-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.call-strip::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--metal-dark);
}

.call-strip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--accent-cyan);
    animation: callStripIconColor 4s linear infinite;
}

.call-strip-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

@keyframes callStripIconColor {

    0%,
    100% {
        color: var(--accent-red);
    }

    25% {
        color: var(--accent-purple);
    }

    50% {
        color: var(--accent-cyan);
    }

    75% {
        color: var(--accent-green);
    }
}

.call-strip-text {
    background: linear-gradient(90deg, var(--accent-red), var(--accent-purple), var(--accent-cyan), var(--accent-green), var(--accent-red));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: callStripText 4s linear infinite;
}

.call-strip:hover .call-strip-text {
    animation-duration: 2.5s;
}

@keyframes callStripText {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 300% center;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.logo-icon {
    width: 45px;
    height: 45px;
    margin-right: 15px;
    position: relative;
}

/* Prism-inspired logo */
.logo-prism {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-prism::after {
    content: 'S';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
    color: #000;
    z-index: 2;
    letter-spacing: 0;
    font-family: inherit;
}

.prism-shape {
    width: 30px;
    height: 30px;
    position: relative;
    transform: rotate(45deg);
    background: linear-gradient(135deg,
            var(--accent-red) 0%,
            var(--accent-blue) 33%,
            var(--accent-green) 66%,
            var(--accent-purple) 100%);
    animation: prismShine 3s ease-in-out infinite;
}

@keyframes prismShine {

    0%,
    100% {
        filter: brightness(1) hue-rotate(0deg);
        transform: rotate(45deg) scale(1);
    }

    50% {
        filter: brightness(1.5) hue-rotate(10deg);
        transform: rotate(45deg) scale(1.1);
    }
}

.prism-shape::before,
.prism-shape::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    opacity: 0.5;
}

.prism-shape::before {
    transform: rotate(60deg);
}

.prism-shape::after {
    transform: rotate(-60deg);
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-text .prism {
    background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text .flux {
    color: var(--text-secondary);
    font-weight: 300;
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 14px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 14px;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transition: width 0.3s ease;
}

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

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 80%;
}

.nav-menu a.active {
    color: var(--accent-cyan);
}

.cta-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.cta-btn.cta-outline {
    background: transparent;
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.cta-btn.cta-outline:hover {
    background: rgba(153, 69, 255, 0.15);
    color: var(--text-primary);
}

.cta-btn.cta-primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: var(--text-primary);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(153, 69, 255, 0.3);
}

.cta-btn.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 69, 255, 0.45);
}

.cta-btn.cta-btn-sm {
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section with 3D Carousel - fixed top margin, no vertical centering */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding: 90px 20px 80px;
    background: radial-gradient(ellipse at center,
            rgba(153, 69, 255, 0.1) 0%,
            transparent 50%);
    transition: opacity 0.1s linear;
}

.carousel-container {
    width: 100%;
    max-width: 1600px;
    height: 72vh;
    min-height: 440px;
    perspective: 1200px;
    position: relative;
    margin-top: 0;
    padding-top: 0;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
    width: 400px;
    height: 56vh;
    min-height: 380px;
    max-height: 540px;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
    transform-origin: center center;
}

.carousel-item .card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-dark));
    border: 2px solid var(--metal-dark);
    border-radius: 20px;
    padding: clamp(12px, 2.2vh, 30px);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.carousel-item .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);
    animation: scanline 3s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(520px);
    }
}

.card-number {
    position: absolute;
    top: clamp(10px, 1.5vh, 20px);
    right: clamp(12px, 1.5vh, 30px);
    font-size: clamp(36px, 8vh, 72px);
    font-weight: 900;
    color: rgba(153, 69, 255, 0.1);
    font-family: 'Orbitron', monospace;
}

.card-image {
    width: 100%;
    flex: 0 0 52%;
    min-height: 100px;
    max-height: 320px;
    background: var(--carbon-dark);
    border-radius: 10px;
    margin-bottom: clamp(8px, 1.2vh, 20px);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--metal-dark);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) contrast(1.2);
    transition: all 0.5s ease;
}

.carousel-item:hover .card-image img {
    filter: grayscale(0%) contrast(1.3);
    transform: scale(1.1);
}

.card-title {
    flex-shrink: 0;
    font-size: clamp(14px, 2.6vh, 24px);
    font-weight: 700;
    margin-bottom: clamp(6px, 1vh, 15px);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-description {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: clamp(6px, 1vh, 20px);
    font-size: clamp(11px, 1.6vh, 14px);
}

.card-tech {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(4px, 0.6vh, 8px);
    margin-bottom: clamp(8px, 1.2vh, 20px);
}

.tech-badge {
    padding: clamp(3px, 0.5vh, 5px) clamp(8px, 1vh, 12px);
    background: rgba(153, 69, 255, 0.1);
    border: 1px solid var(--accent-purple);
    border-radius: 20px;
    font-size: clamp(10px, 1.4vh, 12px);
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-cta {
    flex-shrink: 0;
    margin-top: auto;
    padding: clamp(8px, 1.2vh, 12px) clamp(16px, 2vh, 30px);
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border: none;
    border-radius: 30px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: clamp(11px, 1.5vh, 16px);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
}

.card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(153, 69, 255, 0.5);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 100;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-dark));
    border: 2px solid var(--metal-dark);
    border-radius: 50%;
    color: var(--accent-purple);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.carousel-btn:hover {
    border-color: var(--accent-purple);
    box-shadow:
        0 8px 25px rgba(153, 69, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.hero-cta {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 50;
}

.hero-cta .hero-cta-primary {
    text-decoration: none;
}

.hero-cta .hero-cta-secondary {
    color: var(--text-primary);
    border-color: var(--accent-cyan);
}

.hero-cta .hero-cta-secondary:hover {
    border-color: var(--accent-purple);
    color: var(--accent-cyan);
}

.indicator {
    width: 12px;
    height: 12px;
    background: var(--metal-dark);
    border: 1px solid var(--metal-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    box-shadow: 0 0 10px rgba(153, 69, 255, 0.5);
    transform: scale(1.3);
}

/* NEW: Prism Philosophy Section - sits below hero on load; overlap only on scroll via JS */
.philosophy-section {
    padding: 120px 30px;
    position: relative;
    background: linear-gradient(180deg,
            var(--primary-black) 0%,
            rgba(153, 69, 255, 0.02) 50%,
            var(--primary-black) 100%);
    overflow: hidden;
}

.philosophy-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Animated Prism Line */
.prism-line {
    width: 100%;
    height: 2px;
    margin: 0 auto 60px;
    position: relative;
    overflow: hidden;
    background: var(--carbon-medium);
}

.prism-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            var(--accent-red) 20%,
            var(--accent-blue) 40%,
            var(--accent-green) 60%,
            var(--accent-purple) 80%,
            transparent);

    animation: prismSweep 4s ease-in-out infinite;
}

@keyframes prismSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.philosophy-headline {
    font-size: 56px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    line-height: 1.2;
    background: linear-gradient(135deg,
            var(--accent-cyan) 0%,
            var(--accent-purple) 25%,
            var(--accent-blue) 50%,
            var(--accent-green) 75%,
            var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.philosophy-subheading {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 80px;
    line-height: 1.6;
    font-weight: 300;
}

.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.pillar {
    position: relative;
    padding: 40px 30px;
    background: linear-gradient(135deg,
            rgba(42, 42, 42, 0.2),
            rgba(26, 26, 26, 0.3));
    border: 1px solid var(--metal-dark);
    border-radius: 20px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            var(--accent-purple),
            var(--accent-blue),
            var(--accent-green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pillar:hover::before {
    transform: scaleX(1);
}

.pillar:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(153, 69, 255, 0.2);
    background: linear-gradient(135deg,
            rgba(153, 69, 255, 0.05),
            rgba(26, 26, 26, 0.3));
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
}

.pillar-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}

.pillar-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.pillar-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pillar-description a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.pillar-description a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.pillar-description a:hover {
    color: var(--accent-purple);
}

.pillar-description a:hover::after {
    width: 100%;
}

/* Particle Effect Background */
.philosophy-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 20s infinite linear;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    95% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Stats Section with Content */
.stats-section {
    padding: 120px 30px;
    background: linear-gradient(180deg,
            var(--primary-black) 0%,
            var(--carbon-dark) 50%,
            var(--primary-black) 100%);
    position: relative;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    background: linear-gradient(135deg,
            rgba(42, 42, 42, 0.5),
            rgba(26, 26, 26, 0.8));
    border: 1px solid var(--metal-dark);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent-purple),
            transparent);
    animation: none;
}

.stat-card:hover::before {
    animation: slideRight 0.5s ease forwards;
}

@keyframes slideRight {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 15px 35px rgba(153, 69, 255, 0.2);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(153, 69, 255, 0.3);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-family: 'Orbitron', monospace;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.stat-description {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
    padding: 0 10px;
}

/* Enhanced Skills Section - Technical Arsenal */
.skills-section {
    padding: 120px 30px;
    background: var(--carbon-dark);
    position: relative;
    overflow: hidden;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Hexagonal Skills Grid */
.skills-hexagon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-70px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(70px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.skill-hexagon {
    width: 200px;
    height: 230px;
    position: relative;
    margin: 30px 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0;
}

.skill-hexagon.from-left.page-in {
    animation-name: slideInLeft;
    animation-duration: 0.55s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.skill-hexagon.from-right.page-in {
    animation-name: slideInRight;
    animation-duration: 0.55s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.skill-hexagon.page-in:hover {
    transform: translateY(-10px);
}

.hexagon-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform: rotate(30deg);
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-light));
    border: 2px solid var(--metal-dark);
}

.skill-hexagon:hover .hexagon-inner {
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(153, 69, 255, 0.5);
}

.hexagon-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: rotate(-30deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.skill-icon-hex {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--accent-purple);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.skill-name-hex {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-align: center;
}

.skill-level {
    width: 100%;
    height: 4px;
    background: var(--carbon-dark);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.skill-level-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
    position: relative;
    animation: fillLevel 2s ease-out;
}

@keyframes fillLevel {
    0% {
        width: 0;
    }
}

.skill-percentage-hex {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 600;
}

/* Skill Categories Tabs */
.skill-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 30px;
    background: var(--carbon-medium);
    border: 1px solid var(--metal-dark);
    border-radius: 30px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.category-tab:hover {
    background: rgba(153, 69, 255, 0.1);
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-color: var(--accent-purple);
    color: var(--text-primary);
    box-shadow: 0 5px 20px rgba(153, 69, 255, 0.3);
}

/* Contact Section */
.contact-section {
    padding: 120px 30px;
    background: linear-gradient(180deg,
            var(--carbon-dark) 0%,
            var(--primary-black) 100%);
    position: relative;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding: 40px;
    background: linear-gradient(135deg,
            rgba(42, 42, 42, 0.3),
            rgba(26, 26, 26, 0.5));
    border: 1px solid var(--metal-dark);
    border-radius: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--carbon-dark);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.info-item:hover::before {
    left: 100%;
}

.info-item:hover {
    transform: translateX(10px);
    background: rgba(153, 69, 255, 0.1);
    box-shadow: 0 5px 20px rgba(153, 69, 255, 0.2);
}

a.info-item {
    color: inherit;
    text-decoration: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--text-primary);
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(153, 69, 255, 0.4);
}

.info-text h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.info-item:hover .info-text h4 {
    color: var(--accent-cyan);
}

.info-text p {
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.info-item:hover .info-text p {
    color: var(--text-primary);
}

/* Add external link indicator for clickable items */
.info-item[target="_blank"] .info-text p::after {
    content: ' ↗';
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-item[target="_blank"]:hover .info-text p::after {
    opacity: 1;
}

.info-item-static {
    cursor: default;
}

.info-item-static:hover {
    transform: none;
}

.contact-form {
    padding: 40px;
    background: linear-gradient(135deg,
            rgba(42, 42, 42, 0.3),
            rgba(26, 26, 26, 0.5));
    border: 1px solid var(--metal-dark);
    border-radius: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--carbon-dark);
    border: 1px solid var(--metal-dark);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(153, 69, 255, 0.2);
}

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

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(153, 69, 255, 0.5);
}

/* Footer */
.footer {
    padding: 60px 30px 30px;
    background: var(--primary-black);
    border-top: 1px solid var(--metal-dark);
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--carbon-medium);
    border: 1px solid var(--metal-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-color: var(--accent-purple);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent-purple);
    padding-left: 10px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--metal-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    color: var(--text-dim);
    font-size: 14px;
}

.footer-credits {
    color: var(--text-dim);
    font-size: 14px;
}

.footer-credits a {
    color: var(--accent-purple);
    text-decoration: none;
}

.footer-credits a:hover {
    text-decoration: underline;
}

.footer-hours {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
    padding: 0;
}

/* Login Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-dark));
    border: 1px solid var(--metal-dark);
    border-radius: 20px;
    padding: 40px;
    max-width: 420px;
    width: calc(100% - 40px);
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-red);
}

.modal-title {
    font-size: 28px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form .submit-btn {
    margin-top: 10px;
}

.password-input-wrap {
    position: relative;
}

.password-input-wrap input {
    padding-right: 48px;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle-btn:hover {
    color: var(--accent-purple);
}

.password-toggle-btn svg {
    width: 20px;
    height: 20px;
}

.password-toggle-btn .icon-eye-off[hidden],
.password-toggle-btn .icon-eye[hidden] {
    display: none !important;
}

.modal-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-check-wrap {
    margin-bottom: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

.modal-footer-link {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--metal-dark);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-footer-sep {
    color: var(--text-dim);
    font-size: 12px;
}

.link-btn {
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    font-family: inherit;
}

.link-btn:hover {
    color: var(--accent-purple);
    text-decoration: underline;
}

/* Accordion Section */
.accordion-section {
    padding: 120px 30px;
    background: linear-gradient(180deg, var(--carbon-dark) 0%, var(--primary-black) 50%, var(--carbon-dark) 100%);
    position: relative;
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-prism {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item-prism {
    border: 1px solid var(--metal-dark);
    border-bottom: none;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.3), rgba(26, 26, 26, 0.5));
    transition: all 0.3s ease;
}

.accordion-item-prism:first-child {
    border-radius: 12px 12px 0 0;
}

.accordion-item-prism:last-child {
    border-bottom: 1px solid var(--metal-dark);
    border-radius: 0 0 12px 12px;
}

.accordion-item-prism:only-child {
    border-radius: 12px;
}

.accordion-item-prism:hover {
    border-color: rgba(153, 69, 255, 0.4);
}

.accordion-item-prism.open {
    border-color: var(--accent-purple);
    background: linear-gradient(135deg, rgba(153, 69, 255, 0.08), rgba(26, 26, 26, 0.5));
}

.accordion-trigger {
    width: 100%;
    padding: 20px 24px;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: color 0.3s ease;
}

.accordion-trigger::after {
    content: '+';
    font-size: 22px;
    color: var(--accent-purple);
    transition: transform 0.3s ease;
}

.accordion-item-prism.open .accordion-trigger::after {
    transform: rotate(45deg);
}

.accordion-trigger:hover {
    color: var(--accent-cyan);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.accordion-panel p {
    padding: 0 24px 20px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
    border-top: 1px solid var(--metal-dark);
    padding-top: 16px;
    margin: 0 24px;
    margin-top: 0;
}

/* Team Section */
.team-section {
    padding: 120px 30px;
    background: linear-gradient(180deg, var(--primary-black) 0%, var(--carbon-dark) 50%, var(--primary-black) 100%);
    position: relative;
}

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

.team-card {
    position: relative;
}

.team-card-inner {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.5), rgba(26, 26, 26, 0.8));
    border: 1px solid var(--metal-dark);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card-inner:hover {
    border-color: var(--accent-purple);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(153, 69, 255, 0.2);
}

.team-image-wrap {
    margin-bottom: 20px;
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--metal-dark);
    transition: border-color 0.3s ease;
}

.team-card-inner:hover .team-image {
    border-color: var(--accent-purple);
}

.team-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: var(--text-primary);
    font-size: 32px;
    font-weight: 700;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-role {
    display: block;
    color: var(--accent-purple);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.team-social {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--carbon-dark);
    border: 1px solid var(--metal-dark);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .carousel-item {
        width: 350px;
        height: 58vh;
        min-height: 400px;
        max-height: 540px;
    }

    .carousel-controls {
        bottom: 0;
    }

    .card-image {
        flex: 0 0 48%;
        max-height: 280px;
    }

    .philosophy-pillars {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 85px;
        flex-direction: column;
        background: rgba(18, 18, 18, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        border-bottom: 1px solid var(--metal-dark);
        gap: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu .cta-btn {
        display: block;
        text-align: center;
        margin: 5px auto;
    }

    .nav-menu a {
        display: block;
        padding: 15px 30px;
        font-size: 16px;
    }

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

    .call-strip {
        display: flex;
        padding: 8px 16px;
        font-size: 14px;
        top: 58px;
    }

    .call-strip-icon {
        width: 20px;
        height: 20px;
    }

    .hero {
        padding: 125px 12px 35px;
    }

    .carousel-container {
        margin-top: 0;
        padding-top: 0;
    }

    .carousel {
        height: 88%;
    }

    .carousel-item {
        width: 300px;
        height: 56vh;
        min-height: 380px;
        max-height: 520px;
    }

    .card-image {
        flex: 0 0 46%;
        max-height: 250px;
    }

    .carousel-controls {
        bottom: 0;
        gap: 15px;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .carousel-indicators {
        top: 15px;
        gap: 12px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .philosophy-headline {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

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

    .skill-hexagon {
        width: 150px;
        height: 170px;
        margin: 20px 5px;
    }

    .skill-icon-hex {
        font-size: 36px;
    }

    .skill-name-hex {
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 110px 12px 28px;
    }

    .nav-container {
        padding: 12px 16px;
    }

    .nav-menu {
        top: 65px;
        padding: 30px 0;
    }

    .logo-text {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }

    .logo-prism::after {
        font-size: 23px;
    }

    .hero {
        padding: 115px 12px 28px;
    }

    .carousel-container {
        height: 74vh;
        min-height: 480px;
        margin-top: 0;
        padding-top: 0;
    }

    .carousel-item {
        width: 280px;
        max-width: calc(100vw - 32px);
        height: 54vh;
        min-height: 360px;
        max-height: 500px;
    }

    .card-image {
        flex: 0 0 44%;
        max-height: 210px;
    }

    .carousel-controls {
        bottom: 35px;
        gap: 12px;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .carousel-indicators {
        top: 12px;
        gap: 8px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .accordion-section,
    .team-section {
        padding: 80px 16px;
    }

    .accordion-trigger {
        padding: 16px 18px;
        font-size: 14px;
    }

    .accordion-panel p {
        padding: 12px 18px 16px;
        margin: 0 18px;
        font-size: 14px;
    }

    .team-card-inner {
        padding: 28px 20px;
    }

    .team-image {
        width: 100px;
        height: 100px;
    }

    .team-image-placeholder {
        font-size: 28px;
    }

    .philosophy-section,
    .stats-section,
    .skills-section,
    .contact-section {
        padding: 80px 16px;
    }

    .philosophy-headline {
        font-size: 28px;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .philosophy-subheading {
        font-size: 15px;
        margin-bottom: 50px;
        padding: 0 8px;
    }

    .pillar {
        padding: 28px 20px;
    }

    .pillar-icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
        margin-bottom: 18px;
    }

    .pillar-title {
        font-size: 18px;
    }

    .pillar-description {
        font-size: 14px;
    }

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

    .section-title {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .stat-card {
        padding: 28px 20px;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 15px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-description {
        font-size: 12px;
    }

    .skill-categories {
        gap: 10px;
        margin-bottom: 30px;
    }

    .category-tab {
        padding: 10px 18px;
        font-size: 11px;
    }

    .skill-hexagon {
        width: 120px;
        height: 138px;
        margin: 15px 5px;
    }

    .skill-icon-hex {
        font-size: 28px;
    }

    .skill-name-hex {
        font-size: 12px;
    }

    .skill-percentage-hex {
        font-size: 12px;
    }

    .contact-info,
    .contact-form {
        padding: 24px 20px;
    }

    .info-item {
        padding: 14px 16px;
        margin-bottom: 16px;
    }

    .info-icon {
        width: 42px;
        height: 42px;
        margin-right: 14px;
        font-size: 18px;
    }

    .info-text h4 {
        font-size: 14px;
    }

    .info-text p {
        font-size: 13px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 14px;
    }

    .footer {
        padding: 40px 16px 24px;
    }

    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-bottom {
        padding-top: 24px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .copyright,
    .footer-credits {
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    .carousel-container {
        margin-top: 0;
        padding-top: 0;
    }

    .carousel-item {
        width: 260px;
        max-width: calc(100vw - 24px);
        height: 52vh;
        min-height: 340px;
        max-height: 460px;
    }

    .philosophy-headline {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .logo-text {
        font-size: 16px;
    }
}

/* Bottom Floating Action Bar */
.fab-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 999;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--carbon-dark) 0%, var(--carbon-medium) 50%, var(--carbon-dark) 100%);
    border: 1px solid var(--metal-dark);
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(153, 69, 255, 0.15);
}

.fab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--carbon-light);
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
}

.fab-btn:hover {
    color: var(--accent-cyan);
    background: var(--metal-dark);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.25);
}

.fab-btn:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

.fab-btn.fab-center {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, #7b2fd4 100%);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(153, 69, 255, 0.4);
}

.fab-btn.fab-center:hover {
    color: var(--text-primary);
    background: linear-gradient(135deg, #a855f7 0%, var(--accent-purple) 100%);
    box-shadow: 0 0 28px rgba(153, 69, 255, 0.5);
    transform: scale(1.05);
}

.fab-icon {
    width: 20px;
    height: 20px;
}

.fab-icon-center {
    width: 24px;
    height: 24px;
}

@media (max-width: 480px) {
    .fab-bar {
        bottom: 16px;
        padding: 8px 12px;
        gap: 10px;
    }

    .fab-btn {
        width: 40px;
        height: 40px;
    }

    .fab-btn.fab-center {
        width: 50px;
        height: 50px;
    }

    .fab-icon {
        width: 20px;
        height: 20px;
    }

    .fab-icon-center {
        width: 24px;
        height: 24px;
    }
}
