.hero-section {

    position: relative;

    min-height: calc(100vh - 88px);

    display: flex;

    align-items: center;

    padding: 130px 0 90px;

    background: linear-gradient(135deg, #f8fbff 0%, #edf5fb 100%);

    color: var(--text);

    overflow: hidden;

}

.hero-section::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(120deg, rgba(255,255,255,0.42), transparent 42%),
        radial-gradient(circle at top right, rgba(0, 119, 182, 0.10), transparent 30%),
        radial-gradient(circle at bottom right, rgba(0, 166, 166, 0.08), transparent 28%);

    pointer-events: none;

}

.hero-background {

    position: absolute;

    inset: 0;

    z-index: 0;

    contain: layout paint;

}

/* Dynamic News Card slider */
.news-section {
    background:
        radial-gradient(circle at 90% 10%, rgba(0, 166, 166, 0.10), transparent 24rem),
        #f4f9fc;
}

.news-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: clamp(34px, 5vw, 58px);
}

.news-section-header .section-heading {
    margin-bottom: 0;
}

.news-section-header .section-heading h2::after {
    margin-left: 0;
}

.news-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.news-filter-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.news-language-filter,
.news-date-filter {
    display: flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(0, 91, 150, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-sm);
}

.news-language-filter button,
.news-date-filter button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 15px;
    color: var(--text-body);
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-family: "Noto Sans Devanagari", "Noto Sans Oriya", var(--font-family-base);
    font-weight: 750;
    cursor: pointer;
    transition: var(--transition);
}

.news-language-filter button:hover,
.news-language-filter button:focus-visible,
.news-date-filter button:hover,
.news-date-filter button:focus-visible {
    color: var(--primary);
    background: rgba(0, 119, 182, 0.08);
}

.news-language-filter button.is-active,
.news-date-filter button.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 20px rgba(0, 91, 150, 0.20);
}

.news-slider-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(10px, 2vw, 22px);
}

.news-control {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--primary);
    border: 1px solid rgba(0, 91, 150, 0.28);
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.news-control-previous {
    grid-column: 1;
}

.news-control-next {
    grid-column: 3;
}

.news-control span {
    font-size: 21px;
    line-height: 1;
}

.news-control:hover,
.news-control:focus-visible {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
    transform: translateY(-2px);
}

.news-control:disabled {
    color: #8da2b2;
    border-color: rgba(93, 118, 136, 0.2);
    background: #edf3f6;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.news-carousel {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 26px;
    background: transparent;
    touch-action: pan-y;
}

.news-track {
    display: flex;
    align-items: flex-start;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card-page {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    flex: 0 0 100%;
    min-width: 0;
    gap: clamp(14px, 2vw, 22px);
    padding: 12px;
}

.news-card {
    display: flex;
    min-width: 0;
    background: transparent;
}

.news-card-frame {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 91, 150, 0.14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 63, 107, 0.12);
}

.news-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 360px;
    background: #dceaf2;
    overflow: hidden;
}

.news-card-image-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.news-card-media img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-language {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 999px;
    background: rgba(0, 63, 107, 0.86);
    box-shadow: 0 8px 20px rgba(0, 37, 64, 0.20);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 800;
}

.news-card-photo-count {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 9px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(0, 37, 64, 0.78);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 800;
}

.news-card-image-dots {
    position: absolute;
    left: 50%;
    bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(0, 37, 64, 0.58);
    transform: translateX(-50%);
    backdrop-filter: blur(8px);
}

.news-card-image-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: width 0.25s ease, background-color 0.25s ease;
}

.news-card-image-dots span.is-active {
    width: 18px;
    border-radius: 999px;
    background: #fff;
}

.news-card-copy {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    padding: clamp(16px, 2vw, 22px);
}

.news-card-date {
    width: fit-content;
    padding: 7px 12px;
    color: var(--primary-dark);
    border-radius: 999px;
    background: rgba(0, 119, 182, 0.10);
    font-size: 13px;
    font-weight: 750;
}

.news-card-copy h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin: 0;
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 1.25;
}

.news-card-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 17px;
    color: #fff;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 24px rgba(0, 91, 150, 0.20);
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    margin-top: auto;
}

.news-card-more:hover,
.news-card-more:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 91, 150, 0.28);
}

.news-position {
    width: fit-content;
    margin: 16px auto 0;
    padding: 5px 11px;
    color: var(--text-body);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .news-card-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .news-card-media {
        aspect-ratio: 16 / 9;
    }

    .news-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-slider-shell {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 8px;
    }

    .news-control {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 620px) {
    .news-card-page {
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .news-slider-shell {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: 4px;
    }

    .news-control {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 520px) {
    .news-section-header {
        display: grid;
    }

    .news-filter-controls {
        width: 100%;
        align-items: stretch;
        justify-content: stretch;
    }

    .news-language-filter,
    .news-date-filter {
        width: 100%;
        overflow-x: auto;
    }

    .news-language-filter button,
    .news-date-filter button {
        flex: 1 0 auto;
        padding-inline: 10px;
    }

    .news-slider-shell {
        position: relative;
        display: block;
    }

    .news-control {
        position: absolute;
        top: 27%;
        z-index: 2;
        color: #fff;
        border-color: rgba(255, 255, 255, 0.58);
        background: rgba(0, 63, 107, 0.78);
        box-shadow: 0 8px 20px rgba(0, 37, 64, 0.25);
    }

    .news-control-previous {
        left: 10px;
    }

    .news-control-next {
        right: 10px;
    }

    .news-card-copy {
        padding: 22px;
    }

    .news-card {
        padding: 4px;
    }

    .news-card-frame {
        border-radius: 17px;
    }

    .news-card-more {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-track {
        transition: none;
    }
}

.news-card-page .trending-learn-more {
    text-decoration: none;
}

.hero-background::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(135deg, rgba(0, 39, 64, 0.48), rgba(0, 91, 150, 0.30)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 30%);

    pointer-events: none;

}

.hero-background-slide {

    position: absolute;

    inset: 0;

    opacity: 0;

    transform: scale(1.06);

    will-change: opacity, transform;

    backface-visibility: hidden;

    transition:
        opacity 0.9s ease,
        transform 1.2s ease;

}

.hero-background-slide.is-active {

    opacity: 1;

    transform: scale(1);

}

.hero-background-slide img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    filter: brightness(0.86) contrast(0.96) saturate(0.9);

    transform: translateZ(0);

}

.hero-content {

    position: relative;

    z-index: 1;

    width: 100%;

    max-width: 760px;

}

.hero-text {

    max-width: 100%;
    margin-left: 140px;

}

.hero-tag {

    display: inline-block;

    padding: 10px 18px;

    margin-bottom: 24px;

    background: linear-gradient(135deg, rgba(0, 119, 182, 0.10) 0%, rgba(0, 166, 166, 0.10) 100%);

    border: 1px solid rgba(0, 91, 150, 0.14);

    border-radius: 999px;

    color: var(--primary);

    letter-spacing: var(--letter-spacing-label);

    text-transform: uppercase;

    font-size: 14px;

    font-weight: 500;

    box-shadow: var(--shadow-sm);

}

.hero-text h1 {

    display: flex;

    flex-direction: column;

    gap: 0;

    margin-bottom: 26px;

    max-width: 1000px;

    font-size: calc(var(--font-size-h1) + 4px);

    color: #ffffff;

    line-height: 0.98;

}

.hero-text h1 span {

    display: block;

}

.hero-text p {

    max-width: 850px;

    margin-bottom: 34px;

    font-size: 16px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.95);

}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;

}

.hero-controls {

    position: absolute;

    inset: 50% 0 auto 0;

    transform: translateY(-50%);

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 18px;

    z-index: 2;

    pointer-events: none;

}

.hero-control {

    pointer-events: auto;

    display: inline-flex;

    width: 54px;

    height: 54px;

    align-items: center;

    justify-content: center;

    padding: 0;

    border-radius: 50%;

    border: 1px solid rgba(0, 91, 150, 0.14);

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(237, 245, 251, 0.92) 100%);

    color: var(--primary);

    font-size: 1.3rem;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;

}

.hero-control:hover,
.hero-control:focus-visible {

    background: linear-gradient(135deg, #edf5fb 0%, #dceaf6 100%);

    transform: translateY(-2px);

    box-shadow: var(--shadow-md);

    outline: none;

}

.btn-primary-custom,
.btn-outline-custom {

    border-radius: 14px;

}

.btn-primary-custom {

    padding: 16px 30px;

    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

    color: var(--white);

    border: none;

    transition: 0.3s;

    box-shadow: var(--shadow-md);

}

.btn-primary-custom:hover {

    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);

    color: var(--white);

    transform: translateY(-2px);

}

.btn-outline-custom {

    padding: 16px 30px;

    border: 2px solid rgba(0, 91, 150, 0.24);

    color: var(--primary);

    transition: 0.3s;

    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(237, 245, 251, 0.88));

}

.btn-outline-custom:hover {

    background: linear-gradient(135deg, #edf5fb 0%, #dceaf6 100%);

    color: var(--primary);

}

.section-heading {

    margin-bottom: 70px;

}

.mission-section,
.collaboration-section {

    background: var(--light-bg);

}

.stats-section {

    background: var(--light-bg);

}

.section.mission-section {

    padding-bottom: clamp(24px, 3vw, 40px);

}

.mission-section .section-heading {

    margin-bottom: 0;

}

.section.stats-section {

    padding-top: clamp(24px, 3vw, 40px);

}

.section-heading p {

    max-width: 900px;

    margin: auto;

}

.mission-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

.mission-card {

    position: relative;

    min-height: 280px;

    overflow: hidden;

    padding: 0;

    background: var(--card-bg);

    border: 1px solid var(--border);

    border-radius: 22px;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}

.mission-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-md);

}

.mission-face {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 28px;

    transition:
        height 0.5s ease,
        opacity 0.35s ease,
        transform 0.5s ease,
        border-radius 0.5s ease;

}

.mission-front {

    top: auto;

    height: 100%;

    flex-direction: column;

    text-align: center;

    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

    color: #ffffff;

    border-radius: 22px;

    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);

}

.mission-front span {

    display: block;

    letter-spacing: 0.03em;

    text-shadow: 0 2px 8px rgba(0,0,0,0.18);

}

.mission-back {

    align-items: flex-start;

    justify-content: flex-end;

    background: linear-gradient(135deg, #ffffff 0%, #edf5fb 100%);

    color: var(--text);

    opacity: 0;

    transform: translateY(16px);

}

.mission-content {

    width: 100%;

}

.mission-content h3 {

    margin-bottom: 12px;

}

.mission-content p {

    margin-bottom: 0;

    color: var(--text-body);

    line-height: 1.72;

}

.mission-card:hover .mission-front {

    height: 58px;

    border-radius: 22px 22px 16px 16px;

}

.mission-card:hover .mission-front span {

    font-size: 1rem;

}

.mission-card:hover .mission-back {

    opacity: 1;

    transform: translateY(0);

}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

}

.stat-card {

    text-align: center;

    padding: 40px;

    border: 1px solid var(--border);

    background: var(--card-bg);

    border-radius: 22px;

    box-shadow: var(--shadow-sm);

    transition: 0.3s;

}

.stat-card:hover {

    border-color: rgba(0, 91, 150, 0.24);

    box-shadow: var(--shadow-md);

}

.collaboration-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

.collaboration-card {

    position: relative;

    display: block;

    min-height: 340px;

    padding: 40px;

    text-align: left;

    background: var(--card-bg);

    border: 1px solid var(--border);

    border-radius: 22px;

    box-shadow: var(--shadow-sm);

    overflow: hidden;

    isolation: isolate;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

}

.collaboration-card--tmc {
    --card-bg-image: url("../../IMAGES_PDF_PPT_EXCEL/logos/tmc-Photoroom.png");
}

.collaboration-card--niser {
    --card-bg-image: url("../../IMAGES_PDF_PPT_EXCEL/logos/NISER Logo.png");
    --card-bg-size: 68%;
    --card-bg-size-hover: 76%;
}

.collaboration-card--odisha {
    --card-bg-image: url("../../IMAGES_PDF_PPT_EXCEL/logos/odisha govt-Photoroom.png");
}

.collaboration-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(145deg, rgba(0, 39, 64, 0.56), rgba(0, 91, 150, 0.38)),
        var(--card-bg-image);

    background-position: center;

    background-repeat: no-repeat;

    background-size: cover, var(--card-bg-size, 82%);

    filter: none;

    transform: scale(1.08);

    opacity: 0.92;

    transition:
        filter 0.35s ease,
        transform 0.35s ease,
        opacity 0.35s ease,
        background-size 0.35s ease;

    z-index: -2;

}

.collaboration-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(180deg, rgba(248, 252, 255, 0.08) 0%, rgba(0, 39, 64, 0.20) 100%);

    z-index: -1;

}

.collaboration-card-content {

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    height: 100%;

    gap: 14px;

    color: #ffffff;

}

.collaboration-card:hover {

    border: 1px solid rgba(0, 91, 150, 0.22);

    box-shadow: var(--shadow-md);

    transform: translateY(-6px);

}

.collaboration-card:hover::before,
.collaboration-card:focus-visible::before {

    filter: none;

    transform: scale(1.03);

    opacity: 1;

    background-size: cover, var(--card-bg-size-hover, 90%);

}

.collaboration-card:focus-visible {

    outline: 3px solid rgba(223, 240, 255, 0.85);

    outline-offset: 4px;

}

.collaboration-card h3 {

    max-width: 14ch;

    margin-bottom: 0;

    color: #ffffff;

}

.tmc-title {

    white-space: nowrap;

    max-width: none;

}

.collaboration-card p {

    max-width: 38ch;

    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.96);

}

.collaboration-slogan {

    line-height: 1.6;

    letter-spacing: 0.01em;

}

@media (max-width: 1199px) {

    .hero-content {

        max-width: 700px;

    }

}

@media (max-width: 991px) {

    .hero-section {

        min-height: auto;

        padding: 120px 0 72px;

    }

    .hero-content {

        max-width: 100%;

    }

    .hero-controls {

        padding: 0 12px;

    }

    .mission-grid,
    .stats-grid,
    .collaboration-grid {

        grid-template-columns: 1fr;

    }

    .hero-text {

        max-width: 100%;
        margin-left: 0;

    }

}

@media (max-width: 767px) {

    .hero-section {

        padding: 108px 0 64px;

    }

    .hero-content {

        max-width: 100%;

    }

    .hero-tag {

        margin-bottom: 18px;

    }

    .hero-text p {

        font-size: 1rem;

        line-height: 1.7;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }

    .btn-primary-custom,
    .btn-outline-custom {

        text-align: center;

    }

    .hero-control {

        width: 46px;

        height: 46px;

        font-size: 1.15rem;

    }

}

/* Registry overview: one coordinated narrative and purpose panel. */
main > section.section.registry-overview-section {
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 18%, rgba(0, 166, 166, 0.12), transparent 28rem),
        radial-gradient(circle at 92% 84%, rgba(10, 132, 198, 0.13), transparent 32rem),
        #f4faff;
}

.registry-overview-section::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    opacity: 0.55;
    background-image:
        linear-gradient(rgba(0, 91, 150, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 91, 150, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.registry-overview-section > .container-custom {
    position: relative;
    z-index: 1;
}

.registry-overview-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 5vw, 68px);
    border: 1px solid rgba(0, 91, 150, 0.14);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 28px 80px rgba(0, 63, 107, 0.12);
}

.registry-overview-panel::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 220px;
    border-radius: 0 0 0 100%;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.11), rgba(0, 166, 166, 0.04));
    pointer-events: none;
}

.registry-overview-heading.section-heading {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin-bottom: clamp(34px, 4vw, 52px);
}

.registry-overview-eyebrow,
.registry-purpose-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.registry-overview-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    margin-right: 10px;
    background: var(--accent);
}

.registry-overview-heading h2 {
    max-width: 650px;
}

.registry-overview-heading p {
    max-width: 820px;
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.8;
}

.registry-overview-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
    gap: clamp(28px, 4vw, 54px);
    align-items: stretch;
}

.registry-overview-story {
    padding: 4px 0;
}

.registry-overview-story > h3 {
    max-width: 620px;
    margin-bottom: 18px;
    color: var(--primary-dark);
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    line-height: 1.28;
}

.registry-overview-story > p {
    max-width: 720px;
    margin-bottom: 14px;
    color: var(--text-muted);
    line-height: 1.78;
}

.registry-capabilities {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.registry-capability {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 17px 18px;
    border: 1px solid rgba(0, 91, 150, 0.11);
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(237, 248, 255, 0.82), rgba(255, 255, 255, 0.94));
}

.registry-capability-number {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #ffffff;
    border-radius: 13px;
    background: var(--primary-gradient);
    box-shadow: 0 8px 18px rgba(0, 91, 150, 0.18);
    font-size: 0.78rem;
    font-weight: 800;
}

.registry-capability h4 {
    margin: 0 0 5px;
    color: var(--text);
    font-size: 1rem;
}

.registry-capability p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.91rem;
    line-height: 1.55;
}

.registry-purpose-card {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 3.2vw, 38px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(0, 166, 166, 0.36), transparent 42%),
        linear-gradient(155deg, #003f6b 0%, #005b96 56%, #0077b6 100%);
    box-shadow: 0 24px 54px rgba(0, 63, 107, 0.24);
}

.registry-purpose-card::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -55px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.registry-purpose-card h3,
.registry-purpose-card p,
.registry-purpose-card li,
.registry-purpose-card strong,
.registry-purpose-card span {
    color: inherit;
}

.registry-purpose-kicker {
    color: rgba(255, 255, 255, 0.72);
}

.registry-purpose-card h3 {
    margin-bottom: 12px;
    font-size: clamp(1.65rem, 2.5vw, 2.15rem);
}

.registry-purpose-intro {
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.88) !important;
    line-height: 1.68;
}

.registry-purpose-list {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.registry-purpose-list li {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
}

.registry-purpose-check {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    font-size: 0.75rem;
    font-weight: 800;
}

.registry-purpose-list strong,
.registry-purpose-list div > span {
    display: block;
}

.registry-purpose-list strong {
    margin-bottom: 3px;
    font-size: 0.96rem;
}

.registry-purpose-list div > span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.84rem;
    line-height: 1.48;
}

.registry-evidence-path {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(145px, 0.42fr) minmax(0, 2.58fr);
    gap: clamp(22px, 3vw, 38px);
    align-items: stretch;
    margin-top: clamp(30px, 4vw, 48px);
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(0, 91, 150, 0.13);
    border-radius: 22px;
    background:
        radial-gradient(circle at 0 50%, rgba(0, 166, 166, 0.09), transparent 20rem),
        rgba(237, 248, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.footer-visit-count {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(3ch, auto);
    align-items: center;
    justify-content: center;
    column-gap: clamp(10px, 2vw, 16px);
    box-sizing: border-box;
    width: fit-content;
    max-width: 100%;
    min-width: min(100%, 360px);
    margin: 22px auto 0;
    padding: 14px 22px;
    text-align: center;
    color: var(--text);
    background: linear-gradient(145deg, #ffffff 0%, #edf7fd 100%);
    border: 1px solid rgba(0, 91, 150, 0.2);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.footer-visit-count-label {
    display: block;
    margin: 0;
    color: var(--text-body);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
}

.footer-visit-count-value {
    display: block;
    min-width: 3ch;
    color: var(--primary);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .footer-visit-count {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        row-gap: 7px;
        width: 100%;
        padding-inline: 16px;
    }
}

.registry-evidence-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: clamp(18px, 2.5vw, 32px);
    border-right: 1px solid rgba(0, 91, 150, 0.13);
}

.registry-evidence-label > span {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.registry-evidence-label > strong {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: clamp(0.92rem, 1.2vw, 1.05rem);
    line-height: 1.35;
}

.registry-evidence-label > p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.52;
}

.registry-evidence-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(58px, 6vw, 86px) minmax(0, 1fr) clamp(58px, 6vw, 86px) minmax(0, 1fr);
    align-items: center;
}

.registry-evidence-step {
    position: relative;
    display: grid;
    min-height: 112px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 17px 16px;
    border: 1px solid rgba(0, 91, 150, 0.13);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 26px rgba(0, 63, 107, 0.075);
}

.registry-evidence-index {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #ffffff;
    border-radius: 11px;
    background: var(--primary-gradient);
    box-shadow: 0 7px 16px rgba(0, 91, 150, 0.18);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.registry-evidence-step strong,
.registry-evidence-step div > span {
    display: block;
}

.registry-evidence-step strong {
    margin-bottom: 6px;
    color: var(--text);
    font-size: 0.94rem;
    line-height: 1.35;
}

.registry-evidence-step div > span {
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.48;
}

.registry-evidence-connector {
    position: relative;
    display: grid;
    height: 100%;
    min-height: 54px;
    place-items: center;
}

.registry-evidence-connector::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 119, 182, 0.18), rgba(0, 166, 166, 0.75), rgba(0, 119, 182, 0.18));
    background-size: 200% 100%;
    transform: translateY(-50%);
    animation: registryEvidenceTrack 2.4s linear infinite;
}

.registry-evidence-connector::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(0, 166, 166, 0.13);
    transform: translateY(-50%);
    animation: registryEvidencePulse 2.4s ease-in-out infinite;
}

.registry-evidence-arrow {
    position: relative;
    z-index: 1;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--secondary);
    border: 1px solid rgba(0, 119, 182, 0.22);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(0, 91, 150, 0.14);
    font-size: 1.15rem;
    line-height: 1;
    animation: registryEvidenceArrow 1.8s ease-in-out infinite;
}

@keyframes registryEvidenceTrack {
    to { background-position: -200% 0; }
}

@keyframes registryEvidencePulse {
    0% { left: 2%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: calc(100% - 7px); opacity: 0; }
}

@keyframes registryEvidenceArrow {
    0%, 100% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
}

@media (max-width: 1040px) {
    .registry-overview-layout {
        grid-template-columns: 1fr;
    }

    .registry-purpose-card {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .registry-overview-panel {
        padding: 26px 20px;
        border-radius: 24px;
    }

    .registry-overview-panel::after {
        width: 130px;
        height: 130px;
    }

    .registry-capability {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 15px;
    }

    .registry-capability-number {
        width: 40px;
        height: 40px;
    }

    .registry-evidence-path {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .registry-evidence-label {
        padding: 0 0 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 91, 150, 0.13);
    }

    .registry-evidence-flow {
        grid-template-columns: 1fr;
    }

    .registry-evidence-step {
        min-height: 0;
    }

    .registry-evidence-connector {
        width: 100%;
        height: 58px;
    }

    .registry-evidence-connector::before {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg, rgba(0, 119, 182, 0.18), rgba(0, 166, 166, 0.75), rgba(0, 119, 182, 0.18));
        background-size: 100% 200%;
        transform: translateX(-50%);
        animation-name: registryEvidenceTrackVertical;
    }

    .registry-evidence-connector::after {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        animation-name: registryEvidencePulseVertical;
    }

    .registry-evidence-arrow {
        transform: rotate(90deg);
        animation-name: registryEvidenceArrowVertical;
    }
}

@keyframes registryEvidenceTrackVertical {
    to { background-position: 0 -200%; }
}

@keyframes registryEvidencePulseVertical {
    0% { top: 2%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: calc(100% - 7px); opacity: 0; }
}

@keyframes registryEvidenceArrowVertical {
    0%, 100% { transform: rotate(90deg) translateX(-5px); }
    50% { transform: rotate(90deg) translateX(5px); }
}

@media (prefers-reduced-motion: reduce) {
    .registry-evidence-connector::before,
    .registry-evidence-connector::after,
    .registry-evidence-arrow {
        animation: none;
    }
}

/* Registry objectives and operational workflow share a light visual system. */
main > section.section.workflow-delivery-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 10%, rgba(0, 166, 166, 0.1), transparent 28rem),
        radial-gradient(circle at 94% 86%, rgba(0, 119, 182, 0.11), transparent 32rem),
        linear-gradient(180deg, #f7fbfe 0%, #edf7fc 100%);
}

.workflow-delivery-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(0, 91, 150, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 91, 150, 0.025) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

.workflow-delivery-section > .container-custom {
    position: relative;
    z-index: 1;
}

.workflow-delivery-heading.section-heading {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.workflow-delivery-eyebrow,
.strategy-subsection-label {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.workflow-delivery-heading p {
    max-width: 820px;
    margin: 0 auto;
    font-size: clamp(1rem, 1.35vw, 1.1rem);
    line-height: 1.78;
}

.workflow-delivery-panel {
    padding: clamp(28px, 4.5vw, 62px);
    border: 1px solid rgba(0, 91, 150, 0.13);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 28px 78px rgba(0, 63, 107, 0.1);
}

.registry-objectives-collaboration {
    margin-top: clamp(48px, 6vw, 80px);
    padding-top: clamp(36px, 5vw, 62px);
    border-top: 1px solid rgba(0, 91, 150, 0.14);
}

.registry-objectives-divider {
    display: grid;
    grid-template-columns: auto minmax(48px, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: clamp(34px, 4vw, 48px);
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.registry-objectives-divider i {
    position: relative;
    display: block;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 91, 150, 0.12), rgba(0, 166, 166, 0.7), rgba(0, 91, 150, 0.12));
}

.registry-objectives-divider i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(0, 166, 166, 0.1);
    transform: translate(-50%, -50%);
}

.registry-objectives-heading {
    margin-bottom: 34px;
}

.strategy-subsection-heading.registry-objectives-heading > p,
.strategy-subsection-heading.registry-objectives-heading > p strong {
    color: #000;
    font-weight: 700;
}

.strategy-subsection-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
    gap: 34px;
    align-items: end;
    margin-bottom: 34px;
}

.strategy-subsection-heading h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.strategy-subsection-heading > p {
    max-width: 680px;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.strategy-objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.strategy-objective-card {
    --strategy-accent: 0, 119, 182;
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(var(--strategy-accent), 0.16);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0, rgba(var(--strategy-accent), 0.1), transparent 38%),
        linear-gradient(145deg, #ffffff, rgba(var(--strategy-accent), 0.025));
    box-shadow: 0 14px 34px rgba(0, 63, 107, 0.075);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.strategy-objective-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, rgba(var(--strategy-accent), 1), rgba(var(--strategy-accent), 0.16));
}

.strategy-objective-card:hover {
    transform: translateY(-7px) scale(1.01);
    border-color: rgba(var(--strategy-accent), 0.3);
    box-shadow: 0 24px 48px rgba(0, 63, 107, 0.14);
}

.strategy-objective-card--quality { --strategy-accent: 0, 150, 136; }
.strategy-objective-card--research { --strategy-accent: 91, 96, 170; }
.strategy-objective-card--action { --strategy-accent: 211, 111, 35; }

.strategy-objective-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.strategy-objective-number {
    color: rgb(var(--strategy-accent));
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.strategy-objective-tag {
    padding: 7px 11px;
    color: rgb(var(--strategy-accent));
    border: 1px solid rgba(var(--strategy-accent), 0.13);
    border-radius: 999px;
    background: rgba(var(--strategy-accent), 0.065);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.strategy-objective-card h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: clamp(1.2rem, 1.7vw, 1.48rem);
}

.strategy-objective-card > p {
    margin-bottom: 18px;
    color: var(--text-body);
    font-weight: 650;
    line-height: 1.6;
}

.strategy-objective-detail {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-left: 3px solid rgb(var(--strategy-accent));
    border-radius: 0 12px 12px 0;
    background: rgba(var(--strategy-accent), 0.05);
}

.strategy-objective-detail strong,
.strategy-objective-detail span {
    display: block;
}

.strategy-objective-detail strong {
    margin-bottom: 5px;
    color: rgb(var(--strategy-accent));
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.strategy-objective-detail span {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.58;
}

.strategy-objective-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.strategy-objective-points li {
    padding: 7px 10px;
    color: rgb(var(--strategy-accent));
    border: 1px solid rgba(var(--strategy-accent), 0.12);
    border-radius: 999px;
    background: rgba(var(--strategy-accent), 0.055);
    font-size: 0.73rem;
    font-weight: 750;
}

.strategy-workflow-grid.workflow-card-grid {
    flex-wrap: nowrap;
    gap: 14px;
}

.strategy-workflow-grid .workflow-card {
    display: flex;
    min-width: 0;
    flex: 1 1 0;
    flex-direction: column;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(241, 248, 252, 0.96));
}

.strategy-workflow-grid .workflow-sequence-arrow {
    flex-basis: 30px;
    color: var(--secondary);
}

.workflow-stage-purpose {
    min-height: 76px;
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.strategy-workflow-grid .workflow-points {
    margin-bottom: 22px;
}

.strategy-workflow-grid .workflow-points li {
    font-size: 0.84rem;
    line-height: 1.55;
}

.workflow-stage-output {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 13px 14px;
    border: 1px solid rgba(0, 91, 150, 0.1);
    border-radius: 12px;
    background: rgba(237, 248, 255, 0.84);
}

.workflow-stage-output span,
.workflow-stage-output strong {
    display: block;
}

.workflow-stage-output span {
    margin-bottom: 4px;
    color: var(--secondary);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.workflow-stage-output strong {
    color: var(--text-body);
    font-size: 0.8rem;
    line-height: 1.45;
}

@media (max-width: 1120px) {
    .strategy-workflow-grid.workflow-card-grid {
        flex-direction: column;
    }

    .strategy-workflow-grid .workflow-card {
        width: 100%;
        flex-basis: auto;
    }

    .strategy-workflow-grid .workflow-sequence-arrow {
        flex-basis: auto;
        margin: -4px 0;
        transform: rotate(90deg);
    }

    .workflow-stage-purpose {
        min-height: 0;
    }
}

@media (max-width: 820px) {
    .strategy-subsection-heading,
    .strategy-objectives-grid {
        grid-template-columns: 1fr;
    }

    .strategy-subsection-heading {
        gap: 14px;
    }
}

@media (max-width: 576px) {
    .workflow-delivery-panel {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .strategy-objective-card {
        padding: 23px 19px;
    }

    .registry-objectives-divider {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .strategy-objective-card {
        animation: none;
        transition: none;
    }
}

/* The minister and secretary appear only on the home page, below the fixed header. */
.home-health-leadership-section {
    padding: clamp(16px, 2vw, 28px) clamp(12px, 2vw, 32px);
    border-bottom: 2px solid rgba(0, 91, 150, 0.18);
    background-color: #eef8fc;
    background-image:
        linear-gradient(rgba(0, 91, 150, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 91, 150, 0.055) 1px, transparent 1px),
        linear-gradient(135deg, #f8fcff, #e9f5fb 65%, #eefafa);
    background-size: 64px 64px, 64px 64px, 100% 100%;
}

.home-health-leadership-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.home-health-leader img {
    flex-basis: 82px;
    width: 82px;
    height: 82px;
}

.home-health-leader .site-leader-copy h2 {
    font-size: clamp(1.1rem, 1.35vw, 1.4rem);
}

.home-health-leader .site-leader-copy p {
    font-size: clamp(0.9rem, 1vw, 1.05rem);
}

.home-health-leader:last-child .site-leader-copy p {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .home-health-leader img {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }

    .home-health-leader:last-child .site-leader-copy p {
        white-space: normal;
    }
}
