:root {
    --iv-cream: #FFFCF6;
    --iv-cream-alt: #FFF7E7;
    --iv-black: #1A1A1A;
    --iv-navy: #0B2D5B;
    --iv-navy-dark: #071E3D;
    --iv-gold: #FFC000;
    --iv-teal: #3F7767;
    --iv-teal-light: #E9F1EE;
}

.iv-custom-nav {
    --bs-navbar-color: white;
    --bs-navbar-brand-color: white;
    --bs-navbar-active-color: white;
    --bs-navbar-hover-color: var(--iv-cream-alt);

    font-weight: 750;
    background-color: var(--iv-navy-dark);
    font-size: 16px;
    padding: 0.3rem;
    padding-top: 0.5rem;
    color: white;
}

.iv-custom-nav .nav-link:focus:not(:focus-visible) {
    color: var(--bs-navbar-color);
}

.navbar-nav {
    gap: 8px;
}

#iv-page {
    background-color: var(--iv-cream);
    color: var(--iv-black);
}

#iv-page .inter-font {
    font-family: "Inter", sans-serif;
}

#iv-page p {
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

#iv-page .nadpis {
    font-size: 28px;
    text-align: center;
    color: var(--iv-navy);
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 0.5rem;
}

#iv-page .section-lead {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 1.5rem auto;
    color: #444;
}

#iv-page .section {
    padding: 3rem 4%;
    scroll-margin-top: 3rem;
}

#iv-hero {
    background: linear-gradient(180deg, var(--iv-navy) 0%, var(--iv-navy-dark) 100%);
    color: white;
    padding: 5rem 4% 4rem 4%;
}

#iv-hero .eyebrow {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--iv-gold);
    margin-bottom: 0.75rem;
}

#iv-hero h1 {
    font-family: "Montserrat", sans-serif;
    font-weight: 850;
    font-size: 44px;
    max-width: 680px;
}

#iv-hero p.lead {
    font-family: "Inter", sans-serif;
    font-size: 19px;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-iv-gold {
    background-color: var(--iv-gold);
    color: var(--iv-navy-dark);
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
}

.btn-iv-gold:hover {
    background-color: #e6ac00;
    color: var(--iv-navy-dark);
}

#iv-co-je {
    background-color: var(--iv-cream);
}

#iv-pre-koho {
    background-color: var(--iv-cream-alt);
}

#iv-zameranie {
    background-color: var(--iv-cream);
}

#iv-priebeh {
    background-color: var(--iv-cream-alt);
}

#iv-programy {
    background-color: var(--iv-cream);
}

#iv-kontakt {
    background-color: var(--iv-navy);
}

/* --- Pre koho: zoznam ako "pilulky" --- */
#iv-pre-koho .iv-pill {
    background-color: white;
    border: 1px solid rgba(11, 45, 91, 0.15);
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--iv-navy);
    align-items: center;
    gap: 0.5rem;
}


/* --- Na čo sa zameriavame: 6 kartičiek --- */
.iv-focus-card {
    background-color: white;
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 14px;
    border-top: 4px solid var(--iv-teal);
}

.iv-focus-card .iv-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--iv-teal-light);
    color: var(--iv-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 1rem;
}

.iv-focus-card h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--iv-navy);
    margin-bottom: 0.5rem;
}

.iv-focus-card p {
    font-size: 15px;
    margin-bottom: 0;
    color: #444;
}

/* --- Ako prebieha: timeline (rovnaký princíp ako na hlavnom webe) --- */
.iv-timeline-step {
    display: flex;
    gap: 20px;
}

.iv-timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iv-timeline-circle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background-color: var(--iv-navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 16px;
}

.iv-timeline-line {
    width: 2px;
    flex: 1;
    min-height: 24px;
    background-color: var(--iv-navy);
    opacity: 0.3;
    margin: 4px 0;
}

.iv-timeline-content h5 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
    color: var(--iv-navy);
}

.iv-timeline-content p {
    margin-bottom: 0;
}

/* --- Oprávnenie ministerstva: pečať / signature prvok --- */
.iv-opravnenie {
    background-color: white;
    border: 2px solid var(--iv-gold);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 6px 20px;
}

.iv-seal {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: var(--iv-navy);
    border: 4px solid var(--iv-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-family: "Montserrat", sans-serif;
    text-align: center;
    flex-shrink: 0;
    margin: 0 auto;
}

.iv-seal i {
    font-size: 30px;
    color: var(--iv-gold);
}

.iv-seal span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 4px;
    padding: 0 10px;
}

#iv-opravnenie h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    color: var(--iv-navy);
    font-size: 22px;
}

#iv-opravnenie .iv-fact {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    margin-bottom: 0.35rem;
}

#iv-opravnenie .iv-fact strong {
    color: var(--iv-navy);
}

.btn-iv-navy {
    background-color: var(--iv-navy);
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
}

.btn-iv-navy:hover {
    background-color: var(--iv-navy-dark);
    color: white;
}

.btn-iv-outline {
    background-color: transparent;
    color: var(--iv-navy);
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    border: 2px solid var(--iv-navy);
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
}

.btn-iv-outline:hover {
    background-color: var(--iv-navy);
    color: white;
}

/* --- Naše programy: 4 karty --- */
.iv-program-card {
    background-color: white;
    border-radius: 16px;
    padding: 6%;
    height: 100%;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 14px;
    border-left: 5px solid var(--iv-navy);
    display: flex;
    flex-direction: column;
}


.iv-program-card h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--iv-navy);
}

.iv-program-card h5 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #555;
    margin-bottom: 0.75rem;
}

.iv-program-card p {
    flex-grow: 1;
}

.iv-program-detail {
    margin-top: 1rem;
}

.iv-program-detail h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: var(--iv-navy);
    margin-bottom: 0.4rem;
    margin-top: 1rem;
    font-size: 1.12rem;
}

.iv-hide-link {
    display: inline-block;
    margin-top: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--iv-navy);
    cursor: pointer;
}

.iv-hide-link:hover {
    color: var(--iv-teal);
}

.iv-program-detail ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.iv-program-detail ul li {
    margin-bottom: 0.35rem;
}

.iv-competency-group {
    margin-top: 1rem;
    margin-bottom: 0.2rem;
}

/* --- Kontakt (tmavý navy záver) --- */
#iv-kontakt .nadpis {
    color: white;
}

#iv-kontakt p {
    color: rgba(255, 255, 255, 0.85);
}

#iv-kontakt .section-lead {
    color: rgba(255, 255, 255, 0.85);
}

.iv-contact-info {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: white;
}

.iv-contact-info i {
    color: var(--iv-gold);
    font-size: 18px;
}

.iv-contact-info a {
    color: white;
    text-decoration: none;
}

.iv-contact-info a:hover {
    color: var(--iv-gold);
    text-decoration: underline;
}




@media (max-width: 767px) {
    #iv-hero h1 {
        font-size: 32px;
        text-align: center;
    }

    #iv-hero p.lead {
        text-align: center;
        margin: 0 auto;
    }

    #iv-hero {
        text-align: center;
    }

    #iv-opravnenie {
        text-align: center;
    }
}

footer {
    background-color: var(--iv-gold);
    font-weight: 500;
    color: var(--iv-navy);
    text-align: center;
    padding: 4px;
    font-family: "Montserrat", sans-serif;
}