/*
Theme Name: Telprom
Theme URI: https://telprom.si
Author: Telprom d.o.o.
Description: Premium IT Solutions Theme
Version: 3.0.0
Text Domain: telprom
*/

:root {
    --primary: #4A90FF;
    --primary-dark: #3a7bff;
    --primary-light: #5a9aff;
    --accent: #4A90FF;
    --accent-glow: rgba(74, 144, 255, 0.3);
    --dark: #32373c;
    --dark-lighter: #f8f9fa;
    --dark-card: #ffffff;
    --text-primary: #32373c;
    --text-secondary: #545b62;
    --text-muted: #6c757d;
    --border-subtle: #e9ecef;
    --border-light: #dee2e6;
    --gradient-primary: linear-gradient(135deg, #4A90FF 0%, #3a7bff 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(74, 144, 255, 0.15) 0%, transparent 70%);
    --brand: #4A90FF;
    --card-bg: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
}

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

/* Screen reader only - visually hidden */
.sr-only {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #32373c;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== LAYOUT ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

section {
    position: relative;
}

/* ==================== HEADER ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: #ffffff !important;
    transition: all 0.3s ease;
}

/* Default header colors - dark on white */
.site-header .site-logo .logo-icon {
    color: #4A90FF !important;
}

.site-header .site-logo .logo-text {
    color: #32373c !important;
}

.site-header .main-nav > ul > li > a {
    color: #32373c !important;
}

.site-header .main-nav > ul > li > a:hover {
    color: #4A90FF !important;
}

/* Scrolled state - add shadow */
.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 14px 0;
}

/* Transparent header over dark hero - white on transparent */
.site-header.header-transparent {
    background: transparent !important;
}

.site-header.header-transparent .site-logo .logo-icon,
.site-header.header-transparent .site-logo .logo-text {
    color: #ffffff !important;
}

.site-header.header-transparent .main-nav > ul > li > a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.site-header.header-transparent .main-nav > ul > li > a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
}

.site-header.header-transparent .menu-toggle {
    color: #ffffff !important;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Logo - default dark, white when transparent */
.site-logo {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo .logo-icon {
    width: 40px;
    height: 40px;
    color: #4A90FF;
    transition: all 0.3s ease;
    filter: none;
}

.site-logo:hover .logo-icon {
    transform: scale(1.05);
}

.site-logo .logo-text {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
    color: #32373c;
    transition: color 0.3s ease;
}

/* ==================== NAVIGATION ==================== */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    background: transparent;
    padding: 6px 8px;
    border-radius: 50px;
    border: none;
}

/* Nav links - default dark text */
.main-nav a {
    color: #32373c;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    color: #4A90FF;
    background: rgba(74, 144, 255, 0.08);
}

.main-nav .has-submenu {
    position: relative;
}

.main-nav .submenu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.main-nav .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-nav .submenu a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #32373c;
}

.main-nav .submenu a:hover {
    background: #f8f9fa;
    color: #4A90FF;
}

/* Nested submenu (third level) */
.main-nav .submenu .has-nested {
    position: relative;
}

.main-nav .submenu .has-nested > a::after {
    content: '›';
    float: right;
    margin-left: 8px;
    opacity: 0.5;
}

.main-nav .nested-submenu {
    position: absolute;
    left: calc(100% + 8px);
    top: 0;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: translateX(10px);
}

.main-nav .submenu .has-nested:hover .nested-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.main-nav .nested-submenu a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    color: #32373c;
}

.main-nav .nested-submenu a:hover {
    background: #f8f9fa;
    color: #4A90FF;
}

/* CTA Button in Nav - Always Telprom Blue */
.nav-cta {
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 255, 0.4);
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10000;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #32373c;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* White hamburger on transparent header */
.site-header.header-transparent .menu-toggle span {
    background: #ffffff;
}

/* White hamburger when menu is open */
body.menu-open .menu-toggle span {
    background: #ffffff;
}

/* X animation when menu is open */
body.menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Show hamburger on mobile */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }
}

/* When menu is open */
body.menu-open {
    overflow: hidden;
}

body.menu-open .menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

/* Mobile nav when active */
@media (max-width: 992px) {
    .main-nav.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(160deg, #1d4ed8 0%, #2563eb 100%);
        padding: 80px 20px 30px;
        z-index: 9999;
        overflow-y: auto;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .main-nav.active ul,
    .main-nav.active > ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 0;
        padding: 0;
        background: transparent;
        border: none;
    }

    .main-nav.active li {
        border-bottom: 1px solid rgba(255,255,255,0.2);
        background: transparent;
    }

    .main-nav.active a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        font-weight: 600;
        color: #ffffff;
        background: transparent;
        text-decoration: none;
    }

    .main-nav.active a:hover {
        color: #93c5fd;
    }

    .main-nav.active .nav-cta {
        display: inline-block;
        background: #ffffff;
        color: #1d4ed8;
        padding: 12px 24px;
        border-radius: 8px;
        margin-top: 16px;
    }

    .main-nav.active .submenu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.1);
        border: none;
        box-shadow: none;
        border-radius: 8px;
        padding: 8px 0;
        margin: 8px 0;
        min-width: auto;
    }

    .main-nav.active .submenu li {
        border: none;
    }

    .main-nav.active .submenu a {
        padding: 10px 20px;
        font-size: 0.9rem;
        color: rgba(255,255,255,0.9);
    }
}

/* ==================== HERO ==================== */
.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 100px 0 60px;
    overflow: visible;
}

@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 115%;
    background:
        linear-gradient(to bottom, rgba(42, 50, 64, 0.75) 0%, rgba(42, 50, 64, 0.9) 100%),
        url('/wp-content/uploads/bg-team-bw.jpg') center bottom / cover no-repeat;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 28px;
    letter-spacing: 0.01em;
}

.hero-badge span {
    background: linear-gradient(90deg, #4A90FF, #00D4E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-badge::before {
    content: '';
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #4A90FF, #00D4E8);
    border-radius: 2px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #4A90FF 0%, #00D4E8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.hero-visual-inner {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.hero-orb {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero-orb-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    opacity: 0.15;
    animation-delay: -2s;
}

.hero-orb-3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    background: var(--accent);
    opacity: 0.2;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

.hero-card {
    position: absolute;
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-card-1 {
    top: 10%;
    right: 0;
    animation: float 5s ease-in-out infinite;
}

.hero-card-2 {
    bottom: 20%;
    left: 0;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.hero-card-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.hero-card-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Logo Visual */
.hero-logo-wrapper {
    position: relative;
    width: 100%;
    max-width: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary) 0%, var(--primary-light) 30%, transparent 60%);
    opacity: 0.35;
    filter: blur(100px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

.hero-logo-icon {
    position: relative;
    width: 100%;
    max-width: 570px;
    height: auto;
    animation: logoFloat 8s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Animated Logo Rings */
.logo-ring {
    fill: var(--primary);
    transform-origin: center center;
    filter: drop-shadow(0 0 8px rgba(0, 120, 182, 0.5));
}

.logo-ring-outer {
    animation: ringPulse 3s ease-in-out infinite, ringGlow 4s ease-in-out infinite;
    opacity: 0.85;
}

.logo-ring-middle {
    animation: ringPulse 3s ease-in-out infinite 0.3s, ringGlow 4s ease-in-out infinite 0.5s;
    opacity: 0.9;
}

.logo-ring-inner {
    animation: ringPulse 3s ease-in-out infinite 0.6s, ringGlow 4s ease-in-out infinite 1s;
    fill: var(--primary-light);
    opacity: 1;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes ringGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(0, 120, 182, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 160, 227, 0.8)); }
}

.hero-logo-icon:hover .logo-ring-outer {
    animation: ringRotate 10s linear infinite, ringGlow 2s ease-in-out infinite;
}

.hero-logo-icon:hover .logo-ring-middle {
    animation: ringRotate 7s linear infinite reverse, ringGlow 2s ease-in-out infinite 0.3s;
}

.hero-logo-icon:hover .logo-ring-inner {
    animation: ringGlow 1.5s ease-in-out infinite;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* About Section Logo */
.about-logo {
    width: 60%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    filter: drop-shadow(0 0 30px rgba(0, 120, 182, 0.3));
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #32373c;
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(74, 144, 255, 0.25);
    background: #4A90FF;
    color: #ffffff;
}

.btn-secondary {
    background: transparent;
    color: #32373c;
    border: 1px solid #e9ecef;
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #32373c;
}

.btn-glow {
    background: var(--gradient-primary);
    color: #ffffff;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px var(--accent-glow);
    color: #ffffff;
}

/* Hero buttons - dark background override */
.hero .btn-primary {
    background: #ffffff;
    color: #32373c;
}

.hero .btn-primary:hover {
    background: #4A90FF;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(74, 144, 255, 0.3);
}

.hero .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

/* ==================== INTRO SECTION ==================== */
.intro-section {
    padding: 50px 0;
    background: var(--bg-secondary);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.intro-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: var(--dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.intro-card:hover {
    border-color: var(--border-light);
    transform: translateX(8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.intro-card:hover::before {
    transform: scaleY(1);
}

.intro-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(74, 144, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.intro-icon svg {
    width: 28px !important;
    height: 28px !important;
    stroke: var(--primary);
}

.intro-card:hover .intro-icon {
    background: var(--primary);
}

.intro-card:hover .intro-icon svg {
    stroke: #ffffff;
}

.intro-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.intro-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.intro-text strong {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .intro-section {
        padding: 40px 0;
    }
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .intro-card {
        padding: 25px;
    }
}

/* ==================== CLIENTS/LOGOS CAROUSEL ==================== */
.clients {
    padding: 40px 0 30px;
    overflow: hidden;
    background: #ffffff;
    position: relative;
}

/* Zaupajo nam - right below hero */
.clients-trust {
    padding: 30px 0;
    border-top: none;
    border-bottom: 1px solid var(--border-subtle);
    background: #ffffff;
    z-index: 5;
    margin-top: 0;
    border-radius: 0;
}

/* Partnerstva - normal position after stats */
.clients-partners {
    margin-top: 0;
    border-radius: 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.clients-label {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

/* Carousel wrapper */
.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollLeft 50s linear infinite;
    cursor: grab;
    user-select: none;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-track-center {
    animation: scrollCenter 50s linear infinite;
}

.carousel-track.dragging {
    animation-play-state: paused;
    cursor: grabbing;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-25%);
    }
}

@keyframes scrollCenter {
    0% {
        transform: translateX(-16.667%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-25%);
    }
    100% {
        transform: translateX(0);
    }
}

.carousel-track-reverse {
    animation: scrollRight 60s linear infinite;
}

.client-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 8px 0;
    gap: 6px;
}

.client-logo img {
    height: 28px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logo .client-name {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.client-logo:hover {
    opacity: 1;
}

.client-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.client-logo:hover .client-name {
    color: var(--text-primary);
}

/* ==================== SERVICES ==================== */
.services {
    padding: 160px 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 400px;
    height: 400px;
    background: var(--primary);
    opacity: 0.05;
    filter: blur(120px);
    pointer-events: none;
}

/* Featured Service Card */
.featured-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-card) 0%, rgba(0, 120, 182, 0.08) 100%);
    border: 1px solid rgba(0, 120, 182, 0.2);
    border-radius: 32px;
    padding: 60px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.featured-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.featured-service-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.featured-service h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.featured-service-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.featured-service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.featured-service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.featured-service-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: rgba(0, 120, 182, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%230078B6' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.featured-service-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.featured-service-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 120, 182, 0.3);
}

.featured-service-icon svg {
    width: 56px;
    height: 56px;
    color: white;
    stroke-width: 1.5;
}

.featured-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 280px;
}

.visual-item {
    background: var(--dark-lighter);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.visual-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* New Services Grid */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card-new {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: var(--dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-card-new:hover {
    border-color: var(--border-light);
    transform: translateX(8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card-new:hover::before {
    transform: scaleY(1);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.service-card-new:hover .service-card-icon {
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 120, 182, 0.35);
    transform: scale(1.1);
}

.service-card-new:hover .service-card-icon svg {
    color: #ffffff;
}

.service-card-content {
    flex: 1;
}

.service-card-content h3,
.service-card-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.service-card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.service-card-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-card-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.service-card-new:hover .service-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 992px) {
    .featured-service {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .featured-service-visual {
        order: -1;
    }

    .featured-service-list {
        grid-template-columns: 1fr;
    }

    .services-grid-new {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .featured-service {
        padding: 30px;
    }

    .featured-service h3 {
        font-size: 1.75rem;
    }

    .service-card-new {
        padding: 20px;
    }

    .service-card-arrow {
        display: none;
    }
}

.section-header {
    max-width: 600px;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-tag::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--dark-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-light);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 28px;
    transition: all 0.4s ease;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--primary);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(0, 120, 182, 0.35);
}

.service-card:hover .service-icon svg {
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-link::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--accent);
}

.service-card:hover .service-link::after {
    transform: translateX(4px);
}

/* Large featured card */
.service-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-card.featured .service-visual {
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 16px;
    opacity: 0.1;
}

/* ==================== STATS ==================== */
.stats {
    padding: 120px 0;
    background: var(--dark-lighter);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--border-subtle);
}

.stat-number {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==================== ABOUT/WHY US ==================== */
.about {
    padding: 160px 0;
    position: relative;
}

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

.about-visual {
    position: relative;
}

.about-video-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--dark-card);
    aspect-ratio: 16/9;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
}

.about-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.about-badge {
    display: none;
}

.about-badge-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-badge-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about-content .section-header {
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.feature-card {
    padding: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 120, 182, 0.08) 0%, rgba(0, 120, 182, 0.02) 100%);
    transform: translateY(-4px);
}

.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.feature-card h3,
.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

/* ==================== CTA ==================== */
.cta {
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    opacity: 0.4;
    pointer-events: none;
}

.cta-box {
    position: relative;
    background: var(--dark-card);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: clamp(60px, 8vw, 100px);
    text-align: center;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.cta h2,
.cta-box h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    color: #1a1f2e !important;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: #f8f9fa !important;
    border-top: 1px solid #e9ecef;
    padding: 80px 0 40px;
    color: #32373c !important;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

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

.footer-section h4,
.footer-section .footer-heading {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #545b62 !important;
    margin-bottom: 20px;
}

.footer-section:first-child {
    text-align: left;
}

.footer-section:first-child .footer-contact-info {
    text-align: left;
}

.footer-contact-info p {
    color: #6c757d !important;
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-contact-info .company-name {
    color: #32373c !important;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-contact-info a {
    color: #6c757d !important;
    transition: color 0.2s ease;
}

.footer-contact-info a:hover {
    color: var(--primary);
}

/* Badges - Memberships & Certifications */
.footer-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.cert-badge,
.membership-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #6c757d !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cert-badge svg,
.membership-badge svg {
    width: 28px;
    height: 28px;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.cert-badge:hover svg,
.membership-badge:hover svg {
    opacity: 1;
    color: #4A90FF !important;
}

.cert-badge:hover,
.membership-badge:hover {
    color: #32373c !important;
}

.cert-badge span,
.membership-badge span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    max-width: 80px;
}

/* Social Links */
.footer-social-section {
    display: flex;
    align-items: flex-end;
}

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

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 12px;
    color: #6c757d !important;
    transition: all 0.3s ease;
}

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

.social-link:hover {
    background: #4A90FF !important;
    border-color: #4A90FF !important;
    color: #ffffff !important;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #e9ecef !important;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a {
    color: #545b62 !important;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #4A90FF !important;
}

.footer-links .separator {
    color: #dee2e6 !important;
    font-size: 0.8rem;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-copyright span {
    color: #545b62 !important;
    font-size: 0.85rem;
}

.footer-copyright .separator {
    color: #dee2e6 !important;
}

.footer-copyright .designer {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

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

    .footer-links,
    .footer-copyright {
        flex-direction: column;
        gap: 8px;
    }

    .footer-links .separator,
    .footer-copyright .separator {
        display: none;
    }
}

/* ==================== PAGE TEMPLATES ==================== */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    background:
        linear-gradient(to bottom, rgba(42, 50, 64, 0.75) 0%, rgba(42, 50, 64, 0.92) 100%),
        var(--hero-bg, none) center 30% / cover no-repeat;
    background-color: var(--dark);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 120, 182, 0.2) 0%, transparent 60%);
    opacity: 1;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.page-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.page-parent {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.page-parent a {
    color: rgba(255, 255, 255, 0.8);
}

.page-parent a:hover {
    color: #ffffff;
}

/* ==================== SUB NAVIGATION ==================== */
.subnav {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 0;
    position: relative;
    z-index: 10;
}

.subnav .container {
    max-width: 1400px;
    padding: 0 20px;
}

.subnav-items {
    display: flex;
    justify-content: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.subnav-items::-webkit-scrollbar {
    display: none;
}

.subnav-item {
    display: flex;
    flex-direction: column;
    padding: 20px 28px;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.subnav-item:hover {
    background: #f8f9fa;
    border-bottom-color: #dee2e6;
}

.subnav-item.active {
    border-bottom-color: #4A90FF;
    background: rgba(74, 144, 255, 0.04);
}

/* Overview/parent link in subnav */
.subnav-overview {
    border-right: 1px solid #e9ecef;
    margin-right: 8px;
}

.subnav-overview .subnav-title::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A90FF' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E") no-repeat center;
    margin-right: 6px;
    vertical-align: -2px;
}

.subnav-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #32373c;
    margin-bottom: 4px;
}

.subnav-item:hover .subnav-title,
.subnav-item.active .subnav-title {
    color: #4A90FF;
}

.subnav-desc {
    font-size: 0.8rem;
    color: #6c757d;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .subnav-item {
        padding: 16px 20px;
    }

    .subnav-desc {
        display: none;
    }
}

.page-content {
    padding: 80px 0 160px;
    background: #ffffff;
}

.page-content > .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

/* Wider container for enhanced service pages */
.page-content:has(.service-hero-intro) > .container,
.page-content:has(.highlight-block) > .container {
    max-width: 1200px;
}

.page-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 60px 0 24px;
    letter-spacing: -0.02em;
    color: #32373c;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 40px 0 16px;
    color: #32373c;
}

.page-content p {
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.page-content ul, .page-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.page-content li {
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 12px;
}

.page-content strong {
    color: #32373c;
    font-weight: 600;
}

.page-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-content .feature-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.page-content .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 12px;
    color: #6c757d;
}

.page-content .feature-list li::before {
    content: '\2713';
    width: 24px;
    height: 24px;
    background: #4A90FF;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Service page blocks - title, image, text */
.page-content .service-intro {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 60px;
    max-width: 800px;
}

.page-content .service-block {
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid #e9ecef;
}

.page-content .service-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-content .service-block h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #32373c;
}

.page-content .service-block img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 32px;
}

.page-content .service-block p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 800px;
}

.page-content .service-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
    max-width: 800px;
}

.page-content .service-block li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.6;
}

.page-content .service-block li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4A90FF;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
}

/* ==================== ENHANCED SERVICE PAGE STYLES ==================== */

/* Service intro - full width */
.page-content .service-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #32373c;
    max-width: 100%;
    margin-bottom: 60px;
    text-align: center;
}

/* Image on top block */
.image-top-block {
    background: #f8f9fa;
    border-radius: 24px;
    overflow: hidden;
    margin: 60px 0;
}

.image-top-block .block-image-top {
    width: 100%;
    height: auto;
    display: block;
}

.image-top-block .block-content {
    padding: 40px 60px 50px;
}

.image-top-block .block-content h2 {
    margin-top: 0;
}

.image-top-block .block-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.image-top-block .block-content li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: #32373c;
}

.image-top-block .block-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4A90FF;
    font-weight: 700;
}

@media (max-width: 768px) {
    .image-top-block .block-content {
        padding: 30px;
    }
    .image-top-block .block-content ul {
        grid-template-columns: 1fr;
    }
}

/* Hero intro with image */
.service-hero-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-hero-intro .intro-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-hero-intro .intro-text .service-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .service-hero-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Highlight block with cards */
.highlight-block {
    background: #f8f9fa;
    padding: 60px;
    border-radius: 24px;
    margin: 60px 0;
}

.features-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-card-item {
    background: #ffffff;
    padding: 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.feature-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(74, 144, 255, 0.15);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4A90FF 0%, #3a7bff 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon-wrap svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.feature-card-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #32373c;
    margin-bottom: 8px;
}

.feature-card-item p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    min-height: 2.5em;
}

.feature-card-item h4 {
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 900px) {
    .features-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .highlight-block {
        padding: 40px 30px;
    }
}

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

/* Process steps */
.process-steps {
    margin-top: 40px;
}

.process-step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #4A90FF 0%, #3a7bff 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #32373c;
    margin-bottom: 8px;
    margin-top: 0;
}

.step-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.7;
}

/* Image + Text block */
.image-text-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #f8f9fa;
    padding: 60px;
    border-radius: 24px;
    margin: 60px 0;
}

.image-text-block .image-side img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.image-text-block .text-side h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.image-text-block .text-side ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.image-text-block .text-side li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: #32373c;
}

.image-text-block .text-side li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4A90FF;
    font-weight: 700;
}

.image-text-block.reverse {
    grid-template-columns: 1fr 1fr;
}

.image-text-block.reverse .text-side {
    order: 1;
}

.image-text-block.reverse .image-side {
    order: 2;
}

/* 40/60 image-text layout */
.image-text-block.image-40 {
    grid-template-columns: 40% 1fr;
    gap: 40px;
}

.image-text-block.image-40.reverse {
    grid-template-columns: 1fr 40%;
}

.image-text-block.image-40.reverse .text-side {
    order: 1;
}

.image-text-block.image-40.reverse .image-side {
    order: 2;
}

.image-text-block.image-40 .image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

@media (max-width: 900px) {
    .image-text-block {
        grid-template-columns: 1fr;
        padding: 40px 30px;
    }

    .image-text-block.image-40,
    .image-text-block.image-40.reverse {
        grid-template-columns: 1fr;
    }

    .image-text-block.reverse .text-side,
    .image-text-block.reverse .image-side,
    .image-text-block.image-40.reverse .text-side,
    .image-text-block.image-40.reverse .image-side {
        order: unset;
    }
}

/* Options grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.option-card {
    background: #f8f9fa;
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid #4A90FF;
    transition: all 0.3s ease;
}

.option-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.option-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #32373c;
    margin-bottom: 12px;
    margin-top: 0;
}

.option-card p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

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

/* Benefits section */
.benefits-section {
    background: linear-gradient(135deg, #32373c 0%, #2a3240 100%);
    padding: 60px;
    border-radius: 24px;
    margin: 60px 0;
}

.benefits-section h2 {
    color: #ffffff !important;
    margin-top: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 20px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.benefit-item svg {
    width: 24px;
    height: 24px;
    color: #4A90FF;
    flex-shrink: 0;
}

.benefit-item span {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .benefits-section {
        padding: 40px 30px;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* CTA block */
.cta-block {
    text-align: center;
    padding: 60px;
    background: #f8f9fa;
    border-radius: 24px;
    margin-top: 60px;
}

.cta-block h2 {
    margin-top: 0;
}

.cta-block p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid #4A90FF;
    position: relative;
}

.pricing-card.featured::before {
    content: 'Priporočeno';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4A90FF 0%, #00D4E8 100%);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #32373c;
    margin-bottom: 16px;
    margin-top: 0;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pricing-price .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A90FF;
}

.pricing-price .period {
    font-size: 0.85rem;
    color: #6c757d;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: #32373c;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4A90FF;
    font-weight: 700;
}

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

.page-content .service-block li strong {
    color: #32373c;
}

/* Service Grid Layout */
.page-content:has(.service-grid) > .container {
    max-width: 1400px;
}

.page-content .service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

@media (max-width: 1100px) {
    .page-content .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .page-content .service-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.page-content .service-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-content .service-card:hover {
    border-color: #4A90FF;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(74, 144, 255, 0.15);
}

.page-content .service-card img {
    width: calc(100% - 24px);
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin: 12px 12px 0;
    border-radius: 10px;
}

.page-content .service-card .card-content {
    padding: 20px;
}

.page-content .service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 16px 20px 10px;
    color: #32373c;
    line-height: 1.3;
}

.page-content .service-card p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 20px 16px;
}

/* Case Study Cards - Full Width */
.page-content .case-study-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
}

.page-content .case-study-card img {
    height: 100%;
    aspect-ratio: auto;
    border-radius: 16px 0 0 16px;
}

.page-content .case-study-card .card-content {
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-content .case-study-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.page-content .case-study-card p {
    font-size: 1rem;
    line-height: 1.7;
}

.card-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .page-content .case-study-card {
        grid-template-columns: 1fr;
    }

    .page-content .case-study-card img {
        border-radius: 16px 16px 0 0;
        aspect-ratio: 16 / 9;
    }
}

/* Dobre Prakse Page Grid */
.dobre-prakse-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.case-study-card-full {
    display: grid;
    grid-template-columns: 350px 1fr;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.case-study-card-full:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.case-study-card-full .card-image {
    overflow: hidden;
}

.case-study-card-full .card-image img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card-full:hover .card-image img {
    transform: scale(1.05);
}

.case-study-card-full .card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.case-study-card-full .card-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.case-study-card-full h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.case-study-card-full p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.case-study-card-full .card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.case-study-card-full .card-link .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.case-study-card-full:hover .card-link .arrow {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .case-study-card-full {
        grid-template-columns: 1fr;
    }

    .case-study-card-full .card-image img {
        min-height: 200px;
        aspect-ratio: 16 / 9;
    }
}

.no-items {
    text-align: center;
    color: var(--text-muted);
    padding: 60px 20px;
    font-size: 1.1rem;
}

.page-content .service-card ul {
    list-style: none;
    padding: 0 24px 24px;
    margin: 0;
    display: grid;
    gap: 10px;
}

.page-content .service-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.page-content .service-card li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #4A90FF;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}

.page-content .service-card li strong {
    color: #32373c;
}

/* Benefit list items with title + description */
.page-content .service-card.benefits-card ul {
    gap: 12px;
    padding: 0 20px 20px;
}

.page-content .service-card.benefits-card li {
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.page-content .service-card.benefits-card li::before {
    display: none;
}

.page-content .service-card.benefits-card li strong {
    font-size: 0.95rem;
    color: #32373c;
    display: block;
    font-weight: 600;
}

.page-content .service-card.benefits-card li span {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual-inner {
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-logo-wrapper {
        max-width: 280px;
    }

    .hero-logo-icon {
        max-width: 250px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

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

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

@media (max-width: 768px) {
    .hero-grid {
        gap: 20px;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .hero-badge {
        margin-bottom: 20px;
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

    .service-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

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

    .stat-item {
        padding: 24px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .cta-box {
        padding: 50px 30px;
    }
}

/* Child Pages Grid */
p.page-parent {
    margin-bottom: 16px;
}

p.page-parent a {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.child-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.child-page-card {
    display: block;
    background: #2a3240;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.child-page-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.child-page-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    color: #ffffff;
}

.child-page-card:hover .child-page-icon {
    background: var(--gradient-primary);
}

.child-page-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.child-page-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.child-page-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 500;
}

.child-page-link::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.child-page-card:hover .child-page-link {
    color: var(--accent);
}

.child-page-card:hover .child-page-link::after {
    transform: translateX(4px);
}

/* ==================== BLOG POST STYLES ==================== */
.post-hero {
    padding: 150px 0 60px;
}

.post-article {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 900px) {
    .post-article {
        grid-template-columns: 350px 1fr;
        gap: 48px;
    }
}

.post-featured-image {
    margin: 0;
}

.post-featured-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (min-width: 900px) {
    .post-featured-image {
        position: sticky;
        top: 120px;
        align-self: start;
    }
}

.post-body {
    min-width: 0;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-meta a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-meta a:hover {
    color: var(--primary-light);
}

.meta-separator {
    opacity: 0.5;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h2 {
    margin-top: 48px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}

.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-logo-wrapper {
        max-width: 250px;
    }

    .hero-logo-icon {
        max-width: 220px;
    }
}

/* ==================== BLOG / IT NOVICE ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 120, 182, 0.15);
}

.blog-card.featured img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card.featured:hover img {
    transform: scale(1.05);
}

.blog-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    width: fit-content;
}

.blog-tag.dobre-prakse {
    background: linear-gradient(135deg, #00C853, #64DD17);
    color: #fff;
}

.blog-tag.varnost {
    background: linear-gradient(135deg, #E53935, #FF5252);
    color: #fff;
}

.blog-tag.dogodki {
    background: linear-gradient(135deg, #7C4DFF, #B388FF);
    color: #fff;
}

.blog-tag.novice {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}

.blog-tag.nasveti {
    background: linear-gradient(135deg, #FFB300, #FFCA28);
    color: #1a1a1a;
}

.blog-tag.oblak {
    background: linear-gradient(135deg, #00ACC1, #4DD0E1);
    color: #fff;
}

.blog-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: auto;
}

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

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

/* ==================== CONTACT PAGE (Light Theme - Createable Style) ==================== */
/* Light theme variables for contact page */
.contact-hero,
.contact-main,
.contact-departments,
.contact-location {
    --light-bg: #ffffff;
    --light-bg-alt: #f8f9fa;
    --light-text: #32373c;
    --light-text-secondary: #6c757d;
    --light-text-muted: #adb5bd;
    --light-border: #e9ecef;
    --light-accent: #4A90FF;
    --light-accent-hover: #3a7bff;
}

.contact-hero {
    padding: 140px 0 80px;
    background: #ffffff;
    text-align: center;
}

.contact-hero .page-parent {
    color: #6c757d;
}

.contact-hero .page-parent a {
    color: #6c757d;
}

.contact-hero .page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #32373c;
    letter-spacing: -0.02em;
}

.contact-hero .hero-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* Contact Cards Grid */
.contact-main {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 48px 36px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.contact-card-primary {
    background: #32373c;
    border: none;
}

.contact-card-primary h3,
.contact-card-primary .contact-value,
.contact-card-primary .contact-note {
    color: #ffffff;
}

.contact-card-primary .contact-value a {
    color: #ffffff;
}

.contact-card-primary .contact-value a:hover {
    color: #4A90FF;
}

.contact-card-primary .contact-card-icon {
    background: rgba(74, 144, 255, 0.15);
}

.contact-card-primary .contact-card-icon svg {
    stroke: #4A90FF;
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    background: rgba(74, 144, 255, 0.1);
}

.contact-card-icon svg {
    width: 36px;
    height: 36px;
    stroke: #4A90FF;
    stroke-width: 1.5;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #32373c;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-value a {
    color: #32373c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: #4A90FF;
}

.contact-note {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 400;
}

/* Departments Section */
.contact-departments {
    padding: 120px 0;
    background: #ffffff;
}

.contact-departments .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #32373c;
    letter-spacing: -0.02em;
}

.contact-departments .section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 70px;
    font-weight: 400;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.department-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: #f8f9fa;
    border: none;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
}

.department-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.department-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.department-card:hover .department-icon {
    background: #4A90FF;
}

.department-card:hover .department-icon svg {
    stroke: #ffffff;
}

.department-icon svg {
    width: 26px;
    height: 26px;
    stroke: #4A90FF;
    stroke-width: 1.5;
    transition: stroke 0.3s ease;
}

.department-content h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #32373c;
}

.department-content p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 14px;
    line-height: 1.5;
}

.department-email {
    font-size: 1rem;
    font-weight: 500;
    color: #4A90FF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.department-email:hover {
    color: #3a7bff;
}

.department-email::after {
    content: '→';
    transition: transform 0.3s ease;
}

.department-card:hover .department-email::after {
    transform: translateX(4px);
}

/* Location Section */
.contact-location {
    padding: 120px 0;
    background: #f8f9fa;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: stretch;
}

.company-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #32373c;
    letter-spacing: -0.01em;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.info-value {
    font-size: 1.05rem;
    color: #32373c;
    font-weight: 500;
}

.social-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #32373c;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-icons {
    display: flex;
    gap: 14px;
}

.social-icon {
    width: 52px;
    height: 52px;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.social-icon:hover {
    background: #32373c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: #6c757d;
    transition: fill 0.3s ease;
}

.social-icon:hover svg {
    fill: #ffffff;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    min-height: 450px;
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.map-container iframe {
    display: block;
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid .contact-card:first-child {
        grid-column: 1 / -1;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-container {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 60px;
    }

    .contact-hero .page-title {
        font-size: 2.5rem;
    }

    .contact-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .contact-main,
    .contact-departments,
    .contact-location {
        padding: 80px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 36px 28px;
    }

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

    .department-card {
        padding: 24px;
    }

    .contact-departments .section-title {
        font-size: 2rem;
    }
}

/* ==================== PENETRATION TEST PAGE COMPONENTS ==================== */

/* Centered Section Titles */
.section-title-center {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #32373c;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* Callout Box with Emoji Grid */
.callout-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 48px;
    margin: 48px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.callout-box h2,
.callout-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #32373c;
    margin-bottom: 16px;
    text-align: center;
}

.callout-box > p,
.callout-content > p {
    text-align: center;
    color: #6c757d;
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.callout-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.callout-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.callout-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(74, 144, 255, 0.12);
    border-color: #4A90FF;
}

.callout-item .emoji,
.callout-item .callout-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.callout-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #32373c;
    margin-bottom: 6px;
}

.callout-item > span:not(.callout-icon):not(.emoji) {
    font-size: 0.95rem;
    color: #32373c;
    line-height: 1.5;
    font-weight: 500;
}

.callout-item span.description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

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

@media (max-width: 600px) {
    .callout-box {
        padding: 32px 24px;
    }

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

/* Comparison Cards Section */
.comparison-section {
    margin: 64px 0;
}

.comparison-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.comparison-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4A90FF 0%, #00D4E8 100%);
}

.comparison-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(74, 144, 255, 0.15);
}

.comparison-card .card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(74, 144, 255, 0.1) 0%, rgba(0, 212, 232, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.comparison-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #32373c;
    margin-bottom: 16px;
}

.comparison-card p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 24px;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-card ul li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 0.95rem;
    color: #32373c;
    border-bottom: 1px solid #f5f5f5;
}

.comparison-card ul li:last-child {
    border-bottom: none;
}

.comparison-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #4A90FF;
    font-weight: 600;
}

/* Comparison card inner elements */
.comparison-header {
    margin-bottom: 24px;
}

.comparison-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(74, 144, 255, 0.1) 0%, rgba(0, 212, 232, 0.1) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.comparison-icon svg {
    width: 28px;
    height: 28px;
    stroke: #4A90FF;
}

.comparison-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #32373c;
    margin-bottom: 8px;
}

.comparison-tagline {
    font-size: 0.95rem;
    color: #6c757d;
    font-style: italic;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.comparison-list li {
    position: relative;
    padding: 12px 0 12px 28px;
    font-size: 0.95rem;
    color: #32373c;
    border-bottom: 1px solid #f5f5f5;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #4A90FF;
    font-weight: 600;
}

.comparison-footer {
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    font-size: 0.95rem;
    color: #6c757d;
}

.comparison-footer strong {
    color: #4A90FF;
}

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

/* Timeline Steps */
.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 48px 0;
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 48px;
    bottom: 48px;
    width: 3px;
    background: linear-gradient(180deg, #4A90FF 0%, #00D4E8 100%);
    border-radius: 3px;
}

.timeline-step {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    position: relative;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4A90FF 0%, #00D4E8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(74, 144, 255, 0.3);
}

.timeline-content {
    flex: 1;
    padding-top: 8px;
}

.timeline-content h3,
.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #32373c;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .timeline-steps::before {
        left: 18px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-step {
        gap: 20px;
    }
}

/* Dark Block - Alternative to highlight-block */
.dark-block {
    background: linear-gradient(135deg, #1a1f2e 0%, #252b3d 100%);
    border-radius: 24px;
    padding: 60px;
    margin: 64px 0;
    color: #ffffff;
}

.dark-block h2,
.dark-block h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: center;
}

.dark-block > p {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dark-block p {
    color: rgba(255, 255, 255, 0.85);
}

.dark-block .feature-list li,
.page-content .dark-block .feature-list li {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.dark-block .feature-list li::before {
    background: #4A90FF;
}

.dark-block .test-areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dark-block .test-area {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.dark-block .test-area:hover {
    background: rgba(74, 144, 255, 0.15);
    border-color: rgba(74, 144, 255, 0.3);
    transform: translateY(-4px);
}

.dark-block .test-area .area-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.dark-block .test-area h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.dark-block .test-area p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .dark-block .test-areas {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dark block with feature cards */
.dark-block .features-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dark-block .feature-card-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.dark-block .feature-card-item:hover {
    background: rgba(74, 144, 255, 0.15);
    border-color: rgba(74, 144, 255, 0.3);
    transform: translateY(-4px);
}

.dark-block .feature-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(74, 144, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.dark-block .feature-icon-wrap svg {
    width: 28px;
    height: 28px;
    stroke: #4A90FF;
}

.dark-block .feature-card-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    min-height: auto;
}

.dark-block .feature-card-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    min-height: auto;
}

@media (max-width: 992px) {
    .dark-block .features-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dark-block {
        padding: 40px 24px;
    }

    .dark-block .test-areas,
    .dark-block .features-cards {
        grid-template-columns: 1fr;
    }
}

/* Final CTA with Benefits */
.final-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    margin: 64px 0;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, #4A90FF 0%, #00D4E8 100%);
    border-radius: 3px;
}

.final-cta h2,
.final-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #32373c;
    margin-bottom: 16px;
}

.final-cta > p {
    font-size: 1.15rem;
    color: #6c757d;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.final-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.benefit-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #32373c;
    transition: all 0.3s ease;
}

.benefit-tag:hover {
    border-color: #4A90FF;
    background: rgba(74, 144, 255, 0.05);
}

.benefit-tag .tag-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-tag .tag-icon svg {
    width: 16px;
    height: 16px;
    stroke: #4A90FF;
}

.final-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .final-cta {
        padding: 48px 24px;
    }

    .final-cta h3 {
        font-size: 1.6rem;
    }

    .benefit-tag {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* Team Section Styling */
.team-section {
    margin: 64px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.team-member {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border-color: #4A90FF;
}

.team-member .member-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(74, 144, 255, 0.1) 0%, rgba(0, 212, 232, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.team-member h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #32373c;
    margin-bottom: 6px;
}

.team-member .member-role {
    font-size: 0.9rem;
    color: #4A90FF;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-member p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}

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

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

/* ==================== BENEFIT LIST (Callout Box) ==================== */
.benefit-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 144, 255, 0.1);
    border-color: #4A90FF;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(74, 144, 255, 0.1) 0%, rgba(0, 212, 232, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: #4A90FF;
}

.benefit-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.benefit-text strong {
    font-size: 1rem;
    font-weight: 600;
    color: #32373c;
}

.benefit-text span {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

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

/* ==================== CERTIFICATIONS BLOCK ==================== */
.certifications-block {
    margin: 64px 0;
}

.cert-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cert-category {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.cert-category:hover {
    border-color: #4A90FF;
    box-shadow: 0 12px 40px rgba(74, 144, 255, 0.1);
}

.cert-category-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.cert-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(74, 144, 255, 0.1) 0%, rgba(0, 212, 232, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon svg {
    width: 24px;
    height: 24px;
    stroke: #4A90FF;
}

.cert-category-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #32373c;
    margin-bottom: 4px;
}

.cert-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
}

.cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cert-tag {
    display: inline-block;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #32373c;
    transition: all 0.2s ease;
}

.cert-tag:hover {
    background: rgba(74, 144, 255, 0.1);
    border-color: #4A90FF;
    color: #4A90FF;
}

@media (max-width: 992px) {
    .cert-categories {
        grid-template-columns: 1fr;
    }
}

/* Timeline marker with check SVG */
.timeline-marker.check {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.timeline-marker.check svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

/* ==================== REFERENCES SECTION ==================== */
.references-section {
    margin: 64px 0;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.reference-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.reference-item:hover {
    border-color: #4A90FF;
    box-shadow: 0 8px 24px rgba(74, 144, 255, 0.1);
    transform: translateY(-2px);
}

.reference-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(74, 144, 255, 0.1) 0%, rgba(0, 212, 232, 0.1) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reference-icon svg {
    width: 16px;
    height: 16px;
    stroke: #4A90FF;
}

.reference-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #32373c;
    line-height: 1.3;
}

@media (max-width: 1200px) {
    .references-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

    .reference-item {
        padding: 14px 16px;
    }
}


/* ============================================
   SEO ENHANCED COMPONENTS
   ============================================ */

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: #f8f9fa;
    padding: 12px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Table of Contents */
.article-toc {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 20px 25px;
    margin: 30px 0;
}

.article-toc h4 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.article-toc ol {
    margin: 0;
    padding-left: 20px;
}

.article-toc li {
    margin: 8px 0;
    line-height: 1.5;
}

.article-toc li.toc-sub {
    margin-left: 20px;
    font-size: 0.95rem;
}

.article-toc a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-toc a:hover {
    color: var(--primary);
}

/* Reading Time Badge */
.reading-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e7f3ff;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.reading-time-icon {
    font-size: 1rem;
}

/* Related Posts */
.related-posts {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid var(--border-subtle);
}

.related-posts h3 {
    margin: 0 0 20px 0;
    font-size: 1.2rem;
    color: var(--dark);
}

.related-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.related-posts-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.related-posts-list li:last-child {
    border-bottom: none;
}

.related-posts-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: transform 0.2s ease;
}

.related-posts-list a:hover {
    transform: translateX(5px);
}

/* Post Content Article Wrapper */
article.post-content {
    max-width: 100%;
}

/* Smooth scroll anchors */
[id^="section-"] {
    scroll-margin-top: 100px;
}

/* Enhanced section headings for SEO */
.service-block h2[id],
.highlight-block h3[id] {
    scroll-margin-top: 100px;
}

/* Schema markup visual indicators (hidden) */
[itemscope] {
    /* Schema markup container */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .breadcrumb-list {
        gap: 6px;
    }

    .article-toc {
        padding: 15px 20px;
    }

    .related-posts {
        padding: 20px;
    }
}

/* ============================================
   STICKY SIDEBAR TABLE OF CONTENTS
   ============================================ */

/* Container for content with TOC */
.content-with-toc {
    position: relative;
}

/* Sticky TOC Sidebar */
.toc-sidebar {
    position: fixed;
    right: 20px;
    top: 120px;
    width: 260px;
    max-height: calc(100vh - 160px);
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 100;
    transition: all 0.3s ease;
    overflow: hidden;
}

.toc-sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* TOC Header */
.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    background: #f8f9fa;
}

.toc-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toc-toggle {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.toc-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.toc-toggle-icon {
    width: 16px;
    height: 2px;
    background: var(--dark);
    position: relative;
    transition: transform 0.3s ease;
}

.toc-toggle-icon::before,
.toc-toggle-icon::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: var(--dark);
    left: 0;
    transition: transform 0.3s ease;
}

.toc-toggle-icon::before {
    top: -5px;
}

.toc-toggle-icon::after {
    top: 5px;
}

/* TOC Navigation */
.toc-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-item {
    margin: 0;
}

.toc-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.toc-link:hover {
    color: var(--primary);
    background: rgba(74, 144, 255, 0.05);
}

.toc-link.active {
    color: var(--primary);
    background: rgba(74, 144, 255, 0.08);
    border-left-color: var(--primary);
    font-weight: 500;
}

/* Sub-items (H3) */
.toc-item.toc-sub .toc-link {
    padding-left: 32px;
    font-size: 0.85rem;
}

/* Progress Bar */
.toc-progress {
    height: 3px;
    background: #e9ecef;
}

.toc-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.1s ease-out;
}

/* Collapsed State */
.toc-sidebar.collapsed {
    width: 50px;
    border-radius: 25px;
}

.toc-sidebar.collapsed .toc-nav,
.toc-sidebar.collapsed .toc-title,
.toc-sidebar.collapsed .toc-progress {
    display: none;
}

.toc-sidebar.collapsed .toc-header {
    padding: 11px;
    justify-content: center;
    border-bottom: none;
    background: transparent;
}

.toc-sidebar.collapsed .toc-toggle-icon {
    transform: rotate(90deg);
}

/* Smooth scroll target offset */
.toc-heading {
    scroll-margin-top: 100px;
}

/* Hide TOC sidebar on pages without enough content */
@media (max-width: 1400px) {
    .toc-sidebar {
        right: 10px;
        width: 240px;
    }
}

/* Tablet - show as floating button */
@media (max-width: 1200px) {
    .toc-sidebar {
        right: 15px;
        bottom: 80px;
        top: auto;
        width: 50px;
        height: 50px;
        max-height: 50px;
        border-radius: 25px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    .toc-sidebar .toc-nav,
    .toc-sidebar .toc-title,
    .toc-sidebar .toc-progress {
        display: none;
    }

    .toc-sidebar .toc-header {
        padding: 11px;
        justify-content: center;
        border-bottom: none;
        background: transparent;
    }

    .toc-sidebar:not(.collapsed) {
        width: 280px;
        height: auto;
        max-height: 60vh;
        border-radius: 12px;
        bottom: 80px;
    }

    .toc-sidebar:not(.collapsed) .toc-nav,
    .toc-sidebar:not(.collapsed) .toc-title,
    .toc-sidebar:not(.collapsed) .toc-progress {
        display: block;
    }

    .toc-sidebar:not(.collapsed) .toc-header {
        padding: 16px 20px;
        justify-content: space-between;
        border-bottom: 1px solid var(--border-subtle);
        background: #f8f9fa;
    }
}

/* Mobile - smaller button */
@media (max-width: 768px) {
    .toc-sidebar {
        right: 10px;
        bottom: 70px;
        width: 44px;
        height: 44px;
    }

    .toc-sidebar:not(.collapsed) {
        width: calc(100vw - 40px);
        max-width: 320px;
        bottom: 70px;
        right: 10px;
    }
}

/* Old inline TOC - hide it */
.article-toc {
    display: none !important;
}


/* ==================== DOBRE PRAKSE - WOW CARDS ==================== */

.page-hero .hero-intro {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.case-studies-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.case-study-card-wow {
    display: grid;
    grid-template-columns: 420px 1fr;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-card-wow:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: #4A90FF;
}

.card-image-wrap {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-card-wow:hover .card-image-wrap img {
    transform: scale(1.08);
}

.card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 255, 0.9) 0%, rgba(58, 123, 255, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.case-study-card-wow:hover .card-image-overlay {
    opacity: 1;
}

.view-btn {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.7) rotate(-45deg);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.case-study-card-wow:hover .view-btn {
    transform: scale(1) rotate(0deg);
    opacity: 1;
}

.view-btn svg {
    width: 28px;
    height: 28px;
    color: #4A90FF;
}

.card-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-client {
    display: inline-block;
    background: linear-gradient(135deg, #4A90FF 0%, #3a7bff 100%);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    width: fit-content;
}

.case-study-card-wow h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1f2e;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.case-study-card-wow:hover h3 {
    color: #4A90FF;
}

.case-study-card-wow p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.75;
    margin-bottom: 20px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.card-tags span {
    background: #f0f4ff;
    color: #4A90FF;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.case-study-card-wow:hover .card-tags span {
    background: #4A90FF;
    color: #ffffff;
}

.case-study-card-wow .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4A90FF;
    font-weight: 600;
    font-size: 1rem;
}

.case-study-card-wow .card-link .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.case-study-card-wow:hover .card-link .arrow {
    transform: translateX(6px);
}

@media (max-width: 900px) {
    .case-study-card-wow {
        grid-template-columns: 1fr;
    }

    .card-image-wrap {
        min-height: 240px;
        aspect-ratio: 16 / 10;
    }

    .card-info {
        padding: 30px;
    }

    .case-study-card-wow h3 {
        font-size: 1.5rem;
    }
}

/* ==================== CASE STUDY DETAIL PAGES ==================== */

/* Case Study Hero */
.case-study-hero {
    margin: -40px -20px 40px;
    border-radius: 16px;
    overflow: hidden;
}

.case-study-hero img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* Case Study Intro */
.case-study-intro {
    margin-bottom: 40px;
}

.case-study-intro .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #495057;
    font-weight: 400;
}

/* Case Study Meta Cards */
.case-study-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.meta-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.meta-card .meta-label {
    display: block;
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.meta-card .meta-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1f2e;
}

/* Case Study Section */
.case-study-section {
    margin-bottom: 50px;
}

.case-study-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1f2e;
    margin-bottom: 20px;
}

.case-study-section.highlight-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    padding: 40px;
    border-radius: 16px;
    margin-left: -20px;
    margin-right: -20px;
}

.case-study-section.results-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 16px;
    margin-left: -20px;
    margin-right: -20px;
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.pillar-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pillar-card .pillar-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4A90FF 0%, #357ABD 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pillar-card .pillar-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.pillar-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1f2e;
    margin-bottom: 10px;
}

.pillar-card p {
    color: #6c757d;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.pillar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pillar-card ul li {
    padding: 8px 0;
    border-top: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.pillar-card ul li strong {
    color: #1a1f2e;
    display: block;
}

/* Challenges Grid */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.challenge-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.challenge-card .challenge-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4A90FF 0%, #357ABD 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.challenge-card .challenge-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.challenge-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1f2e;
    margin-bottom: 10px;
}

.challenge-card p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Solution Grid */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.solution-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #4A90FF;
}

.solution-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1f2e;
    margin-bottom: 8px;
}

.solution-card p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Role Grid */
.role-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.role-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.role-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1f2e;
    margin-bottom: 8px;
}

.role-item p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Security Features */
.security-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.security-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.security-item .security-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4A90FF 0%, #357ABD 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.security-item .security-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.security-item .security-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1f2e;
    margin-bottom: 5px;
}

.security-item .security-content p {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.result-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.result-card .result-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
}

.result-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1f2e;
    margin-bottom: 8px;
}

.result-card p {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

/* Testimonial Block */
.testimonial-block {
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    padding: 40px;
    border-radius: 16px;
    margin: 50px -20px;
    color: #ffffff;
}

.testimonial-block .testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-block .testimonial-author strong {
    display: block;
    font-size: 1rem;
    color: #ffffff;
}

.testimonial-block .testimonial-author span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Client Cards */
.client-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.client-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.client-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1f2e;
    margin-bottom: 10px;
}

.client-card p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 25px;
}

.partner-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.partner-card.featured {
    background: linear-gradient(135deg, #4A90FF 0%, #357ABD 100%);
    color: #ffffff;
}

.partner-card strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.partner-card.featured strong {
    color: #ffffff;
}

.partner-card span {
    font-size: 0.8rem;
    color: #6c757d;
}

.partner-card.featured span {
    color: rgba(255, 255, 255, 0.8);
}

/* Case Study Stats */
.case-study-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    padding: 40px;
    border-radius: 16px;
    margin: 50px -20px;
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A90FF;
    margin-bottom: 5px;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* EU Funding Block */
.eu-funding-block {
    background: #f0f4ff;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.eu-funding-block .eu-logo {
    width: 60px;
    height: 60px;
    background: #4A90FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eu-funding-block .eu-logo svg {
    width: 30px;
    height: 30px;
    color: #ffffff;
}

.eu-funding-block p {
    margin: 0;
    font-size: 0.9rem;
    color: #495057;
}

.eu-funding-block p strong {
    display: block;
    font-size: 1rem;
    color: #1a1f2e;
    margin-bottom: 5px;
}

/* Case Study CTA */
.case-study-cta {
    background: linear-gradient(135deg, #4A90FF 0%, #357ABD 100%);
    padding: 50px 40px;
    border-radius: 16px;
    text-align: center;
    margin: 50px -20px 0;
    color: #ffffff;
}

.case-study-cta h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.case-study-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.case-study-cta .btn {
    background: #ffffff !important;
    color: #4A90FF !important;
}

.case-study-cta .btn:hover {
    background: #f8f9fa !important;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .case-study-meta {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

    .solution-grid,
    .role-grid,
    .security-features,
    .client-cards {
        grid-template-columns: 1fr;
    }

    .case-study-section.highlight-section,
    .case-study-section.results-section,
    .testimonial-block,
    .case-study-stats,
    .case-study-cta {
        margin-left: -15px;
        margin-right: -15px;
        padding: 30px 20px;
    }

    .case-study-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item .stat-number {
        font-size: 1.8rem;
    }

    .eu-funding-block {
        flex-direction: column;
        text-align: center;
    }
}

/* ==================== IT NOVICE - MAGAZINE LAYOUT ==================== */

.magazine-content {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Featured Article - Hero Style */
.magazine-featured {
    margin-bottom: 40px;
}

.featured-article {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.featured-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.featured-article:hover .featured-image img {
    transform: scale(1.03);
}

.featured-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category {
    display: inline-block;
    background: #4A90FF;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    width: fit-content;
}

.featured-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1f2e;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.featured-info p {
    font-size: 1.05rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.article-date {
    font-size: 0.9rem;
    color: #6c757d;
}

.read-more {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4A90FF;
    transition: color 0.3s ease;
}

.featured-article:hover .read-more {
    color: #3a7bff;
}

/* Secondary Articles - 2 Column */
.magazine-secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.secondary-article {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.secondary-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.secondary-article .article-image {
    position: relative;
    overflow: hidden;
}

.secondary-article .article-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.secondary-article:hover .article-image img {
    transform: scale(1.05);
}

.secondary-article .article-info {
    padding: 24px;
}

.secondary-article h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1f2e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.secondary-article .article-date {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Magazine Section Title */
.magazine-section {
    padding-top: 40px;
    border-top: 1px solid #dee2e6;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1f2e;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid #4A90FF;
    display: inline-block;
}

/* Magazine Grid - Cards */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.magazine-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.magazine-card .card-image {
    position: relative;
    overflow: hidden;
}

.magazine-card .card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

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

.card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.magazine-card .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.magazine-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1f2e;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.magazine-card p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-date {
    font-size: 0.8rem;
    color: #6c757d;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-image img {
        width: 100%;
    }

    .featured-info {
        padding: 32px;
    }

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

@media (max-width: 768px) {
    .magazine-content {
        padding: 50px 0;
    }

    .magazine-secondary {
        grid-template-columns: 1fr;
    }

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

    .featured-info h2 {
        font-size: 1.5rem;
    }
}

/* ==================== MAGAZINE ARTICLE (Single Post) ==================== */

.magazine-article {
    background: #ffffff;
}

/* Article Header */
.article-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #1a1f2e 0%, #2a3142 100%);
}

.article-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ffffff;
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.article-meta-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.article-category-tag {
    background: #4A90FF;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-reading-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.article-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.article-meta-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.meta-dot {
    color: rgba(255, 255, 255, 0.3);
}

/* Featured Image */
.article-featured-image {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.article-featured-image .container {
    max-width: 1000px;
}

.article-featured-image figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Content */
.article-content {
    padding: 60px 0 80px;
}

.article-content .container {
    max-width: 800px;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #32373c;
}

.article-body p {
    margin-bottom: 1.5em;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1f2e;
    margin: 2em 0 0.75em;
    letter-spacing: -0.02em;
}

.article-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1f2e;
    margin: 1.75em 0 0.5em;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2em 0;
}

/* First image in article - featured style */
.article-body > p:first-child img,
.article-body > .post-content > p:first-child img,
.article-body > article > p:first-child img {
    width: calc(100% + 100px);
    max-width: none;
    margin-left: -50px;
    margin-top: -20px;
    margin-bottom: 2em;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.article-body a {
    color: #4A90FF;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: #3a7bff;
}

/* Buttons in article body - override link color and add default styling */
.article-body a.btn,
.article-body .btn,
.article-body .post-content a.btn,
.article-body article a.btn,
a.btn {
    background: #4A90FF !important;
    color: #ffffff !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-body a.btn:hover,
.article-body .btn:hover,
.article-body .post-content a.btn:hover,
.article-body article a.btn:hover,
a.btn:hover {
    background: #3a7bff !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 144, 255, 0.3);
}

.article-body a.btn-glow,
.article-body a.btn-primary,
.article-body .btn-glow,
.article-body .final-cta a,
.article-body .highlight-block a.btn,
.article-body .callout-box a.btn {
    color: #ffffff !important;
    text-decoration: none !important;
}

.article-body a.btn-glow:hover,
.article-body a.btn-primary:hover,
.article-body .btn-glow:hover,
.article-body .final-cta a:hover {
    color: #ffffff !important;
}

.article-body ul,
.article-body ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.article-body li {
    margin-bottom: 0.5em;
}

.article-body blockquote {
    margin: 2em 0;
    padding: 1.5em 2em;
    background: #f8f9fa;
    border-left: 4px solid #4A90FF;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #6c757d;
}

/* Article Footer */
.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tags .tag {
    background: #f0f4ff;
    color: #4A90FF;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Previous / Next Navigation */
.article-navigation {
    background: #f8f9fa;
    padding: 80px 0;
    border-top: 1px solid #e9ecef;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1f2e;
    text-align: center;
    margin-bottom: 40px;
}

.nav-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.nav-article {
    display: flex;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.nav-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.nav-article-image {
    width: 140px;
    flex-shrink: 0;
    overflow: hidden;
}

.nav-article-image img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nav-article:hover .nav-article-image img {
    transform: scale(1.05);
}

.nav-article-info {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4A90FF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.nav-label svg {
    width: 16px;
    height: 16px;
}

.nav-article-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1f2e;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nav-article:hover .nav-article-title {
    color: #4A90FF;
}

/* Single article - only show one */
.nav-articles:has(.nav-prev):not(:has(.nav-next)) .nav-prev,
.nav-articles:has(.nav-next):not(:has(.nav-prev)) .nav-next {
    grid-column: span 2;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header {
        padding: 120px 0 50px;
    }

    .article-header h1 {
        font-size: 1.75rem;
    }

    .article-featured-image {
        margin-top: -20px;
    }

    .article-featured-image .container {
        padding: 0 16px;
    }

    .article-content {
        padding: 40px 0 60px;
    }

    .article-body {
        font-size: 1rem;
    }

    .nav-articles {
        grid-template-columns: 1fr;
    }

    .nav-article-image {
        width: 100px;
    }

    .article-navigation {
        padding: 50px 0;
    }
}

/* Hide old related posts that come from functions.php */
.magazine-article .related-posts {
    display: none;
}

/* Hide reading time badge from content */
.magazine-article .reading-time-badge {
    display: none;
}

/* ===================================
   Interactive Quiz Styles
   =================================== */

.quiz-container {
    margin: 40px 0;
}

.quiz-question {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.quiz-question h3 {
    font-size: 1.1rem;
    color: #32373c;
    margin-bottom: 16px;
    line-height: 1.5;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    line-height: 1.5;
}

.quiz-option:hover {
    border-color: var(--primary);
    background: rgba(74, 144, 255, 0.03);
}

.quiz-option input[type="radio"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.quiz-option input[type="radio"]:checked + span,
.quiz-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(74, 144, 255, 0.05);
}

.quiz-submit {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--gradient-primary);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 255, 0.3);
}

.quiz-result {
    margin-top: 40px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.quiz-result h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.quiz-result p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.quiz-result.result-excellent {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
}

.quiz-result.result-excellent h3 {
    color: #155724;
}

.quiz-result.result-excellent p {
    color: #155724;
}

.quiz-result.result-good {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border: 2px solid #ffc107;
}

.quiz-result.result-good h3 {
    color: #856404;
}

.quiz-result.result-good p {
    color: #856404;
}

.quiz-result.result-needs-work {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
}

.quiz-result.result-needs-work h3 {
    color: #721c24;
}

.quiz-result.result-needs-work p {
    color: #721c24;
}

.quiz-result .btn {
    margin-top: 10px;
}

/* Responsive quiz styles */
@media (max-width: 768px) {
    .quiz-question {
        padding: 20px 16px;
    }
    
    .quiz-question h3 {
        font-size: 1rem;
    }
    
    .quiz-option {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .quiz-submit {
        max-width: 100%;
    }
    
    .quiz-result {
        padding: 24px 20px;
    }
    
    .quiz-result h3 {
        font-size: 1.25rem;
    }
}

/* Quiz Result Cards */
.result-card {
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.result-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.result-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.result-card p:last-child {
    margin-bottom: 0;
}

.result-card.result-a {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
}

.result-card.result-a h3 {
    color: #155724;
}

.result-card.result-a p {
    color: #155724;
}

.result-card.result-b {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border: 2px solid #ffc107;
}

.result-card.result-b h3 {
    color: #856404;
}

.result-card.result-b p {
    color: #856404;
}

.result-card.result-c {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
}

.result-card.result-c h3 {
    color: #721c24;
}

.result-card.result-c p {
    color: #721c24;
}

#quiz-result {
    margin-top: 30px;
}

#quiz-result p[style*="margin-top"] {
    color: #6c757d;
    font-size: 0.95rem;
}
