:root {
    --brand-dark-blue: #252477;
    --brand-primary: #00468c;
    --brand-secondary: #00a8cc;
    --brand-accent: #252477;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-light: rgba(250, 250, 250, 0.75);
    --border-color: #e2e8f0;
}

html, body {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* Základné písma podľa predlohy */
body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}

/* Efekt rozostrenia pre fixnú hlavičku pri scrollovaní */
.backdrop-blur {
    backdrop-filter: blur(12px);
}
header.scrolled {
    background: rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 10px 30px -2px rgb(0 0 0 / 0.05);
}

/* Klient ticker (animácia log) */
.ticker-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.ticker-wrapper::before,
.ticker-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}
.ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}
.ticker-track {
    display: flex;
    gap: 10rem;
    align-items: center;
    white-space: nowrap;
    animation: clientScroll 45s linear infinite;
}
.ticker-track:hover {
    animation-play-state: paused;
}
.ticker-item img {
    max-height: 60px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.ticker-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
}
@keyframes clientScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer Styles */
.footer-section {
    background: linear-gradient(135deg, #252477 0%, #0b2545 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); /* Jemná linka, ktorá dodá footeri "hĺbku" */
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-socials span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--brand-primary, #00468c);
    transform: translateY(-2px);
}

.footer-grid h4 {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid ul li {
    margin-bottom: 6px;
}

.footer-grid ul li a,
.footer-grid p a,
.footer-grid p {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer-grid ul li a:hover,
.footer-grid p a:hover {
    color: #ffffff !important;
}

.footer-grid p i {
    color: rgba(255, 255, 255, 0.6);
}

.support-box {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-copy {
    display: flex;
    gap: 10px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .footer-bottom-row {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.hero {
    background: radial-gradient(circle at top right, #e8f1ff 0%, #ffffff 60%);
    padding-top: 10rem !important;
}

.hero p {
    margin-bottom: 0;
}

.text-primary {
    font-weight: 900;
    color: var(--brand-primary) !important;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent, #6366f1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn-outline-primary {
    padding: 14px 42px !important;
    background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--brand-primary), var(--brand-accent)) border-box !important;
    border: 2px solid transparent !important;
    border-radius: 50rem !important;
    color: var(--brand-primary) !important;
    font-weight: 600;
    transition: all 0.25s ease-in-out !important;
    display: inline-block;
}

.btn-outline-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 70, 140, 0.1) !important;
}

.btn-primary {
    padding: 14px 42px !important;
    border: none !important;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent, #6366f1));
    transition: all 0.25s ease-in-out !important;
}

.btn-primary:hover {
    border: none !important;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent, #6366f1));
    opacity: 0.95 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent, #6366f1));
}

 .transition-card {
     transition: all 0.25s ease-in-out;
 }
.transition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

.form-control, .form-label {
    font-size: 14px !important;
}


 .module-card {
     cursor: pointer;
 }

.module-card:hover .transition-card {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.hover-dark-link {
    transition: color 0.2s ease;
}
.hover-dark-link:hover {
    color: #0b2545 !important;
    text-decoration: underline !important;
}

.border-light {
    border-color: #e9ecef !important;
}

.text-dark {
    color: var(--text-main);
}

@media (max-width: 767.98px) {
    .w-100-sm {
        width: 100% !important;
    }
}

/* Celkový základ pre mobilné menu (skryté pred otvorením) */
@media (max-width: 991.98px) {
    .custom-mobile-menu {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2;
        padding: 2rem;

        /* Plynulá animácia – štartovný stav (skryté) */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    /* Stav po otvorení (.show trieda pridaná cez JS) */
    .custom-mobile-menu.show {
        opacity: 1;
        visibility: visible;
    }

    .custom-mobile-menu .navbar-nav {
        align-items: center !important;
    }
}

@media (max-width: 1201px) {
    .btn-primary, .btn-outline-primary {
        padding: 12px 22px !important;
    }
}

/* Pre veľké obrazovky (Desktop) zrušíme fullscreen správanie */
@media (min-width: 992px) {
    .custom-mobile-menu {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: static !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
    }
}
