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

@media (max-width: 767px) {
    label.hamburger > input {
        display: block !important;
    }
}

:root {
    --color-body: #cfcfcf;
    --color-text: #181d27;
    --color-accent: #181d27;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --header-height: 80px;
    --primary-bg: #cfcfcf;
    --text-white: #181d27;
    --social-glow-rgb: 0, 0, 0;
    --social-glow-alpha: 0.86;
    --social-glow-blur: 18px;
    --sidebar-bg: #c3c3c3;
    --divider: rgba(0, 0, 0, 0.1);
    --secondary-bg: #cfcfcf;
    --text-gray: #555555;
    --accent-color: #181d27;
    --watermark-ink: color-mix(in srgb, var(--text-white) 8%, transparent);
    --watermark-opacity: 0.85;
}

@media (max-width: 767px) {
    :root {
        --header-height: 68px;
    }
}

html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

html.lang-restoring,
html.lang-restoring body {
    visibility: hidden;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-bg);
    color: #181d27;
    line-height: 1.6;
    overflow-x: hidden;
    overscroll-behavior: none;
    --smooth-scroll-fade: 1;
}

body.is-smooth-scrolling {
    opacity: var(--smooth-scroll-fade);
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background-color: color-mix(in srgb, var(--sidebar-bg) var(--header-bg-opacity, 0%), transparent);
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    isolation: isolate;
}

.header.nav-open {
    height: 100vh;
    align-items: flex-start;
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(0, 0, 0, 0.04), transparent 70%),
        repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.028) 0 1px, transparent 1px 10px);
    opacity: var(--header-texture-opacity, 0);
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.header.scrolled {
    border-bottom: 1px solid var(--divider);
    --header-bg-opacity: 100%;
    --header-texture-opacity: 0.85;
}

.header.scrolled::before {
    opacity: var(--header-texture-opacity, 0.85);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    z-index: 1002;
    position: relative;
    display: flex;
    align-items: center;
    opacity: 0;
}

html.is-loaded .logo {
    animation: fadeInDown 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 200ms;
    animation-fill-mode: forwards;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    height: 100%;
    align-items: center;
}

@media (min-width: 768px) {
    .nav.open {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-body);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        animation: fadeIn 0.3s ease;
    }
}

.nav.open .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.nav.open .nav-link {
    font-size: 1.5rem;
    opacity: 1;
}

.nav.open .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background-color: transparent;
    border: none;
    padding: 1rem 0 0 1rem;
    margin-top: 1rem;
}

.nav.open .dropdown-link {
    font-size: 1.2rem;
    padding: 0.5rem 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 100%;
    margin: 0;
}

.nav-list > li {
    display: flex;
    align-items: center;
    height: 100%;
    opacity: 0;
}

html.is-loaded .nav-list > li {
    animation: fadeInDown 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-fill-mode: forwards;
}

html.is-loaded .nav-list > li:nth-child(1) { animation-delay: 300ms; }
html.is-loaded .nav-list > li:nth-child(2) { animation-delay: 380ms; }
html.is-loaded .nav-list > li:nth-child(3) { animation-delay: 460ms; }
html.is-loaded .nav-list > li:nth-child(4) { animation-delay: 540ms; }

.nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
    position: relative;
    display: flex;
    align-items: center;
    height: auto;
    padding: 0;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(168, 140, 93, 0.9) 50%, transparent 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
    opacity: 0.9;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(207, 207, 207, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 1rem;
    min-width: 250px;
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Mobile submenu styles */
.dropdown-toggle-btn {
    display: none;
}

@media (max-width: 767px) {
    .nav-item-dropdown {
        position: relative;
        display: block;
    }
    
    .nav-item-dropdown > .nav-link {
        display: inline-block;
        width: auto;
    }
    
    .dropdown-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.05);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        margin-left: 0.5rem;
        vertical-align: middle;
        flex-shrink: 0;
    }
    
    .dropdown-toggle-btn:hover {
        background: rgba(0, 0, 0, 0.1);
    }
    
    .dropdown-toggle-btn svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        transition: transform 0.2s ease;
    }
    
    .nav-item-dropdown.submenu-open .dropdown-toggle-btn svg {
        transform: rotate(180deg);
    }
    
    .nav-item-dropdown .dropdown-menu {
        display: block;
        position: static;
        transform: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding: 0;
        margin: 0;
        border: none;
        background: transparent;
        transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease;
    }
    
    .nav-item-dropdown.submenu-open .dropdown-menu {
        max-height: 500px;
        opacity: 1;
        padding: 0.5rem 0 0.5rem 1rem;
    }
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-gray);
    opacity: 0.8;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-link:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-white);
}

.dropdown-link {
    position: relative;
}

.dropdown-link::after {
    display: none;
}

.dropdown-link:hover::after {
    transform: none;
}

.dropdown-link .btn-letter-anim {
    position: relative;
    display: inline-flex;
    width: fit-content;
}

.dropdown-link .btn-letter-anim::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.dropdown-link:hover .btn-letter-anim::after {
    transform: scaleX(1);
}

button.learn-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    width: fit-content;
    max-width: 100%;
    height: auto;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #181d27;
    border-radius: 1.625rem;
}

button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-bg);
}

button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: 50%;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid var(--primary-bg);
    border-right: 0.125rem solid var(--primary-bg);
    transform: translateY(-50%) rotate(45deg);
}

button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    padding: 0.75rem 1.6rem;
    padding-left: 4.0rem;
    margin: 0;
    color: #181d27;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.services-content button.learn-more .button-text {
    color: #181d27;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

button.learn-more:hover .circle {
    width: 100%;
    background: #181d27;
}

button.learn-more:hover .circle .icon.arrow {
    background: var(--primary-bg);
    transform: translate(1rem, -50%);
}

button.learn-more:hover .button-text {
    color: var(--primary-bg);
}

.hero-cta button.learn-more .button-text {
    color: var(--primary-bg);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.mobile-menu-btn.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1002;
    position: relative;
    opacity: 0;
}

html.is-loaded .header-actions {
    animation: fadeInDown 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 620ms;
    animation-fill-mode: forwards;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
}

.lang-toggle.lang-toggle-floating {
    position: fixed;
    right: 16px;
    top: 16px;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.lang-toggle-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.lang-toggle-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.04);
}

.lang-toggle-btn.active {
    opacity: 1;
    background: rgba(0, 0, 0, 0.08);
}

/* Hamburger Button (from uci-iz-koda) */
.hamburger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    z-index: 1002;
}

@media (max-width: 767px) {
    .container {
        padding: 0 1.25rem;
    }

    .about-title,
    .services-title {
        font-size: 2.15rem;
    }

    .about-stats .stat-number,
    .services-stats .stat-number {
        font-size: clamp(2.05rem, 9vw, 3.05rem);
    }

    .about-stats .stat-label,
    .services-stats .stat-label {
        font-size: 0.72rem;
        letter-spacing: 0.16em;
    }

    .services-content > button.learn-more .button-text,
    .about-section:not(.about-page-main) .about-content > button.learn-more .button-text {
        font-size: 0.68rem;
        padding: 0.58rem 0.95rem 0.58rem 3.25rem;
    }

    .services-content > button.learn-more .circle,
    .about-section:not(.about-page-main) .about-content > button.learn-more .circle {
        width: 2.3rem;
        height: 2.3rem;
    }

    .header,
    .header.nav-open {
        height: var(--header-height);
        min-height: var(--header-height);
        align-items: center;
        overflow: visible;
        transition: height 0.38s ease, background-color 0.3s ease;
    }

    .header.nav-open::before {
        opacity: 1;
    }

    .header-container,
    .header.nav-open .header-container {
        align-items: center;
        min-height: var(--header-height);
    }

    .header-actions {
        gap: 0.25rem;
        justify-content: flex-end;
        margin-right: 0;
        position: relative;
        z-index: 1003;
    }

    .header-actions .lang-toggle {
        display: none;
    }

    .hamburger {
        width: 64px;
        height: 64px;
        border-radius: 0;
        border: none !important;
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        outline: none !important;
        padding: 0 !important;
        -webkit-tap-highlight-color: transparent;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
        z-index: 1010;
        cursor: pointer;
        pointer-events: auto;
    }

    .hamburger input {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 1011;
        margin: 0;
    }

    .hamburger svg {
        height: 3em;
        transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
        overflow: visible;
        pointer-events: none;
    }

    .hamburger input:checked + svg {
        transform: rotate(-45deg) !important;
    }

    .hamburger .line {
        fill: none;
        stroke: white;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 3;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hamburger .line-top-bottom {
        stroke-dasharray: 12 63;
    }

    .hamburger input:checked + svg .line-top-bottom {
        stroke-dasharray: 20 300;
        stroke-dashoffset: -32.42;
    }

    .nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        padding: calc(var(--header-height) + 2rem) 1.25rem 2.5rem;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        background: var(--primary-bg);
        opacity: 1;
        visibility: hidden;
        pointer-events: none;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.45s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.45s;
        z-index: 990;
        border: none;
        box-shadow: none;
    }

    .nav.open {
        visibility: visible;
        pointer-events: auto;
        clip-path: inset(0 0 0 0);
    }

    .nav .nav-list {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 560px !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        gap: 1.15rem !important;
        align-items: flex-start !important;
    }

    .nav .nav-link {
        font-size: 1.42rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.01em !important;
        opacity: 0.92 !important;
        padding: 0.16rem 0 !important;
    }

    .nav .nav-list > li.mobile-nav-contact button.learn-more .button-text {
        font-size: 1.42rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.01em !important;
        line-height: 1.2 !important;
        text-transform: none !important;
        color: var(--color-text) !important;
    }

    .nav .nav-list > li {
        width: 100%;
        height: auto;
    }

    .nav .dropdown-menu {
        padding: 0.65rem 0 0 0;
        margin-top: 0.35rem;
    }

    .nav .dropdown-link {
        font-size: 1.05rem;
        padding: 0.42rem 0;
        opacity: 0.9;
    }

    .nav .nav-list > li.mobile-nav-contact {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        margin-top: 0.15rem;
    }

    .nav .nav-list > li.mobile-nav-contact button.learn-more {
        margin-top: 0;
        align-self: flex-start;
        display: inline-flex;
        justify-content: flex-start;
        width: fit-content;
        max-width: 100%;
        transform: scale(1);
    }

    .nav .nav-list > li.mobile-nav-contact button.learn-more .circle {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav .nav-list > li.mobile-nav-contact button.learn-more .button-text {
        position: relative;
        padding: 0.75rem 1.6rem;
        padding-left: 3.7rem;
        line-height: 1.25;
        white-space: nowrap;
    }

    .nav .lang-toggle {
        margin-top: 0;
        justify-content: center;
    }

    .nav .nav-list > li.mobile-nav-actions {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        padding-top: 1.2rem;
        border-top: 1px solid rgba(0, 0, 0, 0.12);
        margin-top: 1rem;
    }

    .nav .nav-list > li.mobile-nav-actions .lang-toggle {
        display: inline-flex;
        justify-content: center;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hamburger svg {
        width: 40px;
        height: 40px;
    }

    .hamburger:active,
    .hamburger:focus,
    .hamburger:focus-visible {
        outline: none !important;
        box-shadow: none !important;
        border-color: transparent !important;
        background: transparent !important;
    }
}

.hamburger:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .hamburger input {
        display: none !important;
    }

    .hamburger svg {
        height: 26px;
        width: 26px;
        transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hamburger .line {
        stroke: var(--color-text);
    }
}

.hamburger .line {
    fill: none;
    stroke: var(--color-text);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.92;
}

.hamburger .line-top-bottom {
    stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
    transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

.hero-scroll-wrapper {
    height: 200vh;
    position: relative;
}

.hero-sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text-content {
    position: absolute;
    bottom: 2rem;
    left: 0;
    transform: none;
    width: 100%;
    z-index: 20;
    padding: 0 2.5%;
    opacity: 1;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    will-change: transform, opacity;
}

.hero-text-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.hero-text-inner > div:first-child {
    flex: 1;
    max-width: none;
}

.hero-cta {
    flex: 0 0 auto;
    position: relative;
}

.hero-cta button.learn-more {
    position: relative;
    isolation: isolate;
    border-radius: 999px;
    background-color: rgba(244, 246, 251, 0.32);
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
}

.hero-cta button.learn-more .button-text {
    position: relative;
}

.hero-cta button.learn-more .button-text::before {
    content: none;
}

.hero-cta button.learn-more::before {
    content: none;
}

@media (max-width: 767px) {
    .hero-cta button.learn-more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        max-width: 92vw;
    }

    .hero-cta button.learn-more::before {
        content: none;
    }

    .hero-cta button.learn-more .circle {
        width: 2.75rem;
        height: 2.75rem;
    }

    .hero-cta button.learn-more .button-text {
        width: auto;
        padding: 0.9rem 1.35rem 0.9rem 4.05rem;
        letter-spacing: 0.7px;
        font-size: 0.91rem;
        line-height: 1.1;
        white-space: nowrap;
        overflow: visible;
    }

    .subtitle {
        font-size: 0.98rem;
        margin-bottom: 1rem;
    }
}

.hero-cta button.learn-more .circle {
    background: #181d27;
}

.hero-cta button.learn-more .button-text {
    color: #f4f6fb;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-cta button.learn-more:hover .circle {
    background: #181d27;
}

.hero-cta button.learn-more:hover .button-text {
    color: #f4f6fb;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-bg) 0%, var(--primary-bg) 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    margin-bottom: 0;
    opacity: 0.6;
}

.hero-text-content .subtitle,
.hero-text-content .title,
.hero-text-content .hero-cta {
    opacity: 0;
    transform: translateY(12px);
    will-change: transform, opacity;
}

html.is-loaded .hero-text-content .subtitle {
    animation: heroFadeUp 900ms ease forwards 160ms;
}

html.is-loaded .hero-text-content .title {
    animation: heroFadeUp 950ms ease forwards 300ms;
}

html.is-loaded .hero-text-content .hero-cta {
    animation: heroFadeUp 950ms ease forwards 520ms;
}

html.is-loaded .hero-text-content .hero-divider {
    animation: heroLineDraw 1100ms ease forwards 640ms;
}

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

@keyframes heroLineDraw {
    from { background-size: 0% 100%; }
    to { background-size: 100% 100%; }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-60px) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(60px) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInScaleCenter {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll-triggered animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Ensure image panels keep their styling during animation */
.about-image.main-image.scroll-animate-left {
    background: rgba(243, 247, 255, 0.06);
    padding: 10px;
    border-radius: 18px;
}

.about-image.main-image.scroll-animate-left.animate-in {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.services-image.main-image.scroll-animate-left {
    background: rgba(243, 247, 255, 0.06);
    padding: 10px;
    border-radius: 18px;
}

.services-image.main-image.scroll-animate-left.animate-in {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

@media (prefers-reduced-motion: reduce) {
    .hero-text-content .subtitle,
    .hero-text-content .title,
    .hero-text-content .hero-cta {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hero-text-content .hero-divider {
        background-size: 100% 100%;
        animation: none;
    }

    .scroll-animate,
    .scroll-animate-left,
    .scroll-animate-right,
    .scroll-animate-scale {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .gallery-card,
    .left-card,
    .right-card,
    .center-card,
    .logo,
    .nav-list > li,
    .header-actions {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

@media (max-width: 767px) {
    .hero-text-content {
        bottom: 1.5rem;
        padding: 0 6%;
        align-items: center;
        text-align: center;
    }

    .hero-text-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .hero-text-inner > div:first-child {
        width: 100%;
        max-width: 520px;
    }

    .hero-cta {
        align-self: center;
    }

    .title {
        font-size: 2.2rem;
        line-height: 1.12;
    }

    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.9rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.85rem;
    }
}

.subtitle {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    color: var(--primary-bg);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 6px 22px rgba(0, 0, 0, 0.45);
}

.title {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: -0.03em;
    color: var(--primary-bg);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.62), 0 10px 34px rgba(0, 0, 0, 0.5);
}

.hero-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.gallery-card {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    opacity: 0;
    will-change: transform, opacity;
}

html.is-loaded .gallery-card {
    opacity: 1;
}

.gallery-card picture,
.gallery-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-card picture {
    opacity: 0;
}

html.is-loaded .gallery-card picture {
    animation: fadeIn 1000ms ease forwards 200ms;
}

.center-card {
    z-index: 10;
    position: absolute;
    top: var(--header-height);
    left: 50%;
    transform: translateX(-50%);
    width: 96vw;
    height: calc(98vh - var(--header-height));
    opacity: 0;
}

.center-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.46) 58%, rgba(0, 0, 0, 0.22) 100%),
        radial-gradient(120% 90% at 0% 100%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 62%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html.is-loaded .center-card .overlay {
    opacity: 0.75;
}

.center-card .hero-text-content {
    z-index: 2;
}

.left-card, .right-card {
    z-index: 5;
    width: 25vw;
    height: 60vh;
    top: 50%;
    transform: translateY(-50%);
}

.left-card {
    left: -30%;
}

html.is-loaded .left-card {
    animation: slideInFromLeft 1000ms cubic-bezier(0.16, 1, 0.3, 1) forwards 100ms;
}

.right-card {
    right: -30%;
}

html.is-loaded .right-card {
    animation: slideInFromRight 1000ms cubic-bezier(0.16, 1, 0.3, 1) forwards 100ms;
}

html.is-loaded .center-card {
    animation: fadeInScaleCenter 1200ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.content-section {
    background-color: var(--primary-bg);
    padding: 4rem 0;
    position: relative;
    z-index: 20;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 800px;
    line-height: 1.8;
}

#kontakt {
    height: auto;
    min-height: auto;
    align-items: stretch;
    justify-content: stretch;
    background: var(--sidebar-bg);
    position: relative;
    overflow: hidden;
}

#kontakt::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(80px, 16vh, 180px);
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(
        to top,
        var(--sidebar-bg) 0%,
        color-mix(in srgb, var(--sidebar-bg) 96%, transparent) 14%,
        color-mix(in srgb, var(--sidebar-bg) 88%, transparent) 30%,
        color-mix(in srgb, var(--sidebar-bg) 72%, transparent) 48%,
        color-mix(in srgb, var(--sidebar-bg) 46%, transparent) 66%,
        color-mix(in srgb, var(--sidebar-bg) 22%, transparent) 82%,
        transparent 100%
    );
}

.contact-shell {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(12px, 1.6vh, 18px);
    padding: clamp(14px, 2.1vh, 24px) clamp(18px, 2.8vw, 40px);
    position: relative;
    z-index: 1;
}

.contact-panels {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(12px, 1.6vw, 20px);
    align-items: stretch;
}

.contact-panel {
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: clamp(14px, 1.9vh, 22px) clamp(16px, 2vw, 30px);
    min-height: clamp(120px, 16vh, 170px);
    overflow: visible;
}

.contact-panel-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(10px, 1.4vh, 16px);
}

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

.contact-left {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 2.2rem;
    column-gap: 2rem;
    align-items: start;
}

.contact-col-full {
    grid-column: 1 / -1;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.contact-details-list,
.contact-details-list p,
.contact-info-col,
.contact-info-col p {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 768px) {
    .contact-shell {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: visible;
    }

    .contact-panel {
        max-width: 100%;
        overflow: visible;
        min-height: auto;
        height: auto;
    }
    
    .contact-panel-info {
        overflow: visible;
        height: auto;
    }

    .contact-left {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 1.75rem;
    }

    .contact-info-block-right {
        text-align: left;
    }
}

.mt-3 {
    margin-top: 1rem;
}

.gdpr-links {
    margin-top: 0.5rem;
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gdpr-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    position: relative;
}

.gdpr-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--text-white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.gdpr-links a:hover {
    color: var(--text-white);
}

.gdpr-links a:hover::after {
    transform: scaleX(1);
}

.gdpr-links a:hover .btn-letter-inner {
    transform: translateY(-100%);
}

.developed-i.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.developed-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-developed-logo {
    height: 80px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}

.contact-developed-logo:hover {
    opacity: 0.8;
}

.contact-info-label {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.contact-company-name {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.detail-label {
    font-weight: 600;
    color: var(--text-gray);
}

.contact-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--text-white);
}

.support-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(14px, 1.8vw, 24px);
    align-items: start;
}

.contact-info-text {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.32;
    margin: 0;
}

.contact-info-block-right {
    text-align: right;
}

.contact-developed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0;
}

.contact-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-social-label {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(24, 29, 39, 0.1);
    color: #181d27;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #181d27;
    color: var(--primary-bg);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.contact-developed-label {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

.contact-wordmark {
    width: 100%;
    margin-top: clamp(12px, 1.8vh, 20px);
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: -1.5px;
    line-height: 0.86;
    font-size: clamp(24px, 10vw, 120px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

/* --- Services Premium Section (Homepage) --- */
.services-overview-section {
    background-color: var(--primary-bg);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: visible;
    --services-images-shift: 18px;
}

.services-page-main {
    padding-top: 0;
}

.services-page-main.services-overview-section {
    min-height: calc(100vh - var(--header-height));
    padding: 4rem 0;
    margin-top: 0;
}

/* Services page hero animations - triggered after loading screen */
.services-page-main .services-image-wrapper {
    opacity: 0;
}

html.is-loaded .services-page-main .services-image-wrapper {
    animation: fadeIn 1000ms ease forwards 400ms;
}

.services-page-main .services-subtitle {
    opacity: 0;
}

html.is-loaded .services-page-main .services-subtitle {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 500ms;
}

.services-page-main .services-title {
    opacity: 0;
}

html.is-loaded .services-page-main .services-title {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 600ms;
}

.services-page-main .services-text {
    opacity: 0;
}

html.is-loaded .services-page-main .services-text {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 700ms;
}

.services-page-main .services-stats {
    opacity: 0;
}

html.is-loaded .services-page-main .services-stats {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 800ms;
}

.services-page-main .services-content > button.learn-more {
    opacity: 0;
}

html.is-loaded .services-page-main .services-content > button.learn-more {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 900ms;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.services-content {
    padding-right: 3rem;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-subtitle {
    color: #181d27;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.services-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-text);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.services-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.services-text:last-of-type {
    margin-bottom: 2.5rem;
}

.services-stats {
    display: flex;
    gap: 6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 0;
    width: 100%;
}

.services-stats .stat-item {
    position: relative;
    padding-right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-stats .stat-item:last-child {
    padding-right: 0;
}

.services-stats .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 12px;
    right: -3rem;
    width: 1px;
    height: calc(100% - 18px);
    background: rgba(0, 0, 0, 0.12);
}

.services-stats .stat-number {
    font-size: 3.2rem;
    font-weight: 400;
}

.services-stats .stat-label {
    font-size: 0.8rem;
    letter-spacing: 2.4px;
}

.services-content > button.learn-more {
    align-self: flex-start;
    margin-top: 2.25rem;
    margin-bottom: 2rem;
}

.services-image-wrapper {
    position: relative;
    height: 70vh;
    min-height: 500px;
    width: 100%;
    transform: translateY(var(--services-images-shift));
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-image {
    position: absolute;
    overflow: hidden;
}

.services-image.main-image {
    top: 0;
    right: 0;
    width: 85%;
    height: 85%;
    bottom: auto;
    left: auto;
    margin: 0;
    margin-left: auto;
    display: block;
    background: rgba(243, 247, 255, 0.06);
    padding: 10px;
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
    will-change: transform, opacity;
    transform: translateZ(0);
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-image.secondary-image {
    bottom: -40%;
    top: auto;
    left: -24%;
    right: auto;
    width: 80%;
    height: auto;
    z-index: 3;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

/* --- Features Section (Why Choose Us) --- */
.features-section {
    background-color: var(--color-body);
    padding: 7rem 0;
    text-align: center;
    color: var(--color-text);
}

.features-header {
    margin-bottom: 3rem;
}

.features-subtitle {
    color: #181d27;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.features-title {
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--color-text);
    margin: 0;
    letter-spacing: -0.03em;
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.feature-icon {
    color: #181d27;
    width: 65px;
    height: 65px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: #181d27;
    stroke-width: 1.2px;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature-card-title {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.feature-card-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
    max-width: 90%;
}

.features-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 2rem 0;
}

@media (max-width: 991px) {
    .features-header {
        margin-bottom: 1.25rem;
    }

    .features-carousel-container {
        margin: 0.75rem 0 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .features-carousel-container .features-grid {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        display: block;
        position: relative;
        overflow: hidden;
        pointer-events: auto;
        min-height: 260px;
        order: 1;
        width: 100%;
    }

    .features-carousel-container .feature-card {
        position: absolute;
        left: 50%;
        top: 0;
        width: 100vw;
        min-width: 100vw;
        padding: 0;
        box-sizing: border-box;
        justify-content: center;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        transition: transform 0.25s ease-out, opacity 0.25s ease-out;
    }

    .features-carousel-container .feature-card > * {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Service detail page feature cards - NOT carousel */
    .service-features-grid .feature-card {
        position: static;
        width: 100%;
        min-width: auto;
        margin-bottom: 1.5rem;
    }

    .feature-icon {
        padding-top: 0;
        margin-bottom: 1.5rem;
        width: 70px;
        height: 70px;
    }

    .feature-card-desc {
        padding-bottom: 0;
        margin: 0;
    }

    .features-carousel-container .carousel-nav-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        order: 2;
        margin-top: 0.25rem;
        width: 100%;
    }

    .features-carousel-container .carousel-nav.prev,
    .features-carousel-container .carousel-nav.next {
        position: relative;
        display: inline-flex;
        touch-action: manipulation;
        pointer-events: auto;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        margin: 0;
    }
}


.feature-icon {
    margin-bottom: 1.5rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(24, 29, 39, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: 1px solid rgba(24, 29, 39, 0.1);
    color: #181d27;
    transition: all 0.15s ease;
    pointer-events: auto;
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
    display: block;
    stroke: currentColor;
}

.carousel-nav:hover {
    background: rgba(24, 29, 39, 0.15);
}

.carousel-nav.prev { left: 10px; }
.carousel-nav.next { right: 10px; }

@media (min-width: 992px) {
    .feature-card.clone {
        display: none !important;
    }

    .carousel-nav-wrapper {
        display: none;
    }

    .features-carousel-container {
        padding: 0;
        overflow: visible;
        margin: 0;
    }
    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
        transform: none !important;
    }
    .feature-card {
        flex: none;
        width: auto;
        opacity: 1 !important;
        visibility: visible !important;
        align-items: center;
        text-align: center;
        padding: 0;
    }
    .carousel-nav { display: none; }
}

/* --- About Us Section --- */
.about-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-bg);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .about-section:not(.about-page-main) {
        padding: 0 0 4rem;
    }
}

.about-page-main {
    padding-top: 8rem;
}

/* About page hero animations - triggered after loading screen */
.about-page-main .about-image-wrapper {
    opacity: 0;
}

html.is-loaded .about-page-main .about-image-wrapper {
    animation: fadeIn 1000ms ease forwards 400ms;
}

.about-page-main .about-subtitle {
    opacity: 0;
}

html.is-loaded .about-page-main .about-subtitle {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 500ms;
}

.about-page-main .about-title {
    opacity: 0;
}

html.is-loaded .about-page-main .about-title {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 600ms;
}

.about-page-main .about-text {
    opacity: 0;
}

html.is-loaded .about-page-main .about-text {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 700ms;
}

.about-page-main .about-services-list {
    opacity: 0;
}

html.is-loaded .about-page-main .about-services-list {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 800ms;
}

.about-page-main .learn-more {
    opacity: 0;
}

html.is-loaded .about-page-main .learn-more {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 900ms;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    padding-left: 3rem;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-subtitle {
    color: #181d27;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.about-title {
    font-size: 3rem; /* Smanjeno s 3.5rem da bi se uklopilo bolje uz padding */
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.about-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.about-text:last-of-type {
    margin-bottom: 2.5rem; /* Smanjeno s 3.5rem */
}

.about-section:not(.about-page-main) .about-stats {
    display: flex;
    gap: 4rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 0;
    width: 100%;
    justify-content: flex-end;
}

.about-stats .stat-item {
    position: relative;
    padding-right: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-stats .stat-item:last-child {
    padding-right: 0;
}

.about-stats .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 2rem;
    width: 1px;
    height: calc(100% - 18px);
    background: rgba(0, 0, 0, 0.12);
}

.about-section:not(.about-page-main) .about-content > button.learn-more {
    align-self: flex-end;
    margin-top: 2.25rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 4rem; /* Povećano s 3.5rem da se istakne statistika */
    font-weight: 400; /* Povećano s 300 da bude deblje/istaknutije */
    color: #181d27;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.about-stats .stat-number {
    font-size: 3.2rem;
    font-weight: 400;
}

.about-stats .stat-label {
    font-size: 0.8rem;
    letter-spacing: 2.4px;
}

.about-image-wrapper {
    position: relative;
    height: 70vh;
    min-height: 500px;
    width: 100%;
}

.about-image {
    position: absolute;
    overflow: hidden;
}

.about-image.main-image {
    top: 0;
    left: 0;
    width: 85%;
    height: 85%;
    z-index: 2;
    background: rgba(243, 247, 255, 0.06);
    padding: 10px;
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.about-image.secondary-image {
    bottom: -14%;
    right: -8%;
    width: 80%;
    height: auto;
    z-index: 3;
    border: none;
    box-shadow: none;
    background: transparent;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
        position: static;
        width: auto;
        height: 100%;
        background: transparent;
        animation: none;
        align-items: center;
    }

    .nav-list {
        flex-direction: row;
        gap: 2rem;
    }
    
    .mobile-menu-btn {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .logo-img {
        height: 64px;
    }
    
    .title {
        font-size: 5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-text-content {
        padding: 0 4rem;
        width: 75%;
        bottom: 8%;
        left: 0;
        transform: none;
    }

    .center-card {
        height: 80vh;
    }

    .content-section {
        padding: 6rem 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-description {
        font-size: 1.2rem;
    }

    .contact-panels {
        grid-template-columns: 1.35fr 0.65fr;
    }

    .contact-left {
        grid-template-columns: 1fr 1fr;
        column-gap: 4rem;
        row-gap: 4rem;
    }

    .developed-inline {
        justify-content: flex-end;
    }

    .contact-developed-logo {
        height: 95px;
    }

    .contact-wordmark {
        font-size: clamp(40px, 12vw, 160px);
        letter-spacing: -2.5px;
    }

    #kontakt::after {
        height: clamp(120px, 24vh, 260px);
    }
}

@media (max-width: 991px) {
    .about-page-main {
        padding-top: calc(var(--header-height) + 2rem);
    }

    /* About Page Mobile ONLY - Images below text, above horizontal line */
    .about-page-main .about-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0 1.5rem;
        box-sizing: border-box;
        gap: 0;
    }
    
    .about-page-main .about-content {
        display: contents;
    }
    
    .about-page-main .about-subtitle {
        order: 1;
        margin-top: 2rem;
        opacity: 0;
    }

    html.is-loaded .about-page-main .about-subtitle {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 500ms;
    }

    .about-page-main .about-title {
        order: 2;
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        opacity: 0;
    }

    html.is-loaded .about-page-main .about-title {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 600ms;
    }

    .about-page-main .about-text {
        order: 3;
        opacity: 0;
    }

    html.is-loaded .about-page-main .about-text {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 700ms;
    }

    .about-page-main .about-image-wrapper {
        order: 4;
        width: 100%;
        height: auto;
        min-height: 250px;
        margin: 1.5rem 0 3rem;
        position: relative;
        opacity: 0;
    }

    html.is-loaded .about-page-main .about-image-wrapper {
        animation: fadeIn 1000ms ease forwards 400ms;
    }

    .about-page-main .about-image.main-image {
        transform: translateY(-12%);
    }

    .about-page-main .about-image.secondary-image {
        transform: translateY(12%);
    }

    /* Homepage About Section Mobile - Match about.html layout */
    .about-section:not(.about-page-main) .about-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0 1.5rem;
        box-sizing: border-box;
        gap: 0;
    }
    
    .about-section:not(.about-page-main) .about-content {
        display: contents;
    }
    
    .about-section:not(.about-page-main) .about-subtitle {
        order: 1;
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-section:not(.about-page-main) .about-title {
        order: 2;
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .about-section:not(.about-page-main) .about-text {
        order: 3;
        margin-bottom: 1.2rem;
    }

    .about-section:not(.about-page-main) .about-text:last-of-type {
        margin-bottom: 2.5rem;
    }

    .about-section:not(.about-page-main) .about-stats {
        order: 4;
        width: 100%;
        justify-content: center;
        gap: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(0, 0, 0, 0.15);
        margin-bottom: 0;
    }

    .about-section:not(.about-page-main) .learn-more {
        order: 5;
        margin-top: 2.25rem;
        margin-bottom: 2rem;
        align-self: flex-start;
    }

    .about-section:not(.about-page-main) .about-image-wrapper {
        order: 6;
        width: 100%;
        height: auto;
        min-height: 250px;
        margin: 2rem 0 3rem;
        position: relative;
    }

    .about-section:not(.about-page-main) .about-image.main-image {
        transform: translateY(-12%);
    }

    .about-section:not(.about-page-main) .about-image.secondary-image {
        transform: translateY(12%);
    }

    .about-page-main .about-services-list {
        order: 4;
        width: 100%;
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        opacity: 0;
    }

    html.is-loaded .about-page-main .about-services-list {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 800ms;
    }

    .about-page-main .learn-more {
        order: 5;
        margin-top: 1rem;
        margin-bottom: 2rem;
        align-self: flex-start;
        opacity: 0;
    }

    html.is-loaded .about-page-main .learn-more {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 900ms;
    }

    .about-page-main .about-image-wrapper {
        order: 6;
        width: 100%;
        height: auto;
        min-height: 250px;
        margin: 2rem 0 3rem;
        position: relative;
        opacity: 0;
    }

    html.is-loaded .about-page-main .about-image-wrapper {
        animation: fadeIn 1000ms ease forwards 400ms;
    }

    .about-page-main .about-image.main-image {
        transform: translateY(-12%);
    }

    .about-page-main .about-image.secondary-image {
        transform: translateY(12%);
    }

    /* About Page Button - Match Desktop (prevent overlap) */
    .about-page-main .learn-more {
        display: inline-flex;
        align-items: center;
        height: auto;
        padding: 0;
        position: relative;
        background: transparent;
    }

    .about-page-main .learn-more {
        opacity: 0;
        animation: fadeInDown 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 700ms;
    }

    .about-page-main .learn-more .circle {
        width: 3rem;
        height: 3rem;
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        border-radius: 1.625rem;
        background: #181d27;
    }

    .about-page-main .learn-more .button-text {
        display: block;
        padding: 0.75rem 1.6rem 0.75rem 4rem;
        margin: 0;
        color: #181d27;
        font-weight: 700;
        line-height: 1.6;
        text-transform: uppercase;
        white-space: nowrap;
        font-size: 0.9rem;
    }
    /* Timeline Mobile Fixes */
    .timeline-section {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 4rem 0;
        overflow: hidden;
    }

    .timeline-container {
        padding: 0 1.5rem;
        box-sizing: border-box;
    }

    .timeline-progress-bg {
        left: 2rem !important;
        transform: none !important;
    }

    .timeline-row {
        flex-direction: column !important;
        padding-left: 3.5rem !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 2rem !important;
    }

    .timeline-content-half {
        width: 100% !important;
        text-align: left !important;
        padding: 0 !important;
    }

    .timeline-center {
        position: absolute !important;
        left: calc(1.5rem + 1px) !important;
        transform: translateX(-50%) !important;
    }

}

@media (max-width: 768px) {
    .services-overview-section {
        --services-images-shift: 10px;
    }

    .services-page-main.services-overview-section {
        padding: var(--header-height) 0 2rem;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .services-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0 1.5rem;
        box-sizing: border-box;
        gap: 0;
    }

    .services-content {
        order: 1;
        padding: 0;
        width: 100%;
        display: contents;
    }

    .services-page-main .services-subtitle {
        order: 1;
        margin-top: 0;
        text-align: center;
        opacity: 0;
    }

    html.is-loaded .services-page-main .services-subtitle {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 500ms;
    }

    .services-page-main .services-title {
        order: 2;
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
        text-align: center;
        opacity: 0;
    }

    html.is-loaded .services-page-main .services-title {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 600ms;
    }

    .services-page-main .services-text {
        order: 3;
        margin-bottom: 1.2rem;
        opacity: 0;
    }

    html.is-loaded .services-page-main .services-text {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 700ms;
    }

    .services-page-main .services-stats {
        order: 4;
        margin-top: 1rem;
        margin-bottom: 2rem;
        opacity: 0;
        padding-top: 2rem;
        border-top: 1px solid rgba(0, 0, 0, 0.15);
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        width: 100%;
    }

    html.is-loaded .services-page-main .services-stats {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 800ms;
    }

    .services-page-main .services-stats .stat-item {
        min-width: 0;
        padding: 0 1rem 0 0;
    }

    .services-page-main .services-stats .stat-item:last-child {
        padding: 0 0 0 1rem;
    }

    .services-page-main .services-stats .stat-item:not(:last-child)::after {
        right: 0;
        top: 0.15rem;
        height: calc(100% - 0.3rem);
    }

    .services-page-main .services-content > button.learn-more {
        order: 5;
        margin-top: 1rem;
        margin-bottom: 2rem;
        align-self: flex-start;
        display: inline-flex;
        align-items: center;
        height: auto;
        padding: 0;
        position: relative;
        background: transparent;
        opacity: 0;
    }

    html.is-loaded .services-page-main .services-content > button.learn-more {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 900ms;
    }

    .services-page-main .services-content > button.learn-more .circle {
        width: 3rem;
        height: 3rem;
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        border-radius: 1.625rem;
        background: #181d27;
    }

    .services-page-main .services-content > button.learn-more .button-text {
        display: block;
        padding: 0.75rem 1.6rem 0.75rem 4rem;
        margin: 0;
        color: #181d27;
        font-weight: 700;
        line-height: 1.6;
        text-transform: uppercase;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    .services-image-wrapper {
        order: 6;
        position: relative;
        height: auto;
        min-height: 250px;
        width: 100%;
        transform: none;
        margin: 2rem 0 3rem;
    }

    .services-image.main-image {
        position: relative;
        width: 85%;
        height: auto;
        bottom: auto;
        right: 0;
        left: auto;
        margin: 0;
        margin-left: auto;
        display: block;
        background: rgba(243, 247, 255, 0.06);
        padding: 10px;
        border-radius: 18px;
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
        transform: translateY(-12%);
    }

    .services-image.main-image img {
        height: auto;
        aspect-ratio: 4/3;
        border-radius: 12px;
    }

    .services-image.secondary-image {
        position: absolute;
        top: auto;
        bottom: -28%;
        left: -4%;
        right: auto;
        width: 42%;
        height: auto;
        z-index: 3;
        transform: translateY(22%);
    }

    .services-image.secondary-image img {
        height: auto;
        aspect-ratio: 1/1;
    }

    .services-list-section {
        padding: 4rem 0 2rem;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .services-list-section .container {
        padding: 0 1rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .services-overview-section {
        --services-images-shift: 8px;
    }

    .services-page-main.services-overview-section {
        padding: 0 0 2rem;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .services-container {
        padding: 0 1.5rem;
    }

    .services-content {
        padding: 0;
    }

    .services-page-main .services-subtitle {
        text-align: center;
        margin-top: 2rem;
    }

    .services-page-main .services-title {
        text-align: center;
    }

    .services-page-main .services-content > button.learn-more .circle {
        width: 3rem;
        height: 3rem;
    }

    .services-page-main .services-content > button.learn-more .button-text {
        font-size: 0.9rem;
        padding: 0.75rem 1.6rem 0.75rem 4rem;
    }

    .services-page-main .services-image-wrapper {
        min-height: 280px;
        margin-top: 2rem;
        position: relative;
        width: 100%;
        overflow: visible;
        opacity: 0;
    }

    html.is-loaded .services-page-main .services-image-wrapper {
        animation: fadeIn 1000ms ease forwards 400ms;
    }

    .services-image.main-image {
        position: relative;
        width: 85%;
        height: auto;
        bottom: auto;
        right: 0;
        left: auto;
        margin: 0;
        margin-left: auto;
        display: block;
        background: rgba(243, 247, 255, 0.06);
        padding: 10px;
        border-radius: 18px;
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
        transform: translateY(-12%);
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease-out;
    }

    .services-image.secondary-image {
        position: absolute;
        top: auto;
        bottom: -25%;
        left: -10%;
        right: auto;
        width: 70%;
        height: auto;
        z-index: 3;
        transform: none;
    }
}

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .features-section {
        padding: 3rem 0 4rem;
    }
    
    .features-title {
        font-size: 2.2rem;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .about-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .about-stats {
        display: flex;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding: 2rem 0 0;
        border-top: 1px solid rgba(0, 0, 0, 0.15);
        align-items: stretch;
    }

    .about-stats .stat-item {
        flex: 0 0 50%;
        width: 50%;
        min-width: 50%;
        padding: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .about-stats .stat-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 70%;
        background: rgba(0, 0, 0, 0.15);
    }

    .about-section:not(.about-page-main) .about-content > button.learn-more {
        align-self: flex-start;
        margin-top: 1.75rem;
    }

    .services-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        width: 100%;
        border-top: 1px solid rgba(0, 0, 0, 0.15);
        padding-top: 1.6rem;
    }

    .services-stats .stat-item {
        min-width: 0;
        padding: 0 1rem 0 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .services-stats .stat-item:last-child {
        padding: 0 0 0 1rem;
    }

    .services-stats .stat-item:not(:last-child)::after {
        right: 0;
        top: 0.15rem;
        height: calc(100% - 0.3rem);
    }

    .about-stats .stat-number,
    .services-stats .stat-number {
        font-size: clamp(2.8rem, 11vw, 4rem);
        line-height: 0.95;
        margin-bottom: 0.7rem;
    }

    .about-stats .stat-label,
    .services-stats .stat-label {
        font-size: 0.78rem;
        letter-spacing: 0.18em;
        line-height: 1.45;
        word-break: break-word;
    }

    .services-stats .stat-label {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .services-stats .stat-label span {
        display: block;
    }

    .services-content > button.learn-more,
    .about-section:not(.about-page-main) .about-content > button.learn-more {
        align-self: flex-start;
        margin-top: 1.75rem;
    }

    .services-content > button.learn-more .button-text,
    .about-section:not(.about-page-main) .about-content > button.learn-more .button-text {
        font-size: 0.72rem;
        line-height: 1.2;
        padding: 0.64rem 1.1rem 0.64rem 3.55rem;
        letter-spacing: 0.08em;
        white-space: nowrap;
    }

    .services-content > button.learn-more .circle,
    .about-section:not(.about-page-main) .about-content > button.learn-more .circle {
        width: 2.45rem;
        height: 2.45rem;
    }

    .services-overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .overview-intro {
        font-size: 1.2rem;
    }

    .overview-description {
        font-size: 1rem;
    }

    .overview-image {
        height: 350px;
    }

    .services-title {
        font-size: 2.5rem;
    }

    .hero-text-inner {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-text-inner > div:first-child {
        max-width: 100%;
    }

    button.learn-more {
        width: fit-content;
    }

    button.learn-more .button-text {
        font-size: 0.64rem;
    }
}

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

    .title {
        font-size: 1.85rem;
    }

    button.learn-more {
        width: fit-content;
    }

    button.learn-more .circle {
        width: 2.3rem;
        height: 2.3rem;
    }

    button.learn-more .circle .icon.arrow {
        left: 0.55rem;
        width: 0.95rem;
    }

    button.learn-more .button-text {
        font-size: 0.62rem;
        padding: 0.58rem 0;
        letter-spacing: 0.55px;
    }

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

    .about-stats .stat-item,
    .services-stats .stat-item,
    .about-stats .stat-item:last-child,
    .services-stats .stat-item:last-child {
        padding: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .about-stats .stat-item:not(:last-child)::after,
    .services-stats .stat-item:not(:last-child)::after {
        top: 0.15rem;
        right: 0;
        left: auto;
        bottom: auto;
        width: 1px;
        height: calc(100% - 0.3rem);
    }

    .about-stats .stat-number,
    .services-stats .stat-number {
        font-size: clamp(2.2rem, 14vw, 3.2rem);
    }

    .about-stats .stat-label,
    .services-stats .stat-label {
        font-size: 0.74rem;
        letter-spacing: 0.16em;
    }

    .services-content > button.learn-more .button-text,
    .about-section:not(.about-page-main) .about-content > button.learn-more .button-text,
    .nav.open .nav-list > li.mobile-nav-contact button.learn-more .button-text {
        font-size: 1.08rem;
    }

    .services-content > button.learn-more .button-text,
    .about-section:not(.about-page-main) .about-content > button.learn-more .button-text {
        padding: 0.58rem 0.95rem 0.58rem 3.25rem;
    }

    .services-content > button.learn-more .circle,
    .about-section:not(.about-page-main) .about-content > button.learn-more .circle {
        width: 2.25rem;
        height: 2.25rem;
    }

    .nav.open .nav-list > li.mobile-nav-contact button.learn-more .button-text {
        padding-left: 3.55rem;
    }

    .subtitle {
        font-size: 0.75rem;
    }

    .btn-white {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-shell {
        gap: 16px;
        padding: 20px 16px 26px;
    }

    .contact-panel {
        padding: 18px 14px;
    }

    .contact-company-name {
        font-size: 14px;
    }

    .contact-left-link {
        font-size: 15px;
    }

    .contact-left-text,
    .contact-left-hours,
    .contact-info-text,
    .contact-developed-label {
        font-size: 13px;
        line-height: 1.4;
        word-break: break-word;
    }

    .contact-wordmark {
        font-size: clamp(20px, 9vw, 70px);
        letter-spacing: -1px;
    }

    .contact-developed-logo {
        height: 55px;
    }
}

/* --- Services Page Styles --- */
.services-page {
    padding-top: var(--header-height);
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .services-page {
        overflow-x: hidden;
        overflow-y: auto;
    }
}

.page-hero {
    background-color: var(--color-body);
    padding: 10rem 0 8rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 45vh;
}

.page-subtitle {
    color: #181d27;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.page-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-description {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: var(--text-gray);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.hero-decor-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.hero-decor-line span {
    display: block;
    width: clamp(24px, 4vw, 42px);
    height: 5px;
    background: #0056A4;
    border-radius: 999px;
    opacity: 0.85;
}

.hero-decor-line span:nth-child(1) { animation: heroDecorPulse 2s ease-in-out infinite 0ms; }
.hero-decor-line span:nth-child(2) { animation: heroDecorPulse 2s ease-in-out infinite 150ms; }
.hero-decor-line span:nth-child(3) { animation: heroDecorPulse 2s ease-in-out infinite 300ms; }
.hero-decor-line span:nth-child(4) { animation: heroDecorPulse 2s ease-in-out infinite 450ms; }
.hero-decor-line span:nth-child(5) { animation: heroDecorPulse 2s ease-in-out infinite 600ms; }

@keyframes heroDecorPulse {
    0%, 100% { opacity: 0.5; transform: scaleX(0.85); }
    50% { opacity: 1; transform: scaleX(1); }
}

.services-list-section {
    background-color: var(--primary-bg);
    padding: 8rem 0 4rem;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 8rem;
    padding: 3rem 0;
}

.service-card.reverse {
    direction: rtl;
}

.service-card.reverse > * {
    direction: ltr;
}

.service-image {
    height: 500px;
    background: rgba(243, 247, 255, 0.06);
    padding: 10px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 12px;
}

.service-card:hover .service-image img {
    transform: none;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-number {
    font-size: 1rem;
    color: #181d27;
    font-weight: 300;
    opacity: 0.7;
}

.service-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-text);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.service-description {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    font-weight: 300;
    margin: 0;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 300;
}

.service-features li::before {
    content: "→";
    color: #181d27;
    font-size: 1.2rem;
}

.cta-section {
    background: linear-gradient(135deg, rgba(168, 140, 93, 0.1) 0%, rgba(168, 140, 93, 0.05) 100%);
    padding: 6rem 0;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Responsive styles for services page */
@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 0 5rem;
        min-height: auto;
    }

    .service-card,
    .service-card.reverse {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 3rem;
        padding: 1.5rem 0;
        direction: ltr;
        min-height: auto;
    }

    .service-image {
        height: 180px;
        padding: 6px;
        border-radius: 12px;
        order: 2;
        margin: 0.5rem 0;
    }

    .service-content {
        gap: 0.8rem;
        order: 1;
    }

    .service-number {
        font-size: 0.85rem;
    }

    .service-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .service-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .service-features {
        gap: 0.5rem;
        margin: 0.5rem 0;
    }

    .service-features li {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .service-content > button.learn-more {
        margin-top: 0.5rem;
    }

    .service-content > button.learn-more .circle {
        width: 2.5rem;
        height: 2.5rem;
    }

    .service-content > button.learn-more .button-text {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem 0.6rem 3.2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 6rem 0 4rem;
    }

    .service-image {
        height: 200px;
        padding: 6px;
        border-radius: 12px;
        order: 3;
        margin: 0.5rem 0;
    }

    .service-card {
        margin-bottom: 4.5rem;
        padding: 1rem 0;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-section button.learn-more {
        margin-top: 0.5rem;
    }

    .cta-section button.learn-more .circle {
        width: 2.5rem;
        height: 2.5rem;
    }

    .cta-section button.learn-more .button-text {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem 0.6rem 3.2rem;
    }
}

/* --- Service Detail Page Styles --- */
.service-detail-page {
    padding-top: var(--header-height);
}

.service-detail-hero {
    position: relative;
    height: 70vh;
    --service-detail-hero-gutter: clamp(16px, 2vw, 28px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: visible;
    margin-top: var(--service-detail-hero-gutter);
    padding-top: 0;
    background: transparent;
    margin-bottom: 0;
}

.service-detail-hero-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1600px, calc(100vw - (2 * var(--service-detail-hero-gutter))));
    height: calc(100% - var(--service-detail-hero-gutter));
    z-index: 1;
    background: rgba(243, 247, 255, 0.06);
    padding: 0;
    border-radius: 18px;
}

.service-detail-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.service-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
    z-index: 1;
    border-radius: 18px;
    opacity: 0;
}

html.is-loaded .service-detail-overlay {
    animation: fadeIn 1000ms ease forwards 400ms;
}

.service-detail-hero-content {
    position: relative;
    z-index: 3;
    padding: 4rem 0;
    padding-left: 2.25rem;
}

.service-detail-hero-image img {
    opacity: 0;
}

html.is-loaded .service-detail-hero-image img {
    animation: fadeIn 1000ms ease forwards 400ms;
}

.service-detail-hero-content {
    opacity: 0;
}

html.is-loaded .service-detail-hero-content {
    animation: fadeInUp 1000ms cubic-bezier(0.16, 1, 0.3, 1) forwards 700ms;
}

@media (max-width: 768px) {
    .service-detail-hero {
        margin-bottom: 0;
        height: 50vh;
        overflow: hidden;
    }

    .service-detail-hero-image {
        position: relative;
        height: 100%;
        width: calc(100% - 2rem);
        left: 0;
        transform: none;
        border-radius: 12px;
        margin: 0 1rem;
    }

    .service-detail-hero-image img {
        border-radius: 12px;
        object-fit: cover;
        width: 100%;
        height: 100%;
        opacity: 0;
    }

    html.is-loaded .service-detail-hero-image img {
        animation: fadeIn 1000ms ease forwards 400ms;
    }

    .service-detail-hero-content {
        position: absolute;
        bottom: 0;
        left: 1rem;
        right: 1rem;
        padding: 2rem 1.5rem;
        z-index: 3;
        opacity: 0;
    }

    html.is-loaded .service-detail-hero-content {
        animation: fadeInUp 1000ms cubic-bezier(0.16, 1, 0.3, 1) forwards 700ms;
    }

    .service-detail-overlay {
        border-radius: 12px;
        opacity: 0;
    }

    html.is-loaded .service-detail-overlay {
        animation: fadeIn 1000ms ease forwards 400ms;
    }
}

@media (max-width: 480px) {
    .service-detail-hero {
        margin-bottom: 0;
        height: 45vh;
        overflow: hidden;
    }

    .service-detail-hero-image {
        position: relative;
        height: 100%;
        width: calc(100% - 2rem);
        left: 0;
        transform: none;
        border-radius: 12px;
        margin: 0 1rem;
    }

    .service-detail-hero-image img {
        border-radius: 12px;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .service-detail-hero-content {
        position: absolute;
        bottom: 0;
        left: 1rem;
        right: 1rem;
        padding: 1.5rem 1.25rem;
        z-index: 3;
    }

    .service-detail-overlay {
        border-radius: 12px;
    }
}

.service-detail-number {
    font-size: 1.2rem;
    color: #181d27;
    font-weight: 300;
    opacity: 0.8;
    display: block;
    margin-bottom: 1rem;
}

.service-detail-title {
    font-size: 4.5rem;
    font-weight: 300;
    color: var(--primary-bg);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.service-detail-subtitle {
    font-size: 1.4rem;
    color: var(--primary-bg);
    font-weight: 300;
    max-width: 600px;
}

.service-detail-content {
    background-color: var(--color-body);
    padding: 6rem 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 5rem;
}

.service-detail-main {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    max-width: 800px;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.service-detail-text {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-gray);
    font-weight: 300;
    margin: 0;
}

.service-detail-text + .service-detail-text {
    margin-top: -1.5rem; /* Malo manji razmak između paragrafa u istoj sekciji */
}

.service-detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 0;
    padding: 2.5rem;
    background: #e0e5ec;
    border-radius: 12px;
    box-shadow: 9px 9px 16px rgba(163, 177, 198, 0.6), 
                -9px -9px 16px rgba(255, 255, 255, 0.5);
    border: none;
}

.service-detail-list li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 300;
    line-height: 1.6;
}

.service-detail-list li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #e0e5ec;
    color: #181d27;
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 0;
    box-shadow: inset 3px 3px 6px rgba(163, 177, 198, 0.5), 
                inset -3px -3px 6px rgba(255, 255, 255, 0.8);
}

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

.process-step {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(0, 0, 0, 0.15);
}

.process-step-number {
    font-size: 2rem;
    font-weight: 300;
    color: #181d27;
    opacity: 0.6;
    flex-shrink: 0;
}

.process-step-content h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.process-step-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

/* Key Benefits Section (lijeva strana) */
.key-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    font-size: 1.2rem;
    color: #181d27;
    font-weight: 500;
}

.benefit-text {
    font-size: 1.05rem;
    color: var(--color-text);
    font-weight: 400;
}

.service-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 120px;
    height: calc(100vh - 120px - 2rem);
    justify-content: center;
    align-self: start;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 2rem;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.sidebar-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.sidebar-links li a {
    display: inline-block;
    font-size: 0.95rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    overflow: hidden;
    padding-bottom: 2px;
    height: 1.4em;
}

.sidebar-links li a .btn-letter-inner {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.sidebar-links li a .btn-letter-inner span {
    display: block;
    height: 1.4em;
    line-height: 1.4em;
}

.sidebar-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #181d27;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.sidebar-links li a:hover {
    color: #181d27;
}

.sidebar-links li a:hover .btn-letter-inner {
    transform: translateY(-50%);
}

.sidebar-links li a:hover::after {
    transform: scaleX(1);
}

.sidebar-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.sidebar-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 300;
}

.sidebar-features li::before {
    content: "→";
    color: #181d27;
    font-size: 1.1rem;
}

/* Responsive styles for service detail pages */
@media (max-width: 768px) {
    .service-detail-page {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
        overflow-y: visible;
    }

    .service-detail-page * {
        overflow-y: visible;
    }


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

    .why-icon {
        width: 40px;
        height: 40px;
    }

    .why-number {
        font-size: 2rem;
    }

    .service-detail-title {
        font-size: 2.5rem;
    }

    .service-detail-subtitle {
        font-size: 1.1rem;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        width: 100%;
        max-width: 100%;
    }

    .service-detail-page .container {
        width: 100%;
        max-width: 100%;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        box-sizing: border-box;
    }

    .service-detail-main {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        width: 100%;
        gap: 0;
    }

    .service-intro-section {
        order: 1;
        padding: 0 0.5rem;
        overflow: visible;
        max-height: none;
    }

    .service-intro-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .service-intro-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .service-intro-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .service-features-grid {
        order: 2;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .service-process-section {
        order: 3;
    }

    .service-capabilities-section {
        order: 4;
    }

    .service-why-section {
        order: 5;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-detail-content {
        padding: 3rem 0 2rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .service-capabilities-section {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem 0;
    }

    .capabilities-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .capabilities-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .capabilities-list {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .capabilities-list li {
        font-size: 0.9rem;
        min-height: 32px;
        padding-left: 2.5rem;
    }

    .capabilities-list li::before {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }

    .service-detail-sidebar {
        position: static;
        height: auto;
        gap: 1rem;
        margin-top: 0;
    }

    .sidebar-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-detail-page {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }

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

    .why-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 1rem;
    }

    .why-number {
        font-size: 1.75rem;
    }

    .why-label {
        font-size: 0.8rem;
    }

    .service-detail-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .service-detail-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .process-step {
        padding: 1.5rem;
    }

    .sidebar-card {
        padding: 1.5rem;
    }
}

.contact-page-section {
    min-height: 100vh;
    background: var(--primary-bg);
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: visible;
}

/* Contact page hero animations - triggered after loading screen */
.contact-page-left {
    opacity: 0;
}

html.is-loaded .contact-page-left {
    animation: fadeIn 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 500ms;
}

.contact-page-right {
    opacity: 0;
}

html.is-loaded .contact-page-right {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 700ms;
}

.contact-page-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contact-page-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: stretch;
}

.contact-page-left {
    padding-top: 0;
    margin-top: 0;
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    height: fit-content;
    align-self: start;
    z-index: 10;
    text-align: center;
    width: 100%;
}

@media (min-width: 1025px) {
    .contact-page-left {
        top: 50%;
        transform: translateY(-50%);
    }
}

.contact-page-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-top: 0;
}

.contact-page-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
    width: 100%;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.1rem;
    color: #181d27;
    font-weight: 400;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
    text-align: center;
}

.info-value:hover {
    color: #181d27;
}

.info-value {
    position: relative;
}

a.info-value {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
    text-align: center;
}

.contact-link {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
    position: relative;
    text-decoration: none;
}

a.info-value::after,
.contact-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

a.info-value:hover::after,
.contact-link:hover::after {
    transform: scaleX(1);
}

a.info-value:hover .btn-letter-inner,
.contact-link:hover .btn-letter-inner {
    transform: translateY(-100%);
}

.contact-page-right {
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 2rem 0;
    border-radius: 0;
}

.contact-map-wrap {
    margin-top: 5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.35);
}

.contact-map-embed {
    width: 100%;
    height: 360px;
    display: block;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-gray);
    text-transform: uppercase;
}

.form-input,
.form-textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: #181d27;
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(24, 29, 39, 0.4);
    font-weight: 300;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-bottom-color: #181d27;
}

.form-textarea {
    resize: none;
    min-height: 40px;
    padding-bottom: 2rem;
}

.form-submit-btn {
    background: #181d27;
    color: var(--primary-bg);
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-family: var(--font-main);
    margin-top: 1rem;
}

.form-submit-btn:hover {
    background: color-mix(in srgb, #181d27 88%, transparent);
}

.footer {
    background: var(--sidebar-bg);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--divider);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 3.25rem 1.25rem 1.75rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .footer-gdpr-links {
        flex-wrap: wrap;
        gap: 0.85rem 1.25rem;
    }

    .footer-company-name {
        font-size: 1.45rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-left {
        gap: 1.75rem;
    }

    .footer-company-name {
        font-size: 1.15rem;
    }

    .footer-details p {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-gdpr-links a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-company-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-details p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.footer-detail-label {
    color: var(--text-gray);
    margin-right: 0.5rem;
}

.footer-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-white);
}

.footer-right {
    display: flex;
    flex-direction: column;
}

.footer-sitemap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.footer-sitemap-link {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.25s ease;
    text-align: left;
    width: fit-content;
    position: relative;
}

.footer-sitemap-link:hover {
    color: var(--text-white);
}

.footer-sitemap-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.footer-sitemap-link:hover::after {
    transform: scaleX(1);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--divider);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-gdpr-links {
    display: flex;
    gap: 1.5rem;
}

.footer-gdpr-links a {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-gdpr-links a:hover {
    color: var(--text-white);
}

/* Hide social media navigation links and parent elements */
a[href*="drustvene-mreze"],
a[href*="drustvene-mreze"]:not(.footer-link),
.nav-list > li:has(> a[href*="drustvene-mreze"]),
.nav-list li:has(a[href*="drustvene-mreze"]) {
    display: none !important;
}

/* Fallback for browsers without :has() support */
.hide-social-media {
    display: none !important;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 100%;
}

.contact-info-block-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-block-right {
    display: flex;
    flex-direction: column;
}

.sitemap-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1rem;
}

.sitemap-link-btn {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.25s ease;
    text-align: left;
    position: relative;
}

.sitemap-link-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--text-white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.sitemap-link-btn:hover {
    color: var(--text-white);
}

.sitemap-link-btn:hover::after {
    transform: scaleX(1);
}

/* Header nav links underline animation */
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.sitemap-group-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-gray);
    text-transform: uppercase;
}

.sitemap-group-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.sitemap-group-links a {
    position: relative;
    width: fit-content;
}

.sitemap-group-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.sitemap-group-links a:hover::after {
    transform: scaleX(1);
}

/* Sitemap blocks used on other pages */
.sitemap-footer-section {
    margin-top: 2.5rem;
}

.sitemap-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.sitemap-btn {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.25s ease;
    text-align: left;
    width: fit-content;
    position: relative;
}

.sitemap-btn:hover {
    color: #181d27;
}

.sitemap-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.sitemap-btn:hover::after {
    transform: scaleX(1);
}

/* --- About Page --- */
.about-page-hero {
    padding: 7.5rem 0 3.5rem;
    background-color: var(--primary-bg);
    text-align: center;
}

.about-page-subtitle {
    color: #181d27;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.about-page-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0;
}

/* About Intro Section */
.about-intro-section {
    padding: 5rem 0;
    background-color: var(--primary-bg);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-intro-text .section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.about-intro-text .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.about-intro-text .subsection-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-text);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.services-list-about {
    list-style: none;
    padding: 0;
}

.services-list-about li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.services-list-about li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-text);
    font-weight: bold;
}

.about-intro-image {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

/* About Services List */
.about-services-list {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.about-services-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-services-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about-services-list li {
    font-size: 0.95rem;
    color: var(--text-gray);
    padding-left: 1.5rem;
    position: relative;
}

.about-services-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-text);
}

.about-services-list .service-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.about-services-list .service-link:hover {
    color: #181d27;
}

.about-services-list .service-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #181d27;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.about-services-list .service-link:hover::after {
    transform: scaleX(1);
}

/* Premium Certificates Section */
.certificates-section-premium {
    padding: 8rem 0;
    background-color: var(--color-body);
}

.certificates-header {
    text-align: center;
    margin-bottom: 5rem;
}

.certificates-subtitle {
    color: #181d27;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.certificates-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-text);
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.certificates-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.certificates-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: start;
}

.certificate-item {
    position: relative;
}

.certificate-item-large {
    grid-row: span 1;
}

.certificate-card-premium {
    display: block;
    width: 100%;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    cursor: zoom-in;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.certificate-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.certificate-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.certificate-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.certificate-card-premium:hover .certificate-image-wrapper img {
    transform: scale(1.03);
}

.certificate-overlay {
    display: none;
}

.certificate-card-premium:hover .certificate-overlay {
    display: none;
}

.certificate-zoom-icon {
    display: none;
}

.certificate-info {
    display: none;
}

.certificate-name {
    display: none;
}

.certificate-desc {
    display: none;
}

/* Old certificates section - keep for backwards compatibility */
.certificates-section {
    padding: 5rem 0;
    background-color: var(--primary-bg);
}

.certificates-section .section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 4rem;
}

.certificates-section .text-center {
    text-align: center;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.certificate-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: zoom-in;
    text-align: left;
}

.certificate-card[type="button"] {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.certificate-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background-color: var(--primary-bg);
    position: relative;
}

/* Certificate Modal */
.certificate-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2000;
}

.certificate-modal.open {
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.certificate-modal-dialog {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: 95vw;
    max-height: 95vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    color: var(--color-text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.certificate-modal-img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    background: #ffffff;
}

.timeline-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.timeline-progress-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #e6e6e6;
    z-index: 1;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 8rem; /* Ravni razmak između redova bez negativne margine */
    position: relative;
    z-index: 2;
}

.timeline-row {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    align-items: center;
}

.timeline-center {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* For item 2, 4, 6... the text is on the right, image on left */
.timeline-row.reverse-row .timeline-content-half:first-child {
    order: 3;
}

.timeline-row.reverse-row .timeline-center {
    order: 2;
}

.timeline-row.reverse-row .timeline-content-half:last-child {
    order: 1;
}

.timeline-content-half {
    padding: 0 2rem;
    display: flex;
    justify-content: center;
}

/* Tekst kartica pozadina i stil */
.timeline-text-card {
    background: #ffffff;
    padding: 3.5rem;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    text-align: left;
    width: 520px;
    max-width: 100%;
    aspect-ratio: auto;
    min-height: 380px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-text-card::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: rgba(255, 255, 255, 0.3);
    z-index: -2;
}

.timeline-year {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1;
}

.timeline-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.timeline-item-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    font-weight: 400;
}

.timeline-image-card {
    width: 520px;
    max-width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

.timeline-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    transition: transform 0.7s ease;
}

.timeline-image-card:hover img {
    transform: scale(1.05);
}

/* Progress Bar */
.timeline-progress {
    position: relative;
}

.progress-dot {
    position: relative;
    width: 16px;
    height: 16px;
    background: #e6e6e6;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 10px #ffffff;
    overflow: hidden;
}

.progress-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--dot-fill, 0%);
    background: var(--color-text);
    transition: height 0.05s linear;
    border-radius: 0;
}

.progress-line-fill {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0%;
    background: var(--color-text);
    transition: height 0.05s linear;
    z-index: 1;
}

.progress-dot::after {
    content: attr(data-year);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-white);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 3;
}


/* Values Section */
.about-values-section {
    padding: 8rem 0;
    background-color: var(--primary-bg);
}

.values-title {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    color: var(--color-text);
    margin-bottom: 5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.value-card {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    text-align: center;
    transition: none;
}

.value-card:hover {
    background: transparent;
    border-color: transparent;
    transform: none;
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    color: #181d27;
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.value-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    font-weight: 300;
}

@media (max-width: 1024px) {
    .contact-page-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-intro-image {
        height: 400px;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certificates-showcase {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-page-section {
        padding: 6rem 0 3rem;
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .contact-page-container {
        gap: 3rem;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .contact-page-left {
        position: relative;
        top: auto;
        transform: none;
        height: auto;
        align-self: auto;
        text-align: center;
        padding: 0 1rem;
        width: 100%;
        opacity: 0;
    }

    html.is-loaded .contact-page-left {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 500ms;
    }
    
    .contact-page-right {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        opacity: 0;
    }

    html.is-loaded .contact-page-right {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 700ms;
    }
    
    .contact-form-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
        gap: 0;
    }
    
    .contact-form .form-group {
        margin-bottom: 2rem;
    }
    
    .contact-form .form-group:last-of-type {
        margin-bottom: 1rem;
    }
    
    .contact-form button[type="submit"] {
        margin-top: 0;
    }
    
    .contact-map iframe {
        width: 100% !important;
        max-width: 100%;
        height: 160px;
        min-height: 140px;
    }
    
    .contact-map-wrap {
        width: 100%;
        max-width: 100%;
        margin-top: 3.5rem;
    }
    
    .contact-form-wrapper iframe,
    .contact-form-wrapper .contact-map {
        width: 100% !important;
        max-width: 100%;
    }
    
    .contact-form .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form .form-group {
        width: 100%;
    }
    
    /* Fix Pošalji poruku button on mobile */
    .contact-form button.learn-more {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        width: fit-content;
        max-width: 100%;
        height: auto;
        position: relative;
    }
    
    .contact-form button.learn-more .circle {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2.75rem;
        height: 2.75rem;
        display: block;
    }
    
    .contact-form button.learn-more .button-text {
        position: relative;
        display: block;
        padding: 0.85rem 1.35rem 0.85rem 4rem;
        font-size: 0.85rem;
        white-space: nowrap;
        line-height: 1.2;
    }
    
    .contact-map iframe {
        width: 100% !important;
        height: 300px;
    }
    
    .footer-sitemap-grid {
        grid-template-columns: 1fr;
    }
    
    .sitemap-links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-gdpr-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* About Page Responsive */
    .about-page-hero {
        padding: 8rem 0 4rem;
    }
    
    .about-page-title {
        font-size: 2.5rem;
    }
    
    .about-intro-section {
        padding: 4rem 0;
    }
    
    .about-intro-text .section-title {
        font-size: 2rem;
    }
    
    .about-intro-text .subsection-title {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    .about-intro-image {
        height: 300px;
    }
    
    .certificates-section {
        padding: 4rem 0;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .certificates-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .certificate-image-wrapper {
        height: auto;
    }

    .certificate-image-wrapper img {
        object-fit: contain;
        object-position: center;
        width: 100%;
        height: auto;
    }

    .certificate-card-premium {
        max-width: none;
        margin: 0;
    }
    
    .certificates-section-premium {
        padding: 5rem 0;
    }
    
    .certificates-title {
        font-size: 2.2rem;
    }
    
    .timeline-container {
        padding: 0 1.5rem;
    }
    
    .timeline-progress-bg {
        display: block;
        position: absolute;
        left: 1.5rem;
        top: 0;
        bottom: 0;
        width: 2px;
        background: rgba(0, 0, 0, 0.12);
        transform: none;
    }

    .progress-line-fill {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: var(--progress, 0%);
        background: #181d27;
    }

    .timeline-center {
        display: none;
    }

    .timeline-center.active {
        display: none;
    }

    .progress-dot {
        display: none;
    }
    
    .timeline-row,
    .timeline-row.reverse-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
        min-height: auto;
        position: relative;
        padding-left: 3rem;
        align-items: flex-start;
    }
    
    .timeline-row.reverse-row .timeline-content-half:first-child,
    .timeline-row.reverse-row .timeline-content-half:last-child {
        order: unset;
    }
    
    .timeline-content-half {
        padding: 0;
    }
    
    .timeline-text-card {
        padding: 1rem;
        width: 100%;
        max-width: 320px;
        min-height: 250px;
    }

    .timeline-text-card::before {
        inset: -8px;
    }

    .timeline-year {
        font-size: 1.6rem;
        margin-bottom: 0.35rem;
    }

    .timeline-item-title {
        font-size: 1.05rem;
        margin-bottom: 0.6rem;
    }

    .timeline-item-text {
        font-size: 0.875rem;
        line-height: 1.45;
    }

    .timeline-image-card {
        width: 100%;
        max-width: 320px;
        aspect-ratio: 4/3;
        margin: 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .contact-page-title {
        font-size: 2rem;
    }
    
    .contact-page-section {
        padding: 6rem 0.75rem 3rem;
    }
    
    .contact-page-left {
        padding: 0;
    }
    
    .contact-page-right {
        padding: 1rem;
    }
    
    .contact-card-number {
        font-size: 2rem;
        top: 1.25rem;
        right: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    /* Fix button on smallest screens */
    .contact-form button.learn-more .circle {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .contact-form button.learn-more .button-text {
        padding: 0.75rem 1.2rem 0.75rem 3.5rem;
        font-size: 0.8rem;
    }
    
    /* About Page Mobile */
    .about-page-hero {
        padding: 6rem 0 3rem;
    }
    
    .about-page-title {
        font-size: 2rem;
    }
    
    .timeline-section {
        padding: 4rem 0;
    }
    
    .timeline-item-title {
        font-size: 1.5rem;
    }
    
    .about-values-section {
        padding: 4rem 0;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
}

/* Letter-by-letter hover effect */
.letter-hover-btn {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding-bottom: 4px;
}

.letter-hover-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.letter-hover-btn .letter-wrapper {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: top;
    white-space: pre;
}

.letter-hover-btn .letter {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 1;
}

.letter-hover-btn .letter-clone {
    position: absolute;
    left: 0;
    top: 100%;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 0;
}

.letter-hover-btn:hover .letter,
.letter-hover-btn.animating .letter {
    transform: translateY(-100%);
    opacity: 0;
}

.letter-hover-btn:hover .letter-clone,
.letter-hover-btn.animating .letter-clone {
    transform: translateY(-100%);
    opacity: 1;
}

/* Button letter-by-letter animation (from button-animations.js) */
.btn-letter-anim {
    display: inline-flex;
}

.btn-letter {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: top;
}

.btn-letter-inner {
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--d, 0s);
}

.btn-letter-top,
.btn-letter-bottom {
    display: block;
    white-space: pre;
}

.btn-letter-bottom {
    position: absolute;
    top: 100%;
    left: 0;
}

.nav-link:hover .btn-letter-inner,
.dropdown-link:hover .btn-letter-inner,
.sitemap-link-btn:hover .btn-letter-inner,
.sidebar-links a:hover .btn-letter-inner {
    transform: translateY(-100%);
}

/* Remove old letter-hover-btn styles from nav-link and sitemap since we use new animation */
.nav-link,
.dropdown-link,
.sitemap-link-btn {
    overflow: visible;
}

/* --- Gallery Page --- */
/* Gallery hero: centered text + 4 images around it (no frames) */
.gallery-hero-quad {
    background-color: var(--color-body);
    height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Gallery page hero animations - triggered after loading screen */
.gallery-hero-quad-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-hero-quad-media {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
}

html.is-loaded .gallery-hero-quad-media {
    animation: fadeIn 1000ms ease forwards 400ms;
}

.gallery-hero-quad-subtitle {
    opacity: 0;
}

html.is-loaded .gallery-hero-quad-subtitle {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 500ms;
}

.gallery-hero-quad-title {
    opacity: 0;
}

html.is-loaded .gallery-hero-quad-title {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 600ms;
}

.gallery-hero-quad-text {
    opacity: 0;
}

html.is-loaded .gallery-hero-quad-text {
    animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 700ms;
}

.gallery-hero-img {
    position: absolute;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.gallery-hero-img-1 {
    width: clamp(200px, 22vw, 340px);
    aspect-ratio: 3 / 2;
}

.gallery-hero-img-2 {
    width: clamp(160px, 18vw, 280px);
    aspect-ratio: 2 / 3;
}

.gallery-hero-img-3 {
    width: clamp(160px, 18vw, 280px);
    aspect-ratio: 2 / 3;
}

.gallery-hero-img-4 {
    width: clamp(200px, 22vw, 340px);
    aspect-ratio: 3 / 2;
}

.gallery-hero-img-5 {
    width: clamp(160px, 18vw, 280px);
    aspect-ratio: 3 / 2;
}

.gallery-hero-img-6 {
    width: clamp(160px, 18vw, 280px);
    aspect-ratio: 3 / 2;
}

.gallery-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-hero-img-1 {
    top: 2%;
    left: 28%;
}

.gallery-hero-img-2 {
    top: 3%;
    right: 12%;
}

.gallery-hero-img-3 {
    bottom: 2%;
    left: 12%;
}

.gallery-hero-img-4 {
    bottom: 2%;
    right: 30%;
}

.gallery-hero-img-5 {
    top: 12%;
    left: 1%;
}

.gallery-hero-img-6 {
    top: 64%;
    right: 2%;
}

.gallery-hero-quad-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: min(720px, 86vw);
    padding: 3.25rem 2.5rem;
    background: rgba(207, 207, 207, 0.72);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 18px;
}

.gallery-hero-quad-subtitle {
    color: #181d27;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.gallery-hero-quad-title {
    font-size: clamp(3rem, 5vw, 4.8rem);
    font-weight: 300;
    color: var(--color-text);
    margin: 0 0 1.25rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.gallery-hero-quad-text {
    font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    color: var(--text-gray);
    line-height: 1.75;
    font-weight: 300;
    margin: 0;
}

@media (max-width: 768px) {
    .gallery-hero-quad {
        height: calc(100vh - var(--header-height));
        padding: 0;
    }

    .gallery-hero-quad-inner {
        flex-direction: row;
        gap: 0;
    }

    .gallery-hero-quad-content {
        padding: 2.5rem 1.75rem;
        width: min(720px, 86vw);
    }

    .gallery-hero-quad-media {
        position: absolute;
        inset: 0;
        display: block;
        padding: 0;
        opacity: 0;
    }

    html.is-loaded .gallery-hero-quad-media {
        animation: fadeIn 1000ms ease forwards 400ms;
    }

    .gallery-hero-quad-subtitle {
        opacity: 0;
    }

    html.is-loaded .gallery-hero-quad-subtitle {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 500ms;
    }

    .gallery-hero-quad-title {
        opacity: 0;
    }

    html.is-loaded .gallery-hero-quad-title {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 600ms;
    }

    .gallery-hero-quad-text {
        opacity: 0;
    }

    html.is-loaded .gallery-hero-quad-text {
        animation: fadeInUp 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards 700ms;
    }

    .gallery-hero-img {
        position: absolute;
    }

    .gallery-hero-img-1 {
        width: clamp(145px, 35vw, 250px);
        aspect-ratio: 3 / 2;
        top: 8%;
        left: 5%;
    }

    .gallery-hero-img-2 {
        width: clamp(125px, 32vw, 210px);
        aspect-ratio: 2 / 3;
        top: 8%;
        right: 5%;
    }

    .gallery-hero-img-3 {
        width: clamp(125px, 32vw, 210px);
        aspect-ratio: 2 / 3;
        bottom: 8%;
        left: 5%;
    }

    .gallery-hero-img-4 {
        width: clamp(145px, 35vw, 250px);
        aspect-ratio: 3 / 2;
        bottom: 8%;
        right: 5%;
    }

    .gallery-hero-img-5 {
        width: clamp(125px, 32vw, 210px);
        aspect-ratio: 3 / 2;
        top: 40%;
        left: 5%;
    }

    .gallery-hero-img-6 {
        width: clamp(135px, 34vw, 230px);
        aspect-ratio: 3 / 2;
        top: 45%;
        right: 5%;
    }

    .gallery-hero-quad-content {
        padding: 1.5rem 1rem;
        width: min(320px, 70vw);
    }

    .gallery-hero-quad-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .gallery-hero-quad-text {
        font-size: clamp(0.9rem, 3vw, 1rem);
        line-height: 1.5;
    }

    .gallery-hero-quad-subtitle {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-bottom: 0.75rem;
    }
}

.gallery-section {
    padding: 4rem 2rem;
    background-color: var(--color-body);
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Pravi CSS Masonry Layout za 2 stupca */
.gallery-grid {
    column-count: 2;
    column-gap: 4rem;
    column-fill: auto;
    width: 100%;
}

.gallery-item {
    position: relative;
    overflow: visible;
    margin-bottom: 4rem;
    break-inside: avoid;
    break-inside: avoid-column;
    --gallery-scale: 0.5;
    --gallery-opacity: 0;
    opacity: var(--gallery-opacity);
    transition: opacity 0.4s ease-out;
    display: inline-block;
    width: 100%;
    max-width: 560px;
}

/* Raštrkani layout (masonry ostaje, ali itemi plešu lijevo/desno) */
.gallery-item:nth-child(6n + 1) {
    max-width: 520px;
    margin-left: 0;
}

.gallery-item:nth-child(6n + 2) {
    max-width: 640px;
    margin-left: 6%;
}

.gallery-item:nth-child(6n + 3) {
    max-width: 500px;
    margin-left: -4%;
}

.gallery-item:nth-child(6n + 4) {
    max-width: 620px;
    margin-left: 8%;
}

.gallery-item:nth-child(6n + 5) {
    max-width: 540px;
    margin-left: -2%;
}

.gallery-item:nth-child(6n + 6) {
    max-width: 600px;
    margin-left: 4%;
}

.gallery-item.reveal {
    --gallery-opacity: 1;
}

.gallery-item img {
    width: 100%;
    max-width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
    transform: translateZ(0) scale(var(--gallery-scale));
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}

@media (max-width: 768px) {
    .gallery-item {
        max-width: 100%;
    }

    .gallery-item img {
        max-width: 100%;
        transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 3rem 1rem;
    }

    .gallery-container {
        padding: 0 1rem;
    }

    .gallery-item {
        margin-bottom: 2.25rem;
    }
}

/* Tekst ispod slike */
.gallery-item-info {
    padding-top: 1.5rem;
}

.gallery-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    color: #181d27;
}

.gallery-item-desc {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    color: #666;
}

@media (max-width: 991px) {
}

@media (max-width: 768px) {
    .gallery-hero {
        padding: 8rem 0 5rem;
        min-height: auto;
    }
    
    .gallery-grid {
        column-count: 1;
        column-gap: 0;
    }
    
    .gallery-item {
        margin-bottom: 3rem;
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .gallery-title {
        font-size: 2rem;
    }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

:root {
  --loader-fadein: 420ms;
  --loader-fadeout: 280ms;
  --loader-fadeout-ease: cubic-bezier(0.4, 0, 1, 1);
  --loader-draw: 1800ms;
  --loader-panel-dur: 600ms;
  --loader-panels-start: 2000ms;
  --loader-mid-start: 2800ms;
  --loader-text-late: 0ms;
  --vh: 1vh;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  touch-action: none;
  display: none;
}

html.is-loading,
html.is-loading body {
  overflow: hidden;
  height: 100%;
}

html.is-loaded,
html.is-loaded body {
  overflow: visible;
  height: auto;
}

html.is-loading .page-loader {
  display: block;
}

html.is-loaded .page-loader {
  display: none;
}

.page-loader__panel {
  position: absolute;
  background: #c3c3c3;
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
}

.page-loader__panel--left {
  left: 0;
  top: 0;
  width: 33.3333vw;
  height: calc(var(--vh, 1vh) * 100);
}

.page-loader__panel--right {
  right: 0;
  top: 0;
  width: 33.3333vw;
  height: calc(var(--vh, 1vh) * 100);
}

.page-loader__panel--mid-top {
  left: 33.3333vw;
  top: 0;
  width: 33.3333vw;
  height: calc(var(--vh, 1vh) * 50);
  transform-origin: 50% 50%;
}

.page-loader__panel--mid-bottom {
  left: 33.3333vw;
  top: calc(var(--vh, 1vh) * 50);
  width: 33.3333vw;
  height: calc(var(--vh, 1vh) * 50);
}

.page-loader__panel-motif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}

.page-loader__panel-motif path,
.page-loader__panel-motif rect {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

.page-loader__label {
  position: fixed;
  left: 50%;
  top: 50vh;
  transform: translate(-50%, -50%);
  text-align: center;
  color: rgba(0, 0, 0, 0.88);
  opacity: 0;
  z-index: 10000;
  white-space: nowrap;
}

.page-loader__label--brand {
  font-size: clamp(32px, 5.5vw, 60px);
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: none;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.22em;
}

.page-loader__brand-primary {
  font-weight: 900;
  letter-spacing: -0.02em;
  display: inline-block;
  overflow: visible;
}

.page-loader__brand-secondary {
  font-weight: 300;
  font-style: normal;
  letter-spacing: -0.01em;
  display: inline-block;
  overflow: visible;
}

.letter {
  display: inline-block;
  animation: letter-gather 1.5s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s) both;
}

.page-loader__label--tagline {
  top: 5px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  white-space: nowrap;
  overflow: visible;
}

.page-loader__tagline-part {
  white-space: nowrap;
  display: inline-block;
  overflow: visible;
}

.page-loader__tagline-sep {
  font-weight: 700;
  letter-spacing: 0;
  display: inline-block;
  animation: letter-gather 0.5s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s) both;
}

@keyframes loader-text-fade {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes loader-text-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes loader-brand-in {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes loader-tagline-in {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-18px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes letter-gather {
  0% {
    opacity: 0;
    transform: translate(calc(var(--random-x, 0) * 100vw), calc(var(--random-y, 0) * 100vh)) scale(0.2) rotate(calc(abs(var(--random-r, 0)) * 360deg));
    filter: blur(25px);
  }
  50% {
    opacity: 1;
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@keyframes loader-stroke-draw {
  0% { stroke-dashoffset: 1200; }
  100% { stroke-dashoffset: 0; }
}

@keyframes loader-left-up {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -110%, 0); }
}

@keyframes loader-right-down {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, 110%, 0); }
}

@keyframes loader-mid-top {
  0% {
    top: 0;
    height: calc(var(--vh, 1vh) * 50);
    transform: scaleX(1);
  }
  72% {
    top: calc((var(--vh, 1vh) * 50) - 2px);
    height: 2px;
    transform: scaleX(1);
  }
  100% {
    top: calc((var(--vh, 1vh) * 50) - 2px);
    height: 2px;
    transform: scaleX(0);
  }
}

@keyframes loader-mid-bottom {
  0% {
    top: calc(var(--vh, 1vh) * 50);
    height: calc(var(--vh, 1vh) * 50);
    transform: scaleX(1);
  }
  72% {
    top: calc(var(--vh, 1vh) * 50);
    height: 2px;
    transform: scaleX(1);
  }
  100% {
    top: calc(var(--vh, 1vh) * 50);
    height: 2px;
    transform: scaleX(0);
  }
}

@keyframes loader-top-left {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-110%, 0, 0); }
}

@keyframes loader-bottom-right {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(110%, 0, 0); }
}

@keyframes loader-mid-mobile {
  0% { transform: scaleY(1); }
  72% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

html.is-loading .page-loader__panel--left {
  animation: loader-left-up var(--loader-panel-dur) cubic-bezier(0.7, 0, 0.2, 1) var(--loader-panels-start) forwards;
}

html.is-loading .page-loader__panel--right {
  animation: loader-right-down var(--loader-panel-dur) cubic-bezier(0.7, 0, 0.2, 1) var(--loader-panels-start) forwards;
}

html.is-loading .page-loader__panel--mid-top {
  animation: loader-mid-top var(--loader-panel-dur) cubic-bezier(0.7, 0, 0.2, 1) var(--loader-panels-start) forwards;
}

html.is-loading .page-loader__panel--mid-bottom {
  animation: loader-mid-bottom var(--loader-panel-dur) cubic-bezier(0.7, 0, 0.2, 1) var(--loader-panels-start) forwards;
}

html.is-loading .page-loader__label {
  animation: loader-brand-in var(--loader-fadein) cubic-bezier(0.2, 0.8, 0.2, 1) 120ms forwards;
}

html.is-loading .page-loader__label--brand {
  animation: loader-brand-in var(--loader-fadein) cubic-bezier(0.2, 0.8, 0.2, 1) 120ms forwards !important;
}

html.is-loading .page-loader__panel--mid-top.closing ~ .page-loader__label,
html.is-loading .page-loader__panel--mid-bottom.closing ~ .page-loader__label {
  opacity: 0 !important;
  visibility: hidden;
  transition: opacity 0.1s ease, visibility 0.1s ease;
}

html.is-loading .page-loader__label--tagline {
  animation:
    loader-tagline-in var(--loader-fadein) cubic-bezier(0.2, 0.8, 0.2, 1) 120ms forwards,
    loader-text-fade var(--loader-fadeout) var(--loader-fadeout-ease)
      calc(var(--loader-mid-start) + var(--loader-text-late)) forwards;
}

html.is-loading .page-loader__panel-motif {
  animation:
    loader-text-fade-in var(--loader-fadein) ease 120ms forwards,
    loader-text-fade var(--loader-fadeout) var(--loader-fadeout-ease)
      calc(var(--loader-mid-start) + var(--loader-text-late)) forwards;
}

html.is-loading .page-loader__panel-motif path,
html.is-loading .page-loader__panel-motif rect {
  animation: loader-stroke-draw var(--loader-draw) ease 0ms forwards;
}

@media (max-width: 768px) {
  .page-loader__panel--left,
  .page-loader__panel--right,
  .page-loader__panel--mid-top,
  .page-loader__panel--mid-bottom {
    width: 100vw;
  }

  .page-loader__panel--left {
    left: 0;
    top: -1px;
    height: calc(var(--vh, 1vh) * 33.3333 + 2px);
  }

  .page-loader__panel--right {
    left: 0;
    top: calc(var(--vh, 1vh) * 66.6667 - 1px);
    height: calc(var(--vh, 1vh) * 33.3333 + 2px);
  }

  .page-loader__panel--mid-top {
    top: calc(var(--vh, 1vh) * 33.3333 - 1px);
    left: 0;
    width: 100vw;
    height: calc(var(--vh, 1vh) * 33.3333 + 2px);
    transform-origin: 50% 50%;
  }

  .page-loader__panel--mid-bottom {
    display: none;
  }

  html.is-loading .page-loader__panel--left {
    animation-name: loader-top-left;
  }

  html.is-loading .page-loader__panel--right {
    animation-name: loader-bottom-right;
  }

  html.is-loading .page-loader__panel--mid-top {
    animation-name: loader-mid-mobile;
  }

  .page-loader__label--brand {
    font-size: clamp(28px, 7vw, 48px);
  }

  .page-loader__label--tagline {
    top: calc(50% + 28px);
    font-size: 14px;
    gap: 16px;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 480px) {
  .page-loader__label--brand {
    font-size: clamp(24px, 8.5vw, 42px);
  }

  .page-loader__label--tagline {
    font-size: 13px;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__panel--left,
  .page-loader__panel--right,
  .page-loader__panel--mid-top,
  .page-loader__panel--mid-bottom {
    animation: none !important;
  }
  
  .page-loader__label,
  .page-loader__label--brand,
  .page-loader__label--tagline,
  .page-loader__panel-motif {
    animation: none !important;
  }
}

/* Service Detail Page Redesign Styles */
.service-intro-section {
  margin-bottom: 4rem;
}

.service-intro-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, #181d27 0%, #2a3142 100%);
  color: #f4f6fb;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.service-intro-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #181d27;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.service-intro-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4a5568;
  max-width: 900px;
}

.service-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem 2.5rem;
  margin-bottom: 4rem;
  width: 100%;
}

.feature-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card:hover .feature-title {
  color: #0f172a;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #181d27;
  margin-bottom: 0.75rem;
}

.feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
}

.service-process-section {
  margin-bottom: 4rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.process-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #181d27;
  margin-bottom: 2.5rem;
  text-align: center;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
}

.process-timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 30px;
  top: 60px;
  width: 2px;
  height: calc(100% + 2rem);
  background: linear-gradient(180deg, #181d27 0%, #cbd5e1 100%);
}

.process-timeline-marker {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #181d27 0%, #2a3142 100%);
  color: #f4f6fb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(24, 29, 39, 0.2);
  z-index: 1;
}

.process-timeline-content {
  flex: 1;
  padding-top: 0.5rem;
}

.process-timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #181d27;
  margin-bottom: 0.5rem;
}

.process-timeline-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b;
}

.service-capabilities-section {
  margin-bottom: 4rem;
}

.capabilities-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #181d27;
}

.capabilities-content {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.capabilities-text p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.capabilities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.capabilities-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  padding-left: 3rem;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 36px;
}

.capabilities-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(145deg, #ffffff, #e6e9f0);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #181d27;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 
    4px 4px 8px rgba(163, 177, 198, 0.5),
    -4px -4px 8px rgba(255, 255, 255, 0.9),
    inset 1px 1px 2px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.service-why-section {
  margin-bottom: 3rem;
}

.why-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #181d27;
  margin-bottom: 2.5rem;
  text-align: center;
}

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

.why-item {
  text-align: center;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: all 0.3s ease;
}

.why-item:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.why-item:hover .why-icon {
  transform: scale(1.1);
}

.why-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  color: #181d27;
  transition: transform 0.3s ease;
}

.why-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5px;
}

.why-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #181d27;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.why-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {

  .service-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    padding: 0 0.5rem;
  }

  /* Homepage and About page feature cards - NO background panels */
  .features-section .feature-card,
  .about-page .feature-card {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 1.25rem 1rem;
    background: transparent;
    border-radius: 0;
    border: none;
  }

  /* Service detail page feature cards - WITH background panels */
  .service-features-grid .feature-card {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .feature-card .feature-icon {
    margin: 0 auto 0.75rem;
  }

  .feature-card .feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .feature-card .feature-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748b;
  }

  .service-process-section {
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
  }

  .process-timeline {
    gap: 1.5rem;
  }

  .process-timeline-item {
    gap: 1.25rem;
  }

  .process-timeline-marker {
    width: 50px;
    height: 50px;
    font-size: 1.125rem;
  }

  .process-timeline-item:not(:last-child)::after {
    left: 25px;
    top: 50px;
    height: calc(100% + 1.5rem);
  }

  .capabilities-content {
    padding: 1.5rem;
  }

  .capabilities-list {
    grid-template-columns: 1fr;
  }

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

  .why-item {
    padding: 1.5rem 0.75rem;
  }

  .why-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .service-intro-badge {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
  }

  .service-process-section {
    padding: 1.5rem 1rem;
  }
}

/* Social Media Page Styles */
.social-media-page {
  min-height: 100vh;
  background: #f8f9fa;
}

.social-hero {
  background:
    linear-gradient(180deg, rgba(24, 29, 39, 0.16) 0%, rgba(24, 29, 39, 0.46) 100%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 28%),
    #181d27;
  padding: 8.5rem 0 6.5rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.social-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.social-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.social-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(244, 246, 251, 0.82);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.social-links-hero {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.bloom-button-link {
  text-decoration: none;
  display: inline-block;
}

.bloom-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.bloom-button .bloom-container {
  position: relative;
  transition: all 0.2s ease-in-out;
  border: none;
  background: none;
}

.bloom-button .bloom-container .button-container-main {
  width: 84px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  display: grid;
  place-content: center;
  border-right: 4px solid rgba(255, 255, 255, 0.92);
  border-left: 4px solid rgba(255, 255, 255, 0.14);
  transform: rotate(-45deg);
  transition: all 0.5s ease-in-out;
}

.bloom-button .bloom-container .button-container-main .button-inner {
  height: 48px;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  box-shadow: rgba(6, 11, 20, 0.38) -8px 5px 18px 0px;
  transition: all 0.5s ease-in-out;
}

.bloom-button .bloom-container .button-container-main .button-inner .back {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(60deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.bloom-button .bloom-container .button-container-main .button-inner .front {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(60deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  display: grid;
  place-content: center;
}

.bloom-button .bloom-container .button-container-main .button-inner .front .svg {
  fill: #ffffff;
  opacity: 0.84;
  width: 24px;
  aspect-ratio: 1;
  transform: rotate(45deg);
  transition: all 0.2s ease-in;
}

.bloom-button .bloom-container .button-container-main .button-glass {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.888) 100%);
  transform: translate(0%, -50%) rotate(0deg);
  transform-origin: bottom center;
  transition: all 0.5s ease-in-out;
}

.bloom-button .bloom-container .bloom {
  height: 1px;
  width: 1px;
  position: absolute;
  background: white;
}

.bloom-button .bloom-container .bloom1 {
  top: 8px;
  right: 14px;
  box-shadow: rgba(255, 255, 255, 0.92) 0px 0px 8px 8px, rgba(255, 255, 255, 0.82) 0px 0px 18px 16px;
}

.bloom-button .bloom-container .bloom2 {
  bottom: 8px;
  left: 14px;
  box-shadow: rgba(255, 255, 255, 0.38) 0px 0px 8px 8px, rgba(255, 255, 255, 0.42) 0px 0px 22px 16px;
}

.bloom-button .bloom-container:hover {
  transform: scale(1.06);
}

.bloom-button .bloom-container:hover .button-container-main .button-glass {
  transform: translate(0%, -40%);
}

.bloom-button .bloom-container:hover .button-container-main .button-inner .front .svg {
  opacity: 1;
  filter: drop-shadow(0 0 10px white);
}

.bloom-button .bloom-container:active {
  transform: scale(0.7);
}

.bloom-button .bloom-container:active .button-container-main .button-inner {
  transform: scale(1.2);
}

/* Facebook Button Variant */
.bloom-button-facebook .button-container-main .button-inner .back {
  background: linear-gradient(60deg, #1877f2 0%, #0c5ec7 100%);
}

.bloom-button-facebook .button-container-main .button-inner .front {
  background: linear-gradient(60deg, #1877f2 0%, #0c5ec7 100%);
}

.bloom-button-facebook .button-container-main .button-inner .front .svg {
  fill: #ffffff;
}

.social-feed-section {
  padding: 5.5rem 0 6rem;
}

.social-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.social-feed-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  color: #181d27;
}

.social-filter-tabs {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  padding: 0.5rem;
  border-radius: 50px;
  box-shadow: 0 14px 40px rgba(24, 29, 39, 0.08);
}

.filter-tab {
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
}

.filter-tab.active {
  background: #181d27;
  color: white;
  box-shadow: 0 2px 8px rgba(24, 29, 39, 0.2);
}

.filter-tab:hover:not(.active) {
  background: #f0f0f0;
}

.social-feed-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  gap: 1.5rem;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f0f0f0;
  border-top: 4px solid #181d27;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.social-feed-error {
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: rgba(24, 29, 39, 0.06);
  border: 1px solid rgba(24, 29, 39, 0.08);
  border-radius: 18px;
  color: #4a5565;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

.social-post-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(24, 29, 39, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(18, 24, 34, 0.09);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  backdrop-filter: blur(16px);
}

.social-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(18, 24, 34, 0.14);
  border-color: rgba(24, 29, 39, 0.15);
}

.social-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.social-post-image {
  position: relative;
  width: 100%;
  padding-top: 88%;
  overflow: hidden;
  background: linear-gradient(135deg, #eef2f7 0%, #dfe6ef 100%);
}

.social-post-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.social-post-card:hover .social-post-image img {
  transform: scale(1.04);
}

.social-post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(24, 29, 39, 0.02) 0%, rgba(24, 29, 39, 0.68) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-post-card:hover .social-post-overlay {
  opacity: 1;
}

.view-post-btn {
  color: white;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.social-post-card:hover .view-post-btn {
  background: white;
  color: #181d27;
}

.social-post-content {
  padding: 1.35rem 1.35rem 1.2rem;
}

.social-post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.95rem;
}

.social-post-platform {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: #181d27;
  letter-spacing: -0.01em;
}

.social-post-platform svg {
  color: #6b7280;
}

.social-post-card[data-platform="facebook"] .social-post-platform svg {
  color: #1877f2;
}

.social-post-card[data-platform="instagram"] .social-post-platform svg {
  color: #c13584;
}

.social-post-time {
  font-size: 0.84rem;
  color: #8b95a7;
  white-space: nowrap;
}

.social-post-caption {
  color: #2c3442;
  line-height: 1.7;
  margin-bottom: 1.1rem;
  font-size: 0.96rem;
  min-height: 3.25rem;
}

.social-post-stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(24, 29, 39, 0.08);
}

.post-likes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #5d6778;
  font-size: 0.9rem;
}

.post-likes svg {
  color: #e74c3c;
}

.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #666;
  font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .social-hero {
    padding: 6rem 0 4rem;
  }

  .social-hero-title {
    font-size: 2rem;
  }

  .social-feed-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-filter-tabs {
    width: 100%;
    justify-content: center;
  }

  .social-feed-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .social-links-hero {
    gap: 1.4rem;
  }

  .bloom-button .bloom-container .button-container-main {
    width: 74px;
  }

  .bloom-button .bloom-container .button-container-main .button-inner {
    height: 42px;
  }
}

@media (max-width: 480px) {
  .social-hero {
    padding: 5rem 0 3rem;
  }

  .social-links-hero {
    gap: 1rem;
  }

  .filter-tab {
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
  }

  .social-post-content {
    padding: 1.15rem;
  }
}
