body {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: #f5f7fa;
    color: #333;
}

header {
    background: #004b87;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
}

h1 {
    margin: 0;
}

h2 {
    color: #004b87;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

.card h2 {
    margin-top: 0;
}

.card a {
    text-decoration: none;
    color: #004b87;
}

.card a:hover {
    text-decoration: underline;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav li {
    margin: 12px 0;
}

.reserved {

    margin-top: 12px;

    padding: 14px 16px;

    border-radius: 12px;

    border: 2px solid #5b8c2a;

    background:
        linear-gradient(
            180deg,
            #fff7c7 0%,
            #ffe37a 100%
        );

    box-shadow:
        0 4px 10px rgba(
            0,
            0,
            0,
            .12
        ),
        inset 0 1px 0 rgba(
            255,
            255,
            255,
            .7
        );

    color: #434000;
}

.logo {
    margin-top: 50px;
    text-align: center;
}

.logo img {
    width: 180px;
    height: auto;
}

.footer {
    margin-top: 40px;
    text-align: center;
    color: #777;
    font-size: 12px;
}
.region-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.region-nav a {
    display: inline-block;
    padding: 12px 18px;
    background: #ffffff;
    color: #0d4f8b;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #d9e3ef;
    transition: all .2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.region-nav a:hover {
    background: #0d4f8b;
    color: #fff;
    transform: translateY(-2px);
}
.sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 6px;
    text-decoration: none;
    color: #234;
    border-radius: 8px;
    transition: .25s;
}

.sidebar a:hover {
    background: #0d4f8b;
    color: white;
}
.menu-card {
    min-width: 180px;
    min-height: 65px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    border-radius:12px;
}
.state-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    background:#0d4f8b;
    color:#fff;

    padding:18px 24px;
    border-radius:10px;
}

.state-header h1{
    margin:0;
}

.back-home{
    display:flex;
    align-items:center;
    gap:10px;

    color:#fff;
    text-decoration:none;

    padding:10px 14px;
    border-radius:8px;

    background:rgba(255,255,255,.12);

    transition:.25s;
}

.back-home:hover{
    background:rgba(255,255,255,.22);
}

.back-home img{
    width:22px;
    height:22px;
}
.state-home-link{
    display:flex;
    align-items:center;
    gap:12px;

    padding:10px 18px;

    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.20);

    border-radius:10px;

    color:#ffffff;
    text-decoration:none;

    font-weight:600;
    font-size:1rem;
    line-height:1;

    transition:all .25s ease;
}

.state-home-link img{
    width:28px;
    height:28px;
    display:block;
}

.state-home-link span{
    display:flex;
    align-items:center;
    height:28px;
}
.state-coat{
    display:block;

    height:80pt;
    width:auto;

    margin:15px auto 25px;
}
.state-header{
    text-align:center;
}
.placement-list{

    display:flex;
    flex-direction:column;

    gap:6pt;

    width:fit-content;

    margin:20px auto;

    text-align:left;
}
.donation-input {
    width: 80px;
    padding: 8px;
    margin: 0 5px 10px 0;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    background: var(--card-bg);
    color: var(--text);
}
.donation-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.currency {
    font-weight: bold;
    color: var(--accent);
}

.donation-input {
    width: 80px;
    padding: 8px;
}
.education-grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(320px,1fr)
        );

    gap: 1rem;
}

.education-card {

    background: #fff;

    border: 1px solid #d9d9d9;

    border-radius: 12px;

    padding: 1rem;

    box-shadow:
        0 2px 8px rgba(
            0,
            0,
            0,
            .08
        );
}

.education-card h3 {

    margin: 0 0 .5rem 0;
}

.education-city {

    color: #666;

    margin-bottom: .5rem;
}

.education-link {

    display: inline-block;

    margin-top: .5rem;

    text-decoration: none;

    color: #005bbb;

    font-weight: 600;
}

.education-link:hover {

    background: #0b5ed7;

    transform: translateY(-1px);

    text-decoration: none;
}

.education-link:visited {

    color: #fff;
}


.education-card {

    border: 1px solid #d9d9d9;

    border-radius: 12px;

    background: #fff;

    overflow: hidden;
}

.education-card summary {

    display: flex;

    justify-content: space-between;

    align-items: center;

    cursor: pointer;

    padding: 1rem;

    list-style: none;
}

.education-card summary::-webkit-details-marker {

    display: none;
}

.education-title {

    font-weight: 700;
}

.education-badge {

    background: #eef5ff;

    border-radius: 999px;

    padding: .3rem .4rem;

    font-size: .8rem;
}

.education-content {

    padding: 0 1rem 1rem 1rem;
}
.footer-links {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 1rem;

    margin-bottom: .75rem;
}

.footer-links a {

    text-decoration: none;

    color: #0d4f8b;

    font-weight: 600;
}
.footer-secondary {

    font-size: .92rem;

    opacity: .85;
}

.footer-secondary a {

    font-weight: 500;
}
.pagination-toolbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 1rem;

    margin: 1rem 0 2rem;
}

.pagination-toolbar select {

    min-width: 220px;

    padding: .6rem .8rem;

    border: 1px solid #d9e3ef;

    border-radius: 10px;
}
.education-card summary {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 1rem;

    cursor: pointer;

    padding: 1rem;
}

.education-summary-text {

    display: flex;

    flex-direction: column;
}



.education-city-preview {

    display: block;

    font-size: .8rem;

    color: #666;

    margin-bottom: .25rem;

    text-transform: uppercase;

    letter-spacing: .04em;

    font-weight: 600;
}

.education-title {

    display: block;

    font-size: 1rem;

    font-weight: 700;

    color: #222;
}

.status-active {

    background:#00c853 !important;

    animation:
        pulseGreen 1.5s infinite;
}

.status-pending {

    background:#ff9800 !important;
}

.status-paused {

    background:#f44336 !important;
}

.status-dot {

    display:inline-block;

    width:9px !important;
    height:9px !important;

    border-radius:50% !important;

    margin-right:8px;
}

html {

    scroll-behavior: smooth;
}

.back-to-top {

    position: fixed;

    right: 18px;

    top: 50%;

    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    border-radius: 50%;

    border: 2px solid #0d4f8b;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #d9e8ff
        );

    color: #0d4f8b;

    text-decoration: none;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 28px;

    font-weight: 700;

    box-shadow:
        0 8px 24px rgba(
            13,
            79,
            139,
            .25
        );

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    z-index: 9999;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        opacity .25s ease;
}

.back-to-top.visible {

    opacity: 1;

    visibility: visible;
}

.back-to-top:hover {

    transform:
        translateY(-50%)
        scale(1.15);

    box-shadow:
        0 12px 32px rgba(
            13,
            79,
            139,
            .35
        );
}

.back-to-top:active {

    transform:
        translateY(-50%)
        scale(.92);
}

@media (max-width: 768px) {

    .back-to-top {

        right: 12px;

        bottom: 12px;

        width: 44px;
        height: 44px;
    }
}
.back-to-top.attention {

    animation:
        pulseAttention
        0.5s
        ease-in-out
        2;
}
@keyframes pulseAttention {

    0% {

        transform:
            translateY(-50%)
            scale(1);
    }

    50% {

        transform:
            translateY(-50%)
            scale(1.2);

        box-shadow:
            0 0 20px rgba(
                13,
                111,
                253,
                .6
            );
    }

    100% {

        transform:
            translateY(-50%)
            scale(1);
    }
}

@media (max-width: 768px) {

    .toolbar {

        flex-direction: column;

        align-items: stretch;
    }

    .toolbar-right {

        justify-content: center;
    }

    .city-filter select {

        width: 100%;
    }
}
.pagination {

    display: flex;

    align-items: center;

    gap: .5rem;

    flex-wrap: nowrap;
}

.pagination a {

    min-width: 38px;

    height: 38px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 8px;

    text-decoration: none;
}

.toolbar-center {

    text-align: center;

    font-weight: 600;
}

.toolbar-right {

    display: flex;

    justify-content: flex-end;
}
@media (max-width: 768px) {

    .pagination-toolbar {

        grid-template-columns: 1fr;

        text-align: center;
    }

    .toolbar-right {

        justify-content: center;
    }
}

.toolbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 1rem;

    margin: 1rem 0 2rem;
}

.toolbar-left {

    flex: 0 0 auto;
}

.toolbar-right {

    flex: 1;

    display: flex;

    justify-content: flex-end;
}

.city-filter select {

    min-width: 260px;

    padding: .6rem .9rem;

    border-radius: 10px;

    border: 1px solid #d9e3ef;

    background: #fff;
}

.landing-header {

    position: relative;
}

.landing-header__content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 1rem;
}

.landing-header__logo img {

    max-height: 42px;

    width: auto;

    border: 1px solid rgba(
        255,
        255,
        255,
        0.6
    );

    border-radius: 8px;

    padding: 4px 8px;

    background:
        rgba(
            255,
            255,
            255,
            0.05
        );
}
@media (max-width:768px) {

    .landing-header__content {

        flex-direction: column;
    }
}
.placements-banner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4pt;
}

.placement-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.placement-item img {
    width: 88px;
    height: 52px;
    object-fit: contain;
    transition: transform .2s ease;
}

.placement-item:hover img {
    transform: scale(1.2);
}