* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* MAIN CONTENT */

.page {
    display: flex;
    min-height: 100vh;
    max-width: 1280px;
    margin: 0 auto;
}

.sidebar {
    width: 230px;
    background-color: #25a2b7;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wide-image {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.reading-picture {
    width: 300px;
    max-width: 70%;
    height: auto;
}

.reading-picture-2 {
    width: 350px;
    max-width: 70%;
    height: auto;
}

h1 {
    font-size: 30px;
    margin-bottom: 20px;
}


h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

h3  {
    font-size: 18px;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
}

ul {
    list-style-position: outside;
    padding-left: 22px;
    margin-left: 0;
}

li {
    font-size: 16px;
    text-align: left;
    margin-left: 0;
    text-indent: 0;
}

.centered {
    text-align: center;
}

.right-side {
    text-align:right;
    padding-bottom: 6px;
}

.button {
    display: block;  
    padding: 12px 24px;
    width: fit-content;
    margin: 30px auto;
    background-color: #25a2b7;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.button:hover {
    background-color: #1c7888;
    color: white;
}

a {
    text-decoration:none;
    color:#25a2b7;
}

a:hover {
    text-decoration:underline;
    color:#1c7888;
}
/* LOGO */

header {
    width: 230px;
    background-color: #f8f8f8;
    padding-bottom: 10px;
}

header img {
    display: block;
    width: 230px;
    height: auto;
}

.mobile-header {
    display: none;
}
    
/* MENU */

nav {
    width: 230px;
    padding-top: 20px;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    padding: 6px 20px;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.menu a:hover {
    color: #333;
}

.submenu-toggle {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    color: white;
    font: inherit;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
}

.submenu-toggle:hover {
    color: #333;
}

/* Submenu je standardně skryté */
.dropdown .submenu {
    display: none;
}

/* Otevření po kliknutí */
.dropdown.open > .submenu {
    display: block;
}

.submenu {
    padding-left: 12px;
}

.submenu li {
    padding: 0;
}

.submenu a {
    text-decoration: none;
    color:#c4e7ef;
    font-size: 14px;
}

.submenu a:hover {
    color: #333;
}

.dropdown .submenu {
    display: none;
}

.dropdown.open > .submenu {
    display: block;
}

.menu-toggle {
    display: none;
}

@media (max-width: 600px) {

    header {
        display: none;
    }

    .sidebar header {
        display: none;
    }

    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 3px 3px;
        margin: 0;
        box-sizing: border-box;
        background-color: #25a2b7;
    }

    .mobile-header .logo {
        display: block;
        margin: 0;
        padding: 0;
    }

    .mobile-header .logo img {
        display: block;
        width: auto;
        max-width: 160px;
        height: auto;
        margin: 0;
    }

    .menu > li > a,
    .menu > li > .submenu-toggle {
        display: block;
        width: 100%;
        font-size: 14px;
        font-family: inherit;
        box-sizing: border-box;
        padding: 3px 3px;
        text-align: left;
    }
    
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
        font-size: 30px;
        line-height: 1;
        border: none;
        background: transparent;
        color: white;
        cursor: pointer;
        padding: 5px;
        margin: 0;
    }

    .page {
        display: block;
    }

    .sidebar {
        width: 100%;
        min-width: 0;
        min-height: auto;
    }

    .content {
        margin-left: 0;
    }

    nav {
        display: block;
        position: fixed;
        top: 0;
        left: -180px;
        width: 180px;
        height: 100vh;
        background-color: #25a2b7;
        z-index: 1000;
        overflow-y: auto;
        transition: left 0.3s ease;
        padding-top: 20px;
        box-sizing: border-box;
    }

    nav.open {
        left: 0;
    }

    h1 {
        font-size: 18px;
    }

    h2 {
        font-size: 16px;
    }

    p {
        font-size: 12px;
    }

}

main {
    padding-top: 10px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 40px;
    background-color: white;
    text-align: left;
    flex: 1;
}


/* Shimmering effect for CIMA qualification */

.shimmer-text {
    display: inline-block;
    font-weight: 600;
    color: #20A9C9;

    background: linear-gradient(
        110deg,
        #20A9C9 35%,
        #FFFFFF 50%,
        #20A9C9 65%
    );

    background-size: 250% auto;
    background-position: 100% center;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: cimaShimmer 14s linear infinite;
}


@keyframes cimaShimmer {
    0%, 20%, 100% {
        background-position: 100% center;
    }

    25% {
        background-position: 0% center;
    }

    30% {
        background-position: 100% center;
    }
}

/* Společné pozadí menu */
.services-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;

    list-style: none;
    margin: 25px 0;
    padding: 8px;

    background-color: #EAF5F8;
    border-radius: 18px;
}

/* Každý box má stejnou šířku */
.services-menu li {
    flex: 1 1 120px;
    max-width: 250px;
    margin: 0;
    padding: 0;
    display: flex;
}

/* Text uvnitř boxu */
.services-menu a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 70px;
    box-sizing: border-box;
    padding: 8px 8px;

    color: #23485A;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;

    overflow-wrap: anywhere;
    border-radius: 12px;

    transition: background-color 0.25s ease,
                color 0.25s ease;
}

/* Hover efekt */
.services-menu a:hover {
    background-color: #20A9C9;
    color: white;
}

/* Ovládání klávesnicí */
.services-menu a:focus-visible {
    background-color: #20A9C9;
    color: white;
    outline: 2px solid #23485A;
    outline-offset: 2px;
}


/* Společné pozadí menu */
.resources-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;

    list-style: none;
    margin: 25px 0;
    padding: 8px;

    background-color: #EAF5F8;
    border-radius: 18px;
}

/* Každý box má stejnou šířku */
.resources-menu li {
    flex: 1 1 120px;
    max-width: 195px;
    margin: 0;
    padding: 0;
    display: flex;
}

/* Text uvnitř boxu */
.resources-menu a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 70px;
    box-sizing: border-box;
    padding: 8px 8px;

    color: #23485A;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;

    overflow-wrap: anywhere;
    border-radius: 12px;

    transition: background-color 0.25s ease,
                color 0.25s ease;
}

/* Hover efekt */
.resources-menu a:hover {
    background-color: #20A9C9;
    color: white;
}

/* Ovládání klávesnicí */
.resources-menu a:focus-visible {
    background-color: #20A9C9;
    color: white;
    outline: 2px solid #23485A;
    outline-offset: 2px;
}


/* Společné pozadí menu */
.reading-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;

    list-style: none;
    margin: 25px 0;
    padding: 8px;

    background-color: #EAF5F8;
    border-radius: 18px;
}

/* Každý box má stejnou šířku */
.reading-menu li {
    flex: 1 1 120px;
    max-width: 250px;
    margin: 0;
    padding: 0;
    display: flex;
}

/* Text uvnitř boxu */
.reading-menu a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 70px;
    box-sizing: border-box;
    padding: 10px 10px;

    color: #23485A;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;

    overflow-wrap: anywhere;
    border-radius: 12px;

    transition: background-color 0.25s ease,
                color 0.25s ease;
}

/* Hover efekt */
.reading-menu a:hover {
    background-color: #20A9C9;
    color: white;
}

/* Ovládání klávesnicí */
.reading-menu a:focus-visible {
    background-color: #20A9C9;
    color: white;
    outline: 2px solid #23485A;
    outline-offset: 2px;
}


.return-to-top {
    text-decoration:none;
    color:#25a2b7;
    font-size: 12px;
}

.return-to-top:hover {
    text-decoration:underline;
    color:#1c7888;
    font-size: 12px;
}
/* FOOTER */

footer {
    margin: 0;
    padding: 20px 40px;
    background-color: #343a40;
    color: white;
    text-align: center;
    }

footer a {
    text-decoration: underline;
    text-decoration-style: solid;
    color: white;
}

footer a:hover {
    text-decoration-style:double;
    color: white;
}

/* =========================================
   GENERAL
========================================= */

* {
    box-sizing: border-box;
}


body {
    margin: 0;
    padding: 0;

    background-color: #f4f7f9;

    color: #263238;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    line-height: 1.6;
}


/* =========================================
   FORM CONTAINER
========================================= */

.form-container {
    width: 100%;

    max-width: 850px;

    margin: 0 auto;

    padding: 45px;

    background-color: white;

    border-radius: 8px;

    box-shadow:
        0 3px 15px rgba(0, 0, 0, 0.08);
}


/* =========================================
   HEADER
========================================= */

.form-header {
    text-align: center;

    padding-bottom: 30px;

    border-bottom: 1px solid #dce4e8;
}


.form-header h1 {
    margin: 0 0 10px;

    color: #173b4d;

    font-size: 32px;

    font-weight: 700;
}


.form-header p {
    margin: 0;

    color: #64747c;

    font-size: 16px;
}


/* =========================================
   FORM STEPS
========================================= */

.form-step {
    display: none;

    padding: 35px 0;

    border-bottom: 1px solid #dce4e8;
}


.form-step.active {
    display: block;
}


.form-step h2 {
    margin: 0 0 15px;

    color: #173b4d;

    font-size: 22px;

    font-weight: 700;
}


.step-number {
    margin-bottom: 10px;

    color: #20A9C9;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1px;
}


.question {
    margin: 0 0 20px;

    color: #64747c;

    line-height: 1.6;
}


.structure-question {
    margin-top: 30px;
}


/* =========================================
   CHECKBOXES
========================================= */

.checkbox-group {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.checkbox-option {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding: 15px;

    border: 1px solid #dce4e8;

    border-radius: 5px;

    background-color: #fafcfd;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}


.checkbox-option:hover {
    border-color: #20A9C9;

    background-color: #f2fbfd;
}


.checkbox-option input {
    flex-shrink: 0;

    width: auto;

    margin-top: 5px;

    accent-color: #20A9C9;

    cursor: pointer;
}


.checkbox-option label {
    flex: 1;

    cursor: pointer;

    color: #263238;
}


.checkbox-option label span {
    color: #64747c;
}


/* =========================================
   RADIO BUTTONS
========================================= */

.radio-group {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.radio-option {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 15px;

    border: 1px solid #dce4e8;

    border-radius: 5px;

    background-color: #fafcfd;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}


.radio-option:hover {
    border-color: #20A9C9;

    background-color: #f2fbfd;
}


.radio-option input {
    flex-shrink: 0;

    width: auto;

    margin: 0;

    accent-color: #20A9C9;

    cursor: pointer;
}


.radio-option label {
    flex: 1;

    cursor: pointer;

    color: #263238;
}


/* =========================================
   INPUTS
========================================= */

.form-group {
    margin-bottom: 20px;
}


.form-group:last-child {
    margin-bottom: 0;
}


.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #263238;

    font-weight: 600;
}


input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #cbd6db;

    border-radius: 5px;

    background-color: white;

    color: #263238;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: #20A9C9;

    box-shadow:
        0 0 0 3px rgba(32, 169, 201, 0.12);
}


textarea {
    min-height: 180px;

    resize: vertical;
}


input::placeholder,
textarea::placeholder {
    color: #9aa7ad;
}


select {
    cursor: pointer;
}


/* =========================================
   REVIEW
========================================= */

.review-content {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.review-section {
    padding: 20px;

    background-color: #f7fafb;

    border: 1px solid #dce4e8;

    border-radius: 5px;
}


.review-section h3 {
    margin: 0 0 12px;

    color: #173b4d;

    font-size: 18px;
}


.review-section p {
    margin: 7px 0;

    color: #4f6068;
}


.review-section ul {
    margin: 0;

    padding-left: 20px;
}


.review-section li {
    margin-bottom: 5px;

    color: #4f6068;
}


/* =========================================
   PRIVACY NOTICE
========================================= */

.privacy-notice {
    margin-top: 20px;

    padding: 18px 20px;

    background-color: #f4f7f9;

    border-left: 4px solid #20A9C9;

    border-radius: 3px;
}


.privacy-notice p {
    margin: 0 0 10px;

    color: #64747c;

    font-size: 12px;

    line-height: 1.2;
}


.privacy-notice p:last-child {
    margin-bottom: 0;
}


.privacy-notice a {
    color: #168ba8;

    text-decoration: underline;

    font-weight: 600;
}


.privacy-notice a:hover {
    color: #20A9C9;
}


/* =========================================
   PRIVACY CHECKBOX
========================================= */

.privacy-consent {
    margin-top: 25px;
}


.consent-option {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    color: #263238;

    font-size: 14px;

    line-height: 1.6;

    cursor: pointer;
}


.consent-option input {
    flex-shrink: 0;

    width: auto;

    margin-top: 5px;

    accent-color: #20A9C9;

    cursor: pointer;
}


.consent-option span {
    flex: 1;
}


.consent-option a {
    color: #168ba8;

    text-decoration: underline;
}


/* =========================================
   NAVIGATION
========================================= */

.form-navigation {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding-top: 25px;
}


.progress-text {
    flex: 1;

    text-align: center;

    color: #64747c;

    font-size: 14px;

    font-weight: 600;
}


.back-button,
.next-button {
    min-width: 110px;

    padding: 12px 20px;

    border-radius: 5px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;
}


.back-button {
    border: 1px solid #cbd6db;

    background-color: white;

    color: #52636b;
}


.back-button:hover {
    background-color: #f4f7f9;
}


.next-button {
    border: none;

    background-color: #20A9C9;

    color: white;
}


.next-button:hover {
    background-color: #168ba8;
}


/* =========================================
   SUBMIT
========================================= */

.submit-container {
    margin-top: 35px;

    text-align: center;
}


.submit-button {
    padding: 16px 30px;

    border: none;

    border-radius: 5px;

    background-color: #20A9C9;

    color: white;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.1s ease;
}


.submit-button:hover {
    background-color: #168ba8;
}


.submit-button:active {
    transform: translateY(1px);
}


/* =========================================
   HONEYPOT
========================================= */

.honeypot {
    position: absolute;

    left: -9999px;

    width: 1px;

    height: 1px;

    overflow: hidden;
}


/* =========================================
   PRIVACY MODAL
========================================= */

body.modal-open {
    overflow: hidden;
}


.privacy-modal {
    display: none;

    position: fixed;

    z-index: 1000;

    inset: 0;

    padding: 30px 20px;

    background-color: rgba(23, 59, 77, 0.65);

    overflow-y: auto;
}


.privacy-modal.show {
    display: flex;

    align-items: center;

    justify-content: center;
}


.privacy-modal-content {
    position: relative;

    width: 100%;

    max-width: 750px;

    max-height: 90vh;

    padding: 40px;

    background-color: white;

    border-radius: 8px;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.2);

    overflow-y: auto;
}


.privacy-modal-content h2 {
    margin: 0 40px 25px 0;

    color: #173b4d;

    font-size: 22px;
}


.privacy-modal-body h3 {
    margin: 25px 0 8px;

    color: #173b4d;

    font-size: 14px;
}


.privacy-modal-body h3:first-child {
    margin-top: 0;
}


.privacy-modal-body p {
    margin: 0 0 15px;

    color: #52636b;

    font-size: 12px;

    line-height: 1.2;
}


.privacy-modal-body li {
    margin: 0 0 15px;
    color: #52636b;
    font-size: 12px;
    line-height: 1.2;
}


.privacy-close {
    position: absolute;

    top: 15px;

    right: 18px;

    width: 40px;

    height: 40px;

    border: none;

    background: transparent;

    color: #52636b;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;
}


.privacy-close:hover {
    color: #20A9C9;
}


.privacy-note {
    margin-top: 30px !important;

    padding: 15px;

    background-color: #fff8e8;

    border-left: 4px solid #d7a73c;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    body {
        padding: 3px;

        font-size: 12px;
    }

    body p {
        padding: 3px;

        font-size: 12px;
    }    

    body li {
        padding: 3px;

        font-size: 12px;
    }

    body a {
        padding: 3px;

        font-size: 12px;
    }

    body h1 {
        padding: 3px;

        font-size: 16px;
    }

    body h1:hover {
        padding: 3px;

        font-size: 16px;
    }

    body h2 {
        padding: 3px;

        font-size: 15px;
    }

    body h2:hover {
        padding: 3px;

        font-size: 15px;
    }

    body h3 {
        padding: 3px;

        font-size: 13px;
    }

    body h3:hover {
        padding: 3px;

        font-size: 13px;
    }


    .content {
        margin-left: 0;
        padding: 3px 10px;
        box-sizing: border-box;
    }

    main {
        margin: 0;
        padding: 3px;
    }

    .centered {
        margin: 0;
        padding: 0;
    }

    main p,
    main h1,
    main h2,
    main ul {
        margin-left: 0;
    }


    /* Mobilní tlačítka */
    .button {
        display: block;
        width: fit-content;
        margin: 12px auto;
        text-align: center;
        font-size: 14px;
        padding: 8px 12px;
    }

    /* Formulář */
    .form-container {
        padding: 25px 20px;

        border-radius: 6px;
    }


    .form-header {
        padding-bottom: 25px;
    }


    .form-header h1 {
        font-size: 18px;
    }


    .form-header p {
        font-size: 12px;
    }


    .form-step {
        padding: 28px 0;
    }


    .form-step h2 {
        font-size: 16px;
    }


    .question {
        font-size: 14px;
    }


    .checkbox-option,
    .radio-option {
        padding: 13px;
    }


    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 12px;

        padding: 12px;
    }


    textarea {
        min-height: 160px;
    }


    .form-navigation {
        gap: 8px;
    }


    .back-button,
    .next-button {
        min-width: 95px;

        padding: 11px 15px;
    }


    .privacy-modal {
        padding: 10px;
    }


    .privacy-modal-content {
        max-height: 95vh;

        padding: 30px 20px;
    }


    .privacy-modal-content h2 {
        font-size: 16px;
    }


    .privacy-modal-body p {
        font-size: 12px;
    }


    .submit-button {
        width: 100%;

        padding: 15px 20px;
    }

}


