* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background-color: #d1e4ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.1);
    z-index: 1200;
}


#menu-toggle {
    background-color: transparent;
    border: none;
    color: #004aad;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s;
}

#menu-toggle:hover {
    background-color: #a8c3ff;
}

.header-text {
    color: #004aad;
    font-weight: 600;
    font-size: 1.2rem;
    margin-left: auto;
    padding: 0 1rem;
}

.sidebar {
    width: 250px;
    background-color: #004aad;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    transition: transform 0.3s ease;
    position: fixed;
    top: 56px;
    left: 0;
    height: calc(100vh - 56px);
    transform: translateX(-100%);
    z-index: 1000;
}


.sidebar.show {
    transform: translateX(0);
}


.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sidebar-header h2 {
    font-size: 1.5rem;
}

#close-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.sidebar a {
    color: white;
    text-decoration: none;
    margin: 0.27rem 0;
    font-size: 1.02rem;
    display: block;
    transition: background 0.2s;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

.sidebar a:hover {
    background-color: #0066cc;
}


.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: row;
    height: 100vh;
    margin-left: 0;
    transition: margin-left 0.3s ease;
    padding-top: 56px;
}


.content-wrapper.shifted {
    margin-left: 250px;
}


.main {
    flex: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-y: auto;
    width: 100%;
}

.main h1 {
    color: #004aad;
    margin-bottom: 1rem;
}

.main p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2rem;
}

.start-button {
    background-color: #007bff;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.start-button:hover {
    background-color: #0056b3;
}

.right-panel {
    width: 350px;
    padding: 2rem 1.5rem;
    background-color: #e9effa;
    border-left: 2px solid #cdd5e0;
    overflow-y: auto;

}


.branding {
    background-color: #ffffff;
    border: 2px solid #004aad;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.branding h3 {
    color: #004aad;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.branding p {
    color: #222;
    font-size: 1rem;
}

.testimoniale h4 {
    color: #004aad;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.comentariu {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.comentariu small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
}

footer {
    background-color: #d1e4ff;
    color: #004aad;
    font-size: 1rem;
    text-align: center;
    padding: 1rem 1.5rem;
    box-shadow: 0 -2px 4px rgb(0 0 0 / 0.1);
    font-weight: 600;
    line-height: 1.3;
    margin-top: auto;
}


body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
}

.content-wrapper {
    flex: 1 0 auto;
    padding-top: 56px;
}

.header-text .step-number {
    color: #d93025;
    font-weight: 700;
    font-size: 1.3rem;
    margin-right: 0.25rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.sidebar a.sustine-proiect {
    background-color: #374151;
    color: #f9fafb;
    font-weight: 600;
    text-align: center;
    padding: 0.6rem 0.8rem;
    margin-top: 0.2rem;
    border-radius: 8px;
    font-size: 1.05rem;
    transition: background-color 0.3s, transform 0.2s;
}

.sidebar a.sustine-proiect:hover {
    background-color: #1f2937;
    transform: scale(1.05);
}


.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
}

.title {
    font-size: 2rem;
    font-weight: 700;
    color: #004aad;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}


.card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #004aad;
    margin-bottom: 1rem;
}


.btn-group {
    margin-top: auto;
}

.btn {
    background-color: #007bff;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s, transform 0.2s;
    display: inline-block;
}

.btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.categories-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    justify-items: center;
    margin-bottom: 2rem;
}

.categories-row .card {
    flex: 1 1 150px;
    max-width: 150px;
}


.special-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    max-width: 250px;
    margin: 0 auto;
}

.special-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.special-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #004aad;
    margin-bottom: 1rem;
}

.card.btn-card {
    cursor: pointer;
    text-decoration: none;
    color: white;
    background-color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 100px;
    border-radius: 12px;
    transition: background-color 0.3s, transform 0.2s;
}

.card.btn-card h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;

}

.card.btn-card:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.center-card {
    grid-column: 2 / span 4;
    justify-self: center;
    width: 350px !important;
}

.category-icon {
    font-size: 1.9rem;
    margin-top: 0.4rem;
    color: white;
    display: block;
}

@media (max-width: 575.98px) {

    .header-text {
        font-size: 0.7rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sidebar a {
        color: white;
        text-decoration: none;
        margin: 0.27rem 0;
        font-size: 1.1rem;
        display: block;
        transition: background 0.2s;
        padding: 0.05rem 0.6rem;
        border-radius: 6px;
    }

    .container {
        padding: 1rem;
        margin-top: 1rem;
    }

    .title {
        font-size: 1.4rem;
    }

    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .categories-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        justify-items: center;
    }

    .card.btn-card {
        width: 100px;
        height: 100px;
        border-radius: 10px;
    }

    .center-card {
        grid-column: auto !important;
        width: 100% !important;
        max-width: 200px;
    }

    footer {
        font-size: 0.8rem;
        padding: 0.6rem;
    }

    .card.btn-card:last-child {
        grid-column: 2 / 3;
        white-space: nowrap;
    }

    .card.btn-card h3 {
        font-size: 1.3rem;
    }

    .card.btn-card i {
        font-size: 1.3rem;
    }
}