﻿/* ==============================
   Global Styles
============================== */
:root {
    --primary: #5A8DEE; /* malo svetliji i moderniji */
}

html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #fdfdfd;
}

/* dugmad mikro-interakcija */
.btn {
    transition: all .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* ikonice mali “pop” */
img {
    transition: transform .3s ease;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: linear-gradient(135deg, #0b2c5d, #1b4c9c);
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: linear-gradient(135deg, #0a2348, #163f82);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-focus-shadow-rgb: 11, 44, 93;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: linear-gradient(135deg, #081d3b, #12356e);
    --bs-btn-active-border-color: transparent;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: linear-gradient(135deg, #0b2c5d, #1b4c9c);
    --bs-btn-disabled-border-color: transparent;
    background: linear-gradient(135deg, #0b2c5d, #1b4c9c);
    border: none;
}

.btn-primary {
    background-image: linear-gradient(135deg, #0b2c5d, #1b4c9c);
}

    .btn-primary:hover {
        background-image: linear-gradient(135deg, #0a2348, #163f82);
    }

    .btn-primary:active {
        background-image: linear-gradient(135deg, #081d3b, #12356e);
    }

.btn-primary {
    box-shadow: 0 8px 20px rgba(11, 44, 93, 0.35);
    transition: all 0.25s ease;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(11, 44, 93, 0.45);
    }

/* ==============================
   Scroll Progres
============================== */

#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #0B2C5D;
    width: 0%;
    z-index: 9999;
}

/* ==============================
   Main Content
============================== */

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ==============================
   Hero Section
============================== */
/* Hero osnovni stilovi */
.hero {
    position: relative;
    padding: 120px 0; /* veća visina hero sekcije */
    background: linear-gradient(135deg, #0b2c5d, #1b4c9c);
    color: #fff;
    overflow: hidden;
}

    .hero .hero-main-image {
        max-width: 380px;
        width: 100%;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(0,0,0,0.25);
    }

    /* Dugmići */
    .hero .btn-primary {
        background: linear-gradient(90deg, #FF7A00, #FF9E34);
        border: none;
        font-weight: 600;
        padding: 12px 28px;
        border-radius: 8px;
        transition: all 0.3s ease;
        z-index: 10;
    }

    .hero .btn-outline-light {
        border-color: #fff;
        color: #fff;
        font-weight: 500;
        padding: 12px 28px;
        border-radius: 8px;
        transition: all 0.3s ease;
        z-index: 11;
    }

        .hero .btn-outline-light:hover {
            background: rgba(255,255,255,0.1);
        }

    .hero .btn-demo {
        background: #fff;
        color: #0b2c5d;
        font-weight: 600;
        padding: 12px 28px;
        border-radius: 8px;
        z-index: 12;
    }

/* Kontrole carousela sa malim strelicama */
.custom-control {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

    .custom-control:hover {
        background: rgba(0,0,0,0.5);
    }

    .custom-control .custom-arrow {
        pointer-events: none;
        font-weight: bold;
    }

.carousel-control-prev.custom-control {
    left: 15px;
}

.carousel-control-next.custom-control {
    right: 15px;
}

/* Animacije slajdova */
.fade-slide {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

    .fade-slide.animate {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero {
        padding: 80px 15px;
    }

        .hero .display-5 {
            font-size: 2rem;
        }

        .hero .lead {
            font-size: 1rem;
        }
}

/* ==============================
   APPLE STYLE SCROLL (STABILNO)
============================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    will-change: transform, opacity;
}

    /* kada uđe u viewport */
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* malo sporiji za “premium” sekcije */
    .reveal.slow {
        transition: opacity 1.2s ease, transform 1.2s ease;
    }

    /* lagani stagger efekat */
    .reveal.delay-1 {
        transition-delay: 0.1s;
    }

    .reveal.delay-2 {
        transition-delay: 0.2s;
    }

    .reveal.delay-3 {
        transition-delay: 0.3s;
    }

    .reveal.delay-4 {
        transition-delay: 0.4s;
    }

/* ==============================
   Navbar
============================== */
.navbar {
    padding: 0.8rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: #0B2C5D !important;
}

/* ==============================
   Sections
============================== */

.bg-custom-light {
    background-color: #E3E8EF !important;
}

.section {
    padding: 80px 0;
}

    /* Titles */
    .section h2 {
        margin-bottom: 20px;
        color: #0B2C5D;
    }

    .section h5 {
        font-weight: 600;
        margin-bottom: 10px;
        color: #1b4c9c;
    }

    .section p.text-muted {
        font-size: 0.95rem;
        line-height: 1.5;
    }

/* ==============================
   About Us
============================== */

/* MINI HERO */

.about-hero {
    position: relative;
    padding: 120px 20px 90px;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #0b2c5d, #1b4c9c);
    background-size: 200% 200%;
    animation: heroGradient 12s ease infinite;
    overflow: hidden;
}

/* gradient animacija */

@keyframes heroGradient {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* tekst */

.hero-title {
    font-size: 52px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-top: 10px;
}

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

.hero-img {
    max-width: 90%;
}

.about-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient( circle at 50% 20%, rgba(255,255,255,0.25), transparent 60% );
    pointer-events: none;
}

/* Floating shapes */

.shape {
    position: absolute;
    opacity: 0.12;
    z-index: 1;
    animation: float 12s ease-in-out infinite;
}

/* krug */
.shape1 {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: white;
    top: 15%;
    left: 8%;
}

/* trougao */
.shape2 {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid white;
    top: 20%;
    right: 10%;
}

/* mali krug */
.shape3 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    bottom: 20%;
    left: 15%;
}

/* kocka – spuštena niže */
.shape4 {
    width: 100px;
    height: 100px;
    background: white;
    bottom: 12%;
    right: 15%;
    transform: rotate(20deg);
}

/* novi shape 5 – veliki krug */
.shape5 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: white;
    top: 45%;
    left: 35%;
    opacity: 0.08;
}

/* novi shape 6 – rotirani kvadrat */
.shape6 {
    width: 120px;
    height: 120px;
    background: white;
    top: 10%;
    right: 35%;
    transform: rotate(45deg);
    opacity: 0.08;
}

/* float animacija */

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(6deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* STATS */

.stats-card {
    background: #fff;
    padding: 35px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all .25s ease;
}

    .stats-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    }

.stats-number {
    font-size: 42px;
    font-weight: 700;
    color: #FF7A00;
}

.stats-text {
    color: #666;
}


/* FEATURE CARDS */

.feature-card {
    background: white;
    padding: 35px 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: all .25s ease;
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    margin-bottom: 18px;
    background: linear-gradient(135deg,#FF7A00,#FF9E34);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .feature-icon img {
        width: 34px;
        filter: brightness(0) invert(1);
    }

.card-saas {
    padding: 30px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

    .card-saas:hover {
        transform: translateY(-5px);
    }

.step {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    line-height: 50px;
    font-weight: bold;
}

/* CTA SEKCIJA */

.cta {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

.cta-section {
    background: linear-gradient(135deg,#FF7A00,#FF9E34);
    color: white;
    padding: 70px 20px;
    border-radius: 14px;
    margin-top: 70px;
}

    .cta-section p {
        max-width: 600px;
        margin: auto;
        opacity: 0.9;
    }

/* STICKY CTA SEKCIJA */

.sticky-cta {
    position: fixed;
    top: 25px;
    right: 25px;
    background: #0B2C5D;
    color: #fff;
    padding: 14px 22px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

    .sticky-cta:hover {
        background: #16407a;
        transform: translateY(-3px);
    }

    .sticky-cta.show {
        opacity: 1;
        transform: translateY(0);
    }

/* STEP CARD */

.step-card {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

    .step-card:hover {
        transform: translateY(-5px);
    }

.step-number {
    width: 40px;
    height: 40px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    line-height: 40px;
    font-weight: bold;
}

/* ==============================
    STABLE CARD
============================== */
.stable-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px;
    height: 100%; /* KLJUČNO - nema skakanja */
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: box-shadow .25s ease, transform .25s ease;
    position: relative;
}

    /* lagani hover (bez pomeranja layout-a) */
    .stable-card:hover {
        box-shadow: 0 14px 40px rgba(0,0,0,0.10);
        transform: translateY(-3px);
    }

    /* tag */
    .stable-card .tag {
        display: inline-block;
        font-size: 12px;
        background: rgba(74,144,226,0.12);
        color: #4A90E2;
        padding: 4px 10px;
        border-radius: 999px;
        margin-bottom: 12px;
    }

    /* tekst */
    .stable-card h5 {
        margin-bottom: 8px;
    }

    .stable-card p {
        color: #6c757d;
        margin-bottom: 0;
    }

/* lagani fade-in bez pomeranja */
.stable-card {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn .5s ease forwards;
}

    /* stagger efekat */
    .stable-card:nth-child(1) {
        animation-delay: 0.05s;
    }

    .stable-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .stable-card:nth-child(3) {
        animation-delay: 0.15s;
    }

    .stable-card:nth-child(4) {
        animation-delay: 0.2s;
    }

    .stable-card:nth-child(5) {
        animation-delay: 0.25s;
    }

    .stable-card:nth-child(6) {
        animation-delay: 0.3s;
    }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chart-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    height: 380px;
    position: relative;
}

    .chart-card canvas {
        width: 100% !important;
        height: 90% !important;
    }

/* ==============================
   Contact Section
============================== */

#contact {
    background: #ffffff;
}

    #contact h2 {
        color: #0B2C5D;
        font-weight: 700;
    }

    #contact .form-label {
        font-weight: 500;
        color: #333;
    }

    #contact .btn-primary {
        background: linear-gradient(90deg, #FF7A00, #FF9E34);
        border: none;
        padding: 12px 28px;
        font-size: 1.1rem;
        border-radius: 8px;
    }

        #contact .btn-primary:hover {
            background: linear-gradient(90deg, #e56800, #ff8b1a);
        }

/* Dugme hover */
#contact-page .btn-primary:hover {
    background-color: #e56800;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* ==============================
   FAQ
============================== */

#faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.accordion-button {
    color: #1b4c9c;
    font-weight: 600;
}

    .accordion-button:focus {
        box-shadow: none;
    }

a.btn-outline-primary {
    border-color: #1b4c9c;
    color: #1b4c9c;
    transition: all 0.3s ease;
}

    a.btn-outline-primary:hover {
        background-color: #1b4c9c;
        color: #fff;
    }

/* ==============================
   Back to Top
============================== */

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #FF7A00;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 999;
}

    #backToTop:hover {
        background: #e56800;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    #backToTop.visible {
        opacity: 1;
        visibility: visible;
    }

/* ==============================
   Footer
============================== */

footer {
    background: linear-gradient(135deg, #0b2c5d, #1b4c9c);
    color: #bbb;
    padding: 50px 0;
    margin-top: auto;
    text-align: center;
}

    footer a {
        color: #bbb;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        footer a:hover {
            color: #fff;
        }


