/* ==========================================================================
   0. Local Fonts Loading
   ========================================================================== */

/* Primary Font: Gevora */
@font-face {
    font-family: 'Gevora';
    src: url('../GevoraRegular-yYR2q.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Secondary Font: Axiforma */
@font-face {
    font-family: 'Axiforma';
    src: url('../Axiforma/Axiforma-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../Axiforma/Axiforma-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../Axiforma/Axiforma-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../Axiforma/Axiforma-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../Axiforma/Axiforma-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../Axiforma/Axiforma-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../Axiforma/Axiforma-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Axiforma';
    src: url('../Axiforma/Axiforma-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* TRT Groza Demo (Fallback) */
@font-face {
    font-family: 'TRT Groza Demo';
    src: url('../trt-groza-font-family/TRTGrozaDemo-Regular-BF695c9800eb7b2.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   1. Variables & Custom Properties
   ========================================================================== */
:root {
    /* Brand Colors */
    --bee-yellow: #FED303;
    --bee-black: #050505;
    --bee-white: #FFFFFF;

    /* Supporting Colors */
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-400: #9ca3af;
    --color-gray-600: #4b5563;
    --color-gray-800: #1f2937;
    --color-dark-charcoal: #121212;
    --color-soft-yellow: #fffdf2;

    /* Typography */
    --font-primary: 'Gevora', sans-serif;
    --font-secondary: 'Axiforma', 'TRT Groza Demo', sans-serif;

    /* Responsive Font Sizes using clamp() */
    --fs-h1: clamp(36px, 5vw, 70px);
    --fs-h2: clamp(32px, 4vw, 56px);
    --fs-h3: clamp(24px, 3vw, 36px);
    --fs-h4: clamp(20px, 2.5vw, 28px);
    --fs-body-lg: clamp(18px, 2vw, 22px);
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-tiny: 12px;

    /* Spacing */
    --section-padding-y: clamp(60px, 10vw, 120px);

    /* UI Elements */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-pill: 100px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--fs-body);
    color: var(--bee-black);
    background-color: var(--bee-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--bee-black);
    line-height: 1.1;
    font-weight: normal;
    margin-bottom: 1rem;
}

h1 {
    font-size: var(--fs-h1);
    letter-spacing: -0.01em;
    line-height: 1.05;
}

h2 {
    font-size: var(--fs-h2);
    letter-spacing: -0.01em;
    line-height: 1.08;
}

h3 {
    font-size: var(--fs-h3);
    line-height: 1.15;
}

h4 {
    font-size: var(--fs-h4);
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-gray-600);
}

.text-lead {
    font-size: var(--fs-body-lg);
    font-weight: 500;
}

.label-small {
    font-family: var(--font-secondary);
    font-size: var(--fs-tiny);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

a {
    color: var(--bee-black);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--bee-yellow);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn-bee {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: var(--fs-body);
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--bee-black);
    color: var(--bee-white);
    border-color: var(--bee-black);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--bee-yellow);
    color: var(--bee-black);
    border-color: var(--bee-yellow);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bee-white);
    color: var(--bee-black);
    border-color: var(--color-gray-200);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--bee-black);
    color: var(--bee-white);
    border-color: var(--bee-black);
    transform: translateY(-2px);
}

/* ==========================================================================
   5. Utility Classes
   ========================================================================== */
.section-padding {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}

.bg-dark-section {
    background-color: var(--bee-black);
    color: var(--bee-white);
}

.bg-dark-section h1,
.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4 {
    color: var(--bee-white);
}

.bg-dark-section p {
    color: var(--color-gray-400);
}

.text-yellow {
    color: var(--bee-yellow);
}

.highlight-pill {
    display: inline-flex;
    align-items: center;
    background-color: var(--bee-yellow);
    color: var(--bee-black);
    padding: 8px 24px;
    border-radius: var(--border-radius-pill);
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: var(--fs-body-lg);
    box-shadow: 0 4px 15px rgba(254, 211, 3, 0.3);
}

/* ==========================================================================
   6. Decorative Elements
   ========================================================================== */
.pattern-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    pointer-events: none;
    z-index: -1;
}

.glow-yellow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(254, 211, 3, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* ==========================================================================
   6b. Premium Hero Background
   ========================================================================== */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(5, 5, 5, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(5, 5, 5, 0.035) 1px, transparent 1px);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-glow-1 {
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    top: -20%;
    left: -10%;
    background: radial-gradient(circle, rgba(254, 211, 3, 0.16) 0%, rgba(254, 211, 3, 0.07) 28%, transparent 60%);
    animation: floatGlow 15s ease-in-out infinite alternate;
}

.hero-glow-2 {
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    bottom: -15%;
    right: -5%;
    background: radial-gradient(circle, rgba(254, 211, 3, 0.12) 0%, transparent 70%);
    animation: floatGlow 18s ease-in-out infinite alternate-reverse;
}

.hero-shape {
    position: absolute;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 1) 0%, rgba(254, 211, 3, 0.05) 100%);
    border-radius: 50%;
}

.hero-shape-tr {
    width: 800px;
    height: 800px;
    top: -300px;
    right: -200px;
    opacity: 0.9;
}

.hero-shape-bl {
    width: 700px;
    height: 700px;
    bottom: -350px;
    left: -250px;
    opacity: 0.9;
}

.hero-arc {
    position: absolute;
    border: 2px dashed rgba(254, 211, 3, 0.45);
    border-radius: 50%;
}

.hero-arc-tr {
    width: 1000px;
    height: 1000px;
    top: -450px;
    right: -350px;
    animation: rotateArc 60s linear infinite;
}

.hero-arc-bl {
    width: 800px;
    height: 800px;
    bottom: -400px;
    left: -350px;
    animation: rotateArc 80s linear infinite reverse;
}

.hex-cluster {
    position: absolute;
}

.hex-cluster-tl {
    top: 15%;
    left: 8%;
    animation: floatHex 8s ease-in-out infinite alternate;
}

.hex-cluster-br {
    bottom: 15%;
    right: 8%;
    animation: floatHex 10s ease-in-out infinite alternate-reverse;
}

.hex {
    position: absolute;
}

.hex-cluster-tl .hex-filled-main {
    width: 44px;
    height: 50px;
    background-color: rgba(254, 211, 3, 0.55);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    top: 0;
    left: 0;
}

.hex-cluster-tl .hex-outline-main {
    width: 60px;
    height: 70px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 115"><polygon points="50,2.5 97.5,30 97.5,85 50,112.5 2.5,85 2.5,30" fill="none" stroke="%23FED303" stroke-width="4" stroke-opacity="0.35"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    top: -15px;
    left: 35px;
}

.hex-cluster-tl .hex-small {
    width: 24px;
    height: 28px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 115"><polygon points="50,2.5 97.5,30 97.5,85 50,112.5 2.5,85 2.5,30" fill="none" stroke="%23FED303" stroke-width="5" stroke-opacity="0.2"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    top: 45px;
    left: 15px;
}

.hex-cluster-br {
    transform: scale(0.85);
}

.hex-cluster-br .hex-filled-main {
    width: 44px;
    height: 50px;
    background-color: rgba(254, 211, 3, 0.45);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    top: 0;
    left: 45px;
}

.hex-cluster-br .hex-outline-main {
    width: 50px;
    height: 58px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 115"><polygon points="50,2.5 97.5,30 97.5,85 50,112.5 2.5,85 2.5,30" fill="none" stroke="%23FED303" stroke-width="4" stroke-opacity="0.35"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    top: -20px;
    left: 0;
}

.hex-cluster-br .hex-small {
    width: 24px;
    height: 28px;
    background-color: rgba(254, 211, 3, 0.25);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    top: 40px;
    left: 35px;
}

@keyframes floatHex {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(2%, 3%) scale(1.05);
    }
}

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

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

@media (prefers-reduced-motion: reduce) {

    .hero-glow-1,
    .hero-glow-2,
    .hero-arc-tr,
    .hero-arc-bl,
    .hex-cluster-tl,
    .hex-cluster-br {
        animation: none !important;
    }
}

/* ==========================================================================
   7. Navigation
   ========================================================================== */
.navbar {
    background-color: transparent;
    transition: all 0.4s ease;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.navbar-brand {
    color: var(--bee-black);
}

.nav-link {
    color: var(--bee-black);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--bee-yellow);
}

/* ==========================================================================
   8. Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.services-hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(70px, 8vw, 110px);
    padding-bottom: clamp(70px, 8vw, 120px);
    background-image: var(--bg-grid-pattern);
    background-size: 100px 100px;
    background-position: center top;
}

/* ==========================================================================
   8b. Editorial Trust Strip / Performance Credibility
   ========================================================================== */
.trust-strip {
    position: relative;
    padding-top: clamp(42px, 4.5vw, 54px);
    padding-bottom: clamp(44px, 5vw, 58px);
    background-color: #FAFAF9;
    border-top: 1px solid rgba(5, 5, 5, 0.05);
    border-bottom: 1px solid rgba(5, 5, 5, 0.04);
    overflow: hidden;
    z-index: 10;
}

/* Subtle ambient connection to hero: faint grid lines + soft yellow glow */
.trust-strip-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(to right, rgba(5, 5, 5, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(5, 5, 5, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center top;
}

.trust-ambient-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 180px;
    background: radial-gradient(ellipse at center, rgba(255, 210, 28, 0.07) 0%, rgba(255, 210, 28, 0.015) 50%, transparent 70%);
    pointer-events: none;
}

/* Editorial Trust Eyebrow */
.trust-strip-wrapper {
    max-width: 1240px;
    margin: 0 auto;
}

.trust-strip-header {
    margin-bottom: clamp(24px, 2.5vw, 34px);
}

.trust-strip-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.trust-accent-dot {
    width: 6px;
    height: 6px;
    background-color: #FFD21C;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(255, 210, 28, 0.7);
    flex-shrink: 0;
}

.trust-eyebrow-text {
    font-family: var(--font-secondary);
    font-size: 11.5px;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: #71717A;
    text-transform: uppercase;
}

/* Statistic Item: Editorial Left-Aligned Architecture */
.trust-stat-col {
    position: relative;
}

.trust-stat-item {
    position: relative;
    padding: 0;
    text-align: left;
    transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
}

/* Subtle hairline indicator above stat */
.trust-stat-line {
    width: 24px;
    height: 1.5px;
    background-color: rgba(5, 5, 5, 0.12);
    margin-bottom: 14px;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
}

.trust-stat-item:hover .trust-stat-line {
    width: 36px;
    background-color: #FFD21C;
}

.trust-stat-number {
    font-family: var(--font-primary);
    font-size: clamp(48px, 4.2vw, 60px);
    font-weight: 500;
    color: #050505;
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

.trust-stat-item:hover .trust-stat-number {
    transform: translateY(-3px);
}

.trust-suffix {
    font-family: var(--font-primary);
    font-size: 0.8em;
    font-weight: 600;
    margin-left: 2px;
    display: inline-block;
    transition: transform 0.25s ease, text-shadow 0.25s ease;
}

/* Selective accents per prompt instruction:
   Keep most numbers black.
   Bee Yellow only as subtle accent:
   the "+" on 5+ and "x" on 11x
*/
.trust-suffix.text-yellow-accent {
    color: #FFD21C;
}

.trust-stat-item:hover .trust-suffix.text-yellow-accent {
    text-shadow: 0 0 10px rgba(255, 210, 28, 0.45);
}

.trust-suffix.text-dark-accent {
    color: #050505;
    opacity: 0.9;
}

.trust-stat-label {
    font-family: var(--font-secondary);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 500;
    color: #52525B;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 0;
    transition: color 0.25s ease;
}

.trust-stat-item:hover .trust-stat-label {
    color: #050505;
}

/* Mobile & Tablet Adjustments: Clean 2x2 Grid */
@media (max-width: 991px) {
    .trust-strip {
        padding-top: 36px;
        padding-bottom: 40px;
    }
    
    .trust-stat-number {
        font-size: clamp(38px, 7vw, 48px);
    }
    
    .trust-stat-label {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .trust-strip {
        padding-top: 30px;
        padding-bottom: 34px;
    }

    .trust-strip-header {
        margin-bottom: 20px;
    }

    .trust-stat-number {
        font-size: 34px;
    }

    .trust-stat-label {
        font-size: 13px;
    }
    
    .trust-stat-line {
        margin-bottom: 8px;
    }
}

.eyebrow-pill {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--bee-black);
    border-radius: var(--border-radius-pill);
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--bee-black);
    background-color: var(--bee-white);
}

.hero-heading {
    font-size: var(--fs-h1);
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--bee-black);
}

.hero-heading-light {
    font-family: var(--font-primary);
    font-weight: normal;
}

.hero-heading-bee {
    font-family: var(--font-primary);
    font-weight: 500;
    letter-spacing: -0.02em;
    display: inline-block;
    transform: translateY(10px);
}

.bee-highlight {
    background-color: var(--bee-yellow);
    color: var(--bee-black);
    padding: 2px 18px 4px 18px;
    border-radius: 14px;
    display: inline-block;
    transform: translateY(-12px);
    line-height: 1.05;
}

.hero-text {
    font-size: var(--fs-body-lg);
    color: var(--color-gray-800);
    line-height: 1.6;
}

.concept-flow {
    display: inline-block;
    background-color: var(--bee-yellow);
    color: var(--bee-black);
    padding: 14px 40px;
    border-radius: var(--border-radius-pill);
    font-size: clamp(16px, 2vw, 20px);
    box-shadow: 0 10px 30px rgba(254, 211, 3, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Decorative Hexagons */
.hex-decor {
    position: absolute;
    background-color: var(--bee-yellow);
    opacity: 0.2;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
    pointer-events: none;
}

.hex-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    transform: rotate(15deg);
}

.hex-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 15%;
    opacity: 0.15;
    transform: rotate(-20deg);
}

.hex-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 25%;
    background-color: var(--bee-black);
    opacity: 0.05;
}

/* Scroll Reveal Base */
.reveal {
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    opacity: 1;
    transform: translateY(0);
}

/* Only hide elements initially if JS is enabled */
body.js-enabled .reveal:not(.active) {
    opacity: 0;
    transform: translateY(30px);
}

/* ==========================================================================
   9. Trust Strip
   ========================================================================== */
.trust-strip {
    background-color: var(--color-gray-50);
}

/* ==========================================================================
   10. Services
   ========================================================================== */
.service-card {
    background: radial-gradient(circle at 100% 0%,
            rgba(254, 211, 3, 0.16) 0%,
            rgba(254, 211, 3, 0.06) 28%,
            rgba(255, 255, 255, 1) 65%);
    background-color: var(--bee-white);
    border: 1px solid rgba(5, 5, 5, 0.08);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 12px 35px rgba(5, 5, 5, 0.06);
    transition: all 300ms ease;
    z-index: 1;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(5, 5, 5, 0.1);
    border-color: rgba(5, 5, 5, 0.15);
    background: radial-gradient(circle at 100% 0%,
            rgba(254, 211, 3, 0.22) 0%,
            rgba(254, 211, 3, 0.08) 32%,
            rgba(255, 255, 255, 1) 70%);
}

.service-number {
    font-size: clamp(48px, 5vw, 64px);
    font-weight: 800;
    color: rgba(254, 211, 3, 0.55);
    line-height: 1;
    margin-bottom: 1rem;
    transition: color 300ms ease;
}

.service-card h3 {
    color: var(--bee-black);
}

.service-card .text-muted {
    color: var(--color-gray-600) !important;
}

/* Tags */
.service-card .badge {
    font-weight: 600;
    padding: 6px 14px;
    background: rgba(254, 211, 3, 0.08) !important;
    border: 1px solid rgba(254, 211, 3, 0.30) !important;
    color: var(--bee-black) !important;
    border-radius: 999px !important;
    font-size: var(--fs-tiny);
    transition: all 300ms ease;
}

.service-card .badge:hover {
    background: var(--bee-yellow) !important;
}

/* Hexagon Decorations */
.hex-decoration {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 80px;
    height: 80px;
    pointer-events: none;
    z-index: 0;
    transition: transform 300ms ease;
}

.service-card:hover .hex-decoration {
    transform: translateY(-3px) rotate(4deg);
}

.hex-outline,
.hex-filled,
.hex-dot {
    position: absolute;
}

.hex-outline {
    width: 44px;
    height: 50px;
    top: 0;
    right: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 115"><polygon points="50,2.5 97.5,30 97.5,85 50,112.5 2.5,85 2.5,30" fill="none" stroke="%23FED303" stroke-width="5" stroke-opacity="0.35"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.hex-filled {
    width: 28px;
    height: 32px;
    top: 36px;
    right: 36px;
    background-color: rgba(254, 211, 3, 0.25);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-dot {
    width: 14px;
    height: 16px;
    top: 44px;
    right: 12px;
    background-color: rgba(254, 211, 3, 0.4);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Detailed Services Typography Refinements */
.service-detail-eyebrow {
    font-size: clamp(12px, 1.5vw, 14px) !important;
    letter-spacing: 1px;
}

.service-detail-heading {
    font-size: clamp(34px, 3.5vw, 52px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
}

@media (max-width: 767.98px) {
    .service-detail-heading {
        font-size: clamp(30px, 8vw, 38px) !important;
    }
}

/* ==========================================================================
   11. Case Studies & Mockups
   ========================================================================== */
.mockup-container {
    border: 1px solid var(--color-gray-200);
}

.mockup-placeholder {
    border: 1px dashed var(--color-gray-400);
}

.mockup-container:hover .mockup-placeholder {
    border-color: var(--bee-yellow);
    background-color: var(--color-soft-yellow) !important;
    transition: all var(--transition-normal);
}

/* ==========================================================================
   12. Client Logos
   ========================================================================== */
.client-logo-box {
    padding: 24px 16px;
    background-color: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius-sm);
    color: var(--color-gray-400);
    font-weight: 700;
    transition: all var(--transition-normal);
}

.client-logo-box:hover {
    background-color: var(--bee-white);
    border-color: var(--bee-yellow);
    color: var(--bee-black);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   13. Premium Results Section
   ========================================================================== */

/* Wrapper Depth & Background */
.results-section-wrapper {
    background-color: #080808;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

/* Subtle radial glows */
.results-section-wrapper::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(254, 211, 3, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.results-section-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Connection Line */
.results-connection-line {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(254, 211, 3, 0.15) 50%, transparent 100%);
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}
.results-connection-line::before, .results-connection-line::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--bee-yellow);
    border-radius: 50%;
    top: -2.5px;
    opacity: 0.5;
}
.results-connection-line::before { left: 25%; }
.results-connection-line::after { right: 25%; }

/* Dark Glass Cards */
.premium-result-card {
    background-color: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 26px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.05),
        0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Divider */
.result-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 24px auto;
    width: 60%;
    opacity: 1;
}

/* Hover States */
.premium-result-card:hover {
    transform: translateY(-6px);
    background-color: rgba(25, 25, 25, 0.95);
    border-color: rgba(254, 211, 3, 0.2);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(254, 211, 3, 0.05);
}

.premium-result-card:hover .display-5 {
    transform: scale(1.02);
}

.premium-result-card .display-5 {
    transition: transform 0.4s ease;
    display: inline-block;
}



/* Animated Number Shine */
.number-shine {
    animation: shineEffect 0.8s ease-out forwards;
}

@keyframes shineEffect {
    0% { text-shadow: 0 0 0 rgba(254, 211, 3, 0); color: inherit; }
    50% { text-shadow: 0 0 20px rgba(254, 211, 3, 0.8); color: #fff; }
    100% { text-shadow: 0 0 0 rgba(254, 211, 3, 0); color: inherit; }
}

/* Staggered Reveal Animations */
[class*="reveal-stagger-"] {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.js-enabled [class*="reveal-stagger-"].active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger-1 { transition-delay: 50ms; }
.reveal-stagger-2 { transition-delay: 100ms; }

/* Responsive Adjustments */

@media (max-width: 767px) {
    .premium-result-card {
        padding: 32px 24px !important;
    }
    .premium-result-card:hover {
        transform: none; /* Disable hover movement on mobile */
    }
}

/* ==========================================================================
   14. Premium CTA Section Redesign
   ========================================================================== */

/* Wrapper with subtle grid background */
.cta-section-wrapper {
    background-color: var(--bee-white);
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

/* Edge Geometric Subtle Hexagons */
.cta-edge-hex {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(254, 211, 3, 0.04);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    pointer-events: none;
    z-index: 0;
}

.cta-edge-left {
    left: -100px;
    top: -50px;
    transform: rotate(15deg);
}

.cta-edge-right {
    right: -120px;
    bottom: -80px;
    transform: rotate(-10deg) scale(1.2);
}

/* Main Container Card */
.cta-container {
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 32px;
    padding: 64px 48px;
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.04), 
        0 2px 6px rgba(0, 0, 0, 0.02);
    background-color: var(--bee-white);
}

/* Faint radial glow inset */
.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(254, 211, 3, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Eyebrow Label */
.cta-eyebrow {
    font-family: var(--font-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-gray-400);
}

/* Heading Highlight */
.cta-text-highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.cta-text-highlight::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: -2%;
    width: 104%;
    height: 35%;
    background-color: var(--bee-yellow);
    z-index: -1;
    opacity: 0.8;
}

/* Paragraph constraints */
.cta-paragraph {
    max-width: 650px;
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Animated CTA Button */
.btn-cta-animated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.cta-arrow {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(254, 211, 3, 0.25);
    background-color: var(--bee-black);
    color: var(--bee-white);
}

.btn-cta-animated:hover .cta-arrow {
    transform: translateX(4px);
}

/* Abstract Composition Behind Heading */
.cta-abstract-comp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cta-shape-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px solid rgba(254, 211, 3, 0.2);
    top: -20px;
    right: 15%;
}

.cta-shape-hex {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.02);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    bottom: 20%;
    left: 12%;
    transform: rotate(15deg);
}

.cta-shape-line {
    position: absolute;
    width: 200px;
    height: 50px;
    top: 10%;
    left: 20%;
    opacity: 0.3;
}

/* Responsive CTA */
@media (max-width: 991px) {
    .cta-container {
        padding: 48px 32px;
    }
    .cta-paragraph {
        font-size: 1.05rem;
    }
}

@media (max-width: 575px) {
    .cta-container {
        padding: 40px 24px;
        border-radius: 24px;
    }
    
    .cta-shape-circle, .cta-shape-hex, .cta-shape-line {
        display: none;
    }
}

/* ==========================================================================
   15. Footer
   ========================================================================== */
.footer-links a {
    color: var(--color-gray-200);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--bee-yellow);
    padding-left: 4px;
}

.text-hover-yellow {
    transition: color var(--transition-fast);
}

.text-hover-yellow:hover {
    color: var(--bee-yellow) !important;
}

/* ==========================================================================
   15a. Header & Navigation Components
   ========================================================================== */
.site-header {
    transition: all 0.3s ease;
    background-color: transparent;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.site-header .nav-link {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px 16px !important;
    white-space: nowrap;
}

.site-header .nav-link:hover {
    color: var(--bee-yellow) !important;
}

.site-header .nav-active {
    background-color: rgba(254, 211, 3, 0.15);
    color: var(--bee-black) !important;
    font-weight: 700;
}

/* ==========================================================================
   15b. Footer Components
   ========================================================================== */
.social-icon {
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-4px);
    background-color: var(--bee-yellow) !important;
    color: var(--bee-black) !important;
}

.btn-enquire {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-enquire:hover {
    background-color: var(--bee-yellow);
    color: var(--bee-black);
    transform: translateY(-2px);
    border-color: var(--bee-yellow);
}

/* ==========================================================================
   16. Services Page Specifics
   ========================================================================== */
.marquee-wrapper {
    white-space: nowrap;
}

.marquee-content {
    animation: marquee 20s linear infinite;
    display: inline-block;
    will-change: transform;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Premium Deliverables Section
   ========================================================================== */
.deliverables-section-wrapper {
    background-color: #080808;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

.deliverables-section-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(254, 211, 3, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.premium-deliv-card {
    background: rgba(20, 20, 20, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 24px 20px;
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 135px;
    z-index: 2;
}

.premium-deliv-card:hover {
    border-color: rgba(254, 211, 3, 0.3);
    background: rgba(26, 26, 26, 0.8);
    box-shadow: 0 8px 24px rgba(254, 211, 3, 0.04);
    transform: translateY(-2px);
}

.deliv-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.deliv-number {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-gray-400);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.deliv-icon {
    color: var(--color-gray-400);
    opacity: 0.6;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-deliv-card:hover .deliv-number {
    color: var(--bee-yellow);
    opacity: 1;
}

.premium-deliv-card:hover .deliv-icon {
    color: var(--bee-yellow);
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 2px 4px rgba(254, 211, 3, 0.3));
}

.deliv-title {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--bee-white);
    margin: 0;
    transition: transform 0.3s ease;
}

.premium-deliv-card:hover .deliv-title {
    transform: translateY(-2px);
}

.deliv-accent-line {
    position: absolute;
    bottom: 0;
    left: 20px;
    height: 2px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-deliv-card:hover .deliv-accent-line {
    width: 35px;
    background-color: var(--bee-yellow);
}

/* Extended Staggered Reveal Animations for up to 12 items (50ms interval) */
.reveal-stagger-3 { transition-delay: 150ms; }
.reveal-stagger-4 { transition-delay: 200ms; }
.reveal-stagger-5 { transition-delay: 250ms; }
.reveal-stagger-6 { transition-delay: 300ms; }
.reveal-stagger-7 { transition-delay: 350ms; }
.reveal-stagger-8 { transition-delay: 400ms; }
.reveal-stagger-9 { transition-delay: 450ms; }
.reveal-stagger-10 { transition-delay: 500ms; }
.reveal-stagger-11 { transition-delay: 550ms; }

/* Responsive Adjustments */
@media (max-width: 767px) {
    .premium-deliv-card {
        padding: 24px 20px;
        min-height: 140px;
    }
    
    .premium-deliv-card:hover {
        transform: none; /* Disable hover lift on mobile */
    }
    
    .deliv-title {
        font-size: 1.15rem;
    }
    
    .deliverables-section-wrapper {
        padding: 60px 0;
    }
}

.flow-node {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   17. Responsive Adjustments
   ========================================================================== */
@media (max-width: 991px) {
    .hero {
        padding-top: 100px;
    }

    .hero-arc-tr {
        width: 600px;
        height: 600px;
        top: -300px;
        right: -250px;
        border-width: 1px;
    }

    .hero-arc-bl {
        width: 500px;
        height: 500px;
        bottom: -250px;
        left: -200px;
        border-width: 1px;
    }

    .hero-shape-tr {
        width: 600px;
        height: 600px;
        top: -200px;
        right: -200px;
        opacity: 0.5;
    }

    .hero-shape-bl {
        width: 500px;
        height: 500px;
        bottom: -200px;
        left: -200px;
        opacity: 0.5;
    }

    .hex-cluster-tl {
        transform: scale(0.6);
        top: 10%;
        left: -2%;
    }

    .hex-cluster-br {
        transform: scale(0.5);
        bottom: 10%;
        right: -2%;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-text {
        font-size: var(--fs-body);
    }

    .hero-arc,
    .hero-shape {
        display: none;
    }

    .hex-cluster-br {
        display: none;
    }

    .hex-cluster-tl {
        transform: scale(0.5);
        top: 5%;
        left: -5%;
    }

    .concept-flow {
        padding: 10px 24px;
    }

    .service-card {
        padding: 24px !important;
    }
}

/* ==========================================================================
   10. Contact Modal (Premium Agency Panel)
   ========================================================================== */

/* Overlay & Entrance Animation */
.bee-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

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

/* Modal Dialog */
.bee-modal-dialog {
    background-color: var(--bee-white);
    width: min(1050px, calc(100vw - 48px));
    max-height: calc(100vh - 32px);
    border-radius: 32px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bee-modal-overlay.show .bee-modal-dialog {
    transform: translateY(0) scale(1);
}

/* Close Button */
.bee-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(5, 5, 5, 0.06);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    color: var(--bee-black);
    cursor: pointer;
    z-index: 20;
    transition: all var(--transition-fast);
}

.bee-modal-close:hover {
    background-color: var(--bee-black);
    color: var(--bee-white);
}

/* Layout Content Wrapper */
.bee-modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Layout Columns */
.bee-modal-brand {
    flex: 0 0 auto;
    background-color: var(--bee-yellow);
    padding: 36px 48px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bee-modal-form-container {
    flex: 1 1 auto;
    padding: 32px 48px 32px;
    background-color: var(--bee-white);
}

/* Brand Typography */
.bee-modal-pill {
    font-size: 13px;
    padding: 6px 16px;
    display: inline-block;
    align-self: flex-start;
}

.bee-modal-title {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: normal;
    line-height: 1.0;
    letter-spacing: -0.01em;
    margin-top: 16px;
    margin-bottom: 8px;
}

.bee-modal-desc {
    font-size: 15px;
    line-height: 1.35;
    max-width: 800px;
    opacity: 0.75;
    margin-bottom: 0;
}

/* Brand Panel Styling */
.bee-modal-brand-inner {
    position: relative;
    z-index: 2;
}

.bee-modal-decor {
    position: absolute;
    bottom: -10px;
    right: 0px;
    opacity: 0.15;
    pointer-events: none;
    transform: scale(0.7);
    transform-origin: bottom right;
}

.hex-outline-sm {
    width: 120px;
    height: 120px;
    border: 2px solid var(--bee-black);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transform: rotate(15deg);
    position: absolute;
    right: 30px;
    bottom: 30px;
}

.hex-filled-sm {
    width: 80px;
    height: 80px;
    background-color: var(--bee-black);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: absolute;
    right: 0;
    bottom: 0;
}

/* Custom Form Styling */
.bee-form-title {
    font-size: 26px;
    font-weight: normal;
    line-height: 1.1;
    margin-bottom: 6px;
}

.bee-form-desc {
    font-size: 14px;
    margin-bottom: 20px;
}

.bee-form-row {
    row-gap: 14px;
}

.bee-form-label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.bee-form-control,
.bee-form-select {
    width: 100%;
    height: 50px;
    background-color: var(--bee-white);
    border: 1px solid rgba(5, 5, 5, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--bee-black);
    transition: all 0.25s ease;
    outline: none;
    appearance: none;
}

.bee-textarea {
    height: 72px;
    resize: none;
}

.bee-form-select {
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23050505' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    cursor: pointer;
}

.bee-form-control:focus,
.bee-form-select:focus {
    border-color: var(--bee-yellow);
    box-shadow: 0 0 0 3px rgba(254, 211, 3, 0.15);
}

.bee-form-control.is-invalid,
.bee-form-select.is-invalid {
    border-color: #ff4d4f;
}

.bee-invalid-feedback {
    display: none;
    color: #ff4d4f;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
}

.bee-form-control::placeholder {
    color: rgba(5, 5, 5, 0.4);
}

/* Premium Submit Button */
.btn-bee-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background-color: var(--bee-black);
    color: var(--bee-white);
    border: none;
    border-radius: 999px;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.btn-bee-submit .arrow {
    margin-left: 10px;
    transition: transform var(--transition-fast);
}

.btn-bee-submit:hover {
    background-color: #222;
}

.btn-bee-submit:hover .arrow {
    transform: translateX(4px);
}

/* Success State & Animations */
.bee-success-state {
    padding: 40px 0;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.success-icon .checkmark {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
}

/* Height-Aware Media Queries for Desktop/Laptop Density */
@media (min-width: 992px) and (max-height: 799px) {
    .bee-modal-brand {
        padding: 26px 44px;
    }

    .bee-modal-form-container {
        padding: 26px 44px 26px;
    }

    .bee-modal-title {
        font-size: 40px;
        margin-top: 14px;
        margin-bottom: 6px;
        font-weight: normal;
    }

    .bee-form-title {
        font-size: 24px;
        margin-bottom: 4px;
    }

    .bee-form-desc {
        margin-bottom: 16px;
    }

    .bee-form-row {
        row-gap: 12px;
    }

    .bee-form-label {
        margin-bottom: 4px;
        font-size: 12px;
    }

    .bee-form-control,
    .bee-form-select {
        height: 46px;
    }

    .bee-textarea {
        height: 64px;
    }

    .btn-bee-submit {
        height: 46px;
    }
}

@media (min-width: 992px) and (max-height: 699px) {
    .bee-modal-brand {
        padding: 20px 40px;
    }

    .bee-modal-form-container {
        padding: 20px 40px 20px;
    }

    .bee-modal-pill {
        height: 30px;
        display: inline-flex;
        align-items: center;
        font-size: 12px;
        padding: 0 12px;
    }

    .bee-modal-title {
        font-size: 38px;
        margin-top: 12px;
        margin-bottom: 4px;
        line-height: 1.0;
        font-weight: normal;
    }

    .bee-modal-desc {
        font-size: 13px;
        line-height: 1.3;
    }

    .bee-form-title {
        font-size: 22px;
        margin-bottom: 2px;
    }

    .bee-form-desc {
        margin-bottom: 12px;
        font-size: 13px;
    }

    .bee-form-row {
        row-gap: 10px;
    }

    .bee-form-label {
        margin-bottom: 4px;
        font-size: 12px;
    }

    .bee-form-control,
    .bee-form-select {
        height: 44px;
        padding: 10px 14px;
        border-radius: 10px;
    }

    .bee-textarea {
        height: 58px;
        padding: 10px 14px;
    }

    .btn-bee-submit {
        height: 44px;
        margin-top: 4px;
    }
}

/* Modal Responsive (Tablets & Mobile) */
@media (max-width: 991px) {
    .bee-modal-dialog {
        border-radius: 24px;
        max-height: 85vh;
    }

    .bee-modal-brand {
        padding: 40px 32px 32px;
    }

    .bee-modal-form-container {
        padding: 32px 32px 40px;
        overflow-y: auto;
    }

    .bee-modal-close {
        top: 16px;
        right: 16px;
        background-color: rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 575px) {
    .bee-modal-overlay {
        padding: 12px;
    }

    .bee-modal-brand {
        padding: 32px 24px 24px;
    }

    .bee-modal-title {
        font-size: 36px;
        font-weight: normal;
    }

    .bee-modal-desc {
        font-size: 15px;
    }

    .bee-modal-form-container {
        padding: 24px 24px 32px;
    }
}

/* ==========================================================================
   15c. Mobile Navigation Fix
   ========================================================================== */
@media (max-width: 991px) {

    /* Base Mobile Menu State (Hidden) */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bee-white);
        padding: 24px 24px 40px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        display: block !important;
        /* Override bootstrap display:none */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        pointer-events: none;
        z-index: 1040;
    }

    /* Open Mobile Menu State */
    .navbar-collapse.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Adjust nav links for mobile */
    .navbar-collapse .navbar-nav {
        align-items: center;
        text-align: center;
        padding: 0;
        gap: 16px;
    }

    .navbar-collapse .nav-link {
        font-size: 20px;
        padding: 12px 24px !important;
        font-family: var(--font-secondary);
    }

    .navbar-collapse .nav-item {
        width: 100%;
    }

    /* Let's Talk button inside mobile menu */
    .navbar-collapse .btn-bee {
        margin-top: 16px;
        width: 100%;
        max-width: 280px;
    }

    /* Ensure the hamburger sits above everything */
    .navbar-toggler {
        z-index: 1050;
        position: relative;
    }
}

/* ==========================================================================
   Premium Growth Engine Section
   ========================================================================== */
.growth-system-wrapper {
    background-color: #fafafa;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    padding: 80px 0;
}

.growth-system-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(254, 211, 3, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.growth-engine-container {
    margin-top: 50px;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

.growth-line-track {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.06);
    z-index: 1;
}

.growth-line-progress {
    position: absolute;
    background-color: var(--bee-yellow);
    z-index: 2;
    transition: all 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.growth-nodes-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.growth-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    width: 130px;
    cursor: default;
}

.node-dot {
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 3;
    position: relative;
}

.node-content {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 16px 12px;
    width: 100%;
    height: 130px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.node-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 4px;
}

.node-index {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-500);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.node-icon {
    color: var(--color-gray-500);
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.node-title {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-gray-900);
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.node-desc {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin: 0;
    line-height: 1.3;
    opacity: 0.8;
}

/* Hover Interactions */
.growth-node:hover .node-content {
    transform: translateY(-4px);
    border-color: rgba(254, 211, 3, 0.4);
    box-shadow: 0 8px 24px rgba(254, 211, 3, 0.08);
}

.growth-node:hover .node-dot {
    border-color: var(--bee-yellow);
    background-color: var(--bee-yellow);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(254, 211, 3, 0.4);
}

.growth-node:hover .node-icon {
    color: var(--bee-yellow);
    opacity: 1;
    transform: translateY(-2px);
}

.growth-node:hover .node-index {
    color: var(--bee-yellow);
    opacity: 1;
}

/* Active / Final Node */
.growth-node-final .node-content {
    background: rgba(254, 211, 3, 0.05);
    border-color: rgba(254, 211, 3, 0.3);
}

.growth-node-final:hover .node-content {
    background: #fff;
}

/* Responsive Layout Logic */
@media (min-width: 992px) {
    /* Desktop Horizontal */
    .growth-line-track {
        top: 6px;
        left: 75px;
        right: 75px;
        height: 2px;
    }

    .growth-line-progress {
        top: 6px;
        left: 75px;
        height: 2px;
        width: 0; /* Animated */
    }

    /* Animation Trigger */
    body.js-enabled .growth-engine-container.active .growth-line-progress {
        width: calc(100% - 150px);
    }
}

@media (max-width: 991px) {
    /* Mobile Vertical */
    .growth-system-wrapper {
        padding: 60px 0;
    }
    
    .growth-nodes-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding-left: 20px;
    }

    .growth-node {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        text-align: left;
    }

    .node-dot {
        margin-bottom: 0;
        margin-right: 24px;
        margin-top: 36px;
    }
    
    .node-content {
        max-width: 280px;
    }

    .growth-line-track {
        top: 36px;
        bottom: 50px;
        left: 26px; /* 20px padding + 6px (half width of dot) */
        width: 2px;
    }

    .growth-line-progress {
        top: 36px;
        left: 26px;
        width: 2px;
        height: 0; /* Animated */
    }

    /* Animation Trigger */
    body.js-enabled .growth-engine-container.active .growth-line-progress {
        height: calc(100% - 86px);
    }
}

/* Specific Node Stagger Reveals */
.reveal-system-node {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.js-enabled .growth-engine-container.active .reveal-system-node {
    opacity: 1;
    transform: translateY(0);
}

.reveal-system-node[data-node="1"] { transition-delay: 200ms; }
.reveal-system-node[data-node="2"] { transition-delay: 350ms; }
.reveal-system-node[data-node="3"] { transition-delay: 500ms; }
.reveal-system-node[data-node="4"] { transition-delay: 650ms; }
.reveal-system-node[data-node="5"] { transition-delay: 800ms; }
.reveal-system-node[data-node="6"] { transition-delay: 950ms; }
.reveal-system-node[data-node="7"] { transition-delay: 1100ms; }

/* ==========================================================================
   Premium Agency CTA Section
   ========================================================================== */
.premium-cta-section {
    background-color: #fafafa;
    padding: 80px 0;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(254, 211, 3, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.premium-cta-card {
    background-color: #fefefe;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 32px;
    padding: 60px 70px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01);
    position: relative;
    overflow: hidden;
    max-width: 1100px;
}

.cta-geometric-decor {
    position: absolute;
    right: -20px;
    bottom: -40px;
    width: 250px;
    height: 250px;
    color: rgba(254, 211, 3, 0.15);
    z-index: 1;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

body.js-enabled .reveal.active .cta-geometric-decor {
    transform: translateY(-20px) rotate(15deg);
}

.cta-eyebrow {
    color: var(--bee-yellow);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.cta-heading {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
}

.cta-action-group {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Premium Primary Pill Button */
.btn-premium-pill {
    display: inline-flex;
    align-items: center;
    background-color: var(--bee-black);
    color: var(--bee-white);
    padding: 16px 32px;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-premium-pill .arrow {
    margin-left: 10px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-premium-pill:hover {
    background-color: var(--bee-black);
    color: var(--bee-yellow);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(254, 211, 3, 0.15);
}

.btn-premium-pill:hover .arrow {
    transform: translateX(4px);
}

/* Premium Secondary Text Button */
.btn-premium-text {
    display: inline-flex;
    align-items: center;
    color: var(--bee-black);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.btn-premium-text .arrow {
    margin-left: 8px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-premium-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--bee-black);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-premium-text:hover {
    color: var(--bee-black);
}

.btn-premium-text:hover::after {
    width: 100%;
}

.btn-premium-text:hover .arrow {
    transform: translateX(4px);
}

/* Responsive CTA */
@media (max-width: 991px) {
    .premium-cta-card {
        padding: 40px 30px;
        border-radius: 24px;
    }
    
    .cta-heading {
        font-size: 2.5rem;
    }
    
    .cta-geometric-decor {
        width: 180px;
        height: 180px;
        right: -30px;
        bottom: -30px;
        opacity: 0.5;
    }
}

@media (max-width: 767px) {
    .premium-cta-section {
        padding: 60px 0;
    }
    
    .premium-cta-card {
        padding: 35px 24px;
    }
    
    .cta-heading {
        font-size: 2rem;
        margin-bottom: 20px !important;
    }
    
    .cta-action-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .btn-premium-pill {
        width: 100%;
        justify-content: center;
    }
    
    .cta-description {
        max-width: 100%;
    }
    
    .cta-geometric-decor {
        display: none;
    }
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

/* 1. Hero Section */
.headline-split {
    line-height: 1.1;
}
.headline-split span.reveal {
    display: inline-block;
}

/* 2. Philosophy Cards */
.philosophy-card {
    background-color: #111;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 208, 0, 0.3);
    background-color: #151515;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255, 208, 0, 0.1);
}

.philosophy-icon {
    bottom: -20px;
    right: -20px;
    color: #fff;
    transition: all 0.5s ease;
    z-index: -1;
}

.philosophy-card:hover .philosophy-icon {
    opacity: 0.2 !important;
    transform: scale(1.1) rotate(-5deg);
    color: var(--bee-yellow);
}

/* 3. Approach Timeline */
.approach-timeline {
    padding-left: 30px;
}

.timeline-track {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 15px;
    width: 2px;
    background-color: rgba(0,0,0,0.05);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 15px;
    width: 2px;
    background-color: var(--bee-yellow);
    z-index: 2;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.approach-timeline.is-revealed .timeline-progress {
    transform: scaleY(1);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
    padding-left: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -31px;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    z-index: 3;
    box-shadow: 0 0 0 6px #f8f9fa; /* matches bg-light */
    transition: transform 0.4s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
}

.timeline-content-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}
.timeline-content-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
    border-color: rgba(255, 208, 0, 0.2);
}

@media (min-width: 768px) {
    .approach-timeline {
        padding-left: 0;
    }
    .timeline-track, .timeline-progress {
        left: 50%;
    }
    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-bottom: 60px;
    }
    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 40px;
        text-align: right;
    }
    .timeline-item:nth-child(even) {
        left: 50%;
        padding-left: 40px;
    }
    .timeline-marker {
        left: auto;
        right: -16px;
    }
    .timeline-item:nth-child(even) .timeline-marker {
        left: -16px;
        right: auto;
    }
}

/* 4. Premium Bento Grid (Capabilities) */
.premium-bento-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    auto-rows: minmax(180px, auto);
}

@media (min-width: 768px) {
    .premium-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 992px) {
    .premium-bento-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 3 Compact Rows: 180px, 180px, 160px */
        grid-template-rows: 180px 180px 160px;
    }
    
    .premium-bento-grid .bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .premium-bento-grid .bento-wide {
        grid-column: span 2;
    }
}

/* Premium Card & Icon Styling */
.premium-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #fafafa;
    border-color: rgba(0,0,0,0.05) !important;
}

.premium-card.dark-card {
    background-color: var(--bee-black);
    border-color: rgba(255,255,255,0.05) !important;
}

/* Background Icon Treatment */
.bento-bg-icon {
    position: absolute;
    bottom: -15%;
    right: -5%;
    opacity: 0.04;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 0;
}

.dark-card .bento-bg-icon {
    opacity: 0.08;
}

.bento-large .bento-bg-icon {
    bottom: -10%;
    right: -10%;
    transform: scale(1.2);
}

/* Hover Interactions */
.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: rgba(254, 211, 3, 0.4) !important; /* Bee yellow accent */
    background-color: #ffffff;
}

.premium-card.dark-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: rgba(254, 211, 3, 0.3) !important;
    background-color: #0a0a0a;
}

/* Icon hover effect */
.premium-card:hover .bento-bg-icon {
    opacity: 0.12;
    transform: scale(1.05) rotate(-2deg);
}

.premium-card.dark-card:hover .bento-bg-icon {
    opacity: 0.18;
}

.premium-card.bento-large:hover .bento-bg-icon {
    transform: scale(1.25) rotate(-2deg);
}

/* 5. Oversized Statements */
.oversized-statements h3 {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 6. Missing Utilities */
.bg-bee-black {
    background-color: var(--bee-black);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* =========================================
   PORTFOLIO PAGE STYLES
   ========================================= */

/* Hero Section */
.portfolio-hero {
    background-color: var(--color-white);
    overflow: hidden;
}

.highlight-line-yellow {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(254, 211, 3, 0.4);
    z-index: -1;
    border-radius: 4px;
}

/* Category Filters */
.portfolio-filters {
    margin-top: 2rem;
}

.portfolio-filter-btn {
    background-color: transparent;
    border: 1px solid var(--color-gray-200);
    color: var(--color-gray-600);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-filter-btn:hover {
    border-color: var(--color-dark);
    color: var(--color-dark);
}

.portfolio-filter-btn.active {
    background-color: var(--color-yellow);
    border-color: var(--color-yellow);
    color: var(--color-dark);
    box-shadow: 0 4px 15px rgba(254, 211, 3, 0.25);
}

/* Portfolio Cards */
.portfolio-card {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    cursor: pointer;
    border-color: rgba(0,0,0,0.06) !important;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.portfolio-img-wrapper {
    overflow: hidden;
    background-color: var(--color-light);
}

.portfolio-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    height: 100%;
}

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

/* Overlay & View Button */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

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

.view-btn {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
}

.portfolio-card:hover .view-btn {
    transform: translateY(0);
    opacity: 1;
}

/* Grid Animations */
.portfolio-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-item.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.portfolio-item.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* Lightbox Modal */
#portfolioModal .modal-content {
    background: transparent;
}

#portfolioModal .btn-close {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

#portfolioModal .btn-close:hover {
    opacity: 1;
}

/* ==========================================================================
   Self-Contained Premium Portfolio Lightbox
   ========================================================================== */
.portfolio-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.portfolio-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.portfolio-lightbox .lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 14, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
}

.portfolio-lightbox .lightbox-dialog {
    position: relative;
    z-index: 2;
    max-width: 94vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-lightbox.active .lightbox-dialog {
    transform: scale(1);
}

.portfolio-lightbox .lightbox-content {
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(254, 211, 3, 0.12);
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.portfolio-lightbox .lightbox-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #09090c;
    padding: 12px;
    max-height: 74vh;
    overflow: hidden;
}

.portfolio-lightbox .lightbox-img {
    max-width: 90vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    display: block;
}

.portfolio-lightbox .lightbox-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #1a1a20;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    gap: 16px;
}

.portfolio-lightbox .lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.portfolio-lightbox .lightbox-close:hover {
    background: #fed303;
    color: #111111;
    border-color: #fed303;
    transform: rotate(90deg);
}

.portfolio-lightbox .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.portfolio-lightbox .lightbox-prev {
    left: -70px;
}

.portfolio-lightbox .lightbox-next {
    right: -70px;
}

.portfolio-lightbox .lightbox-nav:hover {
    background: #fed303;
    color: #111111;
    border-color: #fed303;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 991px) {
    .portfolio-lightbox .lightbox-prev { left: 8px; background: rgba(0,0,0,0.65); }
    .portfolio-lightbox .lightbox-next { right: 8px; background: rgba(0,0,0,0.65); }
    .portfolio-lightbox .lightbox-close { top: 12px; right: 12px; background: rgba(0,0,0,0.7); }
    .portfolio-lightbox .lightbox-img { max-height: 58vh; }
    .portfolio-lightbox .lightbox-caption { padding: 12px 16px; }
}

/* ==========================================================================
   Brand Nav & Footer Logos
   ========================================================================== */
.bee-nav-logo {
    height: 42px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.bee-nav-logo:hover {
    transform: scale(1.02);
}

.bee-footer-logo {
    height: 46px;
    width: auto;
    max-width: 195px;
    object-fit: contain;
    display: block;
    transition: opacity 0.25s ease;
}

.bee-footer-logo:hover {
    opacity: 0.9;
}

@media (max-width: 576px) {
    .bee-nav-logo {
        height: 34px;
        max-width: 145px;
    }
    .bee-footer-logo {
        height: 38px;
        max-width: 160px;
    }
}

/* ==========================================================================
   16. Playful Floating Brand Mascot Bee Interaction (Global Contact CTA)
   ========================================================================== */
.floating-bee-mascot {
    position: fixed;
    bottom: 26px;
    left: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    z-index: 1030;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    will-change: transform;
    pointer-events: auto;
    user-select: none;
    transform-origin: center center;
    /* Default initial transform before JS loop executes: horizontally facing right */
    transform: translate3d(24px, 0, 0) scaleX(1) rotate(90deg);
}

/* Original Bee Image: clean, untouched dimensions and transparent background */
.floating-bee-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    transform: none !important;
}

/* Accessible focus ring */
.floating-bee-mascot:focus-visible {
    outline: 2px dashed #FFD21C;
    outline-offset: 4px;
    border-radius: 50%;
}

/* Hide bee cleanly when mobile menu or contact modal is active */
body.menu-open .floating-bee-mascot,
body.modal-open .floating-bee-mascot,
.contact-modal-overlay.show ~ .floating-bee-mascot {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Responsive: Tablet Adjustments */
@media (max-width: 991px) {
    .floating-bee-mascot {
        bottom: 22px;
        width: 42px;
        height: 42px;
    }
}

/* Responsive: Mobile Adjustments */
@media (max-width: 575px) {
    .floating-bee-mascot {
        bottom: 18px;
        width: 36px;
        height: 36px;
        min-width: 44px;
        min-height: 44px;
    }
}