:root {
    --navy: #06184b;
    --green: #07862b;
    --lime: #71d707;
    --blue: #0f63ce;
    --red: #ef2130;
    --orange: #ff7d16;
    --purple: #7934d8;
    --shadow: 0 20px 48px rgba(0, 25, 75, .17);
    --line: #dfe7f0
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'Roboto', 'Noto Sans Malayalam', 'Segoe UI', Arial, sans-serif;
    color: var(--navy);
    background: #014b29;
    overflow-x: hidden
}

.topbar {
    height: 90px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 30px;
    box-shadow: 0 3px 16px rgba(15, 37, 80, .08);
    z-index: 100
}

.brand {
    text-decoration: none;
    color: var(--navy);
    min-width: 292px
}

.brand-main {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-size: 45px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px
}

.brand-main::first-letter,
.brand-main b {
    color: #0b842e
}

.brand-main b {
    color: #06184b
}

.ball {
    font-size: 38px;
    vertical-align: middle;
    display: inline-block;
    filter: drop-shadow(0 3px 1px rgba(0, 0, 0, .15))
}

.brand-sub {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 18px;
    line-height: 1.15
}

.department {
    border-left: 1px solid #d7dee9;
    padding-left: 26px;
    min-width: 260px;
    display: flex;
    align-items: center
}

.department_logo {
    border-left: 1px solid #d7dee9;
    padding-left: 26px;
    min-width: 260px;
    display: flex;
    align-items: center
}

.department_kite {
    border-left: 1px solid #d7dee9;
    padding-left: 26px;
    min-width: auto;
    display: flex;
    align-items: center
}

.department_victers {
    border-left: 1px solid #d7dee9;
    border-right: 1px solid #d7dee9;
    padding-right: 26px;

    padding-left: 26px;
    min-width: auto;
    display: flex;
    align-items: center
}

.department img {
    display: block;
    width: 235px;
    max-height: 62px;
    object-fit: contain
}

.department_logo img {
    display: block;
    /* width: 235px; */
    max-width: 100%;
    max-height: 62px;
    object-fit: contain
}

.department_kite img {
    display: block;
    /* width: 235px; */
    max-height: 62px;
    object-fit: contain
}

.department_victers img {
    display: block;
    /* width: 235px; */
    max-height: 62px;
    object-fit: contain
}



.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px
}

.nav a,
.lang,
.login {
    font-family: 'Roboto', 'Noto Sans Malayalam', sans-serif;
    border: 0;
    background: transparent;
    text-decoration: none;
    color: var(--navy);
    font-weight: 900;
    font-size: 14px;
    border-radius: 999px;
    padding: 15px 16px;
    white-space: nowrap
}

.nav a {
    position: relative;
    transition: background .2s ease, color .2s ease, transform .2s ease
}

.nav a.active {
    color: #09872d
}

.nav a:hover,
.nav a:focus-visible {
    background: #eef8f1;
    color: #07862b;
    transform: translateY(-1px)
}

.nav a.active:after {
    content: "";
    position: absolute;
    height: 3px;
    background: #16a248;
    left: 23px;
    right: 23px;
    bottom: 2px;
    border-radius: 99px
}

.home-icon {
    display: inline-grid;
    place-items: center;
    background: #f7fbff;
    border: 1px solid #dce9f3;
    border-radius: 14px;
    width: 42px;
    height: 42px;
    margin-right: 8px;
    color: #10a23c;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .07)
}

.lang {
    font-family: 'Noto Sans Malayalam', 'Roboto', sans-serif;
    border: 1px solid #d9e2ee;
    background: #fff;
    box-shadow: 0 6px 13px rgba(0, 18, 60, .05)
}

.login {
    background: linear-gradient(135deg, #068625, #00951f);
    color: #fff;
    box-shadow: 0 10px 23px rgba(0, 128, 46, .24)
}

.hamburger {
    display: none;
    margin-left: auto;
    background: #eef8ff;
    border: 1px solid #d6e7f2;
    border-radius: 14px;
    padding: 10px 13px;
    font-size: 24px;
    cursor: pointer
}

.hero {
    height: auto;
    min-height: max(585px, calc(100vh - 225px));
    padding-bottom: 50px;
    position: relative;
    overflow: hidden
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.confetti-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden
}

.confetti {
    position: absolute;
    width: 9px;
    height: 14px;
    border-radius: 2px;
    opacity: .85;
    animation: fall linear infinite
}

.ribbons {
    position: absolute;
    right: 52px;
    top: 42px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 7px;
    transform: rotate(-7deg);
    filter: drop-shadow(0 7px 10px rgba(0, 0, 0, .23))
}

.ribbons span {
    display: block;
    color: #fff;
    font-size: 25px;
    letter-spacing: .3px;
    font-weight: 800;
    padding: 8px 22px;
    text-align: center
}

.ribbons span:nth-child(2) {
    background: #0d55bd
}

.ribbons span:nth-child(3) {
    background: #18a23a
}

.ribbons span:nth-child(4) {
    background: #ff7b17
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 620px;
    margin: 0 auto;
    text-align: center;
    padding-top: 70px
}

.live-title {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #09782b;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 2px 0 rgba(255, 255, 255, .8)
}

.live-title i {
    width: 10px;
    height: 10px;
    background: #087d2b;
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(8, 125, 43, .08);
    display: inline-block
}

.live-title b {
    background: #ef1826;
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 17px;
    box-shadow: 0 7px 14px rgba(205, 0, 0, .25);
    animation: liveBlink 1.15s ease-in-out infinite
}

.counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 17px
}

.counter .digit {
    font-family: 'Oswald', 'Roboto Condensed', 'Roboto', sans-serif;
    width: 102px;
    height: 138px;
    border-radius: 12px;
    background: linear-gradient(#fff, #f0f5fb 48%, #e1e8f0 49%, #fff);
    border: 1px solid #cbd5e2;
    display: block;
    position: relative;
    overflow: hidden;
    perspective: 900px;
    font-size: 104px;
    line-height: 1;
    font-weight: 800;
    color: #05194c;
    box-shadow: 0 9px 18px rgba(0, 40, 90, .2), inset 0 -5px 0 rgba(0, 0, 0, .05);
    text-shadow: 0 4px 0 rgba(0, 0, 0, .04);
    animation: counterBreeze 4.8s ease-in-out infinite
}

.counter .digit:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-.5px);
    height: 1px;
    background: rgba(5, 25, 76, .12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .78);
    pointer-events: none;
    z-index: 8
}

.counter .digit::after {
    content: "";
    position: absolute;
    inset: -18% -70%;
    z-index: 9;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .52) 48%, rgba(255, 255, 255, .18) 52%, transparent 62%);
    transform: translateX(-58%) skewX(-10deg);
    animation: foldedLightSweep 4.8s ease-in-out infinite
}

.counter .digit:nth-child(2n)::after {
    animation-delay: .28s
}

.counter .digit:nth-child(3n) {
    animation-delay: .18s
}

.digit-half,
.digit-flip {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden
}

.digit-half {
    z-index: 1
}

.digit-top,
.digit-flip-front {
    top: 0;
    background:
        linear-gradient(110deg, rgba(255,255,255,0) 0 38%, rgba(255,255,255,.58) 48%, rgba(255,255,255,0) 60%) -170% 0 / 220% 100% no-repeat,
        linear-gradient(#fff, #f4f7fb);
    border-radius: 12px 12px 0 0;
    animation: paperFoldSheen 5.6s ease-in-out infinite
}

.digit-bottom,
.digit-flip-back {
    bottom: 0;
    background:
        linear-gradient(110deg, rgba(255,255,255,0) 0 40%, rgba(255,255,255,.38) 50%, rgba(255,255,255,0) 62%) -170% 0 / 220% 100% no-repeat,
        linear-gradient(#dfe7f0, #fff);
    border-radius: 0 0 12px 12px;
    animation: paperFoldSheen 5.6s ease-in-out .16s infinite
}

.digit-value {
    display: block;
    width: 100%;
    height: 200%;
    line-height: 138px;
    text-align: center
}

.digit-bottom .digit-value,
.digit-flip-back .digit-value {
    transform: translateY(-50%)
}

.digit-flip {
    z-index: 4;
    transform-style: preserve-3d;
    transform-origin: center bottom
}

.digit-flip-front {
    bottom: auto;
    transform: rotateX(0)
}

.digit-flip-back {
    top: 50%;
    bottom: auto;
    transform: rotateX(180deg);
    transform-origin: center top
}

.digit.flipping .digit-flip {
    will-change: transform
}

.digit.flipping .digit-flip-front {
    animation: flipTop .34s ease-in forwards
}

.digit.flipping .digit-flip-back {
    animation: flipBottom .34s ease-out .32s forwards
}

.counter em {
    font-family: 'Oswald', 'Roboto Condensed', 'Roboto', sans-serif;
    font-style: normal;
    font-size: 80px;
    font-weight: 800;
    color: #05194c;
    margin: 0 -4px
}

.green-banner {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    display: inline-block;
    margin-top: 17px;
    background: linear-gradient(90deg, #057a25, #10a53c);
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    padding: 11px 38px;
    clip-path: polygon(7% 0, 93% 0, 100% 50%, 93% 100%, 7% 100%, 0 50%);
    box-shadow: 0 11px 18px rgba(0, 96, 36, .24)
}

.target-line {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin: 24px 0 16px
}

.target-line strong {
    color: #071b51
}

.progress-row {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center
}

.progress-shell {
    height: 50px;
    width: 520px;
    background: linear-gradient(180deg, #f8fbff, #dce8f1);
    border-radius: 999px;
    box-shadow: inset 0 6px 12px rgba(0, 20, 50, .18), 0 10px 19px rgba(10, 30, 60, .07);
    position: relative;
    overflow: hidden
}

.progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: repeating-linear-gradient(135deg, #36ae00 0 32px, #79dc0f 32px 65px);
    animation: barFlow 1.8s linear infinite;
    border-radius: 999px
}

.progress-ball {
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 46px;
    filter: drop-shadow(0 9px 8px rgba(0, 0, 0, .28));
    animation: ballRoll 2.8s ease-in-out infinite
}

.progress-percent strong {
    font-family: 'Oswald', 'Roboto', sans-serif;
    display: block;
    color: #0a7e2e;
    font-size: 38px;
    line-height: .9;
    text-shadow: 0 2px 0 #fff
}

.progress-percent small {
    display: block;
    font-weight: 800;
    font-size: 12px
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    color: #05184b;
    font-size: 18px;
    font-weight: 800;
    text-shadow: 0 2px 0 rgba(255, 255, 255, .65)
}

.hero-meta strong {
    font-family: 'Oswald', 'Roboto', sans-serif;
    color: #10a034;
    font-size: 27px
}

.sntd-logo {
    display: block;
    /* max-width: auto; */
    max-height: 125px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 7px 12px rgba(0, 20, 60, .18));
}

/* District Goals Button */
.btn-district-goals {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 10px 12px 10px 32px;
    margin-top: 20px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 10;
    text-decoration: none;
}

/* Creative Hover Background */
.btn-district-goals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #e0f2e6, #f0f9f4, #ffffff);
    z-index: 0;
    transform: translateX(-100%);
    transition: transform 0.5s ease-out;
}

.btn-district-goals:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 35px rgba(16, 162, 60, 0.25), 0 0 0 4px rgba(16, 162, 60, 0.1);
}

.btn-district-goals:hover::before {
    transform: translateX(0);
}

.btn-district-goals:active {
    transform: translateY(2px) scale(0.98);
}

.btn-icon-left {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 20px;
    color: #138834;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-district-goals:hover .btn-icon-left {
    transform: scale(1.15) rotate(-5deg);
}

.btn-text {
    position: relative;
    font-family: 'Oswald', 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #002fa5;
    letter-spacing: 0.8px;
    margin-right: 28px;
    white-space: nowrap;
    z-index: 2;
    text-transform: uppercase;
}

.btn-icon-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #138834;
    color: #fff;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 16px rgba(19, 136, 52, 0.4);
    z-index: 2;
}

.btn-district-goals:hover .btn-icon-right {
    background: #0b6824;
    transform: scale(1.1) translateX(4px);
    box-shadow: 0 8px 20px rgba(11, 104, 36, 0.6);
}

.btn-icon-right svg {
    width: 26px;
    height: 26px;
    stroke-width: 3.5;
    transition: transform 0.3s ease;
}

.btn-district-goals:hover .btn-icon-right svg {
    transform: translateX(2px);
}

.stats-wrap {
    margin: 0px;
    position: relative;
    bottom: 0px;
    z-index: 10;
    background: #fff;
    border-radius: 0px;
    box-shadow: 0 19px 44px rgba(0, 22, 75, .2);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 136px;
    padding: 21px 31px;
    border-right: 1px solid var(--line)
}

.stat-card:last-child {
    border-right: 0
}

.stat-card img {
    width: 78px;
    height: 78px;
    flex: 0 0 auto;
    filter: drop-shadow(0 11px 14px rgba(0, 0, 0, .22));
    transition: .3s
}

.stat-card:hover img {
    transform: translateY(-5px) scale(1.05)
}

.stat-card strong {
    font-family: 'Oswald', 'Roboto', sans-serif;
    display: block;
    font-size: 33px;
    line-height: .95;
    font-weight: 800
}

.stat-card b {
    font-family: 'Roboto', 'Noto Sans Malayalam', sans-serif;
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 5px
}

.stat-card span {
    font-family: 'Roboto', 'Noto Sans Malayalam', sans-serif;
    font-size: 15px;
    font-weight: 700
}

.modal-open {
    overflow: hidden
}

.goals-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
    /* align-items: center; */
    justify-content: center;
    padding: 24px
}

.goals-modal.open {
    display: flex
}

.goals-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 28% 16%, rgba(255, 210, 26, .22), transparent 28%),
        rgba(3, 13, 43, .74);
    backdrop-filter: blur(8px)
}

.goals-modal-panel {
    position: relative;
    width: min(980px, 100%);
    /* max-height: min(760px, calc(100vh - 48px)); */
    overflow: hidden;
    background: #f6f9fd;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 22px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .35);
    outline: none
}

.goals-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #06184b;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16)
}

.goals-modal-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px;
    color: #fff;
    background:#fff;
}

.goals-modal-head span {
    display: inline-block;
    margin-bottom: 8px;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px
}

.goals-modal-logo {
    display: block;
    width: auto;
    max-width: auto;
    max-height: 68px;
    margin-bottom: 12px;
    object-fit: contain;
}

.goals-modal-head h2 {
    margin: 0;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 900
}

.goals-modal-head p {
    margin: 8px 0 0;
    font-size: 18px;
    font-weight: 800
}

.goals-modal-ball {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .35);
    font-size: 54px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, .18)
}

.district-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 18px 22px;
    background: #fff;
    border-bottom: 1px solid #dfe7f0
}

.district-summary article {
    min-height: 84px;
    border: 1px solid #dfe7f0;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f4f8fd);
    padding: 16px 18px;
    box-shadow: 0 10px 24px rgba(6, 24, 75, .08)
}

.district-summary span {
    display: block;
    color: #637085;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase
}

.district-summary strong {
    display: block;
    margin-top: 8px;
    color: #06184b;
    font-family: 'Oswald', 'Roboto', sans-serif;
    font-size: 30px;
    line-height: .95
}

.goals-drillbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 22px;
    background: #f6f9fd;
    border-top: 1px solid #dfe7f0;
    border-bottom: 1px solid #dfe7f0
}

.goals-drillbar[hidden] {
    display: none
}

.goals-drillbar strong {
    margin-left: auto;
    color: #06184b;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 900
}

.goals-back-btn {
    border: 1px solid #cfe0ee;
    border-radius: 999px;
    background: #fff;
    color: #0f63ce;
    padding: 9px 15px;
    font-weight: 900;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease
}

.goals-back-btn:hover,
.goals-back-btn:focus-visible {
    background: #0f63ce;
    color: #fff;
    transform: translateY(-1px)
}

.district-table-wrap {
    max-height: 66vh;
    overflow: auto;
    margin: 0px;
    background: #fff;
    border: 1px solid #dfe7f0;
    /* border-radius: 16px */
}

.district-table {
    width: 100%;
    border-collapse: collapse
}

.district-table th,
.district-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #e8eef5;
    text-align: left
}

.district-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
    color: #5b677b;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .7px;
    box-shadow: 0 1px 0 #e8eef5
}

.district-table td {
    font-weight: 800
}

.district-row {
    cursor: pointer;
    transition: background .2s ease
}

.district-row:hover,
.district-row:focus-within {
    background: #f3f9ff
}

.district-drill-btn {
    border: 0;
    background: transparent;
    color: #06184b;
    padding: 0;
    font: inherit;
    font-weight: 900;
    text-align: left;
    cursor: pointer
}

.district-drill-btn::after {
    content: "›";
    display: inline-block;
    margin-left: 8px;
    color: #0f63ce;
    font-size: 20px;
    line-height: 1;
    transform: translateY(1px)
}

.district-table td:last-child,
.district-table th:last-child {
    text-align: right
}

.district-rank {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #edf5ff;
    color: #0f63ce;
    font-family: 'Oswald', 'Roboto', sans-serif;
    font-size: 18px;
    border: 1px solid #d7e7f6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85)
}

.district-rank.gold {
    background: linear-gradient(145deg, #fff4bc, #f2b927);
    border-color: #d49b10;
    color: #603b00;
    box-shadow: 0 8px 18px rgba(218, 154, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .82)
}

.district-rank.silver {
    background: linear-gradient(145deg, #ffffff, #bfc8d6);
    border-color: #a5afbe;
    color: #3e4a5b;
    box-shadow: 0 8px 18px rgba(95, 112, 135, .18), inset 0 1px 0 rgba(255, 255, 255, .9)
}

.district-rank.bronze {
    background: linear-gradient(145deg, #ffe0bf, #c9792d);
    border-color: #ad6728;
    color: #522a09;
    box-shadow: 0 8px 18px rgba(176, 94, 27, .2), inset 0 1px 0 rgba(255, 255, 255, .76)
}

.district-name {
    display: flex;
    flex-direction: column;
    min-width: 180px
}

.district-name strong {
    color: #06184b
}

.school-code {
    display: inline-block;
    margin-top: 5px;
    border-radius: 999px;
    background: #eef5ff;
    color: #0f63ce;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 900
}

.main-bg {
    background: #fff;
    margin-top: 0;
    padding: 76px 0 86px
}

.dashboard,
.lower-grid {
    max-width: 1200px;
    margin: 0 auto 16px;
    display: grid;
    gap: 14px
}

.dashboard {
    grid-template-columns: 1fr 1.18fr 1.08fr
}

.panel,
.programs,
.awards {
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: var(--shadow);
    border-radius: 16px
}

.panel {
    padding: 17px
}

.panel h2,
.values h2,
.programs h2,
.awards h2 {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    color: #071d62;
    margin: 0;
    font-size: 22px;
    font-weight: 800
}

.panel p {
    margin: 4px 0 14px;
    font-weight: 800
}

.panel h2 small {
    background: #ff1627;
    color: #fff;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 13px
}

.map-layout {
    display: flex;
    align-items: center;
    gap: 22px
}

.map-layout img {
    width: 155px
}

.map-layout ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1
}

.map-layout li {
    display: flex;
    justify-content: space-between;
    background: #eefaff;
    border-radius: 999px;
    padding: 10px 14px;
    margin: 10px 0;
    font-weight: 900
}

.panel button {
    border: 2px solid #0a8730;
    border-radius: 999px;
    background: #fff;
    color: #087b2e;
    padding: 12px 24px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s
}

.panel button:hover {
    background: #078a2e;
    color: #fff;
    transform: translateY(-2px)
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.panel-head a {
    font-weight: 900;
    color: #0065bb;
    text-decoration: none
}

.leaderboard table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px
}

.leaderboard th {
    font-size: 12px;
    color: #5b677b;
    text-align: left;
    padding: 11px 9px
}

.leaderboard td {
    padding: 12px 9px;
    border-top: 1px solid #e5edf3;
    font-weight: 900
}

.leaderboard i {
    display: inline-grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #dce4ef;
    font-style: normal
}

.leaderboard .gold {
    background: #ffb800
}

.leaderboard .silver {
    background: #cdd4df
}

.leaderboard .bronze {
    background: #f47b27
}

.meter-panel {
    background: linear-gradient(180deg, #d9f2ff 0, #0f5b9b 43%, #073360 65%, #092813 100%);
    color: #fff
}

.meter-panel h2 {
    color: #fff
}

.stadium {
    text-align: center
}

.net {
    font-size: 78px;
    opacity: .55
}

.ball-big {
    display: block;
    font-size: 96px;
    line-height: 1;
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, .35));
    animation: float 3s ease-in-out infinite
}

.mini-track {
    height: 27px;
    margin: 10px 24px 5px;
    background: #e7fff1;
    border-radius: 99px;
    position: relative;
    overflow: hidden
}

.mini-track b {
    position: absolute;
    inset: 0 22% 0 0;
    background: repeating-linear-gradient(90deg, #48b900 0 28px, #91ec23 28px 53px)
}

.mini-track i {
    position: absolute;
    right: 18%;
    top: 50%;
    transform: translateY(-50%);
    font-style: normal
}

.ends {
    display: flex;
    justify-content: space-between;
    margin: 0 28px;
    font-weight: 800
}

.stadium strong {
    font-size: 35px
}

.stadium em {
    color: #abff25;
    font-style: normal
}

.stadium small {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 17px
}

.values {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 34px;
    background: #fff;
    border: 0;
    box-shadow: none;
    border-radius: 0
}

.programs,
.awards {
    max-width: 1200px;
    margin: 0 auto 16px;
    padding: 15px 18px 19px
}

.values h2 {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    color: #06184d;
    text-align: center;
    font-size: clamp(42px, 5vw, 82px);
    line-height: .95;
    letter-spacing: 0;
    margin: 0 0 46px;
    font-weight: 900;
    text-transform: uppercase
}

.programs h2,
.awards h2 {
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 16px
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    max-width: 1500px;
    margin: 0 auto
}

.value {
    min-height: 355px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--value-accent);
    isolation: isolate;
    transition: transform .35s ease, border-color .35s ease, background .35s ease;
    background: #fff
}

.grow {
    --value-accent: #06953a
}

.world {
    --value-accent: #0b63ce
}

.nature {
    --value-accent: #2e9f35
}

.drugfree {
    --value-accent: #ef233c
}

.value::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: var(--value-accent);
    transform: scaleX(.38);
    transform-origin: left;
    transition: transform .35s ease
}

.value::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -68px;
    width: 190px;
    height: 190px;
    border: 34px solid color-mix(in srgb, var(--value-accent) 22%, transparent);
    border-radius: 50%;
    transition: transform .35s ease, opacity .35s ease;
    opacity: .75;
    z-index: -1
}

.value:hover {
    transform: translateY(-10px);
    border-color: var(--value-accent);
    background: linear-gradient(180deg, #fff 0, color-mix(in srgb, var(--value-accent) 8%, #fff) 100%)
}

.value:hover::before {
    transform: scaleX(1)
}

.value:hover::after {
    transform: scale(1.1) rotate(10deg);
    opacity: 1
}

.program-grid article:hover,
.award-grid article:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 32px rgba(0, 31, 75, .16)
}

.value-bg {
    position: absolute;
    inset: auto 0 0;
    width: 100%;
    height: 48%;
    object-fit: cover;
    opacity: .22;
    z-index: -2;
    transition: transform .45s ease, opacity .35s ease
}

.value:hover .value-bg {
    transform: scale(1.08);
    opacity: .34
}

.value h3 {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    color: #07184d;
    font-size: clamp(22px, 1.7vw, 31px);
    line-height: .98;
    margin: 30px 0 18px;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform .35s ease
}

.value h3::first-letter {
    color: var(--value-accent);
    font-size: clamp(76px, 6vw, 104px);
    line-height: .72
}

.value:hover h3 {
    transform: translateX(7px)
}

.value h3 span {
    display: block;
    color: var(--value-accent);
    font-family: 'Noto Sans Malayalam', 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.35;
    margin-top: 10px;
    text-transform: none
}

.value-icon {
    position: absolute;
    right: 22px;
    top: 26px;
    width: 74px;
    height: 74px;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--value-accent) 22%, #dfe9f0);
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    transition: transform .35s ease, border-color .35s ease
}

.value:hover .value-icon {
    transform: rotate(-8deg) scale(1.08);
    border-color: var(--value-accent)
}

.value p {
    color: #30405f;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 700;
    max-width: 240px;
    margin: 0
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr) 120px;
    gap: 14px
}

.program-grid article {
    height: 132px;
    border: 1px solid #dfe8f2;
    border-radius: 13px;
    background: linear-gradient(#fff, #fbfdff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: .35s
}

.program-grid span {
    font-size: 42px
}

.program-grid b {
    font-size: 15px;
    color: #071d62;
    line-height: 1.08
}

.program-grid small {
    font-weight: 800;
    margin-top: 5px
}

.jersey {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: 132px;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(150deg, #0d6fc8, #035eae);
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35)
}

.jersey b {
    font-size: 46px
}

.lower-grid {
    grid-template-columns: 1.05fr .9fr 1.05fr
}

.mini-board ul {
    padding: 0;
    margin: 12px 0;
    list-style: none
}

.mini-board li {
    display: grid;
    grid-template-columns: 125px 1fr 92px;
    gap: 8px;
    align-items: center;
    margin: 9px 0;
    font-size: 12px;
    font-weight: 900
}

.mini-board meter {
    width: 100%;
    accent-color: #72d212
}

.timeline div {
    border-left: 5px solid #12a33a;
    background: #f8fbff;
    border-radius: 12px;
    margin: 9px 0;
    padding: 9px 9px 9px 16px
}

.timeline div:nth-of-type(1) {
    border-color: #7834d8
}

.timeline div:nth-of-type(2) {
    border-color: #ef2130
}

.timeline div:nth-of-type(4) {
    border-color: #0f63ce
}

.timeline b,
.timeline span {
    display: block
}

.timeline span {
    font-size: 12px;
    font-weight: 800
}

.partner {
    text-align: center
}

.partners {
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: center;
    margin: 28px 0
}

.partners div {
    font-weight: 900;
    font-size: 18px;
    color: #122b73
}

.partners b {
    font-size: 26px
}

.partners span {
    display: block;
    font-size: 10px;
    color: #3c4560
}

.partner p {
    font-weight: 800;
    font-size: 18px
}

.award-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 13px
}

.award-grid article {
    border: 1px solid #e1e9f2;
    border-radius: 13px;
    background: #fff;
    padding: 13px;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 7px;
    align-items: center;
    font-size: 30px;
    transition: .35s
}

.award-grid b {
    font-size: 13px;
    color: #071d62
}

.award-grid span {
    grid-column: 2;
    font-size: 11px;
    font-weight: 800
}

.footer {
    min-height: 112px;
    background: linear-gradient(100deg, #06184b, #073c69 54%, #042a4d);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    text-align: center;
    padding: 18px
}

.footer-ball {
    font-size: 58px;
    animation: float 3s ease-in-out infinite
}

.footer h2 {
    margin: 0;
    font-family: 'Anek Malayalam', 'Noto Sans Malayalam', sans-serif;
    font-size: 28px;
    font-weight: 800
}

.footer strong {
    display: block;
    color: #c9ff21;
    font-size: 21px
}

.footer p {
    margin: 9px 0 0
}

.footer span {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    padding: 8px 16px;
    margin: 0 4px;
    font-weight: 900
}

.footer-credit {
    margin-top: 10px;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .4px;
    color: rgba(255, 255, 255, .82);
    text-transform: uppercase
}

.footer-credit b {
    color: #c9ff21
}

.footer-kite {
    display: grid;
    place-items: center;
    min-width: 116px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .95)
}

.footer-kite img {
    display: block;
    width: 96px;
    max-height: 58px;
    object-fit: contain
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1)
}

.reveal.show {
    opacity: 1;
    transform: none
}

.delay-1 {
    transition-delay: .1s
}

.delay-2 {
    transition-delay: .2s
}

@keyframes fall {
    to {
        transform: translateY(650px) rotate(420deg)
    }
}

@keyframes barFlow {
    to {
        background-position: 90px 0
    }
}

@keyframes ballRoll {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg)
    }

    50% {
        transform: translate(calc(-50% + 11px), -50%) rotate(25deg)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-9px)
    }
}

@keyframes liveBlink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 7px 14px rgba(205, 0, 0, .25)
    }

    50% {
        opacity: .58;
        transform: scale(.96);
        box-shadow: 0 4px 9px rgba(205, 0, 0, .14)
    }
}

@keyframes counterBreeze {

    0%,
    100% {
        box-shadow: 0 9px 18px rgba(0, 40, 90, .2), inset 0 -5px 0 rgba(0, 0, 0, .05)
    }

    45% {
        box-shadow: 0 13px 22px rgba(0, 40, 90, .24), inset 0 -5px 0 rgba(0, 0, 0, .045)
    }
}

@keyframes foldedLightSweep {

    0%,
    38% {
        opacity: 0;
        transform: translateX(-58%) skewX(-10deg)
    }

    52% {
        opacity: .95
    }

    72%,
    100% {
        opacity: 0;
        transform: translateX(58%) skewX(-10deg)
    }
}

@keyframes paperFoldSheen {

    0%,
    42% {
        background-position: -170% 0, 0 0
    }

    72%,
    100% {
        background-position: 170% 0, 0 0
    }
}

@keyframes flipTop {
    0% {
        transform: rotateX(0)
    }

    100% {
        transform: rotateX(-90deg)
    }
}

@keyframes flipBottom {
    0% {
        transform: rotateX(90deg)
    }

    100% {
        transform: rotateX(0)
    }
}

@media(prefers-reduced-motion: reduce) {
    .live-title b,
    .counter .digit,
    .counter .digit::after,
    .digit-top,
    .digit-bottom,
    .digit-flip-front,
    .digit-flip-back {
        animation: none
    }
}

@media(max-width:1320px) {
    .topbar {
        gap: 16px
    }

    .brand {
        min-width: 245px
    }

    .brand-main {
        font-size: 38px
    }

    .brand-sub {
        font-size: 15px
    }

    .department {
        display: none
    }
    .department_kite {
        display: none
    }
    .department_victers {
        display: none
    }

    .nav a,
    .lang,
    .login {
        font-size: 12px;
        padding: 12px 10px
    }

    .hero-content {
        width: 540px
    }

    .counter .digit {
        width: 83px;
        height: 112px;
        font-size: 88px
    }

    .digit-value {
        line-height: 112px
    }

    .counter em {
        font-size: 67px
    }

    .ribbons {
        right: 22px
    }

    .ribbons span {
        font-size: 19px
    }

    .stats-wrap {
        grid-template-columns: repeat(5, 1fr)
    }

    .stat-card {
        padding: 17px 17px
    }

    .stat-card strong {
        font-size: 26px
    }

    .stat-card img {
        width: 65px;
        height: 65px
    }
}

@media(max-width:980px) {
    .topbar {
        height: 78px;
        padding: 0 14px;
        gap: 12px
    }

    .department_logo {
        min-width: 150px
    }

    .department_logo img {
        /* max-width: 150px; */
        max-height: 54px
    }

    .hero {
        height: auto;
        min-height: max(610px, calc(100vh - 214px));
        padding-bottom: 50px;
    }
    
    .btn-district-goals {
        padding: 8px 10px 8px 24px;
        margin-top: 15px;
    }
    .btn-text {
        font-size: 20px;
        margin-right: 20px;
    }
    .btn-icon-right {
        width: 44px;
        height: 44px;
    }
    .btn-icon-left {
        margin-right: 15px;
    }
    .btn-icon-left svg {
        width: 32px;
        height: 32px;
    }

    .hamburger {
        display: block
    }

    .nav {
        display: none;
        position: fixed;
        right: 16px;
        top: 86px;
        background: #fff;
        border-radius: 18px;
        box-shadow: var(--shadow);
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        z-index: 200
    }

    .nav.open {
        display: flex
    }

    .nav a,
    .lang,
    .login {
        text-align: left
    }

    .hero-content {
        width: 88%;
        padding-top: 95px
    }

    .values {
        padding-inline: 22px
    }

    .dashboard,
    .value-grid,
    .lower-grid,
    .award-grid {
        grid-template-columns: 1fr 1fr
    }

    .program-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .jersey {
        display: none
    }

    .stats-wrap {
        grid-template-columns: 1fr 1fr;
        margin-top: 0
    }

    .stat-card {
        border-bottom: 1px solid var(--line)
    }

    .goals-modal-panel {
        max-height: calc(100vh - 32px)
    }

    .goals-modal-head {
        padding: 28px 68px 24px 24px
    }

    .goals-modal-head h2 {
        font-size: 28px
    }

    .goals-modal-ball {
        width: 72px;
        height: 72px;
        font-size: 42px
    }

    .district-summary {
        grid-template-columns: repeat(3, 1fr);
        padding: 14px
    }

    .district-summary article {
        min-height: 74px;
        padding: 13px
    }

    .district-summary strong {
        font-size: 24px
    }
}

@media(max-width:640px) {
    .topbar {
        height: 68px
    }

    .department_logo {
        min-width: 112px
    }

    .department_logo img {
        /* max-width: 112px; */
        max-height: 44px
    }

    .hamburger {
        padding: 8px 11px;
        font-size: 21px
    }

    .nav {
        top: 76px;
        left: 14px;
        right: 14px
    }

    .hero {
        height: auto;
        min-height: 555px;
        padding-bottom: 60px;
    }

    .btn-district-goals {
        padding: 6px 8px 6px 16px;
        margin-top: 10px;
    }
    .btn-text {
        font-size: 16px;
        margin-right: 12px;
    }
    .btn-icon-right {
        width: 36px;
        height: 36px;
    }
    .btn-icon-left {
        margin-right: 10px;
    }
    .btn-icon-left svg {
        width: 26px;
        height: 26px;
    }

    .brand {
        min-width: auto
    }

    .brand-main {
        font-size: 28px
    }

    .brand-sub {
        font-size: 11px
    }

    .counter .digit {
        width: 43px;
        height: 62px;
        font-size: 48px
    }

    .digit-value {
        line-height: 62px
    }

    .counter em {
        font-size: 40px
    }

    .live-title {
        font-size: 18px
    }

    .green-banner {
        font-size: 16px
    }

    .target-line {
        font-size: 16px
    }

    .progress-row,
    .hero-meta {
        flex-direction: column;
        gap: 8px
    }

    .progress-shell {
        width: 92%;
        height: 35px
    }

    .sntd-logo {
        max-width: min(190px, 64vw);
        max-height: 150px
    }

    .ribbons {
        display: none
    }

    .stats-wrap,
    .dashboard,
    .value-grid,
    .lower-grid,
    .award-grid,
    .program-grid {
        grid-template-columns: 1fr
    }

    .footer {
        flex-direction: column
    }

    .main-bg {
        padding-top: 40px;
        margin-top: 0
    }

    .values {
        padding-inline: 14px
    }

    .values h2 {
        margin-bottom: 28px
    }

    .value {
        min-height: 310px
    }

    .goals-modal {
        padding: 12px
    }

    .goals-modal-panel {
        border-radius: 14px;
        max-height: calc(100vh - 24px)
    }

    .goals-modal-close {
        width: 36px;
        height: 36px;
        top: 12px;
        right: 12px;
        font-size: 26px
    }

    .goals-modal-head {
        padding: 10px;
        gap: 10px
    }

    .goals-modal-head h2 {
        font-size: 23px
    }

    .goals-modal-head p {
        font-size: 15px
    }

    .goals-modal-ball {
        display: none
    }

    .district-summary {
        grid-template-columns: 1fr;
        gap: 9px
    }

    .district-summary article {
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px
    }

    .district-summary strong {
        margin-top: 0;
        font-size: 23px
    }

    .district-table-wrap {
        margin: 0px
    }

    .district-summary,
    .district-table th,
    .district-table td {
        padding-left: 12px;
        padding-right: 12px
    }

    .district-table th,
    .district-table td {
        font-size: 13px
    }

    .district-table th:first-child,
    .district-table td:first-child {
        display: none
    }

    .district-name {
        min-width: 130px
    }
}

@media(max-height:760px) and (min-width:900px) {
    .hero {
        min-height: 520px
    }

    .hero-content {
        padding-top: 74px;
        width: 600px
    }

    .live-title {
        font-size: 26px
    }

    .counter {
        margin-top: 12px;
        gap: 6px
    }

    .counter .digit {
        width: 76px;
        height: 110px;
        font-size: 86px
    }

    .digit-value {
        line-height: 110px
    }

    .counter em {
        font-size: 62px
    }

    .green-banner {
        margin-top: 14px;
        font-size: 23px;
        padding-block: 9px
    }

    .target-line {
        margin: 18px 0 12px;
        font-size: 23px
    }

    .progress-shell {
        height: 46px;
        width: 500px
    }

    .hero-meta {
        margin-top: 14px
    }

    .sntd-logo {
        max-width: min(190px, 32vw);
        max-height: 150px
    }
}

@media(max-height:690px) and (min-width:900px) {
    .hero {
        min-height: 500px
    }

    .hero-content {
        padding-top: 64px
    }

    .counter .digit {
        width: 68px;
        height: 96px;
        font-size: 76px
    }

    .digit-value {
        line-height: 96px
    }

    .sntd-logo {
        max-width: min(160px, 28vw);
        max-height: 118px
    }
}
