* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0A0518; /* Temačna mistična vijolično-črna */
    color: #F9F5FF; /* Mehka bela z vijoličnim pridihom */
    line-height: 1.6;
    position: relative;
}

/* Varovalka: stran se nikoli ne sme dati potegniti vstran.
   "clip" namesto "hidden", ker hidden pokvari sticky glavo. */
html,
body {
    overflow-x: clip;
}

/* Brskalniki v aplikacijah (Instagram, Facebook) radi sami povečajo pisavo,
   kar razbije postavitev glave. To izklopimo — uporabnikova ročna povečava
   (pinch-zoom) še vedno deluje. */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* --- GLAVNO OZADJE STRANI --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at top right, rgba(124, 58, 237, 0.06) 0%, #0A0518 80%), url("images/avtomatizacija_logo.png");
    background-repeat: no-repeat;
    background-position: center 30%; 
    background-size: 950px; 
    opacity: 0.15; 
    z-index: -1; 
    pointer-events: none; 
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Živahnejši tekst s svetlobnim efektom */
.neon-violet-text { 
    color: #C084FC; 
    text-shadow: 0 0 15px rgba(192, 132, 252, 0.4);
} 
.text-purple { color: #7C3AED; } 

/* --- GLOBALNE NASTAVITVE ZA SEKCIJE --- */
section {
    scroll-margin-top: 135px; /* Prilagojeno za namizje (topbars + navbar) */
}

/* CTA gumbi vodijo naravnost na vrh kontaktnega obrazca, ne na vrh cele sekcije */
#contactFormContainer {
    scroll-margin-top: 135px;
}

/* --- ZGORNJA ZDRUŽENA STICKY GLAVA --- */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}   

/* --- ZGORNJA VRSTICA (Top Bar) --- */
.top-bar {
    background-color: #060310;
    border-bottom: 1px solid #160d32;
    padding: 8px 0;
    font-size: 13px;
}
.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-contacts {
    display: flex;
    gap: 20px;
}
.top-bar-contacts a {
    color: #9E92B3;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
    white-space: nowrap;
}
.top-bar-contacts a i {
    color: #C084FC;
}
.top-bar-contacts a:hover {
    color: #C084FC;
}
.top-bar-socials {
    display: flex;
    gap: 15px;
}
.top-bar-socials a {
    color: #9E92B3;
    transition: 0.3s;
    font-size: 15px;
}
.top-bar-socials a:hover {
    color: #C084FC;
    transform: translateY(-1px);
}

/* --- LOGOTIP V NAVIGACIJI --- */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0px;
    flex-shrink: 0;
    cursor: pointer;
}
.logo-wrapper img {
    max-height: 55px; 
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.logo-wrapper:hover img {
    transform: rotate(-5px) scale(1.05);
}

/* --- GUMBI Z ŽIVAHNEJŠIMI GRADIENTI --- */
.btn-primary {
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
    border: none;
    cursor: pointer;
}
.btn-primary:hover { 
    background: linear-gradient(135deg, #6D28D9 0%, #7E22CE 100%);
    box-shadow: 0 6px 22px rgba(147, 51, 234, 0.5);
    transform: translateY(-2px);
}
.btn-primary:disabled {
    background: #23154C;
    color: #6D6287;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-accent {
    background: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
    border: none;
    cursor: pointer;
}
.btn-accent:hover {
    background: linear-gradient(135deg, #D97706 0%, #C2410C 100%);
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #160D32;
    border: 1px solid #311E66;
    color: #C084FC;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-secondary:hover {
    background-color: #23154C;
    color: white;
    border-color: #C084FC;
    transform: translateY(-2px);
}

/* --- TOOLTIP (Brezplačni posvet) --- */
.tooltip-kontejner {
    position: relative;
    display: inline-block;
}

.tooltip-tekst {
    visibility: hidden;
    width: 340px;
    max-width: 90vw;
    background-color: #160D32;
    color: #cbd5e1;
    text-align: left;
    border-radius: 12px;
    padding: 16px 18px;
    position: absolute;
    z-index: 100;
    top: 108%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-size: 13px;
    line-height: 1.55;
    border: 1px solid rgba(192, 132, 252, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.tooltip-tekst strong:first-child {
    display: block;
    color: #ffffff;
    font-size: 14.5px;
    margin-bottom: 6px;
}

.tooltip-tekst strong {
    color: #ffffff;
}

.tooltip-tekst::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #160D32 transparent;
}

.tooltip-kontejner:hover .tooltip-tekst {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
}

/* --- ZCAL MODAL --- */
/* Nalaganje zcal iframa je odloženo do klika (display:none), da se ~1MB
   Google reCAPTCHA (del zcal-ove zaščite pred boti) ne naloži vsakemu
   obiskovalcu domov strani, temveč le tistim, ki dejansko odprejo rezervacijo. */
.zcal-modal-ozadje {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 3, 15, 0.75);
    backdrop-filter: blur(3px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.zcal-modal-ozadje.aktiven {
    display: flex;
}

.zcal-modal-nalaganje {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: #DCD4EB;
    font-size: 14px;
    pointer-events: none;
}

.zcal-modal-nalaganje .spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(192, 132, 252, 0.25);
    border-top-color: #C084FC;
    border-radius: 50%;
    animation: zcalSpin 0.8s linear infinite;
}

@keyframes zcalSpin {
    to { transform: rotate(360deg); }
}

.zcal-modal-ovoj {
    position: relative;
    width: 950px;
    max-width: 94vw;
}

.zcal-modal-vsebina {
    position: relative;
    width: 100%;
    max-height: 94vh;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 16px;
}

.zcal-inline-widget {
    position: relative;
    z-index: 2;
    transform: scale(0.85);
    transform-origin: top left;
    width: 117.65%;
    height: 117.65%;
}

@supports (zoom: 1) {
    .zcal-inline-widget {
        zoom: 0.85;
        transform: none;
        width: 100%;
        height: auto;
    }
}

.zcal-zapri-gumb {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 1010;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(168, 85, 247, 0.9);
    color: #ffffff;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: background 0.2s ease;
}

.zcal-zapri-gumb:hover {
    background: rgba(147, 51, 234, 1);
}

/* Safari na iOS povečava stran, če ima polje pisavo pod 16px */
@media (max-width: 820px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .zcal-modal-ovoj {
        width: 95vw;
    }
    .zcal-modal-vsebina {
        height: 90vh;
    }
    .zcal-inline-widget {
        width: 100%;
        height: 100%;
        transform: none;
    }
    .zcal-zapri-gumb {
        top: -14px;
        right: -8px;
    }
    .tooltip-kontejner {
        width: 100%;
    }
}

/* --- NAVIGACIJSKA VRSTICA --- */
.navbar {
    background-color: rgba(22, 13, 50, 0.9);
    backdrop-filter: blur(8px);
    padding: 5px 0; 
    border-bottom: 1px solid #23154C;
    position: relative; /* Pomembno za pravilno sidranje mobilnega menija */
}
.nav-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: nowrap;  
}
.logo {
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}
.logo span { color: #C084FC; }
 
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px; 
}

.nav-menu > li > a {
    color: #9E92B3;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    display: block;
}
.nav-menu > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #C084FC;
    transition: width 0.3s ease;
}
.nav-menu > li > a:hover { color: #C084FC; }
.nav-menu > li > a:hover::after { width: 100%; }

/* --- DROPDOWN ZA TEČAJE ZGORAJ --- */
.dropdown-item {
    position: relative;
}
.course-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(15px) !important;
    width: max-content !important;        
    padding: 8px 16px !important;  
    background-color: #160D32 !important;
    border: 1px solid #311E66 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(124, 58, 237, 0.15) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s !important;
    z-index: 2000 !important;
    margin-top: 10px;
}

.dropdown-item:hover .course-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

.course-dropdown-card {
    display: flex !important;
    flex-direction: row !important; 
    align-items: center !important;
    text-align: center !important;     
    gap: 10px !important;              
    text-decoration: none !important;
    padding: 0px !important;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    position: relative;
    overflow: visible;
}
.course-dropdown-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
}
.course-dropdown-card h3 {
    font-size: 14px;
    color: #F9F5FF !important;
    font-weight: 600;
    margin: 0;
    white-space: nowrap !important;
    text-shadow: none;
}
.course-dropdown-card:hover h3 {
    color: #C084FC !important;
}
.dropdown-item .badge-new {
    background-color: #7C3AED;
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 30px;
    position: absolute;
    top: -5px;
    right: -2px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.6);
    z-index: 20;
}

/* --- KARTICE ZA TEČAJE NA STRANI --- */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 25px !important;
    padding: 10px 0 20px 0;
    margin-top: -45px;
}
.course-card {
    background: rgba(15, 8, 42, 0.98);
    border: 1px solid rgba(124, 58, 237, 0.16);
    border-radius: 20px;
    padding: 30px 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    position: relative;
    text-align: left;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}
.course-card.card-fade-hidden {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
    pointer-events: none;
}
.course-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.75);
    background: rgba(22, 9, 53, 0.98);
    box-shadow: 0 18px 38px rgba(124, 58, 237, 0.2);
}
.course-card .course-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.course-icon-img { 
    width: 40px; 
    height: auto; 
    margin-bottom: 16px; 
    filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.25));
}
.course-card h3 { font-size: 20px; margin-bottom: 10px; color: #F9F5FF; font-weight: 700; }
.course-card p { color: #C5B8E0; font-size: 14px; margin-bottom: 18px; line-height: 1.7; flex-grow: 1; }
.courses-grid .course-card.course-card-hidden { display: none !important; }
.courses-grid .course-card.course-card-reveal {
    animation: serviceCardReveal 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px 0 20px 0;
}
.blog-card {
    background: rgba(15, 8, 42, 0.95);
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px rgba(124, 58, 237, 0.2);
}
.blog-card-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.blog-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.16);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #C084FC;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.blog-card h3 {
    font-size: 20px;
    line-height: 1.3;
    color: #F9F5FF;
    margin: 0;
}
.blog-card p {
    color: #C5B8E0;
    margin: 0;
    line-height: 1.75;
    flex-grow: 1;
}
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.blog-meta span {
    color: #9E92B3;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.blog-meta .btn-secondary {
    padding: 10px 18px;
}

.blog-hero-section {
    padding: 40px 0 20px 0;
}
.blog-hero-panel {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 45px;
}
.blog-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}
.blog-hero-card {
    background: rgba(22, 13, 50, 0.9);
    border: 1px solid rgba(124, 58, 237, 0.22);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.17);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}
.blog-hero-card h3 {
    color: #F9F5FF;
    font-size: 26px;
    margin: 0 0 16px;
    line-height: 1.25;
}
.blog-hero-card p {
    color: #C5B8E0;
    line-height: 1.75;
    margin: 0;
}
.blog-hero-features {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}
.blog-hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #D9CBF8;
    font-size: 15px;
    line-height: 1.6;
}
.blog-hero-feature i {
    color: #C084FC;
    min-width: 24px;
    font-size: 16px;
    margin-top: 2px;
}

.course-price {
    font-size: 22px;
    font-weight: 700;
    color: #F9F5FF;
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.course-price span { font-size: 12px; color: #9E92B3; font-weight: 400; }

.btn-course {
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%); color: white; padding: 11px; border-radius: 6px;
    text-decoration: none; font-weight: 600; font-size: 14px; text-align: center; transition: 0.3s; 
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2); border: none; cursor: pointer; display: block; width: 100%;
}
.btn-course:hover { box-shadow: 0 5px 15px rgba(147, 51, 234, 0.4); transform: scale(1.02); }

.badge-card-new {
    position: absolute; top: 8px; right: 3px; background-color: #7C3AED; color: white; font-size: 9px; font-weight: 700;
    padding: 4px 12px; border-radius: 20px; box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
    z-index: 999;
}

/* SVIJETLEČI NEON BADGE ZA PREDZNANJE V KARTICAH */
.badge-hero-knowledge {
    background-color: rgba(192, 132, 252, 0.08);
    border: 1px solid rgba(192, 132, 252, 0.25);
    color: #C084FC;
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.05);
}

/* --- FILTER TABI ZA KATEGORIJE TEČAJEV --- */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 5px 0 45px 0;
}
.filter-tab {
    background-color: #160D32;
    border: 1px solid #23154C;
    color: #9E92B3;
    padding: 10px 22px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.filter-tab:hover { border-color: #C084FC; color: #F9F5FF; }
.filter-tab.active {
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
    border-color: #C084FC;
    color: white;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.4);
}
@media (max-width: 480px) {
    .filter-tab { padding: 8px 16px; font-size: 12px; }
}

.btn-nav {
    background: linear-gradient(135deg, #6D28D9 0%, #7E22CE 100%);
    padding: 10px 20px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.btn-nav:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

/* --- HERO SEKCIJA --- */
.hero {
    padding: 15px 0 15px 0;
}
.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-text { 
    flex: 1 1 500px; 
}
.hero-text h1 { font-size: 46px; margin-top: 0; margin-bottom: 15px; font-weight: 700; line-height: 1.2; }
.hero-subtitle { color: #DCD4EB; font-size: 18px; margin-bottom: 18px; max-width: none; }
 
.hero-features-grid {
    display: flex;
    gap: 25px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.feature-box {
    flex: 1 1 320px; 
    background-color: rgba(22, 13, 50, 0.4);
    border: 1px solid #23154C;
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.feature-box:hover {
    border-color: rgba(192, 132, 252, 0.4);
    transform: translateY(-2px);
}
.feature-box h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F9F5FF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 14px;
    color: #9E92B3;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    text-align: left;
}
.feature-list li:last-child { margin-bottom: 0; }
 
.step-badge {
    background-color: #7C3AED;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.6);
}
.check-badge {
    color: #C084FC;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    filter: drop-shadow(0 0 4px rgba(192, 132, 252, 0.5));
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 25px;
    transition: margin-bottom 0.2s ease;
}

.hero-buttons:has(.tooltip-kontejner:hover) {
    margin-bottom: 145px;
}

.hero-buttons .tooltip-kontejner {
    flex: 0 1 340px;
}

.hero-buttons .tooltip-kontejner .btn-primary,
.hero-buttons .tooltip-kontejner .btn-accent {
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

/* --- IZBIRA POTI (TEČAJI vs. PROGRAM PO MERI) --- */
.path-section { padding: 12px 0; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 800px; margin: 0 auto; }
.path-card { background-color: rgba(22, 13, 50, 0.5); border: 1px solid #23154C; border-radius: 12px; padding: 20px; text-align: center; transition: all 0.3s ease; }
.path-card:hover { border-color: #C084FC; transform: translateY(-4px); }
.path-card .icon-wrapper { font-size: 22px; margin-bottom: 8px; }
.path-card h3 { font-size: 17px; margin: 0 0 8px 0; }
.path-card p { color: #9E92B3; line-height: 1.5; font-size: 13.5px; margin: 0 0 14px 0; }
.path-card .btn-accent, .path-card .btn-primary { padding: 9px 20px; font-size: 14px; }

/* --- STORITVE (PROGRAMI) --- */
.services {
    padding: 10px 0 30px 0;
    position: relative;
    overflow: hidden;
}
.services::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url("images/avtomatizacija_logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.03; 
    pointer-events: none;
    z-index: 1;
}
.section-title { font-size: 34px; text-align: center; margin-bottom: 40px; font-weight: 700; position: relative; z-index: 2; }

/* --- POGOSTA VPRAŠANJA (FAQ) --- */
.faq-section { padding: 60px 0; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background-color: rgba(22, 13, 50, 0.5); border: 1px solid #23154C; border-radius: 12px; padding: 20px 24px; margin-bottom: 16px; transition: border-color 0.3s ease; }
.faq-item h3 { margin: 0; font-size: 16px; color: #F9F5FF; font-weight: 600; cursor: pointer; position: relative; padding-right: 24px; user-select: none; }
.faq-item h3::after { content: "+"; position: absolute; right: 0; top: 0; color: #C084FC; font-weight: 400; transition: transform 0.3s ease; }
.faq-item p { margin: 0; font-size: 14.5px; color: #9E92B3; line-height: 1.6; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease; }
.faq-item.active { border-color: #C084FC; }
.faq-item.active p { max-height: 500px; opacity: 1; margin-top: 8px; }
.faq-item.active h3::after { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
    .faq-item:hover { border-color: #C084FC; }
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; 
    position: relative; 
    z-index: 2; 
}
.service-card {
    background-color: rgba(22, 13, 50, 0.7); 
    backdrop-filter: blur(4px); 
    padding: 30px 25px;
    border-radius: 8px;
    border: 1px solid #23154C;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.service-card:hover { 
    border-color: #C084FC; 
    transform: translateY(-5px); 
    background-color: rgba(27, 16, 61, 0.9);
    box-shadow: 0 12px 25px rgba(192, 132, 252, 0.15);
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; color: #F9F5FF; transition: color 0.3s; }
.service-card:hover h3 { color: #C084FC; }
.service-card p { color: #9E92B3; font-size: 14px; }
.icon-wrapper { font-size: 30px; color: #C084FC; margin-bottom: 15px; transition: transform 0.3s; display: inline-block; }
.service-card:hover .icon-wrapper { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.6)); }
.services-grid .service-card.service-card-hidden { display: none !important; }
.services-grid .service-card.service-card-reveal {
    animation: serviceCardReveal 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}
@keyframes serviceCardReveal {
    from { opacity: 0; transform: translateY(25px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- PRIMERI --- */
.examples { 
    padding: 60px 0; 
}
.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.video-card {
    background-color: #160D32;
    border: 1px solid #23154C;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s;
}
.video-card:hover {
    border-color: #7C3AED;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    background: #000;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-info { padding: 25px; }
.video-info h3 { font-size: 19px; margin-bottom: 10px; color: #C084FC; }
.video-info p { color: #9E92B3; font-size: 14px; }

/* --- O MENI --- */
.about { 
    padding: 60px 0; 
    background-color: #160D32; 
    border-top: 1px solid #23154C;
    border-bottom: 1px solid #23154C;
    position: relative;
    overflow: hidden;
}
.about::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: 50px;
    width: 450px;
    height: 300px;
    background-image: url("images/avtomatizacija_logo.png");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.04; 
    pointer-events: none;
    z-index: 1;
}
.about-container { display: flex; align-items: center; gap: 60px; position: relative; z-index: 2; flex-wrap: wrap; }
.about-image {
    flex: 1 1 250px;
    max-width: 300px;
}
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(192, 132, 252, 0.25);
    border: 2px solid #311E66;
    transition: transform 0.4s ease;
}
.about-image:hover img {
    transform: scale(1.03);
}
.about-text { flex: 1.5 1 450px; }
.about-text h2 { font-size: 32px; margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; color: #9E92B3; }

/* --- KONTAKT Z ANIMACIJO USPEHA --- */
.contact {
    padding: 60px 0 60px 0;
}
.contact-container { 
    display: flex; 
    gap: 30px; 
    flex-wrap: wrap; 
    align-items: flex-start; 
}
.contact-form {
    flex: 0 1 620px; 
    width: 100%;
    background-color: #160D32;
    padding: 25px 30px; 
    border-radius: 8px;
    border: 1px solid #23154C;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    position: relative;
}
.form-row {
    display: flex;
    gap: 12px;
}
.form-row .form-group {
    flex: 1; 
}
.form-group { 
    margin-bottom: 15px; 
}
.form-group label { display: block; font-size: 12px; color: #9E92B3; margin-bottom: 6px; }
.form-group input, .form-group textarea {
    width: 100%; background-color: #0A0518; border: 1px solid #23154C;
    padding: 10px 14px; 
    border-radius: 4px; color: white; font-family: inherit;
    font-size: 13px;
    transition: all 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #C084FC;
    box-shadow: 0 0 12px rgba(192, 132, 252, 0.25);
    background-color: #110926;
    outline: none;
}
.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px; 
    text-align: left;
}
.form-group-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #C084FC; 
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}
.form-group-checkbox label {
    font-size: 12px; 
    color: #9E92B3;
    line-height: 1.4; 
    cursor: pointer;
}
.form-group-checkbox label strong {
    color: #C084FC;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- FOOTER --- */
.footer { 
    padding: 20px 0; 
    background-color: #0A0518; 
    font-size: 12px; 
    color: #6D6287; 
    text-align: center; 
    border-top: 1px solid #160D32;
}
.footer-socials {
    margin-bottom: 12px;
}
.footer-socials a {
    color: #9E92B3;
    font-size: 20px;
    margin: 0 12px;
    transition: 0.3s;
    display: inline-block;
}
.footer-socials a:hover {
    color: #C084FC;
    transform: translateY(-2px);
}

.form-group input[type="file"] {
    padding: 6px 12px;
    cursor: pointer;
}
.form-group input[type="file"]::file-selector-button {
    background-color: #160D32;
    border: 1px solid #311E66;
    color: #C084FC;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}
.form-group input[type="file"]::file-selector-button:hover {
    background-color: #23154C;
    color: white;
    border-color: #C084FC;
}

/* --- VIZUALNA ANIMACIJA KOPIRANJA --- */
.copy-email {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}
.copy-email:hover {
    color: #C084FC !important;
    text-shadow: 0 0 8px rgba(192, 132, 252, 0.5);
}
.copy-email:not(.copied)::before {
    content: "Klikni za kopiranje 📋";
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background-color: #11092A;
    border: 1px solid #311E66;
    color: #A296BA;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1500;
}
.top-bar .copy-email:not(.copied)::before {
    bottom: auto;
    top: 50%;
    left: auto;
    right: 105%; 
    transform: translateY(-50%) translateX(-5px);
}
.copy-email:not(.copied):hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.top-bar .copy-email:not(.copied):hover::before {
    transform: translateY(-50%) translateX(0);
}
@keyframes visualSuccess {
    0% { color: #C084FC; transform: scale(1); }
    15% { color: #10B981; transform: scale(1.05); text-shadow: 0 0 15px rgba(16, 185, 129, 0.8); }
    80% { color: #10B981; transform: scale(1.05); text-shadow: 0 0 15px rgba(16, 185, 129, 0.8); }
    100% { color: inherit; transform: scale(1); text-shadow: none; }
}
.visual-success-active {
    animation: visualSuccess 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.visual-success-active i {
    color: #10B981 !important;
}

/* 📱 PRIVZETO SKRIT MOBILNI ELEMENT NA RAČUNALNIKU */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #F9F5FF;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    transition: color 0.3s ease;
}

/* 📱 EDINI, ZDRUŽEN MOBILNI REPOZITORIJ (max-width: 991px) */
@media (max-width: 991px) {
    /* ✨ STRIKTNI POPRAVEK: Glava ostane vedno fiksna/prilepljena na vrhu ekrana mobilnih naprav */
    .sticky-header {
        position: sticky !important;
        top: 0 !important;
    }

    .top-bar { 
        display: none !important; /* Skrijemo zgornji črni bar na mobilnikih */
    }
    .btn-nav { 
        display: none !important; 
    }

    /* Prilagoditev drsenja (scroll-margin) za mobilno višino navbara */
    section {
        scroll-margin-top: 75px !important;
    }
    #contactFormContainer {
        scroll-margin-top: 75px !important;
    }

    /* 🎯 BURGER IKONA: vedno desno, vedno cel — nikoli se ne stisne in ima rezerviran
       prostor od desnega roba, da ga logo ne more potisniti čez rob. */
    .menu-toggle {
        display: block !important;
        margin-left: auto !important;
        padding-right: 2px !important;
        flex: 0 0 auto;
    }

    /* 🔍 LOGO SE MANJŠA NA VSEH TELEFONIH (ne le pod 380px!). Prej je logo imel
       flex-shrink:0 in polno velikost do 380px; telefoni so večinoma širši (iPhone
       390–430px, Pixel 393/412px), zato je logo v polni velikosti (slika 55px + napis)
       burger potisnil čez desni rob. Zdaj se logo zvezno manjša glede na širino — na
       širokih telefonih skoraj poln, na ozkih manjši — burger pa vedno ostane znotraj. */
    .logo-wrapper {
        min-width: 0;
        flex-shrink: 1;
    }
    .logo {
        font-size: clamp(14px, 4.4vw, 22px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .logo-wrapper img {
        max-height: clamp(34px, 11vw, 55px);
        flex-shrink: 0;
    }

    /* 💨 MEHKO IN ELEGANTNO SPUŠČANJE MENIJA */
    .nav-menu {
        display: flex !important; 
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: #0B071E !important;
        border-top: 1px solid rgba(192, 132, 252, 0.1) !important;
        border-bottom: 2px solid #C084FC !important;
        padding: 20px 0 !important;
        box-sizing: border-box !important;
        z-index: 1000 !important;
        box-shadow: 0 15px 30px rgba(0,0,0,0.5) !important;
        
        /* Skrit meni v osnovnem stanju */
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-15px) !important;
        transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s !important;
    }

    /* Ko se doda .active preko JS, meni elegantno "pade" na ekran */
    .nav-menu.active { 
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .nav-menu li { 
        width: 100% !important; 
        text-align: center !important; 
        margin: 12px 0 !important; 
        opacity: 0 !important;
        transform: translateY(-5px) !important;
        transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s !important;
    }
    
    .nav-menu.active li {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .nav-menu li a { 
        display: block !important; 
        font-size: 18px !important; 
        padding: 10px 0 !important; 
    }

    /* Globalni odzivni popravki za poravnavo ostalih elementov strani */
    .hero { padding: 40px 0 !important; }
    .hero-container, .about-container, .contact-container, .blog-hero-panel { flex-direction: column !important; text-align: center !important; gap: 40px !important; }
    .hero-text h1 { font-size: 32px !important; line-height: 1.3 !important; }
    .hero-features-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
    .hero-buttons { justify-content: center !important; flex-direction: column !important; gap: 15px !important; }
    .hero-buttons .btn-primary, .hero-buttons .btn-secondary, .hero-buttons .btn-accent { width: 100% !important; text-align: center !important; }
    .hero-buttons .tooltip-kontejner { width: 100% !important; flex: 0 1 auto !important; }
    .hero-buttons .tooltip-kontejner .btn-primary, .hero-buttons .tooltip-kontejner .btn-accent { white-space: normal !important; }
    
    .services-grid, .examples-grid, .blog-grid, .path-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .about-image { text-align: center !important; margin: 0 auto !important; max-width: 280px !important; }
    .form-row { flex-direction: column !important; gap: 0 !important; }

    /* Popravek za stabilne kartice tečajev */
    .courses-grid { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 30px !important; padding-bottom: 20px !important; }
    .course-card { width: 100% !important; max-width: 400px !important; box-sizing: border-box !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; padding: 25px !important; }
/* ==========================================================================
   ✨ GLOBALNA POSODOBITEV MODULOV ZA VSE STRANI TEČAJEV 
   ========================================================================== */

/* Glavna škatla modula */
.syllabus .module-item {
    background-color: rgba(22, 13, 50, 0.5) !important;
    border: 1px solid #23154C !important;
    border-radius: 12px !important;
    padding: 30px !important;
}

/* Glava modula - uporabimo varen Flexbox z nastavljenim razmakom (gap) */
.syllabus .module-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin-bottom: 22px !important;
    border-bottom: 1px solid rgba(35, 21, 76, 0.6) !important;
    padding-bottom: 14px !important;
    gap: 16px !important; /* Točno določen varen razmak med številko in tekstom */
}

/* Napredno oblikovan značek za številko modula (SaaS izgled) */
.syllabus .module-number {
    color: #C084FC !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    background: rgba(192, 132, 252, 0.1) !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important; /* Prepreči, da bi se številka stisnila ob dolgem tekstu */
}

/* Naslov modula (H3) */
.syllabus .module-header h3 {
    font-size: 22px !important;
    color: #F9F5FF !important;
    text-align: left !important;
    padding-left: 0 !important; /* Izbrišemo stari trdi odmik, saj razmak zdaj ureja 'gap' */
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* 📱 Mobilna prilagoditev za module (Zasloni pod 768px) */
@media (max-width: 768px) {
    .syllabus .module-header {
        flex-direction: column !important; /* Številka in tekst gresta drug pod drugega */
        align-items: flex-start !important; /* Poravnava levo */
        gap: 10px !important; /* Lep, zračen prostor med napisom MODUL in naslovom */
    }
    
    .syllabus .module-header h3 {
        font-size: 19px !important;
    }
}

/* ==========================================================================
   🎯 GLOBALNI POPRAVEK ZA PRE DOLGO INFO ŠKATLO NA VSEH 7 STRANEH TEČAJEV
   ========================================================================== */

/* Targetiramo samo .course-card, ki se nahaja znotraj marketinškega stolpca */
.register-marketing-info .course-card {
    max-width: 520px !important;       /* Omejimo širino, da ni predolga */
    min-height: auto !important;       /* Izničimo visoko privzeto višino kartic */
    height: auto !important;
    padding: 16px 20px !important;     /* Naredimo jo bolj stisnjeno in elegantno */
    
    /* Prestižen "Callout" izgled z levo vijolično črto */
    background-color: rgba(22, 13, 50, 0.4) !important;
    border: 1px solid rgba(192, 132, 252, 0.15) !important;
    border-left: 4px solid #C084FC !important; 
    border-radius: 4px 12px 12px 4px !important;
    
    margin-bottom: 25px !important;
    text-align: left !important;
}

/* Prilagoditev teksta znotraj te specifične škatle */
.register-marketing-info .course-card p {
    margin-bottom: 0 !important;       /* Izbrišemo prazen prostor pod tekstom */
    line-height: 1.6 !important;
}

/* 📱 Mobilna prilagoditev za info škatlo (Zasloni pod 900px) */
@media (max-width: 900px) {
    .register-marketing-info .course-card {
        margin: 0 auto 25px auto !important; /* Na mobilcih jo lepo centriramo */
    }
}

/* ==========================================================================
   🙈 ZAČASNO SKRITA SEKCIJA VIDEOPOSNETKOV (ZAKOMENTIRANO GLOBALNO)
   ========================================================================== */
.examples, .examples-grid, .video-card {
    display: none !important;
}

/* ==========================================================================
   🔮 NEW STYLE: CYBER-CAPSULE GLOW BUTTONS
   ========================================================================== */

/* Prisili kartice v pametno navpično poravnavo */
.services-grid .service-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
}

.services-grid .service-card p {
    flex-grow: 1 !important;
    margin-bottom: 25px !important;
}

/* Osnovno stanje novega gumba */
.services-grid .btn-service-action {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    text-decoration: none !important; /* Brez podčrtanosti */
    
    /* Oblika kapsule in odmiki */
    padding: 12px 20px !important;
    border-radius: 50px !important; /* Popolnoma zaobljeni robovi */
    
    /* Prefinjene cyber barve */
    background: rgba(192, 132, 252, 0.03) !important; /* Skoraj prosojno ozadje */
    color: #C084FC !important; /* Svetleč neon-vijoličen tekst */
    border: 1px solid rgba(192, 132, 252, 0.3) !important; /* Tanek neonski rob */
    
    /* Tipografija kot pri prestižnih tehnoloških aplikacijah */
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important; /* Vse velike črke */
    letter-spacing: 1.5px !important; /* Širok razmik med črkami za zračnost */
    
    /* "Bouncy" fizika animacije za vrhunski občutek ob kliku */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Interaktivno stanje (Hover), ko stranka zapelje z miško nanj */
.services-grid .btn-service-action:hover {
    /* Tekoč preklop v polni žameten gradient */
    background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%) !important;
    color: #FFFFFF !important; /* Tekst postane čisto bel */
    border-color: #C084FC !important;
    
    /* Gumb se tridimenzionalno dvigne in napihne */
    transform: translateY(-4px) scale(1.02) !important;
    
    /* Močna zunanja difuzna neonska senca (gumb začne žareti) */
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5) !important;
}
}

