.top-bar {
    background: linear-gradient(135deg, #E63946 0%, #0284C7 100%) !important;
}

.top-bar::before {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.2) 0%, transparent 50%);
}

.page-header {
    background: linear-gradient(135deg, #E63946 0%, #0284C7 100%) !important;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.15) 0%, transparent 50%);
    animation: mesh-move 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes mesh-move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, -20px) scale(1.1); }
}

.about-story-section::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.12) 0%, transparent 70%);
    top: 10%;
    right: 5%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

.about-story-section::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    bottom: 15%;
    left: 5%;
    filter: blur(45px);
    pointer-events: none;
    z-index: 0;
}

.stats-section {
    background: linear-gradient(135deg, rgba(255, 229, 232, 0.3) 0%, rgba(224, 242, 254, 0.3) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 113, 103, 0.15) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    filter: blur(60px);
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    bottom: 20%;
    right: 10%;
    filter: blur(55px);
    pointer-events: none;
}

/* Stat kartice sa dual-tone gradient */
.stat-card-modern {
    position: relative;
    z-index: 1;
}

.stat-card-modern::before {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.03) 0%, rgba(14, 165, 233, 0.03) 100%);
}

.stat-card-modern:hover {
    box-shadow: 
        0 20px 40px rgba(230, 57, 70, 0.15), 
        0 20px 40px rgba(14, 165, 233, 0.15);
    border-color: #E63946;
}

.stat-number {
    background: linear-gradient(135deg, #E63946 0%, #0EA5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.values-section {
    position: relative;
}

.values-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    top: 25%;
    right: 8%;
    filter: blur(70px);
    pointer-events: none;
}

.values-section::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
    bottom: 15%;
    left: 8%;
    filter: blur(60px);
    pointer-events: none;
}

.value-card-modern {
    position: relative;
    z-index: 1;
}

.value-card-modern::before {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.04) 0%, rgba(56, 189, 248, 0.04) 100%);
}

.value-card-modern:hover {
    border-color: var(--primary-blue);
    box-shadow: 
        0 20px 50px rgba(230, 57, 70, 0.12), 
        0 20px 50px rgba(14, 165, 233, 0.12);
}

.value-icon-modern {
    background: linear-gradient(135deg, #E63946 0%, #0EA5E9 100%);
    box-shadow: 
        0 8px 20px rgba(230, 57, 70, 0.2),
        0 8px 20px rgba(14, 165, 233, 0.2);
}

.value-card-modern:hover .value-icon-modern {
    box-shadow: 
        0 12px 30px rgba(230, 57, 70, 0.3), 
        0 12px 30px rgba(14, 165, 233, 0.3);
}

.mission-vision-section {
    background: linear-gradient(135deg, rgba(255, 229, 232, 0.2) 0%, rgba(224, 242, 254, 0.2) 100%);
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    top: 30%;
    left: 5%;
    filter: blur(65px);
    pointer-events: none;
}

.mission-vision-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    bottom: 25%;
    right: 5%;
    filter: blur(60px);
    pointer-events: none;
}

.mission-card,
.vision-card {
    position: relative;
    z-index: 1;
}

.mission-card::before,
.vision-card::before {
   border-color: var(--primary-blue);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.25), 0 0 30px rgba(14, 165, 233, 0.1);
    transform: translateY(-10px);
}

.mission-card:hover,
.vision-card:hover {
    border-color: var(--primary-dark);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.25), 0 0 30px rgba(14, 165, 233, 0.1);
    transform: translateY(-10px);
}

/* Naslovi sa dual gradient */
.mission-card h3,
.vision-card h3 {
    background: linear-gradient(135deg, #E63946 0%, #0EA5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-story-content h2 {
    background: linear-gradient(135deg, #E63946 0%, #0EA5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-story-grid,
.stats-grid,
.values-grid,
.mission-vision-grid {
    position: relative;
    z-index: 1;
}
/* Heritage sekcija */
.heritage-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.heritage-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.06) 0%, transparent 70%);
    top: 20%;
    left: 5%;
    filter: blur(60px);
    pointer-events: none;
}

.heritage-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
    bottom: 20%;
    right: 5%;
    filter: blur(55px);
    pointer-events: none;
}

.heritage-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.heritage-content {
    padding-right: 20px;
}

.heritage-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 1.5px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.heritage-badge svg {
    color: #0EA5E9;
}

.heritage-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #E63946 0%, #0EA5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heritage-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.heritage-content p:last-of-type {
    margin-bottom: 0;
}

/* Timeline element */
.heritage-image {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.heritage-timeline {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.1);
    position: relative;
}

.heritage-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 60px;
    bottom: 60px;
    width: 3px;
    background: linear-gradient(180deg, #E63946 0%, #0EA5E9 100%);
    border-radius: 10px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    padding-left: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #0EA5E9;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E63946 0%, #0EA5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 100px;
}

.timeline-label {
    font-size: 1rem;
    color: #64748B;
    font-weight: 500;
}

/* Heritage sekcija */
.heritage-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.heritage-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.06) 0%, transparent 70%);
    top: 20%;
    left: 5%;
    filter: blur(60px);
    pointer-events: none;
}

.heritage-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
    bottom: 20%;
    right: 5%;
    filter: blur(55px);
    pointer-events: none;
}

.heritage-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.heritage-content {
    padding-right: 20px;
}

.heritage-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 1.5px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.heritage-badge svg {
    color: #0EA5E9;
}

.heritage-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #E63946 0%, #0EA5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.heritage-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.heritage-content p:last-of-type {
    margin-bottom: 0;
}

/* Timeline element */
.heritage-image {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.heritage-timeline {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.1);
    position: relative;
}

.heritage-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 60px;
    bottom: 60px;
    width: 3px;
    background: linear-gradient(180deg, #E63946 0%, #0EA5E9 100%);
    border-radius: 10px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    padding-left: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #0EA5E9;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E63946 0%, #0EA5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 100px;
}

.timeline-label {
    font-size: 1rem;
    color: #64748B;
    font-weight: 500;
}

/* Highlight box */
.heritage-highlight {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(230, 57, 70, 0.05) 100%);
    border: 2px solid rgba(14, 165, 233, 0.15);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.heritage-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.highlight-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #E63946 0%, #0EA5E9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
}

.heritage-highlight p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .heritage-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .heritage-content {
        padding-right: 0;
    }
    
    .heritage-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .heritage-section {
        padding: 60px 0;
    }
    
    .heritage-content h2 {
        font-size: 1.75rem;
    }
    
    .heritage-timeline {
        padding: 30px 25px;
    }
    
    .heritage-timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        padding-left: 40px;
        gap: 20px;
    }
    
    .timeline-year {
        font-size: 1.2rem;
        min-width: 70px;
    }
    
    .timeline-label {
        font-size: 0.85rem;
    }
    
    .heritage-highlight {
        padding: 24px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}