:root {
    --primary-blue: #0a5ad7;       
    --primary-dark: #0284C7;      
    --secondary-blue: #0a5ad7;    
    --light-blue: #E0F2FE;          
    --soft-blue: #BAE6FD;           
    --dark-blue: #075985;           
    
    
    --green: #10B981;
    --purple: #8B5CF6;
    --cyan: #06B6D4;
    
    
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --white: #FFFFFF;
    
    
    --shadow-sm: 0 1px 2px 0 rgba(14, 165, 233, 0.05);
    --shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(14, 165, 233, 0.15);
    --shadow-lg: 0 20px 25px -5px rgba(14, 165, 233, 0.2);
    --shadow-glow: 0 0 30px rgba(14, 165, 233, 0.3);
    
    
    --gradient-primary: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    --gradient-secondary: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
    --gradient-glow: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 100%);
}



/* =============================================
   TOP BAR FIX - SAT I RADNO VREME U ISTOM REDU
   ============================================= */

.top-bar {
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    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%);
    animation: mesh-move 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes mesh-move {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.2); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 20px;
}

.working-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row; /* KLJUČNO: mora biti row */
}

.hours-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap; /* KLJUČNO: ne dozvoli prelom u novi red */
    flex-direction: row; /* KLJUČNO: mora biti row */
}

.hours-main {
    font-weight: 600;
    white-space: nowrap;
}

.hours-divider {
    opacity: 0.6;
    font-weight: 300;
}

.hours-saturday {
    font-weight: 500;
    opacity: 0.95;
    white-space: nowrap;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.phone-link:hover {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

.top-bar-icon {
    flex-shrink: 0;
    opacity: 0.95;
}


.top-bar-icon {
    flex-shrink: 0;
    opacity: 0.95;
}


@media (max-width: 768px) {
    .top-bar {
        font-size: 11px;
    }
    
    .top-bar-container {
        padding: 8px 12px;
        gap: 10px;
        flex-wrap: nowrap; 
    }
    
    .top-bar-icon {
        width: 14px;
        height: 14px;
    }
    
    .working-hours {
        gap: 6px;
        flex-direction: row;
    }
    
    .hours-text {
        gap: 5px;
        flex-wrap: nowrap; 
        flex-direction: row; 
    }
    
    .hours-main,
    .hours-saturday {
        font-size: 11px;
        white-space: nowrap;
    }
    
    .hours-divider {
        font-size: 11px;
    }
    
    .phone-link {
        font-size: 11px;
        white-space: nowrap;
        gap: 6px;
    }
}

@media (max-width: 414px) {
    .top-bar {
        font-size: 10px;
    }
    
    .top-bar-container {
        padding: 7px 10px;
        gap: 8px;
    }
    
    .top-bar-icon {
        width: 13px;
        height: 13px;
    }
    
    .working-hours {
        gap: 5px;
    }
    
    .hours-text {
        gap: 4px;
    }
    
    .hours-main,
    .hours-saturday {
        font-size: 10px;
    }
    
    .hours-divider {
        font-size: 10px;
    }
    
    .phone-link {
        font-size: 10px;
        gap: 5px;
    }
}

@media (max-width: 375px) {
    .top-bar {
        font-size: 9px;
    }
    
    .top-bar-container {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .top-bar-icon {
        width: 12px;
        height: 12px;
    }
    
    .working-hours {
        gap: 4px;
    }
    
    .hours-text {
        gap: 3px;
    }
    
    .hours-main,
    .hours-saturday,
    .hours-divider {
        font-size: 9px;
    }
    
    .phone-link {
        font-size: 9px;
        gap: 4px;
    }
}


@media (max-width: 320px) {
    .top-bar {
        font-size: 8px;
    }
    
    .top-bar-container {
        padding: 5px 6px;
        gap: 5px;
    }
    
    .top-bar-icon {
        width: 11px;
        height: 11px;
    }
    
    .working-hours {
        gap: 3px;
    }
    
    .hours-text {
        gap: 2px;
    }
    
    .hours-main,
    .hours-saturday,
    .hours-divider {
        font-size: 8px;
    }
    
    .phone-link {
        font-size: 8px;
        gap: 3px;
    }
}







@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.animate-on-scroll {
    opacity: 0;
    transition: none;
}

.animate-on-scroll.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated:nth-child(1) { animation-delay: 0.15s; }
.animate-on-scroll.animated:nth-child(2) { animation-delay: 0.3s; }
.animate-on-scroll.animated:nth-child(3) { animation-delay: 0.45s; }
.animate-on-scroll.animated:nth-child(4) { animation-delay: 0.6s; }
.animate-on-scroll.animated:nth-child(5) { animation-delay: 0.75s; }
.animate-on-scroll.animated:nth-child(6) { animation-delay: 0.9s; }
.animate-on-scroll.animated:nth-child(7) { animation-delay: 1.05s; }

.animate-on-scroll.fade-up.animated {
    animation-name: fadeInUp;
}

.animate-on-scroll.fade-left.animated {
    animation-name: fadeInLeft;
}

.animate-on-scroll.fade-right.animated {
    animation-name: fadeInRight;
}

.animate-on-scroll.scale-up.animated {
    animation-name: scaleUp;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}


.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(14, 165, 233, 0.08);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 5px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo svg {
    flex-shrink: 0;
}

.logo-image {
    height: 100px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.3));
}

.logo-title {
    font-size: 25px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--gray-700);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: transform 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all 0.3s ease;
}


.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5), 0 0 20px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--light-blue);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-saradnja {
    background: var(--white);
    color: var(--primary-blue);
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.2);
}

.btn-saradnja:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}


.hero {
    background: var(--gradient-primary);
    padding: 150px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(185, 200, 255, 0.2);
    z-index: 1;
}


.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float-glow 20s infinite ease-in-out;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float-glow 15s infinite ease-in-out reverse;
    filter: blur(50px);
}

@keyframes float-glow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.2); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero .container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    top: 0;
    left: 0;
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    
}
.hero-sadrzaj {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 700px;
}
.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255,255,255,0.3);
}

.why-section,
.services-preview,
.services-detail,
.about-content,
.tracking-section,
.contact-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    top: 10%;
    right: 5%;
    filter: blur(40px);
    pointer-events: none;
}

.why-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%;
    left: 5%;
    filter: blur(35px);
    pointer-events: none;
}

.services-preview {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.services-preview::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    top: 15%;
    left: 3%;
    filter: blur(50px);
    pointer-events: none;
}

.services-preview::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    bottom: 10%;
    right: 8%;
    filter: blur(40px);
    pointer-events: none;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    position: relative;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-glow);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.6s ease;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.6);
}

.section-header.animated h2::after {
    opacity: 1;
    width: 120px;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    }
    50% { 
        box-shadow: 0 0 30px rgba(14, 165, 233, 0.8);
    }
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(14, 165, 233, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    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);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.feature-icon.blue {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.feature-icon.green {
    background: #D1FAE5;
    color: var(--green);
}

.feature-icon.purple {
    background: #EDE9FE;
    color: var(--purple);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(14, 165, 233, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.25), 0 0 25px rgba(14, 165, 233, 0.15);
    transform: translateX(8px) translateY(-3px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    margin-bottom: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.service-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.service-link:hover::after {
    width: calc(100% - 15px);
}

.saradnja-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.saradnja-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(255, 255, 255, 0.03) 50px,
        rgba(255, 255, 255, 0.03) 100px
    );
    animation: slide 20s linear infinite;
    pointer-events: none;
}

@keyframes slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

.saradnja-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
    bottom: -200px;
    right: -200px;
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    filter: blur(60px);
}

.saradnja-content {
    position: relative;
    z-index: 1;
}

.saradnja-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.saradnja-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.page-header {
    background: var(--gradient-primary);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 50%);
    animation: mesh-move 10s ease-in-out infinite alternate;
    pointer-events: none;
}

.page-header h1,
.page-header p {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 20px;
    opacity: 0.95;
}

.about-story-section {
    padding: 80px 0;
    background: var(--white);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.2);
}

.about-story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-primary);
    display: none;
}

.about-story-image img[style*="display: none"] + .about-image-placeholder {
    display: block;
}

.about-story-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-story-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.4) 0%, rgba(186, 230, 253, 0.2) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card-modern:hover::before {
    transform: scaleX(1);
}

.stat-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.25), 0 0 30px rgba(14, 165, 233, 0.15);
    border-color: var(--primary-blue);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--gray-600);
    font-weight: 600;
}

.values-section {
    padding: 80px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-card-modern {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(14, 165, 233, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.value-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(56, 189, 248, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card-modern:hover::before {
    opacity: 1;
}

.value-card-modern:hover {
    border-color: var(--primary-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.2), 0 0 25px rgba(14, 165, 233, 0.1);
}

.value-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.value-card-modern:hover .value-icon-modern {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.5), 0 0 25px rgba(14, 165, 233, 0.3);
}

.value-card-modern h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.value-card-modern p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

.mission-vision-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.3) 0%, var(--white) 100%);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-card,
.vision-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 24px;
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(56, 189, 248, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mission-card:hover::before,
.vision-card:hover::before {
    opacity: 1;
}

.mission-card:hover,
.vision-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.25), 0 0 20px rgba(14, 165, 233, 0.1);
}

.mission-card h3,
.vision-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-card p,
.vision-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.contact-form-wrapper h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-wrapper > p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-message.success {
    background: #D1FAE5;
    color: var(--green);
    border: 2px solid var(--green);
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 20px;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid rgba(14, 165, 233, 0.1);
}

.contact-info-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--gray-900);
}

.info-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-map {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid rgba(14, 165, 233, 0.1);
}

.contact-map h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.map-embed iframe {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
}

.footer {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.footer-logo h3 {
    font-size: 18px;
    font-weight: 700;
}

.footer-col p {
    color: var(--gray-300);
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray-300);
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 14px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    font-size: 15px;
    color: var(--gray-300);
    line-height: 1.8;
}



@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .about-story-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}
/* ========================================
   MINIMALNI CSS DODACI ZA O NAMA STRANICU
   ======================================== */

/* Image Overlay Badge - "15+ Godina iskustva" */
.image-overlay-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: float-badge 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.badge-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.image-overlay-badge span {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    white-space: nowrap;
}

/* About Highlights - Plavi box sa checkmark-ovima */
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(56, 189, 248, 0.05) 100%);
    border-radius: 16px;
    border-left: 4px solid var(--primary-blue);
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.highlight-icon {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.highlight-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}

.highlight-text strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.highlight-text span {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* About CTA Buttons */
.about-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Responsive dizajn */
@media (max-width: 1024px) {
    .image-overlay-badge {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
    }
    
    .badge-icon {
        width: 40px;
        height: 40px;
    }
    
    .image-overlay-badge span {
        font-size: 14px;
    }
    
    .about-highlights {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    /* Badge ide ispod slike na mobilnim uređajima */
    .image-overlay-badge {
        position: static;
        margin-top: 16px;
        justify-content: center;
    }
    
    .about-highlights {
        padding: 16px;
        gap: 12px;
    }
    
    .highlight-icon {
        width: 36px;
        height: 36px;
    }
    
    .highlight-text strong {
        font-size: 15px;
    }
    
    .highlight-text span {
        font-size: 13px;
    }
    
    .about-cta {
        flex-direction: column;
    }
    
    .about-cta a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .badge-icon {
        width: 36px;
        height: 36px;
    }
    
    .badge-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .image-overlay-badge span {
        font-size: 13px;
    }
}
/* ========================================
   PARTNERS PYRAMID LAYOUT
   ======================================== */

.partners-carousel {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    overflow: hidden;
}

.partners-carousel .section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.partners-carousel h2 {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.partners-carousel p {
    font-size: 18px;
    color: var(--gray-600);
}

.partners-pyramid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pyramid-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.partner-card-pyramid {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.08);
    border: 2px solid rgba(14, 165, 233, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* Top tier - najveći partneri */
.pyramid-row-top .partner-card-pyramid {
    width: 320px;
}

/* Middle tier */
.pyramid-row-middle .partner-card-pyramid {
    width: 280px;
}

/* Bottom tier */
.pyramid-row-bottom .partner-card-pyramid {
    width: 250px;
}

.partner-card-pyramid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0EA5E9, #06B6D4);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.partner-card-pyramid:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.25);
    border-color: #0EA5E9;
}

.partner-card-pyramid:hover::before {
    transform: scaleX(1);
}

/* Premium look za top tier */
.pyramid-row-top .partner-card-pyramid {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(224, 242, 254, 0.4));
    border: 3px solid rgba(14, 165, 233, 0.2);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.15);
}

.pyramid-row-top .partner-card-pyramid::before {
    height: 5px;
}

.partner-logo-pyramid {
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* Veći logoi za top tier */
.pyramid-row-top .partner-logo-pyramid {
    width: 120px;
    height: 120px;
}

.pyramid-row-top .partner-logo-pyramid img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

/* Srednji logoi za middle tier */
.pyramid-row-middle .partner-logo-pyramid {
    width: 100px;
    height: 100px;
}

.pyramid-row-middle .partner-logo-pyramid img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

/* Manji logoi za bottom tier */
.pyramid-row-bottom .partner-logo-pyramid {
    width: 90px;
    height: 90px;
}

.pyramid-row-bottom .partner-logo-pyramid img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.partner-card-pyramid:hover .partner-logo-pyramid {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.partner-card-pyramid h3 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

/* Veći tekst za top tier */
.pyramid-row-top .partner-card-pyramid h3 {
    font-size: 22px;
}

.pyramid-row-middle .partner-card-pyramid h3 {
    font-size: 18px;
}

.pyramid-row-bottom .partner-card-pyramid h3 {
    font-size: 16px;
}

.partner-card-pyramid p {
    color: #64748b;
}

.pyramid-row-top .partner-card-pyramid p {
    font-size: 15px;
}

.pyramid-row-middle .partner-card-pyramid p {
    font-size: 14px;
}

.pyramid-row-bottom .partner-card-pyramid p {
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .pyramid-row-top .partner-card-pyramid,
    .pyramid-row-middle .partner-card-pyramid,
    .pyramid-row-bottom .partner-card-pyramid {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .partners-pyramid {
        gap: 25px;
    }
    
    .pyramid-row {
        gap: 20px;
    }
    
    .pyramid-row-top .partner-card-pyramid,
    .pyramid-row-middle .partner-card-pyramid,
    .pyramid-row-bottom .partner-card-pyramid {
        width: 100%;
        max-width: 350px;
    }
    
    .pyramid-row-top .partner-logo-pyramid {
        width: 100px;
        height: 100px;
    }
    
    .pyramid-row-top .partner-logo-pyramid img {
        width: 75px;
        height: 75px;
    }
}
/* ========================================
   HAMBURGER MENU FIX - DODAJ OVO NA KRAJ CSS-a
   ======================================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 8px 30px rgba(14, 165, 233, 0.15);
        border-top: 2px solid rgba(14, 165, 233, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Animacija 3 crte u X */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 20px !important;
    }
    
    .logo-subtitle {
        font-size: 12px !important;
    }
    
    .logo img {
        width: 60px !important;
        height: 60px !important;
    }
}