:root {
    --primary: #FF6B00;
    --primary-light: #FF8533;
    --bg-dark: #0b101b;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-nav: rgba(11, 16, 27, 0.85);
    --text-white: #F8FAFC;
    --text-gray: #94A3B8;
    --border: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Semantic Theme Variables */
    --bg-body: var(--bg-dark);
    --text-main: var(--text-white);
    --text-muted: var(--text-gray);
    --card-bg: var(--bg-card);
    --pill-bg: rgba(15, 23, 42, 0.35);
    /* More transparent */
    --pill-border: rgba(255, 255, 255, 0.1);
    --pill-text: var(--text-white);
}


body {
    background-color: var(--bg-body);
    color: var(--text-main);
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Theme-Aware Utilities */
.text-main-theme {
    color: var(--text-main);
}

.text-muted-theme {
    color: var(--text-muted);
}

.bg-theme {
    background-color: var(--bg-body) !important;
}

.bg-theme-hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.border-theme {
    border-color: var(--pill-border) !important;
}



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

/* Global Scrollbar Styling */

/* Fix for browser autofill colors */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--bg-body) inset !important;
    -webkit-text-fill-color: var(--text-main) !important;
    transition: background-color 5000s ease-in-out 0s;
}

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    border-radius: 10px;
    border: 2px solid var(--bg-body);
}

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

/* Selection Color */
::selection {
    background: #FF6B00;
    color: white;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-geist-sans), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    transition: background-color 0.5s ease, color 0.5s ease;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

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

/* Animations */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revealRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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



@keyframes pulse-orange-border {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
        border-color: rgba(255, 107, 0, 1);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
        border-color: rgba(255, 107, 0, 0.3);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
        border-color: rgba(255, 107, 0, 1);
    }
}

@keyframes pulse-green-border {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
        border-color: rgba(16, 185, 129, 1);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
        border-color: rgba(16, 185, 129, 0.3);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        border-color: rgba(16, 185, 129, 1);
    }
}

.pulse-orange-border {
    animation: pulse-orange-border 2s ease-in-out infinite;
    border-width: 1px !important;
}


@keyframes pulse-orange-border-light {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
        border-color: rgba(255, 107, 0, 1);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(255, 107, 0, 0);
        border-color: rgba(255, 107, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
        border-color: rgba(255, 107, 0, 1);
    }
}


.pulse-green-border {
    animation: pulse-green-border 2s ease-in-out infinite;
    border-width: 1px !important;
}

.animate {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.animate.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes float-icon {
    0% {
        transform: translateY(0px);
    }

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

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

/* Specific delay reset for hover elements to ensure instant interaction AFTER they have revealed */
.glass:hover,
.service-card:hover,
.why-card:hover,
.gallery-item:hover,
.testimonial-card:hover,
.tip-item:hover,
.recruitment-card:hover,
.btn:hover,
.nav-links a:hover {
    transition-delay: 0s !important;
}

/* Staggered Animations for Grids */

.services-grid .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.services-grid .service-card:nth-child(4) {
    transition-delay: 0.4s;
}

.why-grid .why-card:nth-child(1) {
    transition-delay: 0.1s;
}

.why-grid .why-card:nth-child(2) {
    transition-delay: 0.2s;
}

.why-grid .why-card:nth-child(3) {
    transition-delay: 0.3s;
}

.why-grid .why-card:nth-child(4) {
    transition-delay: 0.4s;
}

.process-container .process-step:nth-child(1) .step-number {
    animation-delay: 0s;
}

.process-container .process-step:nth-child(2) .step-number {
    animation-delay: 1s;
}

.process-container .process-step:nth-child(3) .step-number {
    animation-delay: 2s;
}

.process-container .process-step:nth-child(4) .step-number {
    animation-delay: 3s;
}

.process-container .process-step:nth-child(5) .step-number {
    animation-delay: 4s;
}

.gallery-grid .gallery-item:nth-child(1) {
    transition-delay: 0.1s;
}

.gallery-grid .gallery-item:nth-child(2) {
    transition-delay: 0.2s;
}

.gallery-grid .gallery-item:nth-child(3) {
    transition-delay: 0.3s;
}

.gallery-grid .gallery-item:nth-child(4) {
    transition-delay: 0.4s;
}

.testimonials-grid .testimonial-card:nth-child(1) {
    transition-delay: 0.1s;
}

.testimonials-grid .testimonial-card:nth-child(2) {
    transition-delay: 0.2s;
}

.testimonials-grid .testimonial-card:nth-child(3) {
    transition-delay: 0.3s;
}

.testimonials-grid .testimonial-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Staggered delay logic is handled by nth-child above. 
   Delays are automatically used only for the first appearance transitions. */

/* Recruitment Grid Stagger */
.recruitment-grid .recruitment-card:nth-child(1) {
    transition-delay: 0.1s;
}

.recruitment-grid .recruitment-card:nth-child(2) {
    transition-delay: 0.2s;
}

.recruitment-grid .recruitment-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Tips Container Stagger */
.tips-container .tip-item:nth-child(1) {
    transition-delay: 0.1s;
}

.tips-container .tip-item:nth-child(2) {
    transition-delay: 0.2s;
}

.tips-container .tip-item:nth-child(3) {
    transition-delay: 0.3s;
}

.tips-container .tip-item:nth-child(4) {
    transition-delay: 0.4s;
}

.tips-container .tip-item:nth-child(5) {
    transition-delay: 0.5s;
}

.tips-container .tip-item:nth-child(6) {
    transition-delay: 0.6s;
}

.tips-container .tip-item:nth-child(7) {
    transition-delay: 0.7s;
}

.tips-container .tip-item:nth-child(8) {
    transition-delay: 0.8s;
}

/* Contact Grid Stagger (for direct children: info, mascot, form) */
.contact-grid> :nth-child(1) {
    transition-delay: 0.1s;
}

.contact-grid> :nth-child(2) {
    transition-delay: 0.2s;
}

.contact-grid> :nth-child(3) {
    transition-delay: 0.3s;
}

/* Glassmorphism Utility */
/* Glassmorphism Utility */
.glass {
    background: var(--pill-bg);
    /* Consistent dark glass background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--pill-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    /* Prevent flickering on hover/transform */
    backface-visibility: hidden;
    perspective: 1000px;
    transform: translateZ(0);
}

.glass:hover {
    border-color: var(--primary);
    transform: translateY(-5px) translateZ(0);
    background: rgba(255, 255, 255, 0.08);
    /* Slightly lighter on hover */
}

/* Header & Nav */
header {
    position: fixed;
    top: 10px;
    width: 100%;
    z-index: 1000;
    padding: 0 2rem;
    transition: var(--transition);
}

@media (max-height: 850px) {
    header {
        top: 5px;
    }
}

header.scrolled {
    top: 10px;
}

header.scrolled .nav-container {
    background: transparent;
    padding: 0.8rem 2rem;
    box-shadow: none;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 2rem;
    position: relative;
    transition: var(--transition);
}

.logo {
    position: fixed;
    left: 30px;
    top: 35px;
    /* Aligned with .gift-badge-fixed */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
}

.logo img {
    height: 180px;
    /* Enlarged from 175px */
    width: auto;
    transition: all 0.5s ease;
}

@media (max-width: 1400px) {
    .logo img {
        height: 150px;
    }
}

@media (max-width: 1200px) {
    .logo {
        left: 30px;
        top: 35px;
    }

    .logo img {
        height: 130px;
    }
}

@media (max-height: 850px) {
    .logo {
        top: 35px;
        left: 30px;
    }

    .logo img {
        height: 140px;
    }
}

header.scrolled .logo {
    opacity: 0;
    transform: translateY(-100%) scale(0.8);
    pointer-events: none;
}

header.scrolled .logo img {
    height: 50px;
}

.nav-pill-container {
    display: inline-flex;
    gap: 0.25rem;
    list-style: none;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--pill-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--pill-border);
    border-radius: 100px;
    box-shadow: var(--shadow);
}

/* Unified styling for all top-level floating navigation pills */
.nav-links,
.auth-nav-pill {
    display: inline-flex;
    gap: 0.25rem;
    list-style: none;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin: 0;
    background: var(--pill-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--pill-border);
    border-radius: 100px;
    box-shadow: var(--shadow);
    height: 60px;
    /* Force same height */
    box-sizing: border-box;
}

.auth-nav-pill {
    width: 328px;
}

.nav-pill-link {
    color: var(--pill-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
}

.nav-links a,
.auth-nav-pill a,
.auth-nav-pill .auth-link-btn {
    color: var(--pill-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.2rem;
    height: 44px;
    /* Consistent internal height */
    border-radius: 100px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

@media (min-width: 1025px) {
    .nav-links {
        width: auto;
    }
}

/* Already handled above in unified selector */

.nav-links a i {
    font-size: 0.8rem;
    margin-right: 10px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-links a:hover i {
    opacity: 1;
}

.nav-links a:hover,
.nav-links a.active,
.auth-nav-pill a:hover,
.auth-nav-pill .auth-link-btn:hover {
    background: var(--primary) !important;
    color: white !important;
}


/* Ensure text inside button changes color too */
.auth-nav-pill a:hover span,
.auth-nav-pill .auth-link-btn:hover span,
.auth-nav-pill a:hover i,
.auth-nav-pill .auth-link-btn:hover i {
    color: white !important;
    opacity: 1 !important;
}

.nav-links a.active i {
    opacity: 1;
    color: white !important;
}

@media (max-width: 1280px) {

    .nav-links a,
    .auth-nav-pill a,
    .auth-nav-pill .auth-link-btn {
        font-size: 0.95rem;
        padding: 0 0.8rem;
    }

    .nav-links,
    .auth-nav-pill {
        gap: 0.2rem;
        height: 54px;
        padding: 6px;
    }

    .nav-links a,
    .auth-nav-pill a,
    .auth-nav-pill .auth-link-btn {
        height: 38px;
    }
}

/* Mobile responsive handling for overlapping pills */
@media (max-width: 991px) {
    .fixed.top-\[35px\].right-\[30px\] {
        top: auto;
        bottom: 25px;
        right: 25px;
        left: 25px;
    }

    .auth-nav-pill {
        width: 100%;
        justify-content: space-around;
        background: rgba(15, 23, 42, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}


/* Hamburger Menu Base Styles */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links a.btn:hover {
    color: white;
    /* Keep text white on hover */
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    /* Moved from flex-end to center to sit higher */
    position: relative;
    padding-top: 100px;
    /* Increased from 40px to ensure space for fixed nav */
    padding-bottom: 20px;
    /* Reduced to allow higher centering */
    overflow: hidden;
}

@media (max-height: 800px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: translateZ(0);
    /* Force GPU */
    backface-visibility: hidden;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
    transition: background 0.5s ease;
}

body.light-mode .hero-video {
    opacity: 0.35;
    filter: brightness(1.05) contrast(0.95);
}

body.light-mode .hero-overlay {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0.6) 100%);
}

.search-bar-container {
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
    box-shadow: var(--shadow);
    transition: all 0.5s ease;
}

.trust-card {
    background: var(--pill-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--pill-border);
    border-radius: 100px;
    /* Fully rounded pill look */
    padding: 6px 28px 6px 6px !important;
    /* Reduced padding for a tighter fit: 6px from top, bottom, and left */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.trust-card:hover {
    background: rgba(255, 107, 0, 0.1) !important;
    border-color: rgba(255, 107, 0, 0.4) !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

body.light-mode .trust-card:hover {
    background: rgba(255, 107, 0, 0.05) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.advantage-card {
    background: var(--card-bg);
    border: 1px solid var(--pill-border);
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.dark-mode .advantage-card {
    background: rgba(23, 32, 47, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .advantage-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Specific Hover Effects */
.advantage-card.majster:hover {
    border-color: #FF6B00 !important;
}

.advantage-card.brigada:hover {
    border-color: #22c55e !important;
}

/* Fix for button text contrast on card hover - targeting ONLY the link button */
.advantage-card:hover a.text-main-theme {
    color: white !important;
}

body.light-mode .advantage-card:hover a.text-main-theme {
    color: white !important;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
    padding-left: 2rem;
    padding-right: 2rem;
    will-change: transform;
}

.hero-content {
    flex: 1;
    /* margin-top removed to rely on flex-end alignment */
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
}

.hero-image img {
    max-width: 80%;
    max-height: 400px;
    height: auto;
    animation: float 4s infinite ease-in-out;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
        hyphens: none !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
    }
}

@media (max-height: 850px) {
    .hero {
        padding-top: 170px !important;
        /* Push down more to avoid nav overlap */
        padding-bottom: 30px !important;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        /* Adjusted from 2.4rem for better fit */
        margin-bottom: 0.6rem !important;
    }

    .hero p {
        font-size: 1.05rem !important;
        margin-bottom: 0.8rem !important;
        max-width: 700px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-content {
        padding-top: 0 !important;
    }
}



.hero p {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    max-width: 800px;
    font-weight: 500;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 1280px) or (max-height: 850px) {
    .hero .grid {
        gap: 0.8rem;
        margin-top: 1.5rem !important;
        max-width: 900px;
    }

    .hero .glass {
        padding: 1.2rem 1rem !important;
        border-radius: 1.5rem !important;
    }

    .hero .glass div.w-16 {
        width: 3rem !important;
        height: 3rem !important;
        margin-bottom: 0.8rem !important;
    }

    .hero .glass i.fa-2xl,
    .hero .glass i {
        font-size: 1.2rem !important;
    }

    .hero .glass h3 {
        font-size: 1rem !important;
        margin-bottom: 0.4rem !important;
    }

    .hero .glass p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }

    .hero .glass div.mt-6 {
        margin-top: 0.8rem !important;
    }
}


.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: rgba(15, 23, 42, 0.6);
    color: white;
    border: 2px solid var(--primary);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.4);
}

.btn-primary:active {
    background: var(--primary-light) !important;
    border-color: var(--primary-light) !important;
    transform: scale(0.95);
    transition: all 0.1s ease;
}

/* Form button should be solid orange by default and match size of other buttons */
#renko-form .btn-primary {
    background: var(--primary);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    padding: 1rem 2.5rem;
    /* Exactly as other buttons */
    font-size: 1rem;
    /* Match standard text size */
}

#renko-form .btn-primary:hover {
    background: var(--primary-light);
}

/* Specific hero button styles - apply after general btn styles */
.hero .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

.hero .btn-outline {
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--text-main);
}

.hero .btn-outline:hover {
    background: rgba(255, 107, 0, 0.1);
}

body.light-mode .hero .btn-outline {
    color: var(--primary);
}

.btn-outline {
    border: 2px solid var(--border);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

/* Sections General */
section {
    padding: 50px 2rem;
}

.pull-up {
    margin-top: -1.5rem;
}

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

.section-header.extra-v-space {
    margin-bottom: 7.5rem;
}

.section-header.extra-v-space-small {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1.2rem;
    font-weight: 800;
}

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

body.light-mode .section-header p {
    color: var(--text-main);
    opacity: 0.85;
}

.sub {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

/* Marketplace Section Background Toggle */
#najnovsie-dopyty {
    position: relative;
    padding: 100px 2rem;
}



/* About Section */
.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-mini {
    padding: 1.5rem;
}

.feature-mini h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Services Grid */
.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    text-align: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px) translateZ(0);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}


.service-card.susedska {
    border-color: rgba(16, 185, 129, 0.3);
}

.service-card.susedska:hover {
    border-color: #10b981;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float-icon 4s ease-in-out infinite;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

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

.service-card.susedska ul li::before {
    color: #10b981;
}

/* Process Section */
.process-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-container::before {
    display: none;
}



/* Process Section Background Toggle */
#process {
    position: relative;
    padding: 100px 2rem;
}




.process-step {
    padding: 30px 20px;
    background: transparent;
    border-radius: 20px;
    border: none;
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 2rem;
    position: relative;
    transition: all 0.4s ease;
    animation: stepBlink 4s infinite ease-in-out;
}

@keyframes stepBlink {

    0%,
    100% {
        background-color: transparent;
        color: var(--primary);
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }

    12.5% {
        background-color: var(--primary);
        color: white;
        box-shadow: 0 0 25px rgba(255, 107, 0, 0.6);
    }

    25% {
        background-color: transparent;
        color: var(--primary);
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

.process-step:hover .step-number {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

/* Why Us Section */
.why-us {
    background: var(--bg-body);
}

.why-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-card {
    padding: 2.5rem;
    text-align: center;
}

.why-card i {
    display: inline-block;
    animation: float-icon 4s ease-in-out infinite;
}

/* Gallery, Testimonials & Demands Horizontal Scroll */
.gallery-grid,
.testimonials-grid,
.demands-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    overflow-x: hidden;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 60px 0;
    margin-top: -60px;
    margin-bottom: -60px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Hide scrollbar for clean look */
.gallery-grid::-webkit-scrollbar,
.testimonials-grid::-webkit-scrollbar,
.demands-grid::-webkit-scrollbar {
    display: none;
}

/* Pagination Dots */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Demand Card Styling */
.demand-card {
    scroll-snap-align: center;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 280px;
    min-width: 370px;
    width: 370px;
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
    border-radius: 24px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.demand-card:hover {
    border: 2px solid var(--primary) !important;
    background: rgba(255, 107, 0, 0.1) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.2) !important;
}

/* Force light mode to show orange hover for regular cards */
body.light-mode .demand-card:not(.charity-card):hover {
    background: #fffbf7 !important;
    border: 2px solid var(--primary) !important;
}

/* Explicitly keep charity cards emerald on hover */
.demand-card.charity-card:hover {
    border: 2px solid rgba(16, 185, 129, 0.4) !important;
    background: rgba(16, 185, 129, 0.05) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.1) !important;
}

body.light-mode .demand-card.charity-card:hover {
    background: rgba(236, 253, 245, 1) !important;
    border: 2px solid rgba(16, 185, 129, 0.5) !important;
}

body.light-mode .demand-card {
    background: white !important;
    border-color: rgba(15, 23, 42, 0.06) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

body.light-mode .demand-card .text-muted-theme {
    color: #475569 !important;
}

body.light-mode .demand-card .text-emerald-400 {
    color: #059669 !important;
}



body.light-mode .demand-card span.text-emerald-400.bg-emerald-500\/10 {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #059669 !important;
}

body.light-mode .demand-card span.text-\[var\(--primary\)\].bg-\[rgba\(255\,107\,0\,0\.1\)\] {
    background: rgba(255, 107, 0, 0.1) !important;
    color: var(--primary) !important;
}

.demand-card-title {
    height: 3.2rem;
    line-height: 1.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 !important;
}

.demand-card.charity-card:hover {
    border-color: rgba(16, 185, 129, 0.2) !important;
    /* Keep subtle emerald border on hover */
    background: rgba(16, 185, 129, 0.04) !important;
}

.gallery-grid,
.testimonials-grid,
.demands-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    gap: 2rem;
    padding: 20px 0;
    justify-content: flex-start;
}

.gallery-grid::-webkit-scrollbar,
.testimonials-grid::-webkit-scrollbar,
.demands-grid::-webkit-scrollbar {
    display: none;
}

/* Demand Card Sizing rules */
.demand-card {
    min-width: calc((100% - 6rem) / 4);
    width: calc((100% - 6rem) / 4);
    flex-shrink: 0;
    scroll-snap-align: start;
}
@media (max-width: 1200px) {
    .demand-card {
        min-width: calc((100vw - 4rem - 6rem) / 4);
        width: calc((100vw - 4rem - 6rem) / 4);
    }
}
@media (max-width: 991px) {
    .demand-card {
        min-width: calc((100vw - 4rem - 2rem) / 2);
        width: calc((100vw - 4rem - 2rem) / 2);
    }
}
@media (max-width: 768px) {
    .demand-card {
        min-width: calc(100vw - 4rem);
        width: calc(100vw - 4rem);
    }
}


.gallery-item {
    min-width: calc((100% - 6rem) / 4);
    width: calc((100% - 6rem) / 4);
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(11, 16, 27, 0.55);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    z-index: 5;
    transition: all 0.3s ease;
    opacity: 0.7;
    pointer-events: none;
}

.gallery-item:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
}

@media (max-width: 1200px) {
    .gallery-item {
        min-width: calc((100vw - 4rem - 6rem) / 4);
        width: calc((100vw - 4rem - 6rem) / 4);
        height: auto;
        aspect-ratio: 1/1;
    }
}

@media (max-width: 991px) {
    .gallery-item {
        min-width: calc((100vw - 4rem - (1 * 2rem)) / 2);
        width: calc((100vw - 4rem - (1 * 2rem)) / 2);
    }
}

@media (max-width: 768px) {
    .gallery-item {
        min-width: calc(100vw - 4rem);
        width: calc(100vw - 4rem);
        height: 280px;
    }
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

body.light-mode .gallery-overlay {
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
}

body.light-mode .gallery-overlay h3 {
    color: var(--text-main);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.gallery-overlay p {
    font-size: 0.85rem;
    color: var(--primary);
}

/* Testimonials */

.testimonial-card {
    min-width: calc((100% - 6rem) / 4);
    width: calc((100% - 6rem) / 4);
    height: auto !important;
    aspect-ratio: auto !important;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    scroll-snap-align: start;
    flex-shrink: 0;
    border-radius: 24px;
    background: var(--pill-bg);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: default;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.15);
    background: rgba(255, 107, 0, 0.04);
}

@media (max-width: 1200px) {
    .testimonial-card {
        min-width: calc((100vw - 4rem - 6rem) / 4);
        width: calc((100vw - 4rem - 6rem) / 4);
    }
}

@media (max-width: 991px) {
    .testimonial-card {
        min-width: calc((100vw - 4rem - 2rem) / 2);
        width: calc((100vw - 4rem - 2rem) / 2);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: calc(100vw - 4rem);
        width: calc(100vw - 4rem);
        padding: 2rem 1.5rem;
    }
}

body.light-mode .testimonial-card {
    background: white !important;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

body.light-mode .testimonial-card p {
    color: var(--text-main) !important;
}

body.light-mode .client-info strong {
    color: var(--text-main) !important;
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 100%;
        width: 100%;
        padding: 2rem 1.5rem;
    }
}

.stars, .t-stars {
    color: #FFD700;
    font-size: 0.8rem;
}

/* Veľká úvodzovka ako pozadie */
.t-quote-bg {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    font-size: 6rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.06;
    font-family: Georgia, serif;
    pointer-events: none;
    user-select: none;
    font-weight: 900;
}

/* Google Reviews badge */
.t-google-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.45;
    transition: opacity 0.2s ease;
}

.testimonial-card:hover .t-google-badge {
    opacity: 0.7;
}

.t-google-badge span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Text recenzie */
.t-review-text {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.875rem;
    margin: 0;
    position: relative;
    z-index: 1;
    text-wrap: pretty;
}

/* Zachovanie pôvodného selektoru */
.testimonial-card p {
    color: var(--text-gray);
    line-height: 1.65;
    font-size: 0.9rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.75rem;
    margin-top: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 0.75rem;
    width: 100%;
}

.client-photo {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 107, 0, 0.4);
    flex-shrink: 0;
    background: #0f172a;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.testimonial-card:hover .client-photo {
    border-color: var(--primary);
    box-shadow: 0 0 16px rgba(255, 107, 0, 0.3);
}

/* Ensure video inside testimonial looks good */
video.client-photo {
    cursor: pointer;
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-info strong {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
}

.client-info span {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

/* Tips Section */
.tips-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tip-item {
    padding: 1.2rem 1.5rem;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.tip-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    position: relative;
    padding-right: 2rem;
}

.tip-header h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.tip-icon {
    font-size: 1.6rem;
    color: var(--primary);
    opacity: 0.8;
    transition: var(--transition);
    flex-shrink: 0;
}

.tip-chevron {
    position: absolute;
    right: 0;
    font-size: 0.9rem;
    color: var(--primary);
    transition: transform 0.4s ease;
}

.tip-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    opacity: 0;
}

.tip-item.active .tip-content {
    max-height: 800px;
    /* Increased max-height for longer content */
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
    opacity: 1;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pill-border);
}

.tip-content p {
    margin-bottom: 1rem;
}

.tip-content p:last-child {
    margin-bottom: 0;
}

.tip-item.active .tip-icon {
    transform: scale(1.1);
    opacity: 1;
}

.tip-item.active .tip-chevron {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .tip-item {
        padding: 1.25rem 1.5rem;
    }

    .tip-header h3 {
        font-size: 1rem;
    }

    .tip-icon {
        font-size: 1.4rem;
    }
}

/* Recruitment Section */
.recruitment-grid {
    max-width: 1200px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.recruitment-card {
    position: relative;
    padding: 3.5rem 2rem 2.5rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recruitment-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    white-space: nowrap;
}

.recruitment-icon {
    position: relative;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    width: auto;
    height: auto;
    display: block;
    background: transparent;
    border-radius: 0;
    z-index: 1;
    /* Force animations on mobile */
    transform: translateZ(0);
    will-change: transform;
}

.recruitment-icon i {
    display: inline-block;
    animation: float-icon 4s ease-in-out infinite;
}

.recruitment-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.recruitment-list {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 2.5rem;
}

.recruitment-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.recruitment-list li i {
    color: var(--primary);
    font-size: 1rem;
}

.recruitment-card .btn {
    width: 100%;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .recruitment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .recruitment-card {
        width: 100% !important;
        padding: 3.5rem 1.5rem 2.5rem;
    }
}

/* Contact Section */
.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.8fr 1.5fr;
    /* Info, Mascot, Form */
    gap: 3rem;
    align-items: center;
}

.contact-mascot {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-mascot img {
    max-width: 80%;
    margin-top: 6rem;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    animation: float 4s infinite ease-in-out;
}


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

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

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary);
    flex-shrink: 0;
    display: inline-block;
    animation: float-icon 4s ease-in-out infinite;
    margin-top: 12px;
}

.contact-form {
    padding: 3rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--pill-border);
    border-radius: 12px;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    background: rgba(15, 23, 42, 0.02);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.07);
}

/* Footer */
footer {
    padding: 1.25rem 2rem;
    background: var(--bg-body);
    border-top: 1px solid var(--pill-border);
}

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

.footer-logo img {
    height: 120px;
    margin-bottom: 2.5rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

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

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

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: var(--primary) !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

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

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

    .process-container {
        flex-direction: column;
        gap: 3rem;
    }

    .process-container::before {
        display: none;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-mascot img {
        max-width: 160px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        display: flex;
        width: 100%;
    }

    .hero {
        padding-top: 100px !important;
        padding-bottom: 220px !important;
        height: auto !important;
        min-height: 100vh;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-content {
        margin-top: 0 !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem !important;
    }

    .about-text h3 {
        font-size: 2rem !important;
    }

    .window-service-content h2 {
        font-size: 2.2rem !important;
    }

    h1,
    h2,
    h3 {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto;
    }

    p,
    li,
    .btn,
    .service-card ul li,
    .w-feature p,
    .footer-links ul li a {
        font-size: 1.15rem !important;
        line-height: 1.6 !important;
    }

    .hero p {
        font-size: 1.15rem !important;
        /* Slightly smaller for better flow */
        max-width: 100% !important;
        padding: 0 1.5rem;
        line-height: 1.4 !important;
    }

    .sub {
        font-size: 1rem !important;
    }

    .cta-group {
        display: none !important;
    }

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

    .contact-form {
        padding: 2.5rem 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 20px;
    }

    .form-group {
        margin-bottom: 2rem !important;
    }

    .form-group input,
    .form-group textarea {
        padding: 1.5rem !important;
        font-size: 1.2rem !important;
        border-width: 2px !important;
        /* Prevent iOS zoom on focus */
    }

    .btn-primary[style*="width: 100%"] {
        padding: 1rem 2.5rem !important;
        /* Unified with other buttons */
        font-size: 1rem !important;
    }

    .contact-grid,
    .services-grid,
    .why-grid,
    .recruitment-grid,
    .footer-content {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .nav-container {
        justify-content: space-between;
        padding: 1.5rem 2rem;
        max-width: 100%;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
    }

    .logo {
        position: fixed;
        left: 20px;
        top: 15px;
        z-index: 10001;
    }

    .logo img {
        height: 110px;
        width: auto;
    }

    header.scrolled .logo {
        opacity: 0;
        transform: translateY(-20px) scale(0.5);
        height: 0;
        padding: 0;
        margin: 0;
        pointer-events: none;
        overflow: hidden;
    }

    header.scrolled {
        background: transparent !important;
        border: none !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        pointer-events: auto !important;
    }

    header.scrolled .nav-container {
        pointer-events: none;
        /* Let clicks pass through empty header area */
    }

    header.scrolled .hamburger,
    header.scrolled .nav-links {
        pointer-events: auto !important;
        /* But keep interactive elements clickable */
    }

    header.scrolled .nav-links:not(.active) {
        display: none !important;
    }

    .hamburger {
        display: flex;
        position: fixed;
        right: 20px;
        top: 20px;
        width: 50px;
        height: 50px;
        background: rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(10px);
        border: 1px solid var(--border);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        z-index: 10001;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        padding: 0 !important;
        pointer-events: auto;
    }

    .hamburger span {
        width: 22px !important;
        height: 2px !important;
        margin: 0 auto;
    }

    .hamburger.active {
        background: var(--primary);
        border-color: var(--primary);
    }



    section {
        padding: 1.5rem 1rem !important;
    }

    /* Universal Card Fix for Mobile */
    .service-card,
    .why-card,
    .recruitment-card,
    .testimonial-card,
    .tip-item {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .service-card,
    .why-card {
        padding: 2.5rem 1.5rem !important;
    }

    .hero {
        padding-top: 100px !important;
        padding-bottom: 2rem !important;
        height: auto !important;
        min-height: 100vh;
    }

    .window-service {
        padding: 1.5rem 1rem !important;
    }

    .window-service-container {
        padding: 2rem 1.5rem !important;
    }

    footer {
        padding: 2rem 1.5rem 1.5rem !important;
    }

    .section-header {
        margin-bottom: 2rem !important;
        max-width: 100% !important;
        overflow: hidden;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        /* Align to left to ensure full width cover */
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 4rem 2rem 2rem;
        transform: translateX(100%);
        /* Initial state hidden to the right */
        visibility: hidden;
        pointer-events: none;
        border-radius: 0 !important;
    }

    .nav-links a {
        font-size: 1.4rem !important;
        display: block;
        padding: 0.6rem !important;
        font-weight: 700;
        border-radius: 0 !important;
    }

    .nav-links.active {
        transform: translateX(0);
        /* Move back to center */
        right: auto;
        visibility: visible;
        pointer-events: auto;
    }

    header.scrolled .hamburger span {
        background: white;
    }

    /* Ensure Chatbot is visible on mobile */
    .chat-toggle {
        width: 65px !important;
        height: 65px !important;
        bottom: 30px !important;
        right: 30px !important;
        z-index: 10001 !important;
    }

    .chat-toggle-status {
        width: 12px !important;
        height: 12px !important;
        bottom: 3px !important;
        right: 3px !important;
    }

    .chat-tooltip {
        display: none !important;
        /* Hide tooltip on small mobile to avoid clutter */
    }
}

/* ===================================================
   VIDEO LIGHTBOX — Ukážky realizácií
   =================================================== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: min(1200px, calc(100vw - 4rem));
    padding: 0 4rem;
    animation: lightboxIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.94) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.lightbox-media-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.05);
    aspect-ratio: 16/9;
}

.lightbox-media {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Close button */
.lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(15, 23, 42, 0.8);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: all 0.25s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white !important;
    transform: rotate(90deg) scale(1.1);
}

/* Prev / Next nav buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(15, 23, 42, 0.75);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

/* Caption */
.lightbox-caption {
    text-align: center;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    padding: 0 1rem;
}

.lightbox-caption h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: white;
}

.lightbox-caption p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .lightbox-container {
        padding: 0 3.5rem;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    .lightbox-prev { left: 0; }
    .lightbox-next { right: 0; }
}

/* ===================================================
   TESTIMONIAL MODAL
   =================================================== */
#testimonial-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100001;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#testimonial-modal.active {
    display: flex;
}

.t-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 16, 0.88);
    backdrop-filter: blur(20px);
    cursor: pointer;
}

.t-modal-box {
    position: relative;
    z-index: 1;
    background: var(--card-bg, rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: 2rem;
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,107,0,0.1);
    animation: lightboxIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.t-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.t-modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.t-modal-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.3);
    flex-shrink: 0;
}

.t-modal-avatar img,
.t-modal-avatar video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-modal-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    margin: 0;
}

.t-modal-location {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
}

.t-modal-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.t-modal-text {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    font-size: 1rem;
    max-width: 380px;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

body.light-mode .t-modal-box {
    background: white;
    border-color: rgba(255, 107, 0, 0.2);
}

body.light-mode .t-modal-text {
    color: #475569;
}

body.light-mode .t-modal-name {
    color: #0f172a;
}

/* Legal Modal Styles */
.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.legal-modal.active {
    display: flex;
    opacity: 1;
}

.legal-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-body);
    opacity: 0.95;
    backdrop-filter: blur(10px);
    z-index: -1;
}

.legal-modal-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    z-index: 100000;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    overflow: hidden;
    /* Keep scrollbar inside radius */
}

.legal-modal.active .legal-modal-container {
    transform: translateY(0);
}

.legal-modal-content {
    max-height: 85vh;
    overflow-y: auto;
    padding: 4rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    background: var(--bg-body);
    color: var(--text-main);
}

/* Custom scrollbar for webkit - positioned inside the modal */
.legal-modal-content::-webkit-scrollbar {
    width: 10px;
}

.legal-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 20px 20px 0;
}

.legal-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.legal-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2010;
    line-height: 1;
    padding: 0;
}

.legal-modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

#legal-content-inner h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 800;
    padding-right: 3rem;
    /* Avoid overlapping the X button */
}

#legal-content-inner h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

#legal-content-inner p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

#legal-content-inner ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

#legal-content-inner li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    position: relative;
    list-style: none;
    padding-left: 1.5rem;
}

#legal-content-inner li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

@media (max-width: 768px) {
    .legal-modal-content {
        padding: 2.5rem 1.5rem;
    }

    #legal-content-inner h1 {
        font-size: 2rem;
    }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(15px);
    justify-content: center;
    align-items: flex-start;
    /* Start from top to allow scrolling */
    overflow-y: auto;
    padding: 4rem 1rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 900px;
    /* Limit width */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    /* Center if content is smaller than screen */
}

.lightbox-content img {
    max-width: 100%;
    max-height: 60vh;
    /* Shrunk image as requested */
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--pill-border);
}

.lightbox-caption {
    margin-top: 1.5rem;
    color: white;
    text-align: center;
    width: 100%;
    padding: 1.5rem 2.5rem;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid var(--pill-border);
    box-shadow: var(--shadow);
}

.lightbox-caption h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.lightbox-caption p {
    color: #94A3B8;
    /* Fixed grey for dark overlay */
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: white;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 40px;
}

.lightbox-nav.next {
    right: 40px;
}

@media (max-width: 768px) {
    .lightbox-content img {
        max-height: 60vh;
        max-width: 95vw;
    }

    .lightbox-caption {
        padding: 1rem;
        margin-top: 1rem;
    }

    .lightbox-caption h3 {
        font-size: 1.1rem;
    }

    .lightbox-caption p {
        font-size: 0.85rem;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        background: var(--primary) !important;
        color: white !important;
        opacity: 1 !important;
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
    }
}

/* Window Service Standalone Section */
.window-service {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, transparent, rgba(255, 107, 0, 0.03), transparent);
}

.window-service-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.window-service-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.window-service-content p {
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.window-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.w-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.w-feature i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 5px;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.w-feature h4 {
    color: var(--text-main);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.w-feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.window-service-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.window-video {
    width: 400px;
    height: 400px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    animation: float 5s infinite ease-in-out;
    animation-delay: 1.2s;
    /* Start floating after fade-in */
    backface-visibility: hidden;
    transform: translateZ(0);
}

@media (max-width: 1024px) {
    .window-service-container {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        text-align: center;
    }

    .window-service-visual {
        display: none;
    }

    .window-features {
        text-align: left;
    }
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    color: var(--primary);
    /* Keep primary color for heading */
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.lightbox-caption p {
    color: var(--text-white);
    /* Lightbox stays dark as it is a modal overlay */
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: white;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    opacity: 0.8;
    z-index: 1010;
    /* Ensure above overlay */
}

.lightbox-nav:hover {
    opacity: 1;
    background: white;
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

.lightbox-nav.prev {
    left: 40px;
}

.lightbox-nav.next {
    right: 40px;
}

@media (max-width: 768px) {
    .lightbox-content img {
        max-height: 60vh;
        max-width: 95vw;
    }

    .lightbox-caption {
        background: rgba(15, 23, 42, 0.9);
        padding: 1rem;
        margin-top: 1rem;
    }

    .lightbox-caption h3 {
        font-size: 1.1rem;
    }

    .lightbox-caption p {
        font-size: 0.85rem;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        background: var(--primary) !important;
        color: white !important;
        opacity: 1 !important;
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
    }
}

/* Window Service Standalone Section */
.window-service {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, transparent, rgba(255, 107, 0, 0.03), transparent);
}

.window-service-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.window-service-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.window-service-content p {
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.window-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.w-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.w-feature i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 5px;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.w-feature h4 {
    color: var(--text-main);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.w-feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.window-service-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.window-video {
    width: 400px;
    height: 400px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    animation: float 5s infinite ease-in-out;
    animation-delay: 1.2s;
    /* Start floating after fade-in */
    backface-visibility: hidden;
    transform: translateZ(0);
}

@media (max-width: 1024px) {
    .window-service-container {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        text-align: center;
    }

    .window-service-visual {
        display: none;
    }

    .window-features {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .window-features {
        grid-template-columns: 1fr;
    }
}

/* --- CHATBOT STYLES --- */
:root {
    --chat-primary: #FF6B00;
    --chat-bg: #fff;
    --chat-header-bg: #0F172A;
    --chat-body-bg: #f8f9fa;
    --chat-text-on-primary: #fff;
}

.chat-tooltip {
    position: absolute;
    top: 50%;
    right: 85px;
    transform: translateY(-50%) translateX(20px);
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: #000;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0) scale(1);
}

.chat-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 2px;
}

.chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #FF6B00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: chat-float 3s ease-in-out infinite, chat-attention 8s infinite;
}

@keyframes chat-float {

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

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

@keyframes chat-attention {

    0%,
    90%,
    100% {
        transform: rotate(0) scale(1);
    }

    92% {
        transform: rotate(-10deg) scale(1.1);
    }

    94% {
        transform: rotate(10deg) scale(1.1);
    }

    96% {
        transform: rotate(-10deg) scale(1.1);
    }

    98% {
        transform: rotate(0) scale(1.1);
    }
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-toggle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chat-toggle-status {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 13px;
    height: 13px;
    background: #22c55e;
    border: 2px solid #FF6B00;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    animation: status-pulse 2s infinite;
}

/* User Icon Animation */
.user-icon-pulse {
    animation: user-breathing 3s infinite ease-in-out;
}

@keyframes user-breathing {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(255, 107, 0, 0));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.5));
    }
}

@keyframes status-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.chat-toggle-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.msg-time {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 5px;
    display: block;
}

/* Reward Badge Styles - Floating (Chatbot size) */


/* Contest Card (Top Right) */
.contest-card {
    position: fixed;
    right: 30px;
    top: 125px;
    width: 328px;
    background: var(--pill-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    display: flex;
    overflow: visible;
    z-index: 10002;
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--pill-border);
}

body.light-mode .contest-card.theme-aware {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.light-mode .contest-card.theme-aware .contest-card-label {
    color: var(--text-muted);
}

body.light-mode .contest-card.theme-aware h3 {
    color: var(--text-main);
}

body.light-mode .contest-card.theme-aware .contest-card-close {
    color: var(--text-main);
    opacity: 0.5;
}

body.light-mode .contest-card.theme-aware .contest-card-close:hover {
    color: #ef4444;
    opacity: 1;
}

body.scrolled .contest-card {
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px) scale(0.9);
}

.contest-card-side {
    width: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #e66000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    position: relative;
    overflow: hidden;
}

.contest-card-side::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.contest-card-side i {
    font-size: 2.2rem;
    color: white;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.contest-card-body {
    flex: 1;
    padding: 22px 20px 18px 22px;
    position: relative;
    text-align: left;
}

.contest-card-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    box-shadow: 0 8px 16px rgba(255, 107, 0, 0.4);
    letter-spacing: 1px;
    animation: contest-pulse 2s infinite ease-in-out;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes contest-pulse {

    0%,
    100% {
        transform: scale(1);
        background: var(--primary);
        box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
    }

    50% {
        transform: scale(1.1);
        background: #ff4d00;
        color: white;
        box-shadow: 0 0 25px rgba(255, 77, 0, 0.7);
    }
}

.contest-card-label {
    display: inline-block;
    background: rgba(255, 107, 0, 0.15);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2px;
    margin-left: -8px;
    letter-spacing: 0.5px;
}

.contest-card-body h3 {
    color: white;
    margin: 6px 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.contest-card-body p {
    color: var(--text-muted);
    margin: 0 0 12px 0;
    font-size: 0.8rem;
    line-height: 1.5;
    font-weight: 500;
}

.contest-card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.contest-card-link:hover {
    gap: 12px;
    color: white;
}

body.light-mode .contest-card.theme-aware .contest-card-link:hover {
    color: var(--primary-light);
}

.contest-card-close {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    background: none;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
}

.contest-card-close:hover {
    color: #ef4444;
}

@media (max-width: 768px) {
    .contest-card {
        display: none !important;
    }
}

@keyframes rewardIconPulse {

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

    50% {
        transform: scale(1.15);
    }
}

@media (max-width: 768px) {
    .gift-badge-circle {
        width: 70px;
        height: 70px;
    }

    .gift-badge-tag {
        font-size: 0.7rem;
        padding: 6px 16px;
        margin-bottom: -15px;
    }

}

/* Integrated Navigation Theme Toggle */
.theme-toggle-wrapper-nav {
    display: flex;
    align-items: center;
    border: none !important;
}

.track-icon-nav {
    font-size: 0.7rem;
    color: #94A3B8;
    opacity: 0.3;
}

.neumorphic-track-nav {
    width: 60px;
    height: 28px;
    background: #f1f5f9;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05),
        inset -2px -2px 5px rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.neumorphic-knob-nav {
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.8rem;
}

/* Dark Mode Overrides for Nav Toggle */
body.dark-mode .neumorphic-track-nav {
    background: #1e293b;
    box-shadow: inset 4px 4px 8px #0f172a,
        inset -1px -1px 4px rgba(255, 255, 255, 0.05);
}

body.dark-mode .neumorphic-knob-nav {
    left: calc(100% - 25px);
    background: var(--primary);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.4);
    color: white;
}

body.dark-mode .track-icon-nav.moon {
    opacity: 1;
    color: var(--primary);
}

body.light-mode .track-icon-nav.sun {
    opacity: 1;
    color: var(--primary);
}

/* Removed border-left override */

/* PREMIOVE ANIMACIE PRE IKONY (Bonus, Kariera, Služby) */
@keyframes wobbleIcon {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg) scale(1.1); }
    50% { transform: rotate(10deg) scale(1.1); }
    75% { transform: rotate(-5deg) scale(1.1); }
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Standardne premeny a zarovnanie ikony */
.group .w-14 i,
.group .w-16 i,
.group .w-10 i,
.card-icon-wrapper i {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    transform-origin: center;
}

/* Gift - Skakanie */
.group:hover .w-16 .fa-gift {
    transform: translateY(-5px) scale(1.15) rotate(10deg);
}

/* Rocket - Priprava na start */
.group:hover .w-16 .fa-rocket {
    transform: translateY(-8px) translateX(6px) scale(1.2);
    color: white;
}

/* Handshake - Trasenie / kyvanie */
.group:hover .w-16 .fa-handshake,
.group:hover .w-14 .fa-handshake {
    animation: wobbleIcon 0.8s ease-in-out infinite;
}

/* Star - Ziarive tancovanie */
.group:hover .w-16 .fa-star {
    transform: scale(1.2) rotate(180deg);
    color: #ffd700;
}

/* Dalsie ikony v naboroch (Kariera) */
.group:hover .w-14 .fa-crown {
    transform: translateY(-6px) scale(1.15);
    color: #fca5a5;
}

.group:hover .w-14 .fa-wallet {
    transform: scale(1.2) translateY(-2px);
    color: #fdba74;
}

.group:hover .w-14 .fa-screwdriver-wrench {
    transform: rotate(45deg) scale(1.2);
    color: #6ee7b7;
}

/* Trust Card Animations (ikony pod hľadaním) */
.trust-card i {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.trust-card:hover i {
    transform: scale(1.2) rotate(360deg);
}

/* Preco My ikony (why-us) */
.why-card i {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}
.why-card:hover i.fa-hammer {
    transform: rotate(30deg) scale(1.2) translateY(-4px);
    color: white !important;
}
.why-card:hover i.fa-file-invoice-dollar {
    transform: translateY(-5px) scale(1.15);
    color: #4ade80 !important;
}
.why-card:hover i.fa-broom {
    transform: translateX(5px) rotate(-15deg) scale(1.15);
    color: white !important;
}
.why-card:hover i.fa-comments {
    animation: wobbleIcon 0.8s ease-in-out infinite;
    color: #60a5fa !important;
}

/* Service Card Icons */
.service-card i {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    transform-origin: center;
}
.service-card:hover i {
    transform: translateY(-8px) scale(1.2);
}
.service-card.susedska:hover i {
    transform: scale(1.2) !important;
    animation: pulseIcon 1.5s infinite ease-in-out;
}

/* Custom Trust Section Icon Animations */
.group:hover .card-icon-wrapper .fa-shield-halved {
    transform: translateY(-8px) scale(1.15);
}

.group:hover .card-icon-wrapper .fa-handshake-angle {
    animation: wobbleIcon 0.8s ease-in-out infinite;
}